Skip to content

feat(audit): support matrix for extra checks, null batch average, partial performance score (#788 #768 #769) - #818

Merged
casoon merged 3 commits into
mainfrom
claude/788-support-matrix-696bc8
Oct 31, 2026
Merged

casoon merged 3 commits into
mainfrom
claude/788-support-matrix-696bc8

Conversation

@casoon

@casoon casoon commented Oct 30, 2026

Copy link
Copy Markdown
Owner

Partial work on #788, #768 and #769 (issues stay open).

#788

  • New audit::support_matrix: per extra check (--isolate-third-party-impact, --check-ssr-content, --ai-transparency, --dns-check) the prerequisite and the outcome per mode (single, batch, cache, replay).
  • Args::validate rejects unsupported combinations with the reason (isolation without performance, SSR gap without SEO, --ai-transparency in batch). Before, they were silently set to false / a note was printed.
  • Skip logic of the isolation pass is a pure function; Failed/NotApplicable outcomes are tested into module_runs.
  • Tests: grid test (accepted ⇒ config carries the flag, never a silent drop), single/batch share scope and measurement profile, binary rejection test, Chrome batch e2e for isolation (fixture server).

#768

  • BatchSummary.average_score is Option<f64> (+ average_over); summary.accessibility_score/overall_score are null when no URL produced a report. Schema and OUTPUT_CONTRACT updated (schema now also lists coverage, attempted_url_count).
  • selected > attempted makes the batch incomplete (not_attempted_urls, incomplete_scope); with_sample re-derives the decision.
  • Tests: selected > attempted, fully-failed JSON, binary exit 2 for an all-failed batch (#[ignore], Chrome).

#769

  • PerformanceScore.partial (serialized) when not all four core metrics exist; partial/not-measured modules no longer repeat their subset score as page/summary <module>_score (null).
  • Test: CLS-only vitals through module_scores to JSON (old: 100 everywhere).

Overlaps / open

…trix-696bc8

# Conflicts:
#	CHANGELOG.md
#	docs/OUTPUT_CONTRACT.md
#	tests/integration_test.rs
@casoon
casoon merged commit 6558b8b into main Oct 31, 2026
14 checks passed
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