- coarsen_token() maps tree-sitter captures to categories (RETURN, IF, LOOP, etc.)
- Function calls kept as raw text (they ARE the behavioral content)
- Only ~5% structural tokens coarsened
- Results: Flask coverage 17.5% -> 28.8% (+11.3%), RAGSAK unchanged (95% calls)
- Cross-package shapes emerge: ('IF', 'KW', 'RETURN') in 4 Flask packages
|
||
|---|---|---|
| .. | ||
| results | ||
| coarsen_eval.py | ||
| context_eval.py | ||
| EXPERIMENT_LOG.md | ||
| RESULTS.md | ||