Repository navigation
Add the crawler agreement overview admin page - #579
Open
daoudclarke wants to merge 2 commits into
Open
daoudclarke wants to merge 2 commits into
daoudclarke wants to merge 2 commits into
Conversation
Lays out the agreement rollups at /admin/crawler-agreement/ as the design canvas in #533 draws them: the pair grid, breadth against agreement, the tail-rate funnel, every crawler against the network's middle half, and the selected crawler's daily trend with version changes. Crawlers are ranked by distance from the network in its own interquartile range, with no fixed cut-offs. The rollups gain a daily median per submitter and the version it ran, for the trend, the sparklines and the version column. No functional changes to the crawler. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
- Mark only versions not seen before, so an operator alternating versions across machines doesn't draw spurious changes. - Keep a day's version when its last comparison sent none. - Say why a selected crawler's trend is empty. - Caveat that the version is the crawler's own claim. - Reject non-ASCII digits in ?crawler= with a 400 rather than a 500. - Pin the daily rollup test's times so it can't cross midnight. - Tell an all-empty pair apart from one with too few shared URLs. No functional changes to the crawler. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #533 (item 2): the overview artboard of the design canvas, as an admin page at
/admin/crawler-agreement/, linked from the admin index.What it shows
/admin/worst-agreements/.Selecting a crawler (any dot or name) is a
?crawler=<user id>link, so the page needs no JavaScript.How
agreement_rollupsgains a daily rollup per submitter: its median extract similarity and the version of its last submission that day. It is cached with the rest.mwmbl/crawler/agreement_panel.pyturns the rollups into what each chart draws, and is unit-tested without a database.Differences from the issue and canvas
median_recent_scoreis the lower of title and extract similarity.Testing
test/test_agreement_panel.py: ranking (the magpie, linnet and dunlin cases), selection fallback, pair-grid hatching, version-change markers, crawlers that met no one, the empty window, and the view's responses and bad parameters.test/test_agreement_rollups.py: the daily rollup.🤖 Generated with Claude Code