fix(evals): 「暂不支持」只套功能类要求;伞状单元和条件性要求不挂问题;低密度投标文件;run_check 加 --v1 对比开关
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -366,8 +366,18 @@ def build(tender: str, bid: str, style: str, run: str) -> None:
|
||||
if f.get("only_deviations"):
|
||||
devs = [r for r in src if r["deviation"] != "无偏离"]
|
||||
rows = [_row(k, r, columns) for k, r in enumerate(devs, 1)]
|
||||
empty = {"no": "1", "requirement": "—", "answer": "—", "deviation": "无偏离"} # 苏采云范本:没有偏离时注明「无偏离」
|
||||
rows = rows or [{"cells": [empty.get(c, "") for c in columns], "anchor": columns.index("deviation") if "deviation" in columns else 0}]
|
||||
empty = {
|
||||
"no": "1",
|
||||
"requirement": "—",
|
||||
"answer": "—",
|
||||
"deviation": "无偏离",
|
||||
} # 苏采云范本:没有偏离时注明「无偏离」
|
||||
rows = rows or [
|
||||
{
|
||||
"cells": [empty.get(c, "") for c in columns],
|
||||
"anchor": columns.index("deviation") if "deviation" in columns else 0,
|
||||
}
|
||||
]
|
||||
pool = [
|
||||
_row(0, r, columns) for r in src if r["deviation"] == "无偏离"
|
||||
] # 没列出的(默认接受):注入时可以挑来写成偏离
|
||||
|
||||
Reference in New Issue
Block a user