STET

flux-pr-5519

Zod (TypeScript) · W2 · GPT-5.1 Codex Mini

pass

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

61.5% 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
95% confidence
code review
pass
2 findings
footprint
low (0.18)
behavioral
100.0%
cost
$0.16 · 333K

Equivalence Reasoning

stylistic

The agent patch adds Uzbek locale support in all required places: new `packages/zod/src/v4/locales/uz.ts` with `parsedType` and error-map strings, exports `uz` from `packages/zod/src/v4/locales/index.ts`, and documents `uz` in `packages/docs/content/error-customization.mdx`. Differences from gold are wording/ordering, not core functionality.

Code Review

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

The patch largely satisfies the task by adding `uz` docs entry, export wiring, and a full locale file; remaining issues are minor localization consistency and maintainability polish.

2 findings
Uzbek locale contains untranslated parsed type labels
minor

The new `parsedType` returns English labels (`number`, `array`), so messages like `invalid_type` can mix Uzbek and English. Converting these labels to Uzbek would make the locale fully localized.

packages/zod/src/v4/locales/uz.ts:9
Locale export ordering is inconsistent
minor

The new `uz` export is appended after `yo` rather than placed with nearby `ua/uk/ur` entries, which diverges from the prevailing sorted pattern and can increase merge churn.

packages/zod/src/v4/locales/index.ts:46