Skip to content

Main content

Stimulus Congruency Source Code

Preserve explicit stimulus congruency and coding-source metadata without inferring task conditions.

Loading tool…

Description

Preserve explicit stimulus congruency and coding-source metadata.

Behavioral records distinguish observed outcomes, missing observations, response deadlines, code conflicts and sampling opportunities. Unobserved trials differ from observed wrong responses, while time coverage differs from event probability. Supplied observations and cutoff values do not by themselves validate a task or identify a behavioral mechanism.

Preserve explicit stimulus congruency and coding-source metadata.

When to use this tool

Use Stimulus Congruency Source Code when you already have trialId, suppliedCongruency, codingSource and need to preserve explicit stimulus congruency and coding-source metadata.

How to use the tool and how it works

  1. Enter trialId, suppliedCongruency, codingSource. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read token. Use the output convention below.

Enter trialId, suppliedCongruency, codingSource using the field constraints below. Encode these values, in exactly that order, as a JSON array and return the serialized array as text in token. String values are preserved without trimming or external terminology lookup.1

Input fieldMeaning and unitsAccepted input
trialIdTrial IdRequired. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192.
suppliedCongruencySupplied CongruencyRequired. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192.
codingSourceCoding SourceRequired. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
tokenTokenRequired. Text; maximum UTF-16 length 8192.
json
{
  "input": {
    "trialId": "T17",
    "suppliedCongruency": "congruent",
    "codingSource": "protocol P4"
  },
  "output": {
    "token": "[\"T17\",\"congruent\",\"protocol P4\"]"
  }
}

Limitations and assumptions

  • The result records supplied values without inferring task conditions. Sources and asserted relationships are not independently authenticated.
  • 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 the complete protocol, observation records and analysis plan. Check missingness, coding rules, timing and sampling design before interpreting local counts, labels or interval fractions as research outcomes or appropriate interventions.

References

  1. Calculation and input contract: behavioral-science/stimulus-congruency-source-code — tool.io

Similar or alternative tools