Upload 2 files
Browse filesFiles changed (2)
132 unmodified lines133134135136137138136139140141142132 unmodified lines f"Deep mode reaches {top} with {best_n} attempts.") else: failed.append(f"- **Matching Opus 5.5** on this subset. One attempt: {med_s} at the median. Deep mode: {top} at best ({best_n} attempts). Opus 5.5: {f['opus']}.") whole = lambda x: str(int(x)) if x == int(x) else str(x) marks = {"@@ABEST@@": str(top), "@@NBEST@@": str(best_n), "@@MED@@": med_s, "@@A8@@": str(A.get(8)), "@@NSINGLES@@": str(len(singles)), "@@GAIN@@": whole(top - med), "@@G8@@": whole(A.get(8) - med), marks = {"@@HEAD_DEEP@@": head, "@@HEAD_SINGLE@@": f"{min(singles)} to {max(singles)}", "@@CODING_TABLE@@": "\n".join(rows), "@@RULE_C@@": rule_c, "@@HEAD_DEEP@@": head, "@@HEAD_SINGLE@@": f"{min(singles)} to {max(singles)}", "@@CODING_TABLE@@": "\n".join(rows), "@@RULE_C@@": rule_c, "@@CODING_NOTES@@": "\n".join(notes), "@@FAILED@@": "\n".join(failed), "@@REPO@@": REPO} for k, v in marks.items(): text = text.replace(k, v)47 unmodified lines48495051525354555647 unmodified lines DEST.mkdir(parents=True) for name in TOP: shutil.copy(ROOT / "release_src" / name, DEST / name) for pic in sorted((ROOT / "release_src" / "assets").glob("*.png")): # the pictures on the card (DEST / "assets").mkdir(exist_ok=True) shutil.copy(pic, DEST / "assets" / pic.name) sys.path.insert(0, str(ROOT / "tools")) import card (DEST / "README.md").write_text(card.fill((DEST / "README.md").read_text(encoding="utf-8"), str(ROOT / "results")), encoding="utf-8", newline="\n")tools/card.py+4-1
tools/make_release.py+3