cli to detect tropes in prose
rust
cli
ai
toml
aho-corasick
llm
slop
1.1 kB
32 lines
1# TODO
2
3## Fixtures
4
5- Use `lectito` to turn selected URLs from `meta/examples.txt` into checked-in
6 plain text fixtures.
7
8```text
9lectito --format text <url> > meta/examples/clean/example.txt
10```
11
12- Add clean examples that produce no findings, or only expected low-noise
13 findings.
14- Add slop examples that produce expected pattern ids.
15
16## Tests
17
18- Add CLI integration tests for file input.
19- Add CLI integration tests for stdin input.
20- Add CLI integration tests for `NO_COLOR`.
21- Add CLI integration tests for exit code `0` on clean input.
22- Add CLI integration tests for exit code `1` on matched input.
23- Add snapshot-style tests for multiline CLI report formatting.
24
25## Detector Quality
26
27- Tune detector thresholds against checked-in fixtures.
28- Consider grouping or suppressing overlapping findings when one text span
29 triggers multiple heuristic detectors.
30- Consider summarizing repeated Unicode Decoration findings to reduce report noise.
31- Consider turning Em-Dash Addiction into a count or density detector instead
32 of relying on the ASCII `" -- "` phrase proxy.