feat(qa-ops): 完成复检留档与人工复核闭环
治理侧保存输入观测版本、自动复检及人工复核历史,输入变化失效、版本冲突和幂等重放不覆盖人工记录。批量质量数量使用完整筛选元数据,未采集原文不伪造快照,延迟旧扫描不回退新输入。 验证:全仓 make verify 退出码0,Go656及前端253通过;五包竞态、源/组织/质量隔离PG、真实只读源和隔离网页读回复核通过。默认91个可选集成跳过不计通过。未接AI模型,不写DobotAI源库,未推送、未合并、未部署。
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
export const hash = 'a'.repeat(64)
|
||||
export const fields = {
|
||||
coverage: 'covered',
|
||||
correctness: 'correct',
|
||||
product_category: 'MG400',
|
||||
problem_type: '咨询',
|
||||
root_cause: '',
|
||||
exclusion_reason: '',
|
||||
}
|
||||
export const check = {
|
||||
input_available: true,
|
||||
id: 1,
|
||||
input_epoch: 1,
|
||||
input_hash: hash,
|
||||
result: {
|
||||
state: 'checked',
|
||||
verdict: 'uncovered',
|
||||
rule_version: 'governance-answer-substring-v1',
|
||||
matched_text: '暂无已发布',
|
||||
},
|
||||
source: { verdict: 'covered', reason_code: 'source only', evaluator_version: 'v5' },
|
||||
created_at: '2026-10-17T12:00:00Z',
|
||||
}
|
||||
export const review = {
|
||||
revision: 1,
|
||||
input_epoch: 1,
|
||||
input_hash: hash,
|
||||
fields,
|
||||
reason: '<script>示例理由</script>',
|
||||
reviewer: 'fixture-admin',
|
||||
created_at: '2026-10-17T12:01:00Z',
|
||||
}
|
||||
export const qualityFixture = {
|
||||
input_hash: hash,
|
||||
input_epoch: 1,
|
||||
revision: 1,
|
||||
state: 'reviewed',
|
||||
automatic: check,
|
||||
latest_review: review,
|
||||
effective: fields,
|
||||
}
|
||||
export const summaryFixture = {
|
||||
summary: { total: 3, reviewed: 1, unreviewed: 1, stale: 1, pending_confirmation: 0, rule_uncovered: 2 },
|
||||
start: '2026-10-14T00:00:00Z',
|
||||
end: '2026-10-15T00:00:00Z',
|
||||
keyword: '',
|
||||
as_of: '2026-10-17T12:01:00Z',
|
||||
scope: 'whole_filter',
|
||||
ai_state: 'not_configured',
|
||||
}
|
||||
Reference in New Issue
Block a user