"""R5 test pass: build the ONE shared task list of both GPU slots in the order of clarification J2 (records/R5/RULE/j11_v3_4_clarifications_2.txt, sha256 c34671e9...). Reads only testpass_config.json, the registry evalsets.json (names, locked flag, unit), the two model registries and selection.json; never a test manifest or image. Mode "selection" when selection.json is FROZEN at build time: the file and its .sha256 file exist and agree, provisional is false, B1 is named, and generated_utc is not later than times_utc.not_before (12:00 UTC). B1 and B2 are read from the role fields of select_b1b2.py (roles.B1/B2: arm, checkpoint, seed2_checkpoint, seed2_arm, short_checkpoint, short_seed2_checkpoint, short_seed2_arm). Otherwise mode "fallback" (J2 last paragraph): rows 1, 2 and 6 run as the four leader-length arms' finals in the order hunyuanocr, minicpm_ocr_1_0, paddleocr_vl_1_6, qwen3_vl_2b; row 4 then holds the P_short checkpoints of those four arms (B1/B2 are among them and unknown) before the line P_short rows. The builder never fails on selection.json: any exception while reading it or building from its roles means "not frozen" (fallback, the exception recorded in the list's notes); --force-fallback forces the fallback (the runner's second try). Rows (J2): 1 B1 finals, 2 B2 finals (row-1 sets: kohtd_test with p2/p2b in the same call, print_real_test, synth_clutter_test); 3 line decision tier (LINEDET's run() lines, A1/A2 long2x first; LM decoding and its H9 gate hook run inside each call); 4 B1/B2 at P_short and the line P_short checkpoints on kohtd_test; 5 REF's test_pass_commands.sh (REF_DEVICE=gpu, slot L, J8); 6 the other leader-length arms (finals on row-1 sets, then P_short on kohtd_test); 7 H14 P_short of every other VLM arm on kohtd_test, cheapest first, granite/youtu/unlimited last; 8 C8 remainder (line arms, then linedet.lm_gate over all labels, leader finals, leader P_short, short-only arms) on every other locked set. Locks: one evaluation per VLM checkpoint at a time (vlm__: the calls share meta.json); one LINEDET call per LABEL at a time (linedet_