This website requires JavaScript.
Explore
Help
Sign In
sxbh_admin
/
cma-management
Watch
1
Star
0
Fork
0
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
42ff836309ae9cbb72172b36adc9eea896db1db7
cma-management
/
backend
/
tests
T
History
Hermes CI Fix
42ff836309
ci/woodpecker/push/main
Pipeline failed
Details
fix(cma): entity isolation batch5 (budget writes, kpi objectives scope, quality logs join, growth-quality db source, expenses scope)
2026-09-21 10:36:02 +08:00
..
__init__.py
test: pytest测试框架 + API测试
2026-05-28 17:42:15 +08:00
conftest_path.py
feat: P0/P1/P2全部功能 — 四层泳道/视角切换/KPI看板/预警/差异反打/预算/知识面板/回顾会/情景预测/Excel导入/角色权限
2026-07-12 17:46:08 +08:00
conftest.py
test(cma): force production Redis off during tests (P1 token leak isolation)
2026-09-18 17:33:25 +08:00
test_action_plans.py
feat(KR): 行动挂KR完成 — action_plans.kr_id字段+API+前端目标/KR选择+KR中文名自动填+地图krs端点
2026-08-27 12:50:30 +08:00
test_actionplan_entity_write_and_okr_read_20260918.py
fix(cma): action plan entity_id on create + okr decomposition entity scope
2026-09-18 20:03:55 +08:00
test_actionplan_entity_write_residual_sites_20260918.py
fix(cma): action plan entity_id at the three residual construction sites
2026-09-18 20:12:46 +08:00
test_ai_analysis.py
fix: 行动方案库统计卡片—补全API+overdue计算
2026-07-27 17:16:01 +08:00
test_ai_suggestion_kpi_attribution_residual_20260918.py
fix(cma): scope ai-suggestion action_plan and preview KPI to session entity
2026-09-18 21:04:30 +08:00
test_ai_suggestions.py
test(cma): clear 10 pre-existing baseline failures (cma-baseline-tests-cleanup-20260915)
2026-09-15 18:36:46 +08:00
test_alert_caliber_r1r4_20260919.py
fix(alerts): enforce caliber ruling R5-supp (period linkage)
2026-09-19 11:12:31 +08:00
test_alert_caliber_r5_20260919.py
fix(alerts): enforce caliber ruling R5-supp (period linkage)
2026-09-19 11:12:31 +08:00
test_alert_caliber_r5_residual_20260919.py
fix(alerts): enforce caliber ruling R5-supp (period linkage)
2026-09-19 11:12:31 +08:00
test_alerts.py
fix: 行动方案库统计卡片—补全API+overdue计算
2026-07-27 17:16:01 +08:00
test_alignment_entity_isolation_20260918.py
fix(cma): isolate KPI alignment tree by entity (project-20260918-alignment-entity-leak)
2026-09-18 17:18:52 +08:00
test_api_auth_surface_20260914.py
fix(auth): unify site-wide 401/403 semantics (cma-auth-401-403-unify-20260915)
2026-09-15 17:00:52 +08:00
test_auth_401_unification_20260915.py
fix(auth): unify site-wide 401/403 semantics (cma-auth-401-403-unify-20260915)
2026-09-15 17:00:52 +08:00
test_auth.py
fix(auth): unify site-wide 401/403 semantics (cma-auth-401-403-unify-20260915)
2026-09-15 17:00:52 +08:00
test_auto_verify_engine.py
fix: auto-verify验证引擎4项缺陷修复 verify-fix (OKR幂等防重累加/entity_id多租户回填/period期间过滤/status done->completed)
2026-08-30 19:16:19 +08:00
test_bot_bridge.py
fix(bot-bridge): subjects category 白名单补齐库内实况 revenue/profit_loss — 消除库内合法值被400拒 (dama-cma-subjects-category-whitelist-20260912)
2026-09-12 11:09:16 +08:00
test_bot_suggestion_channel.py
feat(bot-tier): M1 Bot侧高危建议创建通道+目标值直写收口 (P0-②分层授权)
2026-09-03 18:08:27 +08:00
test_bsc_okr_kpi_integration.py
feat(KR): KR完整修复 — krs表打通+方向符号operator+权重自由输入
2026-08-27 10:59:56 +08:00
test_budget_tech_improve.py
test(cma): clear 10 pre-existing baseline failures (cma-baseline-tests-cleanup-20260915)
2026-09-15 18:36:46 +08:00
test_budget.py
test(cma): clear 10 pre-existing baseline failures (cma-baseline-tests-cleanup-20260915)
2026-09-15 18:36:46 +08:00
test_caliber_rulings_20260917.py
feat(cma): 口径裁定 2026-09-17 落地(现金流投资=0 二维判定 / 预警单位+期间口径)
2026-09-18 00:34:04 +08:00
test_cash_kpi_sync_whitelist_20260914.py
fix(cash): select cash-balance sync targets by explicit kpi_code whitelist
2026-09-14 20:37:12 +08:00
test_cash_summary_snapshot_alignment_20260913.py
fix(alerts): F4b 展示口径与落库口径同源 — summary/suggestions/upcoming_7d 按快照批次 mode 过滤 + raw/excluded/batches 可见 (dama-cashplan-zombie-alert-cleanup-20260913)
2026-09-13 07:38:58 +08:00
test_cash_vouchers_json_idemkey.py
fix(cash): 智享通凭证行级幂等键剔除派生period + period_conflict留痕 + 批内行序防吞行 (dama-zxt-idemkey-period-20260911)
2026-09-11 17:13:07 +08:00
test_cash.py
test(cma): clear 10 pre-existing baseline failures (cma-baseline-tests-cleanup-20260915)
2026-09-15 18:36:46 +08:00
test_cashflow_structure.py
feat(cashflow): 现金流量表结构分析——三大活动净额八类企业定性判定 (P1)
2026-09-03 01:22:46 +08:00
test_causality_verification.py
feat: 因果链三层验证机制(P2) — 数据验证+人工确认+状态机
2026-08-27 15:51:19 +08:00
test_cost.py
feat(cost): 成本模型加研发归集维度 research_flag/project_type (cma-rd-dimension-20260905)
2026-09-05 09:10:35 +08:00
test_cross_entity_isolation_batch2_20260918.py
fix(cma): entity isolation batch2 (roll-forward/check-timeout/by-id/cost-abc)
2026-09-18 18:15:22 +08:00
test_cross_entity_isolation_batch3_20260918.py
fix(cma): scope action-plan KR enrichment to session entity (batch3 follow-up)
2026-09-18 19:03:49 +08:00
test_cross_entity_isolation_batch3_objective_id_20260918.py
fix(cma): scope action-plan objective_id writes to session entity
2026-09-18 19:34:59 +08:00
test_cross_entity_isolation_batch4_20260921.py
fix(cma): entity isolation batch4 (cash plan writes, budget ownership, read leaks, okr template)
2026-09-21 09:37:38 +08:00
test_cross_entity_isolation_batch5_20260921.py
fix(cma): entity isolation batch5 (budget writes, kpi objectives scope, quality logs join, growth-quality db source, expenses scope)
2026-09-21 10:36:02 +08:00
test_customer_concentration_rule.py
feat(alerts): 新增客户集中度预警规则 customer_concentration + 预测偏差规则启用/联动每日预警生成
2026-09-10 09:56:50 +08:00
test_dashboard.py
fix(security): retire default-credential surface (yanxue-20260914-cma-defaultcred-code-fix)
2026-09-14 17:39:53 +08:00
test_data_classification.py
feat: 数据分类分级 — 重要数据标记+资产清单+CSV导出(8/20评估办法政策驱动)
2026-08-26 07:51:39 +08:00
test_data_entity_isolation_20260908.py
fix(security): retire default-credential surface (yanxue-20260914-cma-defaultcred-code-fix)
2026-09-14 17:39:53 +08:00
test_data_quality.py
fix: 预算年度分解幂等加固+数据质量七规则测试
2026-08-30 10:27:01 +08:00
test_data.py
fix: 行动方案库统计卡片—补全API+overdue计算
2026-07-27 17:16:01 +08:00
test_dismiss_suggestion_entity_scope_20260918.py
fix(cma): scope ai-suggestion dismiss and target KPI to session entity
2026-09-18 20:33:39 +08:00
test_expenses.py
fix(auth): unify site-wide 401/403 semantics (cma-auth-401-403-unify-20260915)
2026-09-15 17:00:52 +08:00
test_ext_input_ledgers_20260915.py
feat(cma): external input ledgers for M2 capability eval (tax/hr/licence)
2026-09-15 18:12:05 +08:00
test_kpi_422_baseline.py
chore: 清理worktree验证测试文件
2026-08-26 06:53:25 +08:00
test_kpi_causality.py
fix(auth): unify site-wide 401/403 semantics (cma-auth-401-403-unify-20260915)
2026-09-15 17:00:52 +08:00
test_kpi_forecast.py
fix(security): retire default-credential surface (yanxue-20260914-cma-defaultcred-code-fix)
2026-09-14 17:39:53 +08:00
test_kpi_review_gate_20260914.py
feat(kpi): auto_collect review gate (finance ruling 2026-09-14)
2026-09-14 18:12:38 +08:00
test_kpis.py
fix: 行动方案库统计卡片—补全API+overdue计算
2026-07-27 17:16:01 +08:00
test_kr_full_fix.py
fix(security): retire default-credential surface (yanxue-20260914-cma-defaultcred-code-fix)
2026-09-14 17:39:53 +08:00
test_kr_name_pollution_20260916.py
fix(cma): KR 名称污染存量清理 + 透传点护栏 (cma-kr-name-pollution-cleanup-20260916)
2026-09-16 14:48:06 +08:00
test_map_versions.py
fix(security): retire default-credential surface (yanxue-20260914-cma-defaultcred-code-fix)
2026-09-14 17:39:53 +08:00
test_maps.py
fix(security): retire default-credential surface (yanxue-20260914-cma-defaultcred-code-fix)
2026-09-14 17:39:53 +08:00
test_multitenant_ai_20260907.py
fix(security): retire default-credential surface (yanxue-20260914-cma-defaultcred-code-fix)
2026-09-14 17:39:53 +08:00
test_notifications.py
fix: 行动方案库统计卡片—补全API+overdue计算
2026-07-27 17:16:01 +08:00
test_org.py
feat: P0/P1/P2全部功能 — 四层泳道/视角切换/KPI看板/预警/差异反打/预算/知识面板/回顾会/情景预测/Excel导入/角色权限
2026-07-12 17:46:08 +08:00
test_permissions.py
feat: P0/P1/P2全部功能 — 四层泳道/视角切换/KPI看板/预警/差异反打/预算/知识面板/回顾会/情景预测/Excel导入/角色权限
2026-07-12 17:46:08 +08:00
test_predict.py
fix(cma): entity isolation batch5 (budget writes, kpi objectives scope, quality logs join, growth-quality db source, expenses scope)
2026-09-21 10:36:02 +08:00
test_probe_cost.py
test: CMA自动化测试补覆盖 226→452用例, 覆盖率36%→60%
2026-08-20 06:57:24 +08:00
test_proforma_reports.py
feat(proforma): 预编报表(预算版三张报表)P2 — 预算vs实际vs差异,独立/proforma端点,复用budget_plans+报表模板,无预算行显式标注
2026-08-30 23:13:32 +08:00
test_read_side_entity_scope_gaps_20260918.py
fix(cma): scope read-side ai-suggestion detail/preview and map nodes
2026-09-18 20:23:53 +08:00
test_redis_token_isolation_20260918.py
test(cma): force production Redis off during tests (P1 token leak isolation)
2026-09-18 17:33:25 +08:00
test_report_reclass.py
feat(cma-report): 建账期初层 + 方向判定可信度 + 权益行科目集(M1/M2/M7,规则表 v1.1)
2026-09-16 01:17:09 +08:00
test_reports.py
fix(auth): unify site-wide 401/403 semantics (cma-auth-401-403-unify-20260915)
2026-09-15 17:00:52 +08:00
test_risk_levels.py
feat(bot-bridge): 新增会计科目写入端点 POST /api/cma/bot/subjects — 行级全量校验+按subject_code幂等UPSERT(dry_run/update_existing开关)+L3留痕, 绝不DELETE (dama-cma-subjects-write-endpoint-20260912)
2026-09-12 10:42:46 +08:00
test_roadmap_r2r5.py
test(cma): clear 10 pre-existing baseline failures (cma-baseline-tests-cleanup-20260915)
2026-09-15 18:36:46 +08:00
test_security_knowledge_partition.py
fix(security): retire default-credential surface (yanxue-20260914-cma-defaultcred-code-fix)
2026-09-14 17:39:53 +08:00
test_security_multitenant.py
fix(security): retire default-credential surface (yanxue-20260914-cma-defaultcred-code-fix)
2026-09-14 17:39:53 +08:00
test_seven_flow_rules.py
test: 七流一致自检规则测试 — 7条自检规则+酣客/博海真实场景
2026-08-25 23:59:33 +08:00
test_tax_compliance.py
fix(cma): entity isolation batch5 (budget writes, kpi objectives scope, quality logs join, growth-quality db source, expenses scope)
2026-09-21 10:36:02 +08:00
test_threshold_parser_20260911.py
fix(kpi): 阈值红黄绿读写/填写规则修复 — 统一解析器+红灯优先+建议可解析+前端校验+存量修正 (project-20260911-threshold-fix)
2026-09-11 17:25:24 +08:00
test_threshold_parser.py
fix(kpi): suggest 保留历史默认口径 middle_best — 修复未知编码被误判为 higher_better(C_REBATE_RATE/BH_SALES_10 建议退化) (project-20260911-threshold-fix)
2026-09-11 17:27:12 +08:00
test_users.py
test: CMA自动化测试补覆盖 226→452用例, 覆盖率36%→60%
2026-08-20 06:57:24 +08:00
test_utils_calc.py
feat: P0/P1/P2全部功能 — 四层泳道/视角切换/KPI看板/预警/差异反打/预算/知识面板/回顾会/情景预测/Excel导入/角色权限
2026-07-12 17:46:08 +08:00
test_utils_more.py
feat: P0/P1/P2全部功能 — 四层泳道/视角切换/KPI看板/预警/差异反打/预算/知识面板/回顾会/情景预测/Excel导入/角色权限
2026-07-12 17:46:08 +08:00
test_utils_notifier.py
feat: P0/P1/P2全部功能 — 四层泳道/视角切换/KPI看板/预警/差异反打/预算/知识面板/回顾会/情景预测/Excel导入/角色权限
2026-07-12 17:46:08 +08:00
test_void_marker_consumers_20260914.py
feat(kpi): route all voucher_details consumers through single void-mark guard
2026-09-14 19:05:16 +08:00
test_void_marker_filter_20260914.py
feat(kpi): route all voucher_details consumers through single void-mark guard
2026-09-14 19:05:16 +08:00