lukeed/tidyPublic

chore: add oracle scripts

The checks behind each fix ran from throwaway shell scripts. They are
now mise tasks: build a corpus from git repos, count files that match
Prettier and sort the rest by kind, shrink a file that formatting
breaks, and time the working tree against a revision in both orders.

The semantics test takes several corpora, and its event comparison
moves to tests/support, shared with an `events` example the shrink
script uses. That example replaces a debug copy committed by mistake.
LELuke Edwards authored
9a18314Patch
Parentd75f445
8 files changed+318-85
StackedSplit
bench/ab.ts+50 −0
crates/tidy/examples/markdown_events.rs+14 −11
crates/tidy/src/markdown/handoff.md+4 −4
crates/tidy/tests/markdown_semantics.rs+6 −70
crates/tidy/tests/support/events.rs+72 −0
tests/oracle/markdown/corpus.ts+25 −0
tests/oracle/markdown/prettier.ts+97 −0
tests/oracle/markdown/shrink.ts+50 −0