Save generated test variants
save_generated_testIngest model-generated test variants for a ticket, deduplicate identical assertions, and return runnable test files and manifest for writing.
Instructions
Ingest the model-generated test variants for a ticket (submit them as variants: [{model, content}]). Tags each with its model, dedupes identical/near-identical assertions across variants (whitespace + variable names normalized; a fully-duplicate test block is dropped and noted), and returns the runnable files to write (test/..test.js) plus a queryable manifest (test/.variants.json). Read-only: it returns file contents for you to write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticket | Yes | ||
| project | Yes | ||
| variants | Yes | One entry per model variant. |