kimi
|
3f64e5c2bd
|
test: add comprehensive tests for spark advisor, eidos, and memory modules (#659)
Tests / lint (pull_request) Has been cancelled
Tests / test (pull_request) Has been cancelled
Adds dedicated test files for the three spark modules that had minimal
test coverage:
- test_advisor.py: 30 tests covering all advisory helpers
(_check_failure_patterns, _check_agent_performance, _check_bid_patterns,
_check_prediction_accuracy, _check_system_activity) and generate_advisories
integration tests.
- test_eidos.py: 30 tests covering predict_task_outcome (baseline, history,
edge cases), evaluate_prediction, _compute_accuracy components,
get_predictions filters, and get_accuracy_stats.
- test_memory.py: 35 tests covering score_importance (all event types,
boosts), record_event (auto/explicit importance, invalid JSON),
get_events (all filters, ordering), store_memory, get_memories,
count_events, count_memories, and _get_conn schema verification.
Fixes #659
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-03-21 09:31:23 -04:00 |
|