STET

flux-pr-5575

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

pass_with_warn

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

61.5% run pass rate
Tier 1
primary equivalencepassedneeds generated testsweak signal riskcommand source driftnon equivalentfail
pnpm build
gold passagent pass
npx vitest run packages/zod/src/v4/classic/tests/refine.test.ts packages/zod/src/v4/mini/tests/refine.test.ts -t "type\ guard\ narrows\ output\ type|non\-type\-guard\ refine\ does\ not\ narrow|type\ guard\ narrows\ output\ type|non\-type\-guard\ refine\ does\ not\ narrow"
gold passagent pass

Partial score: 2/2

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.04 · 8.6M

Equivalence Reasoning

behavioral

The intended change is to make `.refine()` type-aware for type predicates (narrowing schema output types). The agent patch shown only adds generated `node_modules/.bin/*` wrapper scripts and does not modify the relevant Zod schema/type definitions or refine typing behavior, so the core functionality is missing.

Code Review

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

The agent patch is very unlikely to satisfy the task; it appears to add unrelated generated `node_modules/.bin` files rather than implementing refine type-predicate narrowing in Zod source.

2 findings
Patch does not implement requested refine type-predicate support
major

The task requires TypeScript signature/runtime typing changes in Zod refine paths, but the patch content shown consists of added `node_modules/.bin` scripts and does not address the target source files.

app/node_modules/.bin/attw:1
Generated dependency binaries were added to patch
major

The change introduces many dependency wrapper scripts under `node_modules/.bin`, which are generated artifacts and not appropriate for implementing this feature.

app/node_modules/.bin/biome:1