Skip to content

Commit dd382cd

Browse files
reshape: four path constructions that named src/ from pieces; a JDK-layout fixture path wrongly rewritten; drop test/java/README.md and the TypeScript results snapshot
check_staging.py, check_arity.py, literal_gate.py and empty_relation_lint.py built the engine path from ('src', lang) and were missed by the rewrite; they point at graph/ now. jdk-ir-stamp-test.sh's fixture mimics the JDK source layout (src/java.base/share/classes) and had been rewritten as if src/java were the engine — reverted. The Java suite README is removed (its run instructions move to the root README's Tests section) and so is graph/typescript/RESULTS.md, a measurement snapshot naming the corpus projects that nothing referenced.
1 parent d951fb4 commit dd382cd

8 files changed

Lines changed: 24 additions & 472 deletions

File tree

‎README.md‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,21 @@ skills/code-graph/ how an agent builds and queries the graph
213213
test/<lang>/ regression suites, torture harnesses, oracles
214214
```
215215

216+
## Tests
217+
218+
```bash
219+
bash test/java/run-tests.sh # regression suite; --oracle also scores against javac/javap ground truth
220+
bash test/typescript/run-tests.sh # --oracle scores against the TypeScript compiler
221+
bash test/python/run-tests.sh # --oracle scores against CPython bytecode and tracing
222+
npm test -w parser # the parser's own suite
223+
```
224+
225+
Each suite parses its fixture cases with the parser in this repository (`AXIOM_PARSER` overrides),
226+
solves them, guards that no call site was dropped, and diffs the normalised edges against a
227+
golden. `--keep` retains the per-case work directories (`test/<lang>/.work/<case>/out/graph.sqlite`
228+
is a real bundle to poke at); `--bless` regenerates goldens — review the diff. The torture
229+
harnesses (`test/<lang>/torture/`) and the TypeScript corpus runner score real projects.
230+
216231
## Known limits
217232

218233
Stated because a graph you can't trust the boundaries of isn't useful:

‎graph/typescript/RESULTS.md‎

Lines changed: 0 additions & 222 deletions
This file was deleted.

0 commit comments

Comments
 (0)