Skip to content

docs: replace static coverage percentage badge#24

Open
sahniaditya007 wants to merge 1 commit into
robocurve:mainfrom
sahniaditya007:fix/readme-coverage-badge
Open

docs: replace static coverage percentage badge#24
sahniaditya007 wants to merge 1 commit into
robocurve:mainfrom
sahniaditya007:fix/readme-coverage-badge

Conversation

@sahniaditya007

Copy link
Copy Markdown

Summary

Replace the static coverage 100% badge in the README with a non-numeric coverage-gated badge.

Why

The previous badge hardcoded a coverage percentage and could become misleading if the CI coverage threshold changes in the future. The new badge accurately reflects that coverage is enforced by CI without claiming a specific percentage.

Changes

  • Replace coverage-100% badge with coverage-gated
  • Keep the badge linked to the CI workflow
  • No functional or CI changes

@jeqcho

jeqcho commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Thanks. The badge change itself is a reasonable take on #3's "drop the number" option.

The problem is that this branch is stacked on your #23 branch, so the diff against main also carries the pyproject/uv.lock/CLAUDE.md dependency changes, despite the description saying no functional changes. Those can't land (see my comment on #23 for why; short version: inspect-robots is on PyPI now, so the git pin is a downgrade and would break our next release upload).

Could you rebase onto main so this PR contains only the README badge commit? I'll take another look after that.

jeqcho added a commit that referenced this pull request Jul 13, 2026
worldevals and inspect-robots have both been on PyPI since 0.3.x, but the
catalog home page and CLAUDE.md still told users to install from git tags
(two commands, pinned to inspect-robots v0.3.0). Replace both with
'pip install worldevals' and note in CLAUDE.md why direct git references
must not come back: PyPI rejects wheels with direct-URL deps, which would
break the release workflow at upload.

Surfaced while reviewing #23/#24; closes out the stale-docs remainder of #2.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
@sahniaditya007
sahniaditya007 force-pushed the fix/readme-coverage-badge branch from 74e16ca to 5cc6018 Compare July 14, 2026 05:05
@sahniaditya007

Copy link
Copy Markdown
Author

Thanks for the review. I've rebased the branch onto main and removed the dependency-related changes from #23. This PR now contains only the README coverage badge update.

@jeqcho jeqcho 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.

Thanks for poking at the badges — hardcoded numbers in READMEs deserve suspicion, so I get where this came from.

This one's enforced, though. CI runs the suite with fail_under = 100 (see [tool.coverage.report] in pyproject.toml), so if coverage ever slips below 100% the build goes red. The badge can't quietly rot the way a hand-typed number would. And since coverage: gated is also a static label, the swap trades a specific, enforced claim for a vaguer one. The other robocurve repos use the same 100% badge too, so worldevals would become the odd one out.

If drift is the thing you want to kill, a genuinely dynamic badge — a shields endpoint that CI updates after the coverage run — would be a real improvement and I'd happily take that PR. Passing on this version, but the one-line diff and honest description made it a quick, pleasant review. Hope to see you back.

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.

2 participants