{
  "capability_id": "electrical.rc_time_constant",
  "tool_id": "rc-time-constant",
  "engine": "rc-time-constant",
  "calculation_version": "1.0.0",
  "generated_at": "2026-09-16T22:03:43.712Z",
  "engine_build": "2026-09-10",
  "test_count": 16,
  "passed": 16,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 3,
      "passed": 3
    },
    "boundary": {
      "total": 6,
      "passed": 6
    },
    "property": {
      "total": 7,
      "passed": 7
    }
  },
  "engine_tested": true,
  "expert_reviewed": true,
  "internally_reviewed": false,
  "review_kind": "expert",
  "source_checked": true,
  "reviewed_by": "CalculatorX electrical review",
  "reviewer_role": "electrical-engineer",
  "last_reviewed": "2026-08-08",
  "expert_review": {
    "status": "approved",
    "reviewer": {
      "name": "CalculatorX electrical review",
      "role": "electrical-engineer"
    },
    "reviewed_at": "2026-08-08",
    "scope": [
      "formula",
      "input semantics",
      "assumptions",
      "limitations",
      "sources",
      "tests"
    ],
    "kind": "expert"
  },
  "internal_review": {
    "status": "not_applicable",
    "reviewer": null
  },
  "page": "https://www.calculatorx.com/calc/electric/rc-time-constant",
  "api": "https://www.calculatorx.com/api/v1/calc/rc-time-constant",
  "schema_input": "https://www.calculatorx.com/schemas/electrical.rc_time_constant.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/electrical.rc_time_constant.output.json",
  "assumptions": [
    "Lumped series first-order RC.",
    "When R and C are both given, tau is taken as R·C."
  ],
  "limitations": [
    "Series first-order RC only — not parallel networks or distributed RC",
    "f_c is the ideal LPF −3 dB corner; not a filter design tool",
    "Fewer than two inputs → NEEDS_TWO_INPUTS; non-positive → VALUE_MUST_BE_POSITIVE",
    "When R and C are both provided, tau is recomputed from R·C"
  ],
  "boundary_conditions": [
    "Fewer than two inputs → NEEDS_TWO_INPUTS",
    "Non-finite → INVALID_NUMBER",
    "≤ 0 → VALUE_MUST_BE_POSITIVE"
  ],
  "sources": [
    {
      "title": "IEC 60050 — International Electrotechnical Vocabulary",
      "section": "Time constant of an exponential quantity",
      "supports": "τ definition for exponential RC response",
      "kind": "standard"
    },
    {
      "title": "Horowitz & Hill — The Art of Electronics",
      "section": "RC circuits, time constants, and single-pole filters",
      "supports": "τ = RC; ≈2.2τ for 10%–90%; f_c = 1/(2πRC)",
      "kind": "reference"
    },
    {
      "title": "NIST Guide to the SI (SP 811)",
      "section": "SI units for resistance, capacitance, and time",
      "url": "https://www.nist.gov/pml/special-publication-811",
      "supports": "Ω, F, s as coherent units for τ = RC",
      "kind": "reference"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:44a23f4cdb8c7ba9c4979efb20f6b570f48cd788929e35ab5268ba587479f0e9",
  "tests": [
    {
      "id": "rc-10ms",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "R": 10000,
        "C": 0.000001
      },
      "expect": {
        "tau": 0.01,
        "R": 10000,
        "C": 0.000001,
        "f_c": 15.915494309189533,
        "t_10_90": 0.022,
        "t_5tau": 0.05
      },
      "expectWarning": null,
      "actual": {
        "R": 10000,
        "C": 0.000001,
        "tau": 0.01,
        "f_c": 15.915494309189533,
        "t_10_90": 0.022000000000000002,
        "t_5tau": 0.05
      },
      "tol": 1e-9
    },
    {
      "id": "solve-C",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "R": 4700,
        "tau": 0.001
      },
      "expect": {
        "C": 2.127659574468085e-7,
        "tau": 0.001
      },
      "expectWarning": null,
      "actual": {
        "R": 4700,
        "C": 2.1276595744680852e-7,
        "tau": 0.001,
        "f_c": 159.15494309189532,
        "t_10_90": 0.0022,
        "t_5tau": 0.005
      },
      "tol": 1e-12
    },
    {
      "id": "solve-R",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "C": 1e-7,
        "tau": 0.000047
      },
      "expect": {
        "R": 470,
        "tau": 0.000047
      },
      "expectWarning": null,
      "actual": {
        "R": 470,
        "C": 1e-7,
        "tau": 0.000047,
        "f_c": 3386.2753849339438,
        "t_10_90": 0.0001034,
        "t_5tau": 0.000235
      },
      "tol": 1e-9
    },
    {
      "id": "needs-two",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "R": 1000
      },
      "expectError": "NEEDS_TWO_INPUTS",
      "code": "NEEDS_TWO_INPUTS",
      "error": "RC time constant needs any two of R, C, tau"
    },
    {
      "id": "empty",
      "ok": true,
      "kind": "boundary",
      "inputs": {},
      "expectError": "NEEDS_TWO_INPUTS",
      "code": "NEEDS_TWO_INPUTS",
      "error": "RC time constant needs any two of R, C, tau"
    },
    {
      "id": "zero-R",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "R": 0,
        "C": 0.000001
      },
      "expectError": "VALUE_MUST_BE_POSITIVE",
      "code": "VALUE_MUST_BE_POSITIVE",
      "error": "R must be greater than zero"
    },
    {
      "id": "nan-C",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "R": 1000,
        "C": "n/a"
      },
      "expectError": "INVALID_NUMBER",
      "code": "INVALID_NUMBER",
      "error": "C must be a finite number"
    },
    {
      "id": "boundary-rc-10ms",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "R": 10000,
        "C": 0.000001
      },
      "expect": {
        "tau": 0.01,
        "R": 10000,
        "C": 0.000001,
        "f_c": 15.915494309189533
      },
      "expectWarning": null,
      "actual": {
        "R": 10000,
        "C": 0.000001,
        "tau": 0.01,
        "f_c": 15.915494309189533,
        "t_10_90": 0.022000000000000002,
        "t_5tau": 0.05
      },
      "tol": 1e-9
    },
    {
      "id": "boundary-solve-C",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "R": 4700,
        "tau": 0.001
      },
      "expect": {
        "C": 2.1276595744680852e-7,
        "tau": 0.001
      },
      "expectWarning": null,
      "actual": {
        "R": 4700,
        "C": 2.1276595744680852e-7,
        "tau": 0.001,
        "f_c": 159.15494309189532,
        "t_10_90": 0.0022,
        "t_5tau": 0.005
      },
      "tol": 1e-12
    },
    {
      "id": "property-tau",
      "ok": true,
      "kind": "property",
      "detail": "10kΩ·1µF → 10 ms",
      "expect": 0.01,
      "actual": 0.01
    },
    {
      "id": "property-fc",
      "ok": true,
      "kind": "property",
      "detail": "f_c = 1/(2πτ)",
      "expect": 15.915494309189533,
      "actual": 15.915494309189533
    },
    {
      "id": "property-rise",
      "ok": true,
      "kind": "property",
      "detail": "2.2τ",
      "expect": 0.022,
      "actual": 0.022000000000000002
    },
    {
      "id": "property-5tau",
      "ok": true,
      "kind": "property",
      "detail": "5τ",
      "expect": 0.05,
      "actual": 0.05
    },
    {
      "id": "property-solve-C",
      "ok": true,
      "kind": "property",
      "detail": "C=τ/R",
      "expect": 2.1276595744680852e-7,
      "actual": 2.1276595744680852e-7
    },
    {
      "id": "property-solve-R",
      "ok": true,
      "kind": "property",
      "detail": "R=τ/C",
      "expect": 470,
      "actual": 470
    },
    {
      "id": "property-linear-R",
      "ok": true,
      "kind": "property",
      "detail": "2R → 2τ",
      "expect": 0.02,
      "actual": 0.02
    }
  ],
  "tier": "expert_verified",
  "verification": {
    "tests": {
      "passed": 16,
      "total": 16,
      "golden": 3,
      "boundary": 6,
      "property": 7
    },
    "contract_checks": {
      "passed": 3,
      "total": 3
    }
  },
  "evidence_core_generated_at": "2026-09-05T02:35:39.217Z",
  "rendered_at": "2026-09-16T22:03:43.712Z",
  "release_integrity": {
    "status": "verified",
    "scope": "workspace",
    "production_attestation_required": true,
    "calculation_version": "1.0.0",
    "artifacts": {
      "engine": "1.0.0",
      "page": "1.0.0",
      "capability": "1.0.0",
      "evidence": "1.0.0",
      "input_schema": "1.0.0",
      "output_schema": "1.0.0",
      "mcp_contract": "1.0.0"
    },
    "digests": {
      "input_schema_sha256": "8a19eb36a0c3b41066244d15a89316bfa9dfabf56fcf73af20fcf0f65e039d54",
      "output_schema_sha256": "30ce3b2538ef51fc1e36f697a136c9298d78e3d0fcca4fd8dc96ceae6705b3c3",
      "evidence_sha256": "f05fac8c802c3236ad90e1e8af46917a5d4efd0f69fa2b7b374a9bd176d6df29",
      "evidence_core_sha256": "f05fac8c802c3236ad90e1e8af46917a5d4efd0f69fa2b7b374a9bd176d6df29",
      "capability_sha256": "e784cf79ae5030e3e93b8d33e3ec4c88c6dea061933dbde652fe636395aa2bce",
      "engine_sha256": "c8d4ccdbfeaf61d7b024d4e1babb0c2ba3b324c1b37bd0cb456a526d8d2b1bd1",
      "mcp_contract_sha256": "863098b311a7b17dc4b229a6302b90b3545b175f716e5d84772c7be8e9716b86"
    },
    "contract_checks": {
      "total": 3,
      "passed": 3,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.0.0"
        },
        {
          "id": "schema-valid-input-executes",
          "status": "pass"
        },
        {
          "id": "engine-success-output-validates-schema",
          "status": "pass"
        }
      ]
    },
    "report": "https://www.calculatorx.com/.well-known/calculatorx-release-integrity.json"
  }
}
