MVP scaffold for a language-agnostic static test equivalence tool.
This repository currently includes:
- Project spec:
SPEC.md - Rust workspace:
crates/test-ir-core(MVP comparator + plugins)crates/test-ir-cli(CLI)
- Fixture harness inputs under
fixtures/(tiny deterministic cases + harvested real corpus).
cargo testcargo run -p test-ir-cli -- compare --ground-root fixtures/cases/add_pass_ts_ground/ground_truth --ground-lang ts-vitest --derived-root fixtures/cases/add_pass_ts_ground/derived --derived-lang rust-testSee fixtures/harness_cases.yaml.
Run all fixture cases:
cargo run -p test-ir-cli -- harness --manifest fixtures/harness_cases.yamlHarness coverage:
- Stateless arithmetic pass/fail
- Stateful counter pass/fail
- Both directions for
ground_truth(ts-vitestandrust-test)
fixtures/harvest/ contains copied tests from:
/root/git/lossless-claw/test/root/git/sieve-lcm/tests
Refresh the harvest:
./scripts/refresh_harvest.shRun full harvested compare regression (slow):
cargo test -p test-ir-core harvested_full_corpus_compare_passes -- --ignored