cb9f0c389f
build / build (push) Successful in 1m10s
去掉看板个人月明细;十一卡悬停和键盘可读的真实统计范围、公式与排除数。 自然月独立计算;跨月周取周一所在月,保留旧周证据和已存周报正文。 验证:make verify;一次性PG全镜像套件-race;真实恢复数据7个月与周报calc_metrics对拍。 真实浏览器十一卡逐项悬停、Tab/Escape、30秒刷新、跨月周、390px和完整PNG通过。 没有写DobotAI源问答、触发付费模型、外发或应用新迁移。
44 lines
1.5 KiB
TypeScript
44 lines
1.5 KiB
TypeScript
import { dashboardFixture } from './qaDashboard.fixture'
|
|
export const calendarDashboardFixture = {
|
|
...dashboardFixture,
|
|
quality_period: {
|
|
month: '2026-10',
|
|
start: '2026-10-01T00:00:00+08:00',
|
|
cutoff_at: dashboardFixture.end,
|
|
calculated_at: dashboardFixture.as_of,
|
|
source: 'master_live_calendar_month_v1',
|
|
policy_version: 'calendar-month-strict-yes-over-yes-no-v1',
|
|
},
|
|
monthly_quality: {
|
|
records: 3,
|
|
coverage: { numerator: 2, denominator: 3, percent: 200 / 3 },
|
|
correctness: { numerator: 1, denominator: 2, percent: 50 },
|
|
},
|
|
calendar_months: [
|
|
{
|
|
month: '2026-09',
|
|
month_start: '2026-09-01T00:00:00+08:00',
|
|
month_end: '2026-10-01T00:00:00+08:00',
|
|
cutoff_at: '2026-10-01T00:00:00+08:00',
|
|
calculated_at: dashboardFixture.as_of,
|
|
records: 1,
|
|
coverage: { numerator: 0, denominator: 1, percent: 0 },
|
|
correctness: { numerator: 0, denominator: 0, percent: null },
|
|
source: 'master_live_calendar_month_v1',
|
|
policy_version: 'calendar-month-strict-yes-over-yes-no-v1',
|
|
},
|
|
{
|
|
month: '2026-10',
|
|
month_start: '2026-10-01T00:00:00+08:00',
|
|
month_end: '2026-11-01T00:00:00+08:00',
|
|
cutoff_at: dashboardFixture.end,
|
|
calculated_at: dashboardFixture.as_of,
|
|
records: 3,
|
|
coverage: { numerator: 2, denominator: 3, percent: 200 / 3 },
|
|
correctness: { numerator: 1, denominator: 2, percent: 50 },
|
|
source: 'master_live_calendar_month_v1',
|
|
policy_version: 'calendar-month-strict-yes-over-yes-no-v1',
|
|
},
|
|
],
|
|
}
|