|
Some checks failed
CI / test (push) Failing after 50s
「用例是否通过」此前散落 8 处且互相矛盾:engine 权威判定焊死在持久化里 不可单测;report 聚合/compare/markdown 各自从规则结果反推,规则还不一致 (markdown 用 all([]) 把故障用例误渲染成 ✅)。 - 新增纯函数 evaluation/judgement.combine_case_outcome(RuleOutcome/ CaseOutcome),判定组合脱离通道与 DB 可单测(判定矩阵 14 例) - engine 调用它一次,逐用例权威结果写入 summary.case_outcomes(JSON, 零迁移);report/compare/markdown 只读权威值,老 run fallback 反推 - 故障用例判 False(ADR-0002):修正 markdown 的 ✅ bug 与 compare 的 None;顺带修 engine 连通用例无回复也算通过的 bug - pass_rate 口径改为用例级(CONTEXT.md 词条),规则级保留在 passed_rules/total_rules;CLI 对比标签同步更正 - 修 RunRepository.update 漏拷 scenario_version/triggered_by 的字段漂移 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| mock_channel.py | ||
| test_cascade.py | ||
| test_engine.py | ||
| test_file_repository.py | ||
| test_file_service.py | ||
| test_http_channel_and_rules.py | ||
| test_judgement.py | ||
| test_llm_score.py | ||
| test_migrate_model_configs.py | ||
| test_model_configs.py | ||
| test_model_gateway.py | ||
| test_model_metadata_migration.py | ||
| test_model_runtime_integration.py | ||
| test_orphan_runs.py | ||
| test_report.py | ||
| test_s2_rules_and_logic.py | ||
| test_scenarios.py | ||
| test_settings.py | ||
| test_utils_llm.py | ||
| test_webhook.py | ||