Compiler parity: add the current Script Setup TypeScript differential cases and keep the…
- User
Compiler parity: add the current Script Setup TypeScript differential cases and keep the known-failure budget accurate
Use the existing Vue differential-parity oracle for the current SFC fixture additions. Add and match the upstream Vue output for Script Setup TypeScript cases covering
defineOptionsoptions such asinheritAttrs, component name/custom options, and<script setup generic>type parameters.Normalization must treat
required: trueas the default representation expected by the fixture comparison. Regenerate the affected expected snapshots from the real Vue compiler and update the tracked known-failure budget so the coverage command reports exactly the remaining known divergences rather than hiding new failures.Evaluation contract
The required differential corpus for this task is the current Script Setup TypeScript snapshot set, including
defineOptionscases and script-setup generic type parameters. Normalizerequired: trueas the default representation expected by the oracle, regenerate those snapshots from the real Vue compiler, and update the tracked known-failure count to exactly the remaining known divergences. Passing a different parity-fixture subset does not satisfy this task.Interface
No new interfaces are introduced.
- Assistant
I’ll inspect the parity harness, current Script Setup TypeScript fixtures, and repository guidance, then update the oracle normalization, snapshots, and exact known-failure budget before running the targeted coverage tests.
- Assistant
rgisn’t installed in this workspace, so I’m switching tofind/grepand narrowing the search to test and fixture directories. - Assistant
The harness already contains the intended
required: truenormalization, but the corpus only has one combineddefineOptionscase. I’m establishing the current differential baseline and inspecting compiler output behavior so the added cases and budget reflect actual remaining divergences. - Assistant
The expanded corpus exposes exactly two real divergences: TypeScript
defineOptionsis emitted by Vue through_defineComponent({...options}), while Vize currently emitsObject.assign(options, component). The generic cases pass oncerequired: trueis normalized. I’ve recorded only those two failures and am regenerating/checking the repository snapshots and coverage command.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.