Run the CaseDive filter calibration pipeline in the correct sequence with baseline safety check. Checks for an existing baseline before calibrating, then compares results.
Install
npx skillscat add alasdairnc/casedive/filter-tune Install via the SkillsCat registry.
Filter Tune
Run the filter calibration pipeline in order:
Check that a baseline exists:
ls scripts/filter-baseline.json 2>/dev/null || echo MISSING
If MISSING, runnpm run test:filter:baselinefirst and stop —
do not proceed to calibrate without a baseline.Run the current report:
npm run test:filterIf the user confirmed calibration is wanted:
npm run test:filter:calibrateRun the comparison:
npm run test:filter:compareSummarize: how many queries improved / regressed / unchanged.
Flag any category where pass rate dropped more than 5 percentage points.
Do not modify any threshold files manually — only the calibrate script
should write thresholds.