Implementation-level proofs and their property-test stand-ins are in PROOF-NEEDS.md. This file is the test-coverage register: every test that exists, every test that should exist, and the CRG grade against
standards/component-readiness-grades.
Current grade: D Last assessed: 2026-06-01 (this audit). Promoted E → D 2026-04-12 (see READINESS.md).
D grade criterion: “Works on some inputs, test matrix present.” The
test matrix at the spec/grammar/example level is present in this repo.
The actual KRL parser/lower test suite (5577 tests) lives in the
canonical implementation KRLAdapter.jl.
| Path | Kind | What it covers | Status |
|---|---|---|---|
|
Shell smoke |
16 lexical assertions on grammar tokens |
PASSING |
|
Shell |
Aspect tagging ( |
PASSING |
|
Shell entry-point |
Wraps the e2e suite |
PASSING |
|
Shell E2E |
Template instantiation end-to-end |
PASSING (template artefact; flag for removal below) |
|
Shell |
All
|
PASSING |
|
Zig |
Placeholder FFI integration test |
PASSING ( |
|
Shell |
5 micro-benchmarks (validation, build, tests, workflows, instantiation) |
PASSING |
| Path | Kind | What it covers |
|---|---|---|
|
Julia property |
Lexer / parser / lower / 4 example programs (~57 dedicated parser tests) |
|
Julia |
Full KRLAdapter suite (~5577 tests) |
|
Julia |
Server-side parser equivalence (lexer / parser / sql / seam — 1713 LoC) |
Cross-referenced to PROOF-NEEDS.md and PROOF-NARRATIVE.md.
| # | Test gap | Tied to | Effort |
|---|---|---|---|
TG-K1 |
Round-trip property test: |
KR-4 |
4h |
TG-K2 |
Differential test:
|
KR-6 |
4h |
TG-K3 |
Property test: |
KR-7 |
1h |
TG-K4 |
Property test: lowering exhausts every |
2h |
|
TG-K5 |
Property test: port-arity preservation on every |
KR-2 |
4h |
TG-K6 |
Cross-platform fingerprint test (Linux/macOS/WSL) — coordinate with QuandleDB QD-4 |
KR-8 / quandledb QD-4 |
1d |
TG-K7 |
Fuzz harness: random byte-strings → |
KR-1 |
1d |
TG-K8 |
Bench: parse-and-lower throughput vs program size (target: linear) |
(perf) |
4h |
TG-K9 |
Bench: round-trip cost ( |
(perf) |
4h |
The previous TEST-NEEDS.md was rsr-template-repo boilerplate
referring to “rsr-template-repo” throughout. Its claimed CRG Grade: C
— ACHIEVED 2026-04-04 referred to the template itself, not to KRL. That
content has been removed; KRL’s actual grade is D, per READINESS.md.
The template-specific test items (template instantiation, workflow validation count, build-system zig 0.15.2 update, etc.) remain inventoried above only because their files still exist; they should be evaluated for removal when KRL gains repo-specific equivalents.
-
Add a row to Test inventory with path, kind, what-it-covers, status.
-
If it discharges a proof obligation, reference the
KR-Nid and note in PROOF-NARRATIVE.md under the relevant obligation’s “How to discharge” line. -
If new assumptions emerge, register them in ASSUMPTIONS.md.