Skip to content

Main content

Trial Order Repetition Flag

Compare explicit adjacent trial condition identifiers using exact equality.

Loading tool…

Description

Compare supplied consecutive trial-condition codes.

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.

Compare supplied consecutive trial-condition codes.

When to use this tool

Use Trial Order Repetition Flag when you already have previousCondition, currentCondition and need to compare supplied consecutive trial-condition codes.

How to use the tool and how it works

  1. Enter previousCondition, currentCondition. 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 repeatedCondition. Inspect repeatedCondition before interpreting the associated values.

Require both codes nonempty; return literal equality.1

Input fieldMeaning and unitsAccepted input
previousConditionPrevious ConditionRequired. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192.
currentConditionCurrent ConditionRequired. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
repeatedConditionRepeated ConditionRequired. Boolean.
json
{
  "input": {
    "previousCondition": "A",
    "currentCondition": "A"
  },
  "output": {
    "repeatedCondition": true
  }
}

Limitations and assumptions

  • A repeated code does not validate stimulus delivery, trial order, counterbalancing or a behavioral effect.
  • 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/trial-order-repetition-flag — tool.io

Similar or alternative tools