Data to …… trials
V · Code repair

Fixes a one-bug function when shown a failing example

Gemma 4 31B QAT

Finding:DEGRADES· grade C(research conclusion)

Degrades at 0 hidden checks: 3/5 pass -- already weak at the easiest level tested

Boundary 0 hidden checks

Pass rate by level2 levels tested
Pass rate by level for Fixes a one-bug function when shown a failing example0%30%50%75%100%Boundary: degrades at 0 hidden checks0 hidden checks0 hidden checks: 3/5 pass (60%)3/54 hidden checks4 hidden checks: 8/22 pass (36%), 3 errored8/22

Dashed lines: a level at or below 30% pass counts toward BREAKS, at or below 75% toward DEGRADES. Labels above points: passed/scored.

LevelPassedPass rateNote
0 hidden checks3/560%▲ boundary
4 hidden checks8/2236%3 errored (excluded)
Why it slips

The model gives a wrong value that matches no known misreading.

in 44% of failures (16 failures at and beyond the boundary)

Example failureat 0 hidden checks
Trial result: FAIL (one model answer)
FAILwrong_value
To fix the bug, we need to analyze the calculation of `cost` step-by-step for the input `solve(-2, [-1, 15])`. 1. `cost = -2`, `values = [-1, 15]` 2. `weight` logic: * Initial `weight = 6`. * Iteration 1 (`e = -1`): `weight < cost` (6 < -2) is False $\rightarrow$ `weight = cost + 6 = -2 + 6 = 4`. * Iteration 2 (`e = 15`): `weight < cost` (4 < -2) is False $\rightarrow$ `weight = cost + 6 = -2 + 6 
Evidencewhat this finding rests on
  • Ground truthDeterministic simulation: the right answer is computed, not judged
  • StatisticsWilson 95% interval 23%–88%Grade C: thin evidence
  • Sample size5 scored trials at the boundary: small sample (under 15)
  • Fresh-seed confirmationNot run yet
  • ReplicationNot run yet
Raw evidenceruns and trials

Back to the capability map →