Skip to content

Main content

Blind Code Explicit Role Token Tool

Evaluate supplied role metadata without resolving, disclosing or changing a research blind code.

Loading tool…

Description

Return allowedByFlags for requestedRole listed and not revoked; serialize code and role as a JSON-array key.

Trial records can encode conditions, response keys, inclusion masks and blind-code mappings. Literal membership and balanced counts describe the supplied records; they do not establish valid randomization, effective blinding or clinical conclusions.

Return allowedByFlags for requestedRole listed and not revoked; serialize code and role as a JSON-array key.

When to use this tool

Use Blind Code Explicit Role Token when you need a specified experimental-record or allocation-index check.

How to use the tool and how it works

  1. Enter code, requestedRole, allowedRoles, revoked. 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 allowedByFlags, key. Inspect allowedByFlags before interpreting the associated values.

Return allowedByFlags for requestedRole listed and not revoked; serialize code and role as a JSON-array key.1

Input fieldMeaning and unitsAccepted input
codeCodeRequired. Text; maximum UTF-16 length 8192.
requestedRoleRequested RoleRequired. Text; maximum UTF-16 length 8192.
allowedRolesAllowed RolesRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
revokedRevokedRequired. Boolean.
Output fieldInterpretationReturned shape
allowedByFlagsAllowed By FlagsRequired. Boolean.
keyKeyRequired. Text; maximum UTF-16 length 8192.
json
{
  "input": {
    "code": "X1",
    "requestedRole": "analyst",
    "allowedRoles": [
      "analyst"
    ],
    "revoked": false
  },
  "output": {
    "allowedByFlags": true,
    "key": "[\"X1\",\"analyst\"]"
  }
}

Limitations and assumptions

  • Flags and role membership are supplied. This does not implement access control, encryption, blinding protection or verified permission to reveal a code.
  • 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

Review the complete experimental design, controlled mappings and source records. Validate actual randomization, permissions, missingness and analysis assumptions rather than inferring them from one token or count.

References

  1. Calculation and input contract: experimental-psychology/blind-code-explicit-role-token — tool.io

Similar or alternative tools