Skip to content

Keep a reader's queue of blind pairs away from Arm-attributed pair evidence #1956

Open

Description

@JacobStephens2

Finding

The Spec review of #1872 (pull request #1944, Spec finding P2) found that a reader reaches their blind pairs from a page that unblinds them.

#1872 says the Console page gets "a queue of the pairs assigned to the signed-in reader. It builds on the /scores form's practice of revealing nothing until the reader has submitted." Today:

  • Every reader's queue is listed in the People's calls section of /experiments/<id> (src/console/experiments/render.rs, fn people). The queue is not limited to the signed-in reader, and there is no page of its own.
  • The same page's Pair evidence table names each Arm's new test files (<td>Baseline</td><td><code>tests/left_test.py</code></td>, render.rs fn pairs). The blind pair page shows the same file names under Change A and Change B, so a reader who reads the table before following a queue link can tell which side is which Arm.
  • The same page also lists other readers' calls in Arm terms (Baseline / Candidate columns).

Evidence

This test, added to tests/console/pairwise.rs, fails on branch issue-1872 at the second assertion: the Arm-attributed row is on the page that shows the queue.

#[test]
fn a_readers_queue_is_not_shown_beside_arm_attributed_evidence() {
    let home = tempfile::tempdir().unwrap();
    configure(home.path());
    let (id, _) = fixture(home.path());
    set_people(
        home.path(),
        &id,
        json!({"role": "beside", "readers": ["[email protected]"], "sample": null, "overlap": 0}),
    );
    let console = Console::start(Path::new(env!("CARGO_BIN_EXE_thirdshift")), home.path());
    let html = console.get(&format!("/experiments/{id}")).text().unwrap();
    assert!(html.contains("<h4>[email protected]</h4>"), "{html}");
    assert!(
        !html.contains("<td>Baseline</td><td><code>tests/left_test.py</code></td>"),
        "{html}"
    );
}

Why the review didn't decide it

Moving the queue to its own page doesn't close the leak alone: the Experiment page stays one click away and shows Arm-attributed evidence, Trials and Scores to anyone with read scope. Closing it means choosing between options the Spec and ADR 0028 don't settle:

  1. Hide Arm-attributed pair evidence and people's calls on the Experiment page while the signed-in reader still has blind pairs to call. This changes what Run base-tests and cross-tests for each pair of Trials #1881 and Add the blind pairwise review page to the Console #1885 accepted for the Day shift's view.
  2. Add a per-reader queue page (and its CLI twin and API route) and accept that the Experiment page is not blind, so readers are asked not to open it while reading.
  3. Show test file names on the blind page as neutral labels instead of paths.

Which of these to take, and whether the Day shift reading pairs blind should be kept away from the Experiment page at all, is a Spec decision for the Day shift.

Activity

  1. added
    needs-triage
    in-progress
    and removed
    needs-triage
    on Nov 10, 2026
  2. JacobStephens2 commented on Nov 11, 2026

    @JacobStephens2
    OwnerAuthor

    This was generated by AI during triage.

    Investigation summary

    Confirmed on the selected Base branch, main at 74b072d. Update #1956 in place; no duplicate issue is needed.

    • src/console/experiments/render.rs:256 renders People's calls and Pair evidence together. people() at line 337 lists every reader's queue without viewer filtering; pairs() at line 431 attributes test paths to Baseline and Candidate.
    • src/console/experiments/pair.rs:9 links the blind page back to that Experiment page, and change() displays the original diff paths.
    • src/console/experiments.rs:50 serializes the complete Experiment view for API reads. Viewer identity controls the individual pair's reveal, but does not filter the Experiment view.
    • A scratch HTTP reproduction using the existing pairwise fixture confirmed that read-only token ann receives tests/left_test.py under unrevealed Change A and under the Experiment's baseline evidence. Thus the side's identity is recoverable before any call. Local Console HTML also contains both readers' queues beside the Baseline test row. Another reader's sealed merge calls appear in Arm columns while ann's pair remains unrevealed.

    The eight existing pairwise tests pass. They check the isolated blind page and explicitly expect all queues on the Experiment page; they do not prevent this cross-page disclosure.

    Decision needed

    #1872 requires a queue for the signed-in reader. ADR 0028 fixes who decides the Verdict, but does not settle reader visibility. The current Experiment evidence and calls are also documented behavior from #1881 and #1885. Separating navigation would remove the immediate encounter but leave the unblinded Experiment API and page accessible. Neutral filenames alone would still permit correlation through the retained diffs.

    Recommend a dedicated reader queue plus an explicit decision about concealment on reader-facing views. Record that policy before implementation, including the reveal point and treatment of Day shift operators who also grade. The questionnaire proposes a split if broader concealment is selected.

    Questionnaire

    For the Day shift deciding #1956: investigation on main confirms that the queue page and Experiment API expose Arm-attributed evidence which identifies an unrevealed side. The individual pair page hides its explicit reveal correctly; the surrounding workflow does not.

    1. Should this prevent readers from encountering Arm-attributed material through ordinary Console/API access while their assigned pairs remain unread, or is a separate blind queue with an explicit warning about the unblinded Experiment page sufficient? I recommend concealment on reader-facing views. This determines whether the work changes visibility or only navigation.
    2. If concealment is required, should a pair unlock after the reader's preference, and the full Experiment after preferences for every assigned pair? Queue status currently says called after the sealed merge calls, before preference. How should ad hoc readers without a named queue, and Day shift operators who also read pairs, be treated? These decisions define when existing analysis becomes available.
    3. Should this become a Spec with two dependent Tickets: (A) the reader's own queue, with its CLI/API equivalents and blind navigation; (B) the chosen visibility policy across Experiment list/detail, pair reveals and Trial/Session evidence? Each Ticket would include its HTTP regressions and documentation, with B depending on A. If navigation separation alone is chosen, a single queue Ticket should suffice.
  3. added
    bug
    ready-for-human
    and removed
    in-progress
    on Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugready-for-human

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions