ROADMAP: round-1 log, deviations and open questions

Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
lucioandClaude Fable 5 committed 2026-08-21 02:15:06 -07:00
1 parent a4f8476894
commit 3591f0c317
1 file changed
+33 -3
+33 -3
View File
@@ -48,13 +48,30 @@ Theoretical ceiling with every cluster done: ~797/820 (97.2%).
## Done
- Round 0: `scripts/score.sh` (ae8a44c), baseline 77.6%.
- Round 1 (2026-08-20/21): all 8 clusters landed, one commit each, dev work
636 → 796 / 820 (77.6% → **97.1%**). QA pass pending (see Round log).
Per cluster: item-misc +25, dpi-export +10, bind +28, assertions +13,
interfaces +28, types-decls +11, expressions-2 +21, dv-statements +24.
Every cluster verified its passing set was a strict superset of the
previous one; `verify.rs` untouched by all eight. `picorv32.v` now
formats end to end.
## Blocked
(see the list above)
- `directive-split` (14 files, 1.7%) — needs a decision (open question 2).
- `invalid-or-fragment` (3), `not-verilog` (1), `other: mulcmp.v` (1, a
trailing comma in a connection list) — not valid standalone Verilog;
will never pass and should not.
- `compare_helper.sv` (`assign x = `MACRO 1;`) — needs the macro's
expansion; vfmt deliberately does not read `` `define`` bodies for
parsing. Confirmed by the expressions-2 dev, being re-confirmed by the
round-2 mop-up.
## Open questions for you
0. **Commit granularity** — per your mid-run note, each cluster is its own
commit (no squashing). QA fixes, if any, land as separate small commits.
1. Should `parser.rs` / `format.rs` be split into per-construct modules so
clusters can genuinely own files? Mechanical, test-verified, but a big
diff you did not ask for — I left it alone.
@@ -68,5 +85,18 @@ Theoretical ceiling with every cluster done: ~797/820 (97.2%).
## Round log
(appended per round: score before → after, clusters landed, QA verdicts,
what was rejected/re-dispatched)
### Round 1 — 2026-08-20 → 2026-08-21
| cluster | commit | before → after | notes |
|---|---|---|---|
| item-misc | f52beff | 636 → 661 | spaced `` `M (a) `` kept verbatim (tightening would need a verify.rs normalization — declined); `` `error``/`` `warning`` are a closed directive list |
| dpi-export | 8007a71 | 661 → 671 | DPI imports modelled as `FunctionDecl`/`TaskDecl` + `dpi` field, so they are symbols for free |
| bind | f7c66c7 | 671 → 699 | `bind` recognised by shape, not keyword (`obj.bind()` keeps parsing) |
| assertions | e24d33a | 699 → 712 | verbatim pass-through; 12 attack tests added; cosmetic: a column-1 assertion with a multi-line string in its action block re-indents only its first line |
| interfaces | 2a63faf | 712 → 740 | `interface` = `ItemKind::Module{kw:"interface"}`; `clocking`/`endclocking` now reserved; `module-filename` applies to interfaces |
| types-decls | d071957 | 740 → 751 | `ident [..] ident` at statement position is a declaration (assignments pinned by negative tests) |
| expressions-2 | c2ea165 | 751 → 772 | `Cast::ty` is now `Box<Expr>`; `<->` lexed |
| dv-statements | f1db1e5 | 772 → 796 | new `Doc::Inline` IR node; `with {}` verbatim; fixed pre-existing comment-before-`else` verification failure |
Round-1 QA: in progress. Round-2 mop-up (5 files: 2 macro-items, 1 `new`
shallow copy, 2 `32'h`MACRO`) running in parallel in a worktree.