Rename judge prompt paths to ASCII: Cyrillic names render as octal escapes in the shell and break completion and greps
This commit is contained in:
parent
d10236453b
commit
766f902abd
3 changed files with 3 additions and 3 deletions
|
|
@ -38,7 +38,7 @@ def main() -> int:
|
|||
bad += not ok
|
||||
print(f"[{'OK ' if ok else 'ПРОВАЛ'}] {n}" + (f" {d}" if d else ""))
|
||||
|
||||
core, cl, sol = P / "ОБЩЕЕ-ЯДРО.md", P / "claude.md", P / "sol.md"
|
||||
core, cl, sol = P / "core.md", P / "claude.md", P / "sol.md"
|
||||
for f in (core, cl, sol):
|
||||
ck(f"файл обвязки есть: {f.name}", f.exists())
|
||||
if bad:
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ def main() -> int:
|
|||
if not root.exists():
|
||||
print(f"{fam}: каталога {root} нет — пропуск")
|
||||
continue
|
||||
out = root / "промты"
|
||||
out = root / "prompts"
|
||||
if write:
|
||||
out.mkdir(exist_ok=True)
|
||||
print(f"\n=== {fam.upper()} ({root}) ===")
|
||||
|
|
@ -58,7 +58,7 @@ def main() -> int:
|
|||
for half in ("p1", "p2"):
|
||||
for i, toks in enumerate(batches(root, half), 1):
|
||||
n += 1
|
||||
name = f"{half}-сессия-{i:02d}.md"
|
||||
name = f"{half}-session-{i:02d}.md"
|
||||
print(f" {name:22s} пачек {len(toks)}: {' '.join(toks)}")
|
||||
if write:
|
||||
(out / name).write_text(render(fam, half, toks), encoding="utf-8")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue