3.1 KiB
24 — Conformance corpus, robustness and performance evidence
Status: PLANNED; no implementation claim Requirements: R-003,R-005,R-010,R-011,R-012,R-013,R-015,R-021 Dependencies: Starts with01/02 and supplies fixtures for08/17; later suites bind each implemented subsystem.
Ownership and boundaries
Root owns acceptance matrix/baselines; Sol owns bounded harnesses, Astra reviewer audits adversarial cases. NEW tests/corpus/, tests/integration/, benchmarks/ under later exact assignments. Future assignments must verify the then-current baseline and exact disjoint paths; these proposed scopes do not authorize work in another repository.
Contracts and data flow
Each case records source/provenance, context/toolchain, expected semantic/control observations and required capabilities. Distinguish compiler-validity references from IDE/debugger assertions. Test counts, exit codes, cold/warm state and hardware are part of evidence; no-test and skipped-required-suite outcomes are failures.
Implementation sequence
- Establish synthetic fixtures plus permission-compatible pinned Library/VBS corpus slices. Avoid importing secrets or whole dirty checkouts; record exact relevant source identities.
- Build layered tests: unit/property-style boundary checks, actual subprocess protocols, compiler/worker fault injection, provider/module/index integration, and real editor journeys.
- Add appropriate ASan/UBSan and targeted race/resource tests under supported toolchains. Fuzz bounded framing/JSON/trace readers using an explicit future harness and reproducible seeds.
- Measure warm completion
100ms and navigation50ms p95 with declared warmup/sample counts, cold index cost, peak memory and competing background/debug workloads. Report distributions/failures rather than one best sample.
Failure behavior and constraints
Separate environment/dependency failures from application defects. Keep failing regression fixtures; do not weaken assertions to meet a date. A new compiler/stdlib/proposal implementation invalidates affected baselines until retested.
Acceptance scenarios
- Require a traceable requirement-to-case matrix and execute gate-specific suites on exact revisions.
- Include malformed protocols, invalid Unicode, context races, unsaved modules, generated names, failed constraints, partial traces and process cleanup.
- Compare incremental behavior with clean analysis and show performance/resource measurements under representative concurrent loads.
Verification and integration
Proposed NEW CTest label: conformance. Once implemented, register a nonzero suite and run:
dev cpp-gcc -c ctest --test-dir build/bootstrap -L conformance --output-on-failure
This future command is not evidence that the label/tests exist now. Before dispatch, bind the fixtures above to actual targets and record prerequisites/side effects. Require fresh independent review of the implemented contract and affected integrations. Keep prior benchmark manifests and corpus expectations for comparison. Revise expectations only with a reviewed semantic requirement change; retain reproductions for resolved defects.