Repository navigation
perf(screening): Papers' counts under one narrowing, and the overview's pace, read the counts kept for them - #1617
Merged
Merged
Conversation
…'s pace, read the counts kept for them Step two of two. The counts are kept since #1616, and its backfill checked clean on shared dev (migrations/screeningFacets:verify returned 0 at 08:27 UTC). At 5,000 papers with two reviewers (convex/bench/screening-team.bench.ts), each count checked against the cards and votes read whole: - tab counts under one reviewer: 10,009 documents (2.8 MB) a read to 252 (273 KB) - under one reviewer voted include: 6,676 (1.7 MB) to 92 (93 KB) - under one source: 5,009 (1.2 MB) to 162 (170 KB) - the overview's votes of the last days: 1,012 (314 KB) to 58 (58 KB) Narrowed two ways at once, Papers still counts the cards one by one. The counts are a moment behind a vote, so cards.test.ts lets their worker run before it reads them.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
…a model's vote not yet decided As the old count did: a model's vote is cast before the bookkeeping works out its decision, and is counted under `cast` until then (#1618).
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.
This is step two of two. Since #1616 the counts are kept by triggers. Its backfill ran on shared dev, counting 40,288 papers and 29,911 votes, and
migrations/screeningFacets:verifyreturned 0 missing entries at 08:27 UTC.The figures below come from
convex/bench/screening-team.bench.ts(5,000 papers, two reviewers), and every count was checked against the cards and votes read whole:The counts query runs again on every vote in the screening, so this is the read behind a slow reviewer filter on a large screening.
paperViews.counts: a single narrowing (one reviewer with or without a way of voting, one source, one check or one reason) reads the aggregate. Two narrowings at once still count the cards one by one, which is noted as aponytail:comment.view.figures: each person's votes sincesinceare counted, no longer capped at 500 reads.cards.test.tslets that worker run before reading.Checks:
tsc,check:convex-rules,check:module-weightandcheck:user-actionspass.convex/limits/maxSizeScreening.test.ts: all 5 size tests pass, including ten reviewers on 5,000 papers and thirty reviewers settled by the first vote.