| 1 | """Paraphrase + outlier miners (F11 / S17). |
| 2 | |
| 3 | Miners are companion tools to the shipped probes, not probes themselves. |
| 4 | ``paraphrase_miner`` sharpens :mod:`dlm_sway.probes.paraphrase_invariance` |
| 5 | by finding the paraphrases an adapter most reliably *fails* on — a |
| 6 | memorizing adapter that passes a user's hand-picked paraphrase list can |
| 7 | still lose on the mined ones. ``outlier_miner`` does the same for any |
| 8 | probe that aggregates over prompts. |
| 9 | |
| 10 | Both miners are deterministic under a fixed seed; the CLI entry point |
| 11 | is ``sway mine``. |
| 12 | """ |