Skip to content

fix(screening): production pass, round 2 - #1620

Merged
sickerine merged 15 commits into
devfrom
fix/screening-production-pass-2
Nov 28, 2026
Merged

sickerine merged 15 commits into
devfrom
fix/screening-production-pass-2

Conversation

@sickerine

Copy link
Copy Markdown
Collaborator

Round 2 of getting the screening ready for production: what seven walkers, four council reviewers, two visual reviewers, a duplication reviewer and the cross-family review found on dev after #1619.

Data kept and shown right

  • A held paper's votes are read as they were counted. Answers added to a cast vote change only the answers and rescore the paper without letting go of a held result. A stale answer save after the vote was taken back elsewhere casts nothing.
  • A workspace with no room for another collection still settles its papers. The Overview says why they aren't saved, and once the collection is made the papers included meanwhile are saved to it.
  • A paper merged on its title takes the DOI it lacked, and records merged into it keep finding it, including after the source it was kept under is taken out.
  • A reader set off again by the watch takes nothing in once the first reader has moved the source on, so no page is skipped. A step that hands its papers in in parts moves the source on with each part.
  • Moving a screening lets a former member who could only look vote as a guest. A guest made a viewer stays one.
  • An accepted invitation shows what its guest may do now.
  • Exports: the history's model wording follows the models on the screening while each version stood. Methods counts excluded records. The papers file gives the written other reason. File names keep any script, combining marks included.
  • A stated reason wins a tie over no reason.

Fast at scale

  • Counts narrowed two ways (a reviewer with a source, a check or a reason; a source with a check or a reason) come from kept counts. The audit checks them.
  • A save re-reads papers only where it can move or re-score them.
  • A screening takes up to 45 reviewers. Under "everyone votes", the agreement of every pair of a paper's voters (990 pairs at most) fits one settling step and one read. 200 reviewers made 19,900 pairs, which no step can hold.
  • A count narrowed three ways with a reviewer reads up to 1,500 of their votes. A search page reads 100 papers at a time.
  • useOpenScreening is back to plain code, which the React Compiler memoizes. The hand memo made the compiler skip the hook.

Screens

  • Keys go into "another reason" while it's written. Tab, Enter and Space still move about the form.
  • Y, N and U change the answer a key set last.
  • The failed-reading filter stays offered under a source filter.
  • Menu counts hide where another filter narrows them.
  • Your own settled paper is headed Your vote.
  • Agreement in Reviewers is with the people listed there.
  • A model's price reads "about".
  • Files too large for one email say so before Send, in every locale.

Checks

  • npx tsc --noEmit is clean. npm run check:convex-rules is clean.
  • Vitest: convex/screening, convex/sharing, lib/screening, components/screening and the message tests all pass (383).
  • Size cases (convex/limits/maxSizeScreening.test.ts) all pass. That includes a new one where 45 reviewers all vote on the same papers and all 990 agreement pairs are kept. The 5,000-paper setup takes 33 minutes in convex-test, so its timeout is now an hour.

After the merge, the facets backfill is rerun (migrations/screeningFacets:run with reset), so screenings from before this PR get their two-way counts.

…ne sentence for one fact

- The audit settles a paper on its votes under the screening's rule, models as
  advice included, and counts a reviewer's papers without those that left with
  a removed source: run on the walkers' screenings after round 1, it flagged
  only these.
- What a model is not given, and the workspace's balance, are said on the
  Overview as Settings and the form say them.
…hange only answers, and a full workspace never stops settling

- A paper that keeps its result through a change of settings has its votes read
  as they were counted: a model's vote isn't worked out again under criteria the
  paper wasn't settled under, so its record, counts and agreement stand.
- Answers joining a cast vote change only the answers and the reason that rested
  on them: a decision or note saved in another tab meanwhile stands.
- A workspace with no room for another collection still has its papers settled:
  they are kept in the screening, the Overview says why they aren't saved to the
  new collection, and choosing another destination clears it.
…creening): merged papers keep their aliases, moves keep reviewers voting, a reopened check reads anew

