层1/T1: SFTConfig dataclass 与构造校验(docs/02 §4)

- ars_opd/configs.py: 冻结 dataclass,机器路径无默认强制显式传入;
  双预算/enable_thinking/lr 差异均按 §7 规范标注
- __post_init__ 构造即校验,防"completion 预算为零→loss 恒 0"静默空训练
- tests/test_configs.py: 6 个校验测试

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-18 04:40:45 -04:00
parent 240f404416
commit 58d75cc56a
3 changed files with 166 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
"""ars_opdOmniOPD (arXiv:2606.01476v2) 的分层重构实现。
模块与论文的对应关系见 CLAUDE.md §3(单一事实源),此处不重复。
"""