Thanks to visit codestin.com
Credit goes to github.com

Skip to content

docs: metrics overview table + cover every metric in the passing fixture#72

Merged
PeterKneale merged 1 commit into
mainfrom
worktree-all-metrics-coverage
Jun 30, 2026
Merged

docs: metrics overview table + cover every metric in the passing fixture#72
PeterKneale merged 1 commit into
mainfrom
worktree-all-metrics-coverage

Conversation

@PeterKneale

Copy link
Copy Markdown
Owner

Summary

Two related changes so that the metric set is both fully tested and documented in one place:

  • Cover every metric in the all-passing fixture. tests/data/assertions.txt drives the run_all_passing_stdout snapshot but was missing the file.compression and file.compressed metrics. Added a section exercising both across the string comparators (eq, ne, starts, ends, contains, matches) and the boolean comparators (eq, ne), plus a few not variants. Reuses existing fixtures: sample.bam (bgzf), plain.txt.gz (plain gzip), and text files (none). Every executor in engine::executor::dispatch is now represented.
  • Add a metrics overview table to the README. A single at-a-glance table at the top of the ## Metrics section listing each resource family (File, Delimited, BAM, FASTA, Text), its metrics, and a short description — above the existing per-family detail tables.

Verification

  • cargo run -- run tests/data/assertions.txt → exit 0, all 269 assertions PASS
  • cargo test → all tests pass; run_all_passing_stdout snapshot regenerated (only the 18 new compression PASS lines added)

Release

Documentation/test-coverage only — no version bump intended. release-plz will open its usual release PR on merge; hold or decline it to avoid cutting a release.

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings June 30, 2026 00:15
…assing fixture

The all-passing fixture (tests/data/assertions.txt) drives the
run_all_passing_stdout snapshot but did not cover the file.compression and
file.compressed metrics. Add a section exercising both across the string and
boolean comparators (plus a couple of `not` variants) using existing fixtures:
sample.bam (bgzf), plain.txt.gz (plain gzip), and text files (none). Every
metric executor in engine::executor::dispatch is now represented.

Also add an at-a-glance metrics overview table to the README listing each
resource family, its metrics, and a short description, above the existing
per-family detail tables.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@PeterKneale PeterKneale force-pushed the worktree-all-metrics-coverage branch from 468f4cd to 6720475 Compare June 30, 2026 00:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR keeps the metrics set “complete in one place” by (1) adding missing compression-related metrics to the all-passing fixture that powers the main snapshot, and (2) adding an at-a-glance metrics overview table near the top of the README Metrics section.

Changes:

  • Extend tests/data/assertions.txt to cover file.compression (string) and file.compressed (boolean), including not variants.
  • Regenerate the run_all_passing_stdout snapshot to include the newly passing compression assertions.
  • Add a concise metrics overview table to README.md above the per-family metric details.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
tests/snapshots/run_subcommand_test__run_all_passing_stdout.snap Snapshot updated to include PASS lines for the new compression assertions.
tests/data/assertions.txt Adds coverage for file.compression / file.compressed, including comparator variety and negation.
README.md Adds a top-level metrics overview table to document the full metric surface area in one place.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings June 30, 2026 00:16
@PeterKneale PeterKneale merged commit 5d6918a into main Jun 30, 2026
4 checks passed
@github-actions github-actions Bot mentioned this pull request Jun 30, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

Comment on lines +267 to +269
PASS. Expected tests/data/sample.bam file.compression not eq gzip, got bgzf
PASS. Expected tests/data/sample.bam file.compression not contains zip, got bgzf
PASS. Expected tests/data/example.csv file.compressed not eq true, got false
@PeterKneale PeterKneale deleted the worktree-all-metrics-coverage branch June 30, 2026 00: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.

3 participants