Skip to content

Judge all on a job of another workspace stores its answers in the open one #427

Done

Description

@aitianshi

Priority

P2 · Planned: limited in scope, has a way around it, or a missing feature

Evidence

Job page with ?workspace=B while A is open: Judge all stores the paid answers in A. B's page shows none.

judge.run_batch asks in threads, where ws_dir() finds no request and falls back to the open workspace. Judging one trial is right (#252).

run_batch with a job of B, saving to ws_dir() from the batch:

IN A (open): True IN B (the job's): False

Reproduction

  1. Workspaces A (open) and B, B holding job-y.
  2. /job/job-y?workspace=B, Judge all.

Expected

The answers are in B.

Acceptance

  • Judge all writes to the workspace that holds the job
  • The other callers of run_batch do too

Related

#252

Activity

  1. self-assigned this
    on Nov 25, 2026
  2. added
    bug
    P2
    on Nov 25, 2026
  3. added theissue type on Nov 25, 2026
  4. harenome commented on Nov 26, 2026

    @harenome
    Collaborator

    Fixed by 9f65487 (#434).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2bug

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions