|
Warning
|
The figures and repository-specific test descriptions below are a 2026-03 snapshot, not a current verified inventory. They predate recent project changes. Consult each canonical repository and the portfolio audit before repeating a count or status claim. |
Generated 2026-03-29 by audit.
| Sub-project | Tests | Status |
|---|---|---|
ephapax (Rust workspace) |
330 |
CRG C complete 2026-04-04 |
tangle (OCaml) |
94 |
Existing coverage adequate |
affinescript (OCaml) |
64 tested (22 pre-existing failures) |
Pre-existing, not regressions |
Added test categories for ephapax-linear and ephapax-lexer: - P2P property tests: loop-based invariant checks (20+ iterations each) - E2E tests: full pipeline tests (lexer→tokens, module→discipline check) - Aspect tests: robustness, statelessness, edge cases, crash resistance
| Category | Count | Notes |
|---|---|---|
Unit tests |
~50 |
affinescript: test_lexer.ml, test_golden.ml, test_e2e.ml + ~119 .as test files (borrow, codegen). tangle: test_parser.ml, test_typecheck.ml, test_eval.ml |
Integration |
~5 |
tangle FFI integration_test.zig, ephapax tests.rs (per-language suites live in each language’s own repo) |
E2E |
~3 |
affinescript test_e2e.ml + integration tests |
Benchmarks |
4 |
tangle: bench_lexer.ml, bench_lexer.rs, bench_parser.ml, bench_parser_rust.rs. betlang: bench_lexer.rs |
Source modules: ~772 across the family’s language implementations. Major: affinescript (~87 ML), ephapax (~488 Rust across 19 crates), tangle, eclexia, betlang, anvomidav, wokelang, error-lang, jtv. (Counts predate the pure-coordinator pivot; the code now lives in each language’s own repo — treat as historical.)
-
❏ affinescript: borrow checker property tests (arbitrary program shapes)
-
❏ ephapax: linear type checker property tests — CRITICAL (19 crates, only tests.rs)
-
❏ tangle: parser roundtrip property tests
-
❏ All languages: lexer/parser fuzzing for crash resistance
-
❏ Each language: source → lex → parse → typecheck → codegen → execute
-
❏ affinescript: full compile pipeline with borrow checking
-
❏ ephapax: full linear type checking pipeline (19 crates, needs integration)
-
❏ tangle: full compilation to target
-
❏ Cross-language: shared concepts verified across implementations
-
Security: No tests for code injection through language constructs, unsafe memory in codegen, sandbox escape in interpreters
-
Performance: tangle has lexer/parser benchmarks (good). affinescript: ZERO benchmarks. ephapax: ZERO benchmarks for 19 crates
-
Concurrency: No tests for parallel compilation, concurrent type checking
-
Error handling: affinescript has test files for error cases (good). Most other languages: ZERO error handling tests
-
❏ OCaml build + test for affinescript, tangle
-
❏
cargo testfor ephapax (19 crates!) -
❏ Zig build for tangle FFI
-
❏ Test runners for each language
-
❏ ephapax: type checking time, compilation time, memory usage (19 crates, ZERO benchmarks)
-
❏ affinescript: compilation pipeline benchmarks
-
❏ eclexia: parsing/evaluation benchmarks
-
❏ All languages: parse time vs source size
-
❏ Each language: self-hosting test (can it compile its own test suite?)
-
❏ Grammar consistency checks
-
❏ Type system soundness verification
| Language | Source Files | Tests | Status |
|---|---|---|---|
affinescript |
~87 ML |
~50 unit + 119 .as |
Good coverage |
ephapax |
~488 Rust (19 crates) |
1 tests.rs |
0.2% — CATASTROPHIC |
tangle |
moderate |
3 ML + 1 Zig + 4 bench |
Adequate for size |
eclexia |
unknown |
0 |
Untested |
betlang |
unknown |
1 bench |
Untested |
anvomidav |
unknown |
0 |
Untested |
wokelang |
unknown |
0 |
Untested |
error-lang |
unknown |
0 |
Untested |
jtv |
unknown |
0 |
Untested |
Note:
tentacles-agentic-syllabus(formerly 7-tentacles) is the curriculum framework, not a language (see0-AI-MANIFEST.a2ml§6). Its test posture is tracked in its own repo and is intentionally excluded from this per-language table.
CRITICAL. Ephapax at 488 Rust source files across 19 crates with effectively 1 test file is catastrophic — this is a compiler with linear types that needs rigorous testing above all else. affinescript is the only well-tested language. At least 6 language implementations have ZERO tests. The tangle benchmarks are a good model for the rest.
-
tests/fuzz/placeholder.txtis a scorecard placeholder inherited from rsr-template-repo — it does NOT provide real fuzz testing -
Replace with an actual fuzz harness (see rsr-template-repo/tests/fuzz/README.adoc) or remove the file
-
Priority: P2 — creates false impression of fuzz coverage