Study 13 · Empirical study · W48
Your queue
or mine?
Claude passed: it lost almost no value and changed its choice correctly as handoff costs and job sizes changed. Every local model failed; several helped whenever they answered, whatever helping cost.
An idle worker can take a waiting job from a busy neighbour. We asked whether a model can tell when that help is worth giving up its own spare capacity.
When does helping become a mistake?
Your queue is empty and somebody else has a pile of waiting jobs. Taking a job looks useful. But moving it takes time, its deadline may be close, and your own work might arrive while you are busy helping.
A good helper weighs those consequences. “Always help” can waste capacity when moving the job costs more than the useful work it enables. “Stay in your lane” can leave somebody else’s jobs to expire.
Can a language model choose better than a fixed helping policy, and change its choice when helping becomes more costly or the job changes size?
The objective and the hypotheses
- Objective: test whether an idle worker’s model uses queue state to decide when taking a waiting job is worth occupying the helper.
- H1: the model loses less expected completed value than the best fixed policy, including a rule that waits for a large enough backlog.
- H2: the model switches correctly when handoff cost or job size changes which action is best.
Both hypotheses, reply coverage and integrity must pass together. Qwen 2.5 7B is the registered primary. Each other model is a separately labelled secondary replication; Claude’s success does not replace the primary’s failure.
Our frozen predictions: Claude would pass, and that prediction held. Predictions of useful adaptation from the primary and Llama, greater loss from the smaller Qwen, and reduced helping as costs rose all failed. The usable-interface prediction held for every arm. The full prediction record is below.
What one test looks like
The protocol fixture · no saved model answer attributed
The model sees: an empty helper and a neighbour finishing an active job with 1 work action left. Behind that active job are 2 waiting jobs, each needing 2 work actions, expiring before work 3 and 4 ticks from now. There are 6 ticks left, including now. Every completion pays 10 points.
A handoff costs 2 helper actions before work begins. Starting next tick, a new job arrives independently with probability 25% per tick, equally likely to belong to either lane. New jobs expire after 12 ticks. The active neighbour job expires before work 2 ticks from now.
The choice: “stay” spends the helper’s current action idle. “Help” takes the oldest waiting job and spends the first handoff action now. The neighbour’s active job cannot be taken. Once occupied, the helper cannot interrupt its acquired job for its own arrivals.
| Initial action | Code value · points | Lost value · points |
|---|---|---|
| Stay · best | 28.95Exact: 3705/128 | 0.00 |
| Help | 28.28Exact: 28955/1024 | 0.67 |
How it is scored: code averages over every possible future arrival under the stated law. We subtract the value of the chosen action from the better action’s value. That lost value is called regret. The code knows arrival probabilities, never the future draws.
One decision, followed by exact code
Our workflow, including the stops
Claude passed; every local model failed
The primary failed; Claude’s secondary passed. Claude lost 0.03 points per decision, against 0.83 for the best fixed policy, “help once 3 jobs wait”. It made the correct cost switch in 22 of 24 pairs and the correct job-size switch in 9 of 12 pairs.
Each model had 288 designed states, equally weighted: 6/10 ticks remaining; 1/2/4 waiting donor jobs; handoff cost 0/2/5 helper actions; job work 2/4 actions; oldest waiting deadline 3/7 ticks; future arrival chance 25/75%; and imbalance 0/100%. All jobs pay 10 points. One stateless response was scheduled per state.
H1: did the model beat the best fixed policy?
Only Claude passed H1. Threshold was selected from the entire verified code-truth grid before replies, then held fixed. It helps when at least 3 jobs wait, otherwise stays. This is a state-dependent policy. The best constant action, stay, lost 1.23 points and is a separate reference.
H1’s gate: mean paired gain over threshold must be at least 0.25 points and its lower 95% bound above zero. Claude’s gain was 0.80 points, with interval [0.54, 1.09]. The gain interval is paired against threshold; it is not computed by subtracting regret interval endpoints.
| Model / role | Regret / 95% interval | Gain vs threshold / 95% interval | H1 | Valid actions | Joint rule |
|---|---|---|---|---|---|
| Qwen 2.5 7BPrimary | 1.70 [1.24, 2.17] | -0.87 [-1.37, -0.36] | FAIL | 288 / 288 | FAIL |
| Llama 3.1 8BSecondary | 1.77 [1.30, 2.23] | -0.93 [-1.44, -0.42] | FAIL | 287 / 288 | FAIL |
| Qwen 2.5 1.5BSecondary | 1.70 [1.24, 2.17] | -0.87 [-1.37, -0.36] | FAIL | 288 / 288 | FAIL |
| DeepSeek-Coder-V2 16BSecondary | 1.15 [0.79, 1.53] | -0.32 [-0.67, 0.03] | FAIL | 288 / 288 | FAIL |
| GLM-4.7-Flash q8_0Secondary · think:false, set before calls | 1.18 [0.85, 1.55] | -0.35 [-0.79, 0.07] | FAIL | 288 / 288 | FAIL |
| Qwen3-Coder 30BSecondary | 2.02 [1.64, 2.43] | -1.19 [-1.63, -0.77] | FAIL | 288 / 288 | FAIL |
| Claude Opus 5.5Secondary | 0.03 [0.01, 0.05] | 0.80 [0.54, 1.09] | PASS | 288 / 288 | PASS |
| Stay · best constant actionCode reference | 1.23 | -0.40Exact grid mean | Reference | Code only | Reference |
| Always-helpCode reference | 1.70 | -0.87Exact grid mean | Reference | Code only | Reference |
| Random-help (= always)Code reference | 1.70 | -0.87Exact grid mean | Reference | Code only | Reference |
| Threshold · best fixed policyCode reference | 0.83 | 0.00Exact grid mean | Reference | Code only | Reference |
| Code oracleCode reference | 0.00 | 0.83Exact grid mean | Reference | Code only | Reference |
Every model passed coverage: all 288 assignments attempted and accounted, at least 274 schema-valid replies and 274 nonnull-valid actions, and no unresolved material integrity gap. Positive claims also need a positive lower gain bound in the complete-valid sensitivity. Llama had 287 valid actions and one harness interruption; every other arm had 288 valid actions.
H2: did the model switch when the best action changed?
Only Claude passed both switching gates. Each pair differs in handoff cost or job size, with a different uniquely best action at its endpoints. Both answers must match those optima. Merely changing an answer, or being right at one endpoint, earns no success.
H2’s gate: cost and work success must each reach 0.60, and the lower 95% bound of their equally weighted average, S, must exceed 0.50. Claude’s lower bound was 0.71. There were 24 cost pairs across 18 blocks and 12 work pairs across just 9 blocks; all lists were selected from code truth before replies.
| Model / role | Cost success | Work success | S / 95% interval | H2 |
|---|---|---|---|---|
| Qwen 2.5 7BPrimary | 0 / 24 (0%) | 0 / 12 (0%) | 0.00 [0.00, 0.00] | FAIL |
| Llama 3.1 8BSecondary | 0 / 24 (0%) | 0 / 12 (0%) | 0.00 [0.00, 0.00] | FAIL |
| Qwen 2.5 1.5BSecondary | 0 / 24 (0%) | 0 / 12 (0%) | 0.00 [0.00, 0.00] | FAIL |
| DeepSeek-Coder-V2 16BSecondary | 2 / 24 (8%) | 0 / 12 (0%) | 0.04 [0.00, 0.11] | FAIL |
| GLM-4.7-Flash q8_0Secondary | 6 / 24 (25%) | 2 / 12 (17%) | 0.21 [0.07, 0.39] | FAIL |
| Qwen3-Coder 30BSecondary | 0 / 24 (0%) | 0 / 12 (0%) | 0.00 [0.00, 0.00] | FAIL |
| Claude Opus 5.5Secondary | 22 / 24 (92%) | 9 / 12 (75%) | 0.83 [0.71, 0.98] | PASS |
| Stay · best constant action | 0 / 24 | 0 / 12 | 0.00Exact code reference | Reference |
| Always-help | 0 / 24 | 0 / 12 | 0.00Exact code reference | Reference |
| Random-help (= always) | 0 / 24 | 0 / 12 | 0.00Exact code reference | Reference |
| Threshold · best fixed policy | 0 / 24 | 0 / 12 | 0.00Exact code reference | Reference |
| Code oracle | 24 / 24 | 12 / 12 | 1.00Exact code reference | Reference |
What did the models actually choose?
| Model / role | Help | Stay | Either is best | Harness interruption |
|---|---|---|---|---|
| Qwen 2.5 7BPrimary | 288 | 0 | — | 0 |
| Llama 3.1 8BSecondary | 287 | 0 | — | 1 |
| Qwen 2.5 1.5BSecondary | 288 | 0 | — | 0 |
| DeepSeek-Coder-V2 16BSecondary | 259 | 29 | — | 0 |
| GLM-4.7-Flash q8_0Secondary | 211 | 77 | — | 0 |
| Qwen3-Coder 30BSecondary | 79 | 209 | — | 0 |
| Claude Opus 5.5Secondary | 136 | 152 | — | 0 |
| Stay · best constant action | 0% | 100% | — | Code only |
| Always-help | 100% | 0% | — | Code only |
| Random-help (= always) | 100% | 0% | — | Code only |
| Threshold · best fixed policy | ⅓ of states | ⅔ of states | — | Code only |
| Code oracleUnique best; ties separate | 83 | 95 | 110 | Code only |
Descriptive cross-study note: in Study 12, Checkpoint or Restart?, Claude narrowly missed the H2 switching gate. Here it passed. These are different tasks and grids; the comparison does not establish why the outcomes differed.
What we predicted, and what held
| ID | Prediction | Outcome | Reason / denominator |
|---|---|---|---|
| P1 | Qwen 7B passes the joint rule. | Failed | H1 and H2 failed; coverage passed.288 assigned states |
| P2 | Llama reproduces useful adaptation. | Failed | Every answered state chose help; H1 and H2 failed.288 assigned states |
| P3 | Qwen 1.5B loses more value than Qwen 7B. | Failed | Both lost 1.70 points per decision; the difference was zero.288 matched states |
| P4 | Higher handoff cost lowers helping in both Qwen 7B and Llama. | Failed | Qwen helped at both cost extremes, so the prediction requiring both models failed. Llama’s lower recorded help share at high cost comes from its missing answer, not an observed stay choice.576 assigned states across both models |
| P5 | Claude passes the same joint rule. | Held | H1, both switch thresholds, the interval check and coverage passed.288 assigned states |
| P6 | Constrained decoding leaves the interface usable. | Held | Every arm met both valid-reply floors; Llama’s missing response was a harness interruption.288 assignments per model |
Known before registration, not blind predictions: K1, helping unlocks capacity under concentrated toy load while costly balanced handoffs favour threshold, held in the exposed toy results. K2, threshold is this grid’s best fixed next-action policy, also held. Neither is new model evidence.
Secondary measures, complete-valid sensitivity and resource use
| Model / role | Operational value | Optimal-set accuracy | Complete-valid n / gain interval | Input / output tokens | Active seconds / settled USD |
|---|---|---|---|---|---|
| Qwen 2.5 7BPrimary | 37.00 | 67% of 288 | 288 [-1.37, -0.36] | 158,304 / 1,728 | 512.81 / 0.00 |
| Llama 3.1 8BSecondary | 36.93 | 67% of 288 | 287 [-1.38, -0.36] | 155,826 / 1,722 | 513.89 / 0.00 |
| Qwen 2.5 1.5BSecondary | 37.00 | 67% of 288 | 288 [-1.37, -0.36] | 158,304 / 1,728 | 318.08 / 0.00 |
| DeepSeek-Coder-V2 16BSecondary | 37.55 | 73% of 288 | 288 [-0.67, 0.03] | 167,040 / 1,852 | 190.17 / 0.00 |
| GLM-4.7-Flash q8_0Secondary | 37.51 | 75% of 288 | 288 [-0.79, 0.07] | 153,792 / 1,728 | 239.34 / 0.00 |
| Qwen3-Coder 30BSecondary | 36.67 | 63% of 288 | 288 [-1.63, -0.77] | 158,304 / 1,728 | 217.55 / 0.00 |
| Claude Opus 5.5Secondary | 38.67 | 97% of 288 | 288 [0.54, 1.09] | 550,598 / 241,010 | 2832.15 / 9.22 |
Optimal-set accuracy accepts either action on exact ties. Complete-valid sensitivity retains only valid actions and uses the same paired gain against threshold and the same block draws. Llama still fails H1 after its interrupted assignment is excluded.
| Model / reference | Completed / expired jobs | Transfers / transfer actions | Idle / work actions | Unfinished jobs |
|---|---|---|---|---|
| Qwen 2.5 7B | 3.70 / 0.88 | 1.30 / 2.15 | 3.62 / 10.23 | 2.25 |
| Llama 3.1 8B | 3.69 / 0.87 | 1.30 / 2.14 | 3.60 / 10.19 | 2.23 |
| Qwen 2.5 1.5B | 3.70 / 0.88 | 1.30 / 2.15 | 3.62 / 10.23 | 2.25 |
| DeepSeek-Coder-V2 16B | 3.75 / 0.85 | 1.20 / 1.88 | 3.76 / 10.36 | 2.23 |
| GLM-4.7-Flash q8_0 | 3.75 / 0.88 | 1.09 / 1.46 | 4.28 / 10.26 | 2.20 |
| Qwen3-Coder 30B | 3.67 / 0.92 | 0.81 / 0.99 | 5.15 / 9.86 | 2.25 |
| Claude Opus 5.5 | 3.87 / 0.82 | 0.84 / 0.84 | 4.87 / 10.29 | 2.14 |
| Stay · best constant action | 3.75 / 0.85 | 0.63 / 0.56 | 5.46 / 9.98 | 2.24 |
| Always-help | 3.70 / 0.88 | 1.30 / 2.15 | 3.62 / 10.23 | 2.25 |
| Random-help (= always) | 3.70 / 0.88 | 1.30 / 2.15 | 3.62 / 10.23 | 2.25 |
| Threshold · best fixed policy | 3.79 / 0.82 | 0.83 / 1.06 | 4.71 / 10.23 | 2.23 |
| Code oracle | 3.87 / 0.82 | 0.81 / 0.77 | 5.02 / 10.21 | 2.14 |
| Model / role | Stay · best constant action | Always-help | Random-help (= always) | Threshold · best fixed policy | Code oracle |
|---|---|---|---|---|---|
| Qwen 2.5 7BPrimary | -0.47 [-1.09, 0.15] | 0.00 [0.00, 0.00] | 0.00 [0.00, 0.00] | -0.87 [-1.37, -0.36] | -1.70 [-2.17, -1.24] |
| Llama 3.1 8BSecondary | -0.54 [-1.15, 0.07] | -0.07 [-0.21, 0.00] | -0.07 [-0.21, 0.00] | -0.93 [-1.44, -0.42] | -1.77 [-2.23, -1.30] |
| Qwen 2.5 1.5BSecondary | -0.47 [-1.09, 0.15] | 0.00 [0.00, 0.00] | 0.00 [0.00, 0.00] | -0.87 [-1.37, -0.36] | -1.70 [-2.17, -1.24] |
| DeepSeek-Coder-V2 16BSecondary | 0.08 [-0.39, 0.54] | 0.55 [0.21, 0.92] | 0.55 [0.21, 0.92] | -0.32 [-0.67, 0.03] | -1.15 [-1.53, -0.79] |
| GLM-4.7-Flash q8_0Secondary | 0.04 [-0.48, 0.54] | 0.51 [0.24, 0.81] | 0.51 [0.24, 0.81] | -0.35 [-0.79, 0.07] | -1.18 [-1.55, -0.85] |
| Qwen3-Coder 30BSecondary | -0.80 [-1.21, -0.44] | -0.33 [-0.78, 0.15] | -0.33 [-0.78, 0.15] | -1.19 [-1.63, -0.77] | -2.02 [-2.43, -1.64] |
| Claude Opus 5.5Secondary | 1.20 [0.89, 1.52] | 1.67 [1.21, 2.14] | 1.67 [1.21, 2.14] | 0.80 [0.54, 1.09] | -0.03 [-0.05, -0.01] |
| Model / role | Cost 0 / 5 · each n=96 | Work 2 / 4 · each n=144 |
|---|---|---|
| Qwen 2.5 7BPrimary | 100% / 100% | 100% / 100% |
| Llama 3.1 8BSecondary | 100% / 99% | 100% / 99% |
| Qwen 2.5 1.5BSecondary | 100% / 100% | 100% / 100% |
| DeepSeek-Coder-V2 16BSecondary | 96% / 85% | 90% / 90% |
| GLM-4.7-Flash q8_0Secondary | 93% / 57% | 70% / 76% |
| Qwen3-Coder 30BSecondary | 21% / 28% | 32% / 23% |
| Claude Opus 5.5Secondary | 78% / 21% | 54% / 40% |
| Model / role | backlog | Deadline | pressure | imbalance | horizon |
|---|---|---|---|---|---|
| Qwen 2.5 7BPrimary | 0 / 4 | 0 / 17 | 0 / 1 | 0 / 3 | 0 / 6 |
| Llama 3.1 8BSecondary | 0 / 4 | 0 / 17 | 0 / 1 | 0 / 3 | 0 / 6 |
| Qwen 2.5 1.5BSecondary | 0 / 4 | 0 / 17 | 0 / 1 | 0 / 3 | 0 / 6 |
| DeepSeek-Coder-V2 16BSecondary | 0 / 4 | 0 / 17 | 0 / 1 | 0 / 3 | 0 / 6 |
| GLM-4.7-Flash q8_0Secondary | 1 / 4 | 5 / 17 | 0 / 1 | 2 / 3 | 0 / 6 |
| Qwen3-Coder 30BSecondary | 0 / 4 | 0 / 17 | 0 / 1 | 0 / 3 | 0 / 6 |
| Claude Opus 5.5Secondary | 1 / 4 | 14 / 17 | 1 / 1 | 3 / 3 | 4 / 6 |
Full scripted policies: separate code-only context
Here each script keeps making decisions by its own rule for the whole continuation. Above, each baseline chose only the first action before optimal code took over. These are different measurements. No model controlled a full episode.
| Full policy | Value | Completed / expired jobs | Transfers / transfer actions | Idle / work actions | Unfinished jobs |
|---|---|---|---|---|---|
| Stay | 31.41 | 3.14 / 1.08 | 0.00 / 0.00 | 7.03 / 8.97 | 2.61 |
| Always-help | 36.03 | 3.60 / 0.88 | 2.07 / 3.39 | 2.36 / 10.25 | 2.35 |
| Random-help (= always) | 36.03 | 3.60 / 0.88 | 2.07 / 3.39 | 2.36 / 10.25 | 2.35 |
| Threshold-help | 35.42 | 3.54 / 0.86 | 0.94 / 1.50 | 4.42 / 10.08 | 2.43 |
| Code oracle | 38.70 | 3.87 / 0.82 | 0.81 / 0.77 | 5.02 / 10.21 | 2.14 |
The original toy: historical context, not model evidence
The exposed toy used four workers and 240 ticks, with 1,152 matched worlds and 4,608 policy outcomes across nine settings. It has no comparable exact four-lane oracle in this study. Its deterministic seeded arrivals differ from the registered independent-arrival law above.
| Setting | Stay | Always | Threshold | Random |
|---|---|---|---|---|
| Default | 41.85 | 136.79 | 135.27 | 136.77 |
| Balanced | 132.45 | 136.80 | 135.82 | 136.81 |
| Hotspot load | 15.91 | 136.73 | 135.10 | 136.73 |
| Quiet arrivals | 48.97 | 82.92 | 81.83 | 82.92 |
| Busy arrivals | 44.23 | 156.50 | 151.91 | 151.64 |
| Free handoff | 41.85 | 137.41 | 135.78 | 137.41 |
| Balanced, costly handoff | 132.45 | 131.31 | 134.23 | 129.70 |
| Short deadline | 39.65 | 136.79 | 135.17 | 136.77 |
| Long deadline | 46.26 | 136.79 | 135.27 | 136.77 |
What this does not show
- Designed states. This equally weighted grid is not a sample of naturally occurring queues. Its best fixed policy may differ elsewhere. Two lanes and short horizons do not reproduce the toy’s four lanes and 240 ticks.
- One decision followed by code. We did not test full model-controlled schedules, donor selection among several lanes, communication, tools or real team productivity.
- One response per state. The intervals resample designed blocks, not repeated model generations. They do not establish population uncertainty for real work.
- Thin work-axis support. The 12 work pairs cover only 9 blocks. The other state axes are descriptive, some with very few pairs. Passing cost/work does not establish broad state tracking.
- Unequal compute and effort UNKNOWN. Shared output limits do not equalize model size, runtime or hidden computation. Claude requested medium effort; returned effort is UNKNOWN for all 288 assignments. Every local arm also records 288 UNKNOWN effort entries, including the interrupted Llama assignment.
- Subscription accounting and interrupted collection. Claude’s settled USD 9.22 is API-equivalent subscription accounting, not a cash invoice. Actual cash allocation, local electricity and hardware costs are UNKNOWN. The Llama interruption and Claude quota pauses changed collection timing.
Integrity and changes
Freeze before calls: protocol v0.3, prompts, exact truth and scoring were frozen and pushed on , before collection began at 16:29 UTC. B1 was pushed on ; B2 on .
- r2 — prospective GLM setting: Study 12’s thinking-only replies led to an explicit
think:falsefor GLM before any Study 13 call. The setting was bound to served capabilities; separate thinking text was never parsed as an answer. This is the registered Study 13 arm, not a post hoc rescue. - Lead disclosure: diagnosing Study 12, the lead saw one GLM payload in the separate thinking field. That observation informed r2; no Study 13 response had been seen.
- B1 — interrupted Llama call: the lead’s session ended during one started call. Generation and output remain UNKNOWN. It was never resent and counts as a miss: zero operational continuation and 20.00 points of regret. No factual action is imputed; this is a harness failure, not an observed model choice. Later collection ran detached from the lead’s session.
- B1 — two test-written ledger stops: the frozen regression suite wrote a port-occupied stop after a sandbox-denied probe, and a frozen-input-drift stop concerning the new amendment files. No model was called. Both records were preserved and narrowly cleared by append-only records; subsequent legacy tests ran on temporary copies.
- B2 — quota non-starts: the collector initially stopped on Claude’s subscription quota refusal even though the protocol permitted a pause. The amendment required proof of zero usage, zero API time and cost, no structured answer and no tool event. Both 2 proven refusals settled at USD 0; identical request bytes were resent and all attempts retained. These are not extra scored model answers.
- B2 correction before freeze: the lead’s initial amendment draft pointed to the closure record instead of the stop record. The first build refused it; the target was corrected before B2 was frozen.
- Spend and accounting: Claude USD 9.22 settled; local metered calls USD 0. The final analysis has no uncertain holds or active portfolio stop. Actual cash allocation is UNKNOWN.
- Export version label: the inherited results file still labels its base protocol “0.2”. The active registration and push chain are v0.3 with B1/B2; the stale label is disclosed, not silently treated as a different study.
The protocol, amendments, reviews, push receipts, saved replies and frozen analysis are held in a private repository and will be released in redacted form. A public repository link is not yet available.
Definitions, statistics and links
- Exact oracle
- Code enumerates the possible arrivals and computes the best expected completed value using exact arithmetic. It knows the current state and arrival law, never future draws. Independent checks agreed on all 576 initial action values before freeze.
- Regret and missing answers
- Regret is the oracle value minus the chosen action’s value. Invalid, null, aborted or missing assignments end their isolated episode with zero operational value and retain the full oracle value as a penalty. That accounting rule does not invent a factual action.
- Intervals
- We resample 48 horizon × backlog × deadline × arrival-pressure × imbalance blocks, keeping their cost and work states together, using 10,000 frozen draws. Central 95% bounds describe this designed grid. H2 had zero undefined draws in every arm.
- Switch success and S
- A pair must have different unique oracle optima and at least a 0.25-point gap at each endpoint. Both answers must be correct. S averages the cost and work success fractions equally; both axis gates and the S interval gate must pass.
- Fixed policy versus constant action
- Threshold changes with backlog but keeps the same rule. Stay and always-help choose the same initial action everywhere. Baseline selection used the complete code grid before responses; it was not repeated inside bootstrap draws.
- UNKNOWN
- Evidence is unavailable, not zero. Here that includes the interrupted call’s generation and answer, returned effort, actual cash allocation.