STET

flux-pr-5316

Zod (TypeScript) · W2 · GPT-5.3 Codex

pass

Tests passed. 4/5 commands passed. Strength: weak.

69.2% run pass rate
Tier 1
primary equivalencepassedneeds generated testsweak signal riskequivalentpass
pnpm build
gold passagent pass
sed -i 's/test: {/test: { testTimeout: 30000,/' vitest.config.ts
gold passagent pass
sed -i 's/test: {/test: { testTimeout: 30000,/' packages/zod/vitest.config.ts
gold passagent pass
sed -i 's/test: {/test: { testTimeout: 30000,/' packages/resolution/vitest.config.ts
gold passagent pass
pnpm test -- --maxWorkers 1 --maxConcurrency 1 --retry 2
gold failagent

Partial score: 4/4

Publishable: yesWeak signal risk: yesCache: miss

Trajectory

unknown · partial order only

Canonical trajectory missing; showing coarse derived order only.

patch written
Patch captured
#1

Stet captured agent.patch for this trial.

validation
Tests passed
#2
equivalence
Equivalence judgment
#3

equivalent

code review
Code review judgment
#4

pass

decision
Final decision
#5

pass

Quality

equivalence
equivalent
97% confidence
code review
pass
footprint
medium (0.51)
behavioral
100.0%
cost
$3.24 · 1.3M

Equivalence Reasoning

stylistic

The agent patch implements the intended map size helpers (`min`, `nonempty`, `max`, `size`) on `ZodMap` and updates English locale sizing text for maps to use “entries,” matching the required behavior. It also adds extra tests and a type-union update for `"map"` origin, which are additive and do not change the intended functionality.

Code Review

correctness: 4/4introduced bug risk: 3/4edge case handling: 3/4maintainability idioms: 3/4

The agent patch likely satisfies the intended change: map schemas gain fluent size helpers and locale messaging for map entries, with supporting tests; differences from the minimal gold patch appear additive rather than contradictory.