修复:DSH 自主查询、图片直显与报告稳定性
允许 Agent 在循环中查目录、修正查询和提问,保留实时权限检查及模型原始回答。 统一相同查询证据与图表资源;排名补齐阶段指标,修正 OR 重量筛选,并限制模型明细输入。 增加运行恢复、图表自适应坐标轴与两位小数,修复报告主图选择、重复图及边缘标签。 验证:独立副本通过 162 项 Python、73 项前端及 21 项后端测试,前端构建通过。 线上已用原 8 题复测,并追加两轮双期对比;TOP100 与组合筛选分别核对 100 行和 20 行。
This commit is contained in:
@@ -313,6 +313,9 @@ def _release_id(document: dict[str, Any], result: dict[str, Any]) -> str | None:
|
||||
|
||||
|
||||
def _visual_id(turn_id: str, semantic: dict[str, Any]) -> str:
|
||||
# Presentation identity follows the actual chart, not a read's proof ID.
|
||||
# Proofs remain on the chart and are still checked by the delivery path.
|
||||
semantic = {key: value for key, value in semantic.items() if key not in ('id', 'evidenceRefs')}
|
||||
material = json.dumps(
|
||||
{"turn": turn_id, "semantic": semantic},
|
||||
ensure_ascii=False,
|
||||
|
||||
Reference in New Issue
Block a user