mash-bench provenance
Two sources, both MIT-licensed. (1) NoFAQ: https://github.com/MichaelBVaughn/NoFAQ (branch master, commit 364916c43e77c40403e564e1526510ff548f91c7), official artifact of "NoFAQ: Synthesizing Command Repairs from Examples" (D'Antoni, Singh, Vaughn; arXiv:1608.08219 / ESEC-FSE 2017); all data from Synthesis/RuleRepair/TestExamples.fs; local clone /private/tmp/claude-501/-Users-claudiobrandolino-projects-fash/98e8a485-9fe4-4097-bb06-0bb3e2f7407a/scratchpad/nofaq; license MIT (repo LICENSE, (c) 2016 MichaelBVaughn; README also credits Loris D'Antoni and Michael Vaughn). (2) thefuck: https://github.com/nvbn/thefuck (commit c7e7e1d884d3bb241ea6448f72a989434c2a35ec); inputs/stderr/fixes verbatim from tests/rules/*; local clone /private/tmp/claude-501/-Users-claudiobrandolino-projects-fash/98e8a485-9fe4-4097-bb06-0bb3e2f7407a/scratchpad/thefuck; license MIT (LICENSE.md, (c) 2015-2022 Vladimir Iakovlev). Cleaning applied for mash-bench: (a) deduped same input+expected across and within sources (cd.., sl, NoFAQ testdata1 java trio, git pull->git stash and svn update->svn upgrade stderr-only variants, NoFAQ's five git-push non-fast-forward URL variants merged into the thefuck scenario with the union of canonical fixes); (b) dropped 70 NoFAQ and 3 thefuck scenarios: stderr consisting of scraped rule-code fragments, fixes that are themselves invalid (brew upgrade -all; g++ fix dropping the source extension; git config repack...falsegit repack mash; literal placeholder plus embedded credentials; untar/unzip fixes using wrong/nonexistent commands and flags; sudo mkdir fix dropping required sudo; standalone 'bla' fixes; grep fixes identical to input), stderr structurally impossible for the given command (clang++ extensionless input with .cpp diagnostics, capitalized Javac, cp emitting 'cannot move', cp/man stderr naming unrelated files, NoFAQ sed inputs that are not s-expressions, one-arg 'cp dir', tmux blabla->alp with no string relation, the fabricated 'unkown command' trio), no-error-signal intent guesses (git diff->--staged, ls -l->-lah), and fixes requiring machine-specific mocked state (npm missing-script). (c) Trimmed invalid expected entries: 'mvn clean build' (build is not a Maven phase), 'go commit' (not a go subcommand), mocked-branch-list checkout target. (d) Conservative additions only where truly equivalent or already validated by a source for the identical error: git tag -f (alias of --force), git add . -A (alias of --all), git stash for the .suo overwritten-by-merge trio, chmod+x alternative for ./test_sudo.py (NoFAQ accepts both python and chmod fixes for the same Permission-denied-on-.py error). Machine-specific paths that appear only inside stderr text (e.g. /home/nvbn, /Users/lorisdanto) were retained where the fix does not depend on them. The fix_alt_space scenario intentionally contains U+00A0 in input and stderr (verified byte-for-byte against tests/rules/test_fix_alt_space.py). Final count: 203 scenarios (139 nofaq, 64 thefuck).