conformance: gc skip header and sampled per-step siblings for vector suites
This commit is contained in:
1 parent
3f1dc84676
commit
0d6566632c
15 files changed
+442
-2
No files matched your search
@@ -243,3 +243,16 @@ check and is not part of the composite. A later non-zero exit or failing
|
||||
record from it would reopen Q-060. The result adds no normative depth limit,
|
||||
trap or diagnostic.
|
||||
|
||||
|
||||
## Cheaper per-step collection for vector suites (2026-10-14)
|
||||
|
||||
Six vector suites (`fmt_i64/isize/u64/usize_vectors`, `text_base64/hex_vectors`,
|
||||
roughly 12 million steps each) made `--collect-every-step` take about 4-10
|
||||
hours per test. The conformance header `gc: skip` now runs such a test normally
|
||||
under that mode, and each has a sampled `_gc` sibling (20-21 vectors: limits,
|
||||
tail and evenly spaced inputs) that is collected at every step. The full
|
||||
suites still run in ordinary and `--stress` modes. The corpus is 1,799 tests;
|
||||
all pass, and the thirteen vector files complete under per-step collection in
|
||||
about 48 minutes. This changes which inputs are collected per step, not the
|
||||
collector, the language or any diagnostic; the Q-060 validation result above
|
||||
used the original full suites.
|
||||
@@ -35,6 +35,7 @@ Planned header extensions (added by the phase that needs them):
|
||||
| `stdin:` / `vfs:` / `seed:` / `stdout:` / `stderr:` / `file:` / `blocked:` | P2 (implemented) | deterministic world inputs and expected observable output |
|
||||
| `grant:` / `not_instantiated:` | P2 (implemented) | capability grants for `@main`; expected instantiation failure |
|
||||
| `fuel:` | P0 (implemented) | instruction limit; default 1 000 000 (spec 11 §7.1) |
|
||||
| `gc: skip` | implemented | under `--collect-every-step` the test runs without collection; only for vector suites whose step count (about 12 million, roughly 2.8 ms per step under collection) makes per-step collection impractical. Each such test has a sampled `_gc` sibling that is collected at every step, so the same code paths stay covered. Ordinary and `--stress` runs execute the full suite |
|
||||
| `seed:` / `schedules:` / `quantum:` | P3 | scheduler seed / schedule budget / instructions per forced scheduling point (spec 11 §7.2) |
|
||||
| `profile:` | P2 | runtime profile (`hosted`, `deterministic`, …) |
|
||||
|
||||
|
||||
Reference in new issue
Block a user