Product reviews

GPT-6.2 Sol on a real pandas regression

Two hosted Codex sessions wrote tests for a pandas membership change. Both passed after the fix. Only the test prompted with the edge condition failed before it.

Did the generated tests actually distinguish the faulty release?

One of the two membership tests did. With a feature-level brief, the model used list-backed categories and both releases passed. Naming range-backed categories produced an assertion that failed on pandas 3.1.1 and passed on 3.1.2.

Why the difference mattered

The customer-visible rule was that a value present in an ordered categorical index should be found by a membership lookup. The broken path depended on how the categories were supplied. Five sensible assertions using a list never reached that path. A shorter test using a range did. Counting assertions would have rewarded the weaker test in this example.

Recorded replay on the two pandas versions
Condition3.1.13.1.2
List-backed categories, feature briefPassedPassed
Range-backed categories, edge-informed briefFailed on membership of 10Passed

How much weight to put on two runs

The sessions were independent, used the first model response and took place after the public fix. The prompts differed. This is evidence that supplying the relevant input condition affected these two outputs. It is too small and too exposed to prior knowledge to rank models or forecast a detection rate on unseen PRs. The complete prompts and source are available with the study.

Primary documentation

Your next release starts here

Keep building.
Put testing to work.

Give Cue April your next testing challenge. Let your AI quality lead coordinate the checks, so your team can focus on what comes next.

Create account

Create your account, connect a repository and review your proposed setup before approving a run.