impact
版本: community ragraf_impact
改动会影响什么。已证明的关联与启发式关联分开(功能需求 18)
参数
| 名称 | 类型 | 默认值 |
|---|---|---|
| target | str | 必填 |
| mode | str | 'full' |
| depth | int | 3 |
| limit | int | 500 |
| answer | bool | False |
| min_confidence | float | None | None |
调用示例
ragraf -p config/ragraf.yaml query impact <target>
尖括号表示必填参数;默认值可以不传。
返回什么
affected_count, affected_files, confidence_threshold, derived, edge_kinds, evidence, heuristic_budget_percent, heuristic_share, hidden_by_confidence, mode, stated, target
何时拒绝
空结果是退出码 0 且 found=false,不是错误。只有当前无法执行时才返回码 3:例如 capability 不是 full 时的 slice。原因总写在 note 字段里。