STET

flux-pr-4861

Zod (TypeScript) · W2 · GPT-5.3 Codex

pass_with_warn

Tests passed. 3/3 commands passed. Strength: weak.

69.2% run pass rate
Tier 1
primary equivalencepassedneeds generated testsweak signal riskcommand source driftnon equivalentfail
pnpm build
gold passagent pass
find . -name vitest.config.ts -exec sed -i 's/test: {/test: { testTimeout: 30000,/' {} +
gold passagent pass
npx vitest run packages/zod/src/v4/classic/tests/discriminated-unions.test.ts -t "pipes"
gold passagent pass

Partial score: 3/3

Publishable: noWeak 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

non_equivalent

code review
Code review judgment
#4

fail

decision
Final decision
#5

pass_with_warn

Quality

equivalence
non_equivalent
99% confidence
code review
fail
2 findings
footprint
high (1.00)
behavioral
100.0%
cost
$3.99 · 1.2M

Equivalence Reasoning

behavioral

The agent patch appears to add generated `node_modules/.bin/*` wrapper scripts and does not implement the discriminated-union pipe metadata fix. It does not show changes to discriminated union inspection or pipe `propValues` propagation, so the intended behavior is not addressed.

Code Review

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

The shown agent patch is overwhelmingly unrelated to the requested discriminated-union/pipe fix and appears to commit generated node_modules executables, so it is very unlikely to satisfy the intended change.

2 findings
Patch does not implement discriminated-union pipe support
major

The task requires updates in Zod schema internals for discriminator property introspection through pipes, but the submitted patch adds node_modules binary wrapper scripts instead of touching relevant source files.

node_modules/.bin/attw:1
Generated node_modules artifacts are committed
major

The patch introduces many generated `.bin` scripts with hardcoded install paths, which is repository noise and creates portability and maintenance problems.

node_modules/.bin/vitest:13