Shared golden test cases, a deterministic runner and independent oracles for bounded languages. Cases are JSON data under cases/<owner>/, one folder for each group of cases that a package owns. The runtime package depends only on foundation, so it parses no notation and runs no product algorithm. Each package decodes the cases with its own vocabulary and supplies a subject that answers them.
What it provides
Case kinds. Membership cases give words with expected answers. Equivalence and property cases ask a question about one or two operands. Translation cases check that a target model accepts the same words as the source. Syntax cases check that source text is accepted with a canonical printed form, or rejected with ordered issue codes. (CaseKind, ConformanceCase)
Provenance. Each case records how its answer is known, by construction, certificate, complete enumeration or literature. An enumeration lists every word of its declared domain once. (ProvenanceKind, CaseProvenance)
Decoders and suite checks. Decode cases from unknown JSON with indexed error paths, and reject invalid or duplicate ids and empty word lists. (caseDecoder, caseFileDecoder, checkSuite)
Runner. Runs a case or a suite against a subject with a fresh budget per case, and judges each observation as agreed, contradicted, missing, not required or skipped. A subject that declares a complete class must decide every case of that class, so a stop there is missing. (runCase, runSuite, failures, Subject)
Syntax adapter. Turns a text codec into a subject that checks parsing, printing and the idempotence of printing. (syntaxSubject)
Oracles. The toc-toolkit/testing/fixtures entry computes the exact language of a context-free grammar up to a word length by a least fixed point, and lists all words over an alphabet in shortlex order, with no product code involved. (grammarLanguageUpTo, wordsUpTo, OracleGrammar, OracleFailure)
Case registry. Exposes the registered JSON cases as frozen unknown values. (CASE_FILES, from the same entry)
Enumerations. Name the closed sets of strings that the types and the wire data of the package use. (CaseStatus, ObservedKind, SuiteIssueCode, SyntaxStatus)