dedupe_against_section
Compare newly generated test cases with existing ones in a TestRail section to flag duplicates using token overlap analysis.
Instructions
Check generated cases against what's already in a TestRail section.
Uses title-token overlap (no embeddings) — fast, deterministic. Returns:
kept: list of {case, reason} that look newduplicates: list of {case, existing_id, existing_title, overlap}thresholdis the minimum token-overlap (0..1) to flag as duplicate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cases | Yes | ||
| suite_id | No | ||
| threshold | No | ||
| project_id | No | ||
| section_id | Yes |