contribution_query
Calculate contribution scores from PR weight, decision traces, and audit change size, grouped by person or workflow, with org_id filtering for cross-tenant queries. Read-only.
Instructions
贡献度报表——人/数字员工同标准聚合(PR 权重分 + 决策留痕 + 审计变更规模 → 综合贡献分),按人/按 workflow 两维度输出,org_id 跨租户过滤(G7 联动)。纯读零写入。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org_id | No | 组织/租户标识(可选——缺省 default;经 resolveTenantDataDir 分区隔离) | |
| data_dir | No | 数据根目录(缺省走租户解析链) | |
| window_days | No | 统计窗口天数(缺省 30) |