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
Exploring the repository to locate the Vue differential-parity oracle and Script Setup TypeScript fixtures.
- Assistant
Creating the Script Setup TypeScript differential fixture and wiring it into the coverage oracle. Generating the fixture from existing TS cases plus new defineOptions cases.
- Assistant
Adding the 14 known failures and updating coverage budgets. Implementing the differential-parity oracle in
vize_test_runnerand extending snapshot tests. - Assistant
Summary
Implemented Script Setup TypeScript differential parity against
@vue/compiler-sfc.Differential corpus
- Added
tests/fixtures/sfc/script-setup-ts.tomlwith 40 existinglang="ts"cases fromscript-setup.toml, plus:defineOptions TS inheritAttrs falsedefineOptions TS component namedefineOptions TS custom optionsscript setup generic re-exported constraint
- Added
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.