feat: move corpus to library
Test / test (push) Failing after 1m38s

This commit is contained in:
alexm committed 2026-10-06 10:27:46 -04:00
1 parent 5b8b079165
commit cae5cff55a
1350 files changed
+197 -941995

No files matched your search

+3 -3
View File
@@ -8,11 +8,11 @@
corpus.py status [--strict [--strict-corpus a,b]]
Typical use:
python3 scripts/mojo/corpus.py harvest # after editing mojo/pin.json (needs network)
python3 scripts/mojo/corpus.py harvest # after editing library/mojo/pin.json (needs network)
python3 scripts/mojo/corpus.py harvest --local-dir ~/zips # zips for the sources the pin leaves UNRESOLVED
python3 scripts/mojo/corpus.py harvest --local-dir ~/zips --offline # zips for every source, no network
python3 scripts/mojo/corpus.py verify # ask godbolt about anything not yet verified
python3 scripts/mojo/corpus.py status # offline: judge every item, write mojo/golden/STATUS.md
python3 scripts/mojo/corpus.py status # offline: judge every item, write library/mojo/golden/STATUS.md
"""
from __future__ import annotations
@@ -125,7 +125,7 @@ def main(argv: list[str] | None = None) -> int:
def _print_summary(doc) -> None:
for c, counts in sorted(doc["summary"].items()):
log(f"[status] {c:12} " + " ".join(f"{k} {v}" for k, v in sorted(counts.items())))
log("[status] written mojo/golden/STATUS.md")
log("[status] written library/mojo/golden/STATUS.md")
if __name__ == "__main__":