{
  "schemaVersion": 1,
  "datasetId": "csr-crypto-signal-result-sheet-completeness-stress-test-2026-07-14",
  "synthetic": true,
  "fixtures": [
    {
      "fixtureId": "starter-declared-gap-open-row",
      "label": "Eight supplied rows, ten declared signals, one open row, and two declared row gaps.",
      "valid": true,
      "state": "unresolved_rows",
      "inputBytes": 783,
      "dataRows": 8,
      "suppliedRows": 8,
      "resolvedRows": 7,
      "openRows": 1,
      "nonExecutedRows": 0,
      "errors": 0,
      "warnings": 0,
      "notices": 3,
      "issueCodes": [
        "OPEN_ROWS_PRESENT",
        "DECLARED_GAPS_PRESENT",
        "STRESS_ASSUMPTION_NOT_EVIDENCE"
      ],
      "metrics": {
        "suppliedRows": 8,
        "resolvedRows": 7,
        "openRows": 1,
        "nonExecutedRows": 0,
        "declaredSignalCount": 10,
        "declaredRowGap": 2,
        "suppliedCoveragePercent": "80",
        "resolvedCoveragePercent": "70",
        "grossPositiveR": "5.25",
        "grossNegativeR": "1.5",
        "observedNetR": "3.75",
        "observedProfitFactor": "3.5",
        "stressLossR": "1",
        "declaredGapStressCount": 2,
        "declaredGapStressNetR": "1.75",
        "declaredGapStressProfitFactor": "1.5",
        "openAndDeclaredGapStressCount": 3,
        "openAndDeclaredGapStressNetR": "0.75",
        "openAndDeclaredGapStressProfitFactor": "1.166666666667",
        "equalLossesToNonPositiveNetR": "4",
        "precision": "authoritative fixed-scale decimal strings; ratios rounded half-up to 12 decimal places"
      }
    },
    {
      "fixtureId": "declared-complete",
      "label": "Three unique resolved rows equal the entered declared total.",
      "valid": true,
      "state": "declared_complete",
      "inputBytes": 57,
      "dataRows": 3,
      "suppliedRows": 3,
      "resolvedRows": 3,
      "openRows": 0,
      "nonExecutedRows": 0,
      "errors": 0,
      "warnings": 3,
      "notices": 2,
      "issueCodes": [
        "FEES_NOT_CONFIRMED",
        "DECLARED_COUNT_MATCHES",
        "STRESS_ASSUMPTION_NOT_EVIDENCE"
      ],
      "metrics": {
        "suppliedRows": 3,
        "resolvedRows": 3,
        "openRows": 0,
        "nonExecutedRows": 0,
        "declaredSignalCount": 3,
        "declaredRowGap": 0,
        "suppliedCoveragePercent": "100",
        "resolvedCoveragePercent": "100",
        "grossPositiveR": "2",
        "grossNegativeR": "1",
        "observedNetR": "1",
        "observedProfitFactor": "2",
        "stressLossR": "1",
        "declaredGapStressCount": 0,
        "declaredGapStressNetR": "1",
        "declaredGapStressProfitFactor": "2",
        "openAndDeclaredGapStressCount": 0,
        "openAndDeclaredGapStressNetR": "1",
        "openAndDeclaredGapStressProfitFactor": "2",
        "equalLossesToNonPositiveNetR": "1",
        "precision": "authoritative fixed-scale decimal strings; ratios rounded half-up to 12 decimal places"
      }
    },
    {
      "fixtureId": "denominator-not-supplied",
      "label": "Valid rows with no declared total suppress completeness and declared-gap outputs.",
      "valid": true,
      "state": "denominator_missing",
      "inputBytes": 44,
      "dataRows": 2,
      "suppliedRows": 2,
      "resolvedRows": 2,
      "openRows": 0,
      "nonExecutedRows": 0,
      "errors": 0,
      "warnings": 2,
      "notices": 2,
      "issueCodes": [
        "FEES_NOT_CONFIRMED",
        "DECLARED_COUNT_MISSING",
        "STRESS_ASSUMPTION_NOT_EVIDENCE"
      ],
      "metrics": {
        "suppliedRows": 2,
        "resolvedRows": 2,
        "openRows": 0,
        "nonExecutedRows": 0,
        "declaredSignalCount": null,
        "declaredRowGap": null,
        "suppliedCoveragePercent": null,
        "resolvedCoveragePercent": null,
        "grossPositiveR": "1",
        "grossNegativeR": "0.5",
        "observedNetR": "0.5",
        "observedProfitFactor": "2",
        "stressLossR": "1",
        "declaredGapStressCount": null,
        "declaredGapStressNetR": null,
        "declaredGapStressProfitFactor": null,
        "openAndDeclaredGapStressCount": null,
        "openAndDeclaredGapStressNetR": null,
        "openAndDeclaredGapStressProfitFactor": null,
        "equalLossesToNonPositiveNetR": "1",
        "precision": "authoritative fixed-scale decimal strings; ratios rounded half-up to 12 decimal places"
      }
    },
    {
      "fixtureId": "declared-total-below-supplied",
      "label": "A declared total smaller than supplied unique rows is invalid.",
      "valid": false,
      "state": "invalid",
      "inputBytes": 57,
      "dataRows": 3,
      "suppliedRows": 3,
      "resolvedRows": 3,
      "openRows": 0,
      "nonExecutedRows": 0,
      "errors": 1,
      "warnings": 3,
      "notices": 0,
      "issueCodes": [
        "FEES_NOT_CONFIRMED",
        "DECLARED_COUNT_LT_SUPPLIED"
      ],
      "metrics": null
    },
    {
      "fixtureId": "duplicate-signal-id",
      "label": "Duplicate identifiers are rejected before coverage arithmetic.",
      "valid": false,
      "state": "invalid",
      "inputBytes": 42,
      "dataRows": 2,
      "suppliedRows": 2,
      "resolvedRows": 2,
      "openRows": 0,
      "nonExecutedRows": 0,
      "errors": 1,
      "warnings": 2,
      "notices": 0,
      "issueCodes": [
        "SIGNAL_ID_DUPLICATE",
        "FEES_NOT_CONFIRMED"
      ],
      "metrics": null
    },
    {
      "fixtureId": "no-observed-loss-gap-creates-denominator",
      "label": "Observed profit factor is not calculable, but one modeled declared-gap loss creates a stress denominator.",
      "valid": true,
      "state": "declared_gaps",
      "inputBytes": 47,
      "dataRows": 2,
      "suppliedRows": 2,
      "resolvedRows": 2,
      "openRows": 0,
      "nonExecutedRows": 0,
      "errors": 0,
      "warnings": 2,
      "notices": 3,
      "issueCodes": [
        "FEES_NOT_CONFIRMED",
        "NO_NEGATIVE_RESOLVED_R",
        "DECLARED_GAPS_PRESENT",
        "STRESS_ASSUMPTION_NOT_EVIDENCE"
      ],
      "metrics": {
        "suppliedRows": 2,
        "resolvedRows": 2,
        "openRows": 0,
        "nonExecutedRows": 0,
        "declaredSignalCount": 3,
        "declaredRowGap": 1,
        "suppliedCoveragePercent": "66.666666666667",
        "resolvedCoveragePercent": "66.666666666667",
        "grossPositiveR": "2",
        "grossNegativeR": "0",
        "observedNetR": "2",
        "observedProfitFactor": null,
        "stressLossR": "1",
        "declaredGapStressCount": 1,
        "declaredGapStressNetR": "1",
        "declaredGapStressProfitFactor": "2",
        "openAndDeclaredGapStressCount": 1,
        "openAndDeclaredGapStressNetR": "1",
        "openAndDeclaredGapStressProfitFactor": "2",
        "equalLossesToNonPositiveNetR": "2",
        "precision": "authoritative fixed-scale decimal strings; ratios rounded half-up to 12 decimal places"
      }
    },
    {
      "fixtureId": "open-row-only-stress",
      "label": "A complete declared row count can still contain one open row that appears only in the open-plus-declared-gap scenario.",
      "valid": true,
      "state": "unresolved_rows",
      "inputBytes": 50,
      "dataRows": 3,
      "suppliedRows": 3,
      "resolvedRows": 2,
      "openRows": 1,
      "nonExecutedRows": 0,
      "errors": 0,
      "warnings": 2,
      "notices": 3,
      "issueCodes": [
        "FEES_NOT_CONFIRMED",
        "OPEN_ROWS_PRESENT",
        "DECLARED_COUNT_MATCHES",
        "STRESS_ASSUMPTION_NOT_EVIDENCE"
      ],
      "metrics": {
        "suppliedRows": 3,
        "resolvedRows": 2,
        "openRows": 1,
        "nonExecutedRows": 0,
        "declaredSignalCount": 3,
        "declaredRowGap": 0,
        "suppliedCoveragePercent": "100",
        "resolvedCoveragePercent": "66.666666666667",
        "grossPositiveR": "2",
        "grossNegativeR": "1",
        "observedNetR": "1",
        "observedProfitFactor": "2",
        "stressLossR": "1",
        "declaredGapStressCount": 0,
        "declaredGapStressNetR": "1",
        "declaredGapStressProfitFactor": "2",
        "openAndDeclaredGapStressCount": 1,
        "openAndDeclaredGapStressNetR": "0",
        "openAndDeclaredGapStressProfitFactor": "1",
        "equalLossesToNonPositiveNetR": "1",
        "precision": "authoritative fixed-scale decimal strings; ratios rounded half-up to 12 decimal places"
      }
    },
    {
      "fixtureId": "all-resolved-losses",
      "label": "Zero gross positive R produces observed and stressed profit factor zero, not a missing value.",
      "valid": true,
      "state": "declared_complete",
      "inputBytes": 44,
      "dataRows": 2,
      "suppliedRows": 2,
      "resolvedRows": 2,
      "openRows": 0,
      "nonExecutedRows": 0,
      "errors": 0,
      "warnings": 2,
      "notices": 2,
      "issueCodes": [
        "FEES_NOT_CONFIRMED",
        "DECLARED_COUNT_MATCHES",
        "STRESS_ASSUMPTION_NOT_EVIDENCE"
      ],
      "metrics": {
        "suppliedRows": 2,
        "resolvedRows": 2,
        "openRows": 0,
        "nonExecutedRows": 0,
        "declaredSignalCount": 2,
        "declaredRowGap": 0,
        "suppliedCoveragePercent": "100",
        "resolvedCoveragePercent": "100",
        "grossPositiveR": "0",
        "grossNegativeR": "3",
        "observedNetR": "-3",
        "observedProfitFactor": "0",
        "stressLossR": "0.5",
        "declaredGapStressCount": 0,
        "declaredGapStressNetR": "-3",
        "declaredGapStressProfitFactor": "0",
        "openAndDeclaredGapStressCount": 0,
        "openAndDeclaredGapStressNetR": "-3",
        "openAndDeclaredGapStressProfitFactor": "0",
        "equalLossesToNonPositiveNetR": "0",
        "precision": "authoritative fixed-scale decimal strings; ratios rounded half-up to 12 decimal places"
      }
    },
    {
      "fixtureId": "malformed-quoted-field",
      "label": "An unclosed quoted field fails without partial arithmetic.",
      "valid": false,
      "state": "malformed",
      "inputBytes": 48,
      "dataRows": 0,
      "suppliedRows": 0,
      "resolvedRows": 0,
      "openRows": 0,
      "nonExecutedRows": 0,
      "errors": 1,
      "warnings": 0,
      "notices": 0,
      "issueCodes": [
        "CSV_MALFORMED"
      ],
      "metrics": null
    },
    {
      "fixtureId": "fixed-scale-precision",
      "label": "Twelve-decimal values use exact fixed-scale aggregation.",
      "valid": true,
      "state": "declared_gaps",
      "inputBytes": 68,
      "dataRows": 2,
      "suppliedRows": 2,
      "resolvedRows": 2,
      "openRows": 0,
      "nonExecutedRows": 0,
      "errors": 0,
      "warnings": 2,
      "notices": 2,
      "issueCodes": [
        "FEES_NOT_CONFIRMED",
        "DECLARED_GAPS_PRESENT",
        "STRESS_ASSUMPTION_NOT_EVIDENCE"
      ],
      "metrics": {
        "suppliedRows": 2,
        "resolvedRows": 2,
        "openRows": 0,
        "nonExecutedRows": 0,
        "declaredSignalCount": 3,
        "declaredRowGap": 1,
        "suppliedCoveragePercent": "66.666666666667",
        "resolvedCoveragePercent": "66.666666666667",
        "grossPositiveR": "0.123456789012",
        "grossNegativeR": "0.023456789012",
        "observedNetR": "0.1",
        "observedProfitFactor": "5.263158096739",
        "stressLossR": "0.1",
        "declaredGapStressCount": 1,
        "declaredGapStressNetR": "0",
        "declaredGapStressProfitFactor": "1",
        "openAndDeclaredGapStressCount": 1,
        "openAndDeclaredGapStressNetR": "0",
        "openAndDeclaredGapStressProfitFactor": "1",
        "equalLossesToNonPositiveNetR": "1",
        "precision": "authoritative fixed-scale decimal strings; ratios rounded half-up to 12 decimal places"
      }
    },
    {
      "fixtureId": "outcome-sign-mismatch-warning",
      "label": "A win label with negative net R remains calculable but creates a visible warning.",
      "valid": true,
      "state": "declared_complete",
      "inputBytes": 41,
      "dataRows": 2,
      "suppliedRows": 2,
      "resolvedRows": 2,
      "openRows": 0,
      "nonExecutedRows": 0,
      "errors": 0,
      "warnings": 3,
      "notices": 2,
      "issueCodes": [
        "OUTCOME_SIGN_MISMATCH",
        "FEES_NOT_CONFIRMED",
        "DECLARED_COUNT_MATCHES",
        "STRESS_ASSUMPTION_NOT_EVIDENCE"
      ],
      "metrics": {
        "suppliedRows": 2,
        "resolvedRows": 2,
        "openRows": 0,
        "nonExecutedRows": 0,
        "declaredSignalCount": 2,
        "declaredRowGap": 0,
        "suppliedCoveragePercent": "100",
        "resolvedCoveragePercent": "100",
        "grossPositiveR": "2",
        "grossNegativeR": "1",
        "observedNetR": "1",
        "observedProfitFactor": "2",
        "stressLossR": "1",
        "declaredGapStressCount": 0,
        "declaredGapStressNetR": "1",
        "declaredGapStressProfitFactor": "2",
        "openAndDeclaredGapStressCount": 0,
        "openAndDeclaredGapStressNetR": "1",
        "openAndDeclaredGapStressProfitFactor": "2",
        "equalLossesToNonPositiveNetR": "1",
        "precision": "authoritative fixed-scale decimal strings; ratios rounded half-up to 12 decimal places"
      }
    },
    {
      "fixtureId": "stress-loss-zero-invalid",
      "label": "A zero stress-loss assumption is rejected because it cannot express a loss scenario.",
      "valid": false,
      "state": "invalid",
      "inputBytes": 32,
      "dataRows": 1,
      "suppliedRows": 1,
      "resolvedRows": 1,
      "openRows": 0,
      "nonExecutedRows": 0,
      "errors": 1,
      "warnings": 1,
      "notices": 0,
      "issueCodes": [
        "FEES_NOT_CONFIRMED",
        "STRESS_LOSS_INVALID"
      ],
      "metrics": null
    }
  ]
}
