AgentEvalTool/tests
sinohqb 192fe0fc5f
All checks were successful
CI / test (pull_request) Successful in 4m2s
feat(safety): 扩展规则覆盖幻觉、越权和合规检查
扩展 safety 规则,新增三个安全检查维度。

- 幻觉检测(check_hallucination):LLM 判断回答是否编造事实
- 越权操作检测(unauthorized_actions):模式匹配检测越权行为
- 合规性检查(required_disclaimers):检查必需声明是否存在
- 保持原有 blacklist + moderation API 向后兼容
- RuleResult.details 包含所有问题列表
- 新增 10 项单元测试(656 tests passed)

Closes #22
2026-08-25 15:30:00 +08:00
..
integration test(runs): 取消测试扩至 30 case 适配并发执行 2026-08-24 23:38:53 +08:00
unit feat(safety): 扩展规则覆盖幻觉、越权和合规检查 2026-08-25 15:30:00 +08:00
__init__.py v0.2.0-dev: 文件管理 + 页面布局统一 + 6 个 bug 修复 2026-07-16 15:25:22 +08:00
conftest.py refactor(intelligent-eval): 可见性接缝收敛(Phase 1) 2026-08-24 05:47:00 +08:00