- Counts narrowed two ways (a reviewer with a source, a check or a reason, and a
  source, a check and a reason with each other) are a few counted reads, kept
  as papers and votes change, like counts narrowed one way. Only three
  narrowings at once read cards. The audit checks the new counts.
- A paper merged on its title takes the DOI it lacked, and a record merged into
  it finds it again by its own key: a later record with either is the same
  paper, whatever title it comes with.
- A screening moves only where the plan takes as many papers as it holds, and a
  reviewer outside the workspace it goes to who could only look at it can vote.
- A check reopened reads as a run of its own: a reader still out from before it
  ended writes nothing and fails nothing.
… changes

Every render of the frame made a new screening object, so each page under it,
the header's faces included, rendered again on every tick of the counts while
models read. It is now made once for each read of the screening, its actions
calling the latest mutations.
… re-score them

- A change to a criterion's words, guidance or name no longer settles every
  paper again: only a change of points or stars re-scores the settled papers,
  and it does so with or without a change of what decides a paper, so no
  settled paper keeps the old scale.
- Adding a source, taking one out or changing its range no longer holds the
  settled papers or reads every paper in the save's preview: their papers come
  and go on their own.
- A search whose abstracts are looked up at Crossref or DataCite is never
  stopped by one lookup that goes unanswered: those papers come as they are, as
  before. Only a list of pasted DOIs, whose records the registries are, stops
  and is read again when they don't answer.
- While "another reason" is written, keys are letters of it wherever the focus
  is: a key typed before the field had the focus no longer casts a vote or
  steps on, and goes into the field.
- With every criterion answered, Y, N and U change the one a key answered last.
- The papers file gives what was written for another reason. The whole record's
  history says the models' votes were advice where the rule made them so. A
  file's name keeps a title in any script. A reason too long for its row is cut,
  never run past the drawer's edge.
…el votes empty where no model screened, and menu counts hide where another filter narrows them
…y counts fit one read, and the compiler keeps the open screening

- A screening takes up to 45 reviewers: under "everyone votes" a paper's 990
  pairs of voters are all read, kept and shown, where 200 made 19,900, past
  what one step of settling may read.
- A count narrowed three ways with a reviewer reads up to 1,500 of their votes
  whole, which fit what one query reads; a search page reads 100 papers at a
  time.
- The open screening is left to the React Compiler, which memoizes it: the hand
  memo made the compiler skip the hook.
- One tally each for a reviewer's papers and a screening's, narrowed or not.
- The audit settles a paper with each vote's reviewer kind, as the screening does.
- A guest made one who only looks stays one when the screening moves.
- Answers added to a cast vote rescore it without letting go of a result held
  through a change of settings, and answers to a vote taken back in another tab
  cast nothing.
- A second reader of a source, set off by the watch, takes nothing in once the
  first has moved the source on, so no page is skipped.
- Papers included while the workspace had no room for the collection are saved
  to it once it is made.
- A paper kept by another source when its own is taken out is that source's
  record from then on: a later record under its key is the same paper.
- The whole record's history says models' votes as the models on the screening
  while each version stood.
- The failed-reading filter stays offered under a source filter; Tab moves out
  of the reason being written; file names keep combining marks.
- The Methods paragraph says how many records were excluded with those included
  and left at Maybe.
- A reviewer's agreement in Reviewers is with the people listed there, as the
  figure over them and the Agreement section are.
- A paper you settled yourself heads your own vote with Your vote, never
  Settled without your vote.
- A model's price a paper is said as about that much: it is paid for what it
  reads.
… takes to count fifty thousand places three ways
@coderabbitai

coderabbitai Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: aeb55ae5-70d3-458a-ad0c-fda7ab93fd3d
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-28T16:59:55.857534Z 2002dd7 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2002dd77ad

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread convex/screening/validators.ts Resolved
Comment thread convex/screening/settling.ts Resolved
…the collection still goes back to the collection it was taken out of

The Convex rules list the cap a three-way count reads a reviewer's votes up to.
@sickerine
sickerine merged commit f5a6534 into dev Nov 28, 2026
6 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