{
  "capability_id": "math.modulo",
  "tool_id": "modulo",
  "engine": "modulo",
  "calculation_version": "1.1.0",
  "generated_at": "2026-10-06T23:48:35.507Z",
  "engine_build": "2026-09-19",
  "test_count": 13,
  "passed": 13,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "passed": 3,
      "total": 3
    },
    "boundary": {
      "passed": 4,
      "total": 4
    },
    "property": {
      "passed": 6,
      "total": 6
    }
  },
  "engine_tested": true,
  "expert_reviewed": false,
  "internally_reviewed": false,
  "review_kind": null,
  "source_checked": true,
  "reviewed_by": null,
  "reviewer_role": null,
  "last_reviewed": null,
  "expert_review": {
    "status": "optional_not_performed",
    "reviewer": null,
    "scope": [
      "formula",
      "input semantics",
      "assumptions",
      "limitations",
      "sources",
      "tests"
    ],
    "note": "Domain expert review is optional under CVP (CVP-EXP-01). Absence does not block CVP Verified. See Review policy for supplemental domain assurance."
  },
  "internal_review": {
    "status": "not_applicable",
    "reviewer": null
  },
  "page": "https://www.calculatorx.com/calc/math/modulo",
  "api": "https://www.calculatorx.com/api/v1/calc/modulo",
  "schema_input": "https://www.calculatorx.com/schemas/math.modulo.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/math.modulo.output.json",
  "assumptions": [
    "Euclidean remainder",
    "Not JavaScript truncated %",
    "Integers only"
  ],
  "limitations": [
    "Euclidean remainder, not truncated or floored remainder toward −∞ of the quotient only",
    "Not IEEE remainder or floating-point fmod",
    "Not /calc/math/gcf — gcd is only used for invertibility",
    "modulus = 0 → DIVISION_BY_ZERO",
    "gcd(a,m) ≠ 1 → NOT_INVERTIBLE",
    "|m| < 2 on inverse → INVALID_INPUT",
    "Share URLs use modulus, not m (m is reserved elsewhere)"
  ],
  "boundary_conditions": [
    "missing a or modulus → MISSING_REQUIRED_INPUT",
    "modulus = 0 → DIVISION_BY_ZERO"
  ],
  "sources": [
    "ISO 80000-2:2019 Quantities and units — Mathematics (integer division / remainder)",
    "Knuth, The Art of Computer Programming, Euclidean division (remainder ≥ 0)"
  ],
  "methods": [],
  "fingerprint": "sha256:59e9e5e8c8611060a80fa798580aed8925a9c0cbb6da559c0932d9eec2e80b76",
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 13,
      "total": 13,
      "golden": 3,
      "boundary": 4,
      "property": 6
    },
    "contract_checks": {
      "passed": 6,
      "total": 6
    }
  },
  "evidence_core_generated_at": "2026-09-19T01:08:38.526Z",
  "rendered_at": "2026-10-06T23:48:35.507Z",
  "release_integrity": {
    "status": "verified",
    "scope": "workspace",
    "production_attestation_required": true,
    "calculation_version": "1.1.0",
    "artifacts": {
      "engine": "1.1.0",
      "page": "1.1.0",
      "capability": "1.1.0",
      "evidence": "1.1.0",
      "input_schema": "1.1.0",
      "output_schema": "1.1.0",
      "mcp_contract": "1.1.0"
    },
    "digests": {
      "input_schema_sha256": "dcbee42ab4691d7298144d98af2f0d064a63300f13d6e34f83e69ce5e0aed01e",
      "output_schema_sha256": "803b6d51a579dee4e63148f96a4901e06725aaf252b9ac093bb412499fe6502a",
      "evidence_sha256": "de5a14b51bb76640c3a503f9989febd2ccb538656288676c0ea7916fb0398c6f",
      "evidence_core_sha256": "de5a14b51bb76640c3a503f9989febd2ccb538656288676c0ea7916fb0398c6f",
      "capability_sha256": "200bc20cd7d2326ab2e55f5728234689b97a763686a3449e0f3074df293a68bc",
      "engine_sha256": "de164a39feabc37997e09354949becc3182b03a314edbb82d01fddc018716fc0",
      "mcp_contract_sha256": "962c0f1ff6fd001a19236d2fcfd60133cbc70b91cb73dd306f70d53ec5b8b2a8"
    },
    "contract_checks": {
      "total": 6,
      "passed": 6,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.1.0"
        },
        {
          "id": "schema-output-required-declared",
          "status": "pass"
        },
        {
          "id": "schema-valid-input-executes",
          "status": "pass"
        },
        {
          "id": "engine-success-output-validates-schema",
          "status": "pass"
        },
        {
          "id": "schema-rejects-incomplete-input",
          "status": "pass"
        },
        {
          "id": "rest-success-payload-validates-schema",
          "status": "pass"
        }
      ]
    },
    "report": "https://www.calculatorx.com/.well-known/calculatorx-release-integrity.json"
  },
  "tests": [],
  "disclosure": {
    "policy": "calculatorx-public-evidence-v1",
    "full_validation": "private",
    "representation": "summary"
  }
}
