Description
Compare two working-memory token sets.
Cognitive research records can encode stimuli, response timing, probability assumptions and observation support. Local differences and caller-defined tolerance labels do not establish perceptual validity, a cognitive mechanism, statistical equivalence or a clinical assessment.
Compare two working-memory token sets.
When to use this tool
Use Working Memory Set Overlap when checking a supplied cognitive-task timing, stimulus, probability or evidence convention.
How to use the tool and how it works
- Enter first, second. Keep parallel arrays aligned. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read overlap, firstOnly, secondOnly. Use the output convention below.
Compare two working-memory token sets. Return distinct overlap, firstOnly and secondOnly counts by literal membership and deduplication.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| first | First | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| second | Second | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| overlap | Overlap | Required. Safe integer. |
| firstOnly | First Only | Required. Safe integer. |
| secondOnly | Second Only | Required. Safe integer. |
{
"input": {
"first": [
"a",
"b"
],
"second": [
"b",
"c"
]
},
"output": {
"overlap": 1,
"firstOnly": 1,
"secondOnly": 1
}
} Limitations and assumptions
- Token equality does not establish recall accuracy, memory capacity, semantic equivalence or a clinical assessment.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
Alternative or Complementary methods
Use a validated study design, calibrated measurements and appropriate statistical/professional interpretation for cognitive or health conclusions.
References
Similar or alternative tools
- Working Memory Probe Position Budget
Check a memory-probe position under zero/one-based indexing.
- Stimulus Feature Contrast Gap
Return a supplied stimulus-feature contrast and reference residual.