STET

flux-pr-5519

Zod (TypeScript) · W2 · GPT-5.4

pass_with_warn

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

69.2% run pass rate
Tier 1
primary equivalencepassedequivalentneeds generated testsweak signal risk
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_with_warn

Quality

equivalence
equivalent
93% confidence
code review
pass · 75/100
2 findings
footprint
low (0.18)
behavioral
100.0%
cost
$0.29 · 422K

Equivalence Reasoning

stylistic

The agent patch implements Uzbek locale support in all required places: adds `packages/zod/src/v4/locales/uz.ts` with `parsedType` and error map strings, exports `uz` from `packages/zod/src/v4/locales/index.ts`, and adds `uz` to locale docs. Differences from gold are translation/style choices, not core behavior.

Code Review

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

The patch largely implements Uzbek locale support (new locale file, export, docs entry) and is likely close to intent, but it leaves some type labels untranslated in `parsedType`, so localization quality is incomplete.

2 findings
Type labels in Uzbek locale are not fully localized
major

In `parsedType`, returned labels include English values (`number`, `array`) rather than Uzbek equivalents, so invalid-type error messages are partially untranslated.

packages/zod/src/v4/locales/uz.ts:10
Locale list insertion is out of alphabetical sequence
minor

The docs list adds `uz` before `ur`; keeping locale codes ordered improves maintainability and discoverability in the locale table.

packages/docs/content/error-customization.mdx:392