Skip to content

Add representative layout regression corpus - #19

Merged
konojunya merged 3 commits into
mainfrom
agent/layout-corpus
Sep 5, 2026
Merged

Add representative layout regression corpus#19
konojunya merged 3 commits into
mainfrom
agent/layout-corpus

Conversation

@konojunya

Copy link
Copy Markdown
Member

Summary

  • add a schema-versioned seven-case corpus covering small, medium, and dense diagrams, nested groups, rank and order constraints, cross edges, multilingual labels, and caller-owned provider icons
  • compare current Engine SVG output byte-for-byte with approved references while validating geometry inventory, accessibility metadata, safe local-only content, and exact fixture inventory
  • generate a responsive static approved/current review gallery with release-mode p95 and suite budgets, and enforce the contract in CI

Validation

  • cargo test --workspace --locked
  • canonical formatter and Engine conformance suites against the pinned specification revision
  • cargo +1.85.0 test --workspace --locked
  • cargo clippy --workspace --all-targets --all-features --locked -- -D warnings
  • cargo doc --workspace --no-deps --locked with warnings denied
  • cargo llvm-cov --lib --workspace --all-features --locked --fail-under-lines 95 --fail-under-functions 95 --fail-under-regions 95
  • native and wasm32-wasip1 exact geometry parity with Wasmtime 48.0.1
  • npm run build:wasm, npm test, npm run typecheck, and npm run pack:check
  • release corpus benchmark: 91.517 ms total; slowest case 2.152 ms p95 under the 50 ms per-case and 2,500 ms suite budgets
  • cargo audit and npm audit: no known vulnerabilities
  • isolated Chrome review at 320 px and desktop: no console errors or external requests; Lighthouse mobile accessibility, best practices, SEO, and agentic browsing scores all 100; LCP 111 ms and CLS 0.00

@konojunya
konojunya merged commit b3d0930 into main Sep 5, 2026
2 checks passed
@konojunya
konojunya deleted the agent/layout-corpus branch September 5, 2026 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant