删除旧的事件驱动章节(流水账),并同步文档到人物主线
- 移除 output/volumes/v1/chapters/001-1-9.md 与 002-10-19.md(仅普通提交,git 历史保留) - 移除被取代的写作规范 prompts/chronicler.md 与旧的按年代切章模块 - README 全面改写为人物主线流程、参数位置与踩坑记录 - scripts/dfannals 启动器:自动挑一个装了 defusedxml 的解释器
This commit is contained in:
+2
-2
@@ -13,7 +13,7 @@ from pathlib import Path
|
||||
|
||||
sys.path.insert(0, str(Path(__file__).resolve().parents[1]))
|
||||
|
||||
from dfannals import gate # noqa: E402
|
||||
from dfannals import gate
|
||||
|
||||
|
||||
def verdict(total: int, reason: str = "测试用") -> gate.Verdict:
|
||||
@@ -57,7 +57,7 @@ def test_rewrite_once_then_pass() -> None:
|
||||
def test_not_accepted_after_max_rewrites() -> None:
|
||||
"""一直不合格:重写次数不得越过上限,且标记为未通过。"""
|
||||
runs: list[int] = []
|
||||
text, run = gate.gate_episode(
|
||||
_text, run = gate.gate_episode(
|
||||
"003",
|
||||
lambda attempt, _p: (runs.append(attempt), "稿")[1],
|
||||
evaluate_fn=lambda _t: verdict(3),
|
||||
|
||||
Reference in New Issue
Block a user