grammar-inference-engine/tests
tobjend f57c302c91 fix(gbnf): handle disjunction inside parens and compound repetition
The GBNF parser now correctly handles SORE's overloaded + operator:
- + inside (a+b+c) → alternation (not repetition)
- + outside parens → repetition
- +? and +* compound operators → normalized to Star

Also adds implicit concatenation when LPAREN follows a repetition,
so a+(b+c) parses as a+ followed by (b|c).

28 tests pass (13 new disjunction/compound tests). Full suite: 212 passed.
2026-07-12 02:20:58 +02:00
..
test_analyze.py feat: add --slice package (per-directory grouping), --include/--exclude, --verbose, drop root group inference, run full ensemble on all groups 2026-07-04 02:43:03 +02:00
test_bex.py clean up agent-betraying comments; fix stale test names 2026-07-01 13:26:03 +02:00
test_crx_refined.py feat: CRX refined — cluster-then-infer for tighter grammars 2026-07-12 01:50:40 +02:00
test_ensemble.py drop kORE from default ensemble, add --kore flag to opt in 2026-07-04 02:58:07 +02:00
test_gbnf.py fix(gbnf): handle disjunction inside parens and compound repetition 2026-07-12 02:20:58 +02:00
test_kore.py WIP: language size scoring + diversity threshold (step 1 pending) 2026-07-11 22:56:42 +02:00
test_reduce.py feat: implement Reduce algorithm (Algorithm 4, TODS 2010) 2026-07-12 00:11:38 +02:00
test_scoring.py WIP: language size scoring + diversity threshold (step 1 pending) 2026-07-11 22:56:42 +02:00