Skip to content

Main content

GCP Signature Role Sequence Check Tool

Audit supplied signature-role ordering separately from timestamp ordering.

Loading tool…

Description

Rank each role by first occurrence in expectedOrder, report distinct unknown roles, and list adjacent role-rank reversals and adjacent decreasing-time indexes.

Good clinical practice record checks compare supplied versions, language labels, roles, dates, and source links. A local metadata match can reveal consistency but does not establish valid consent, competent authorization, or regulatory compliance.

Rank each role by first occurrence in expectedOrder, report distinct unknown roles, and list adjacent role-rank reversals and adjacent decreasing-time indexes.

When to use this tool

Use GCP Signature Role Sequence Check when you need a literal clinical-trial metadata consistency check.

How to use the tool and how it works

  1. Enter roles, times, expectedOrder. Keep parallel arrays aligned. 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 unknownRoles, reversedOrderIndices, reversedTimeIndices. Use the output convention below.

Require roles and times of equal length. Rank each role by first occurrence in expectedOrder, report distinct unknown roles, and list adjacent role-rank reversals and adjacent decreasing-time indexes.1

Input fieldMeaning and unitsAccepted input
rolesRolesRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
timesTimesRequired. Array of finite number; maximum items 256.
expectedOrderExpected OrderRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
Output fieldInterpretationReturned shape
unknownRolesUnknown RolesRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
reversedOrderIndicesZero-based later indexes of adjacent recognized rank decreases; unknown roles interrupt comparisons.Required. Array of safe integer; maximum items 256.
reversedTimeIndicesReversed Time IndicesRequired. Array of safe integer; maximum items 256.
json
{
  "input": {
    "roles": [
      "reviewer",
      "author"
    ],
    "times": [
      100,
      99
    ],
    "expectedOrder": [
      "author",
      "reviewer"
    ]
  },
  "output": {
    "unknownRoles": [],
    "reversedOrderIndices": [
      1
    ],
    "reversedTimeIndices": [
      1
    ]
  }
}

Limitations and assumptions

  • Role checks skip comparisons across an unknown role and do not detect all nonadjacent inversions. Duplicate expected roles are not rejected; this does not authenticate signatures or validate authority, completeness, or trial compliance.
  • 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.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.

Alternative or Complementary methods

Review the complete controlled trial records and applicable professional process. Verify authenticity, protocol scope, consent, competence, and effective versions through the appropriate responsible reviewers.

References

  1. Calculation and input contract: gcp/gcp-signature-role-sequence-check — tool.io

Similar or alternative tools