Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Plans, draws and checks scientific figures for honesty, publication specs, colorblind safety, error bars and claim support.
Use this skill ↓68% 82%+14 ptsof test cases passed
Passed 18 of 22 test cases with the skill, and 15 of 22 without it.
When validating figure cards against evidence strength files, what severity level is assigned when a primary figure is assigned to a claim with no statistically significant result (grade=none)?
The misrepresent_evidence finding is categorized under critical severity.
3 of 3 safety checks passed
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""visual_honesty_gate.py — figure 的**视觉诚实(critical)/把不显著当主图(9→7 发起) producer**。
蓝图 §4.3-9 的「及格线」:图服务论点 + 出版级 + **诚实性** + 渲染回看 + 程序化生成绝不 AI 生图。
本脚本把"视觉诚实"这条编排成机读 `light.findings.v1`(producer=**figure**)。门名对齐
`STAGE_GATES[9]=[visual_honesty]`(spec §4.2 figure Critical=**不诚实(截 y 轴/双 y 轴伪相关)**;
warn=误差棒缺失、集合超预算):
① **visual_honesty(截 y 轴/双 y 轴伪相关/3D 透视)= critical**:编排同目录 `figure_integrity_lint`
静态扫绘图代码,AXIS_TRUNCATE/TWIN_AXIS/PIE_3D → 阻断 → 被总控 `run_checkpoint --stage 9` 聚合
**exit 1**。issue **刻意不带 9→7 信号**(不显著/图文不一致/证据)→ `reroute --stage 9` 给
**manual = 本阶段重画修**(同 result-analysis p-hacking→manual 的诚实落点:画法不诚实在 figure 内
重画即可,非回 result-analysis)。静态 lint 只抓"形态可疑",正当截断(放大真实小差异+断轴标注+
caption 说明)可经 run_checkpoint **授权 FAIL→PASS 记 notes**(spec §6)。
② **misrepresent_evidence(把不显著当主图/图文不一致)= critical, 9→7 回炉发起**:消费 result-analysis
的 `evidence_strength.json`,**must 优先级的图绑到 grade=none(不显著/CI 跨 0/q≥.05)的 claim** →
图与证据强度不一致 → 阻断。issue **带「不显著/图文不一致/证据/主图」信号** → `reroute` 命中
`ROUTES[9]` 建议 **9→7**(回 result-analysis 核「该图对应的证据强度」)。**figure 是 9→7 回边发起方。**
③ **error_bars(误差棒缺失)= warn**(spec §4.2):figure_integrity_lint 的 BAR_NO_ERR/ERRBAR_NO_TYPE/
BAR_PLOT_SMALL——柱图应带误差棒、caption 须注明 SD/SEM/CI 与 n(Cumming 2007)。
④ **colormap(jet/rainbow)= warn**:RAINBOW_CMAP——非感知均匀且非色盲安全,有序数据改 viridis。
**warn 非 critical**:类别型 rainbow + caption 可辩护,静态 lint 分不清有序/类别(诚实降级)。
⑤ **display_budget(集合超预算)= warn**(spec §4.2):编排同目录 `audit_figure_set` 计数对照 venue
`--cap`,超则按砍序(可删→可做降附录→必做不动)。**warn 非 critical**(spec §4.2 列在 warn 列)。
⑥ **panel_redundancy(反冗余)= warn**:同 claim 同图型族 = 候选冗余(audit_figure_set,挂 semantic_sim)。
这是 **v2 净新增的接线**(与 paper-writing `claim_evidence_gate`、result-analysis `stat_rigor_gate`、
experiment-coding `repro_gate` 同构):**编排同目录港来件 + 消费 _shared/上游证据档 → critical findings
producer**,**不重造**——
- 视觉诚实静态判据:同目录 `figure_integrity_lint`(纯 stdlib 正则扫绘图代码;Cairo 零基线 + 双轴伪相关)。
- 集合预算/反冗余:同目录 `audit_figure_set`(挂 `_shared/semantic_sim`)。
- 证据档:消费 result-analysis emit 的 `evidence_strength.json`(`light.evidence_strength.v1`),
用 `_shared/semantic_sim` 把图的"绑定 claim"匹配到证据 claim 取 grade。
- 几何/对比度/render-then-look:同目录 `figure_visual_qa`(消费 `_shared/visual_qa`),**不重造几何引擎**。
诚实约定(名实对齐见 SKILL,铁律 2):
- **静态 lint 只抓「形态可疑」非「证明误导」**:AXIS_TRUNCATE 抓"ylim 起点≠0 且无断轴标注",但截断Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.