[loop-generated] [test-coverage] Tests for spark modules — advisor.py, eidos.py, memory.py (900+ lines, zero coverage) #659

Closed
opened 2026-03-20 23:13:13 +00:00 by Timmy · 1 comment
Owner

Problem

Three spark modules have zero test coverage:

  • src/spark/advisor.py (297 lines)
  • src/spark/eidos.py (297 lines)
  • src/spark/memory.py (313 lines)

Total: 907 lines untested.

Scope

Can be split per-module. Start with advisor.py as it likely has the simplest interface.

Verification

tox -e unit -- tests/spark/ -v
## Problem Three spark modules have zero test coverage: - `src/spark/advisor.py` (297 lines) - `src/spark/eidos.py` (297 lines) - `src/spark/memory.py` (313 lines) Total: 907 lines untested. ## Scope Can be split per-module. Start with `advisor.py` as it likely has the simplest interface. ## Verification ``` tox -e unit -- tests/spark/ -v ```
kimi was assigned by Timmy 2026-03-21 01:57:08 +00:00
Collaborator

PR created. Added 95 comprehensive tests across 3 new test files:

  • test_advisor.py (30 tests) — all advisory helpers and integration
  • test_eidos.py (30 tests) — predictions, evaluations, accuracy, queries
  • test_memory.py (35 tests) — events, memories, importance scoring, DB schema

All tests pass: tox -e unit (2376 passed), tox -e lint (clean), tox -e pre-push (2393 passed).

PR created. Added 95 comprehensive tests across 3 new test files: - `test_advisor.py` (30 tests) — all advisory helpers and integration - `test_eidos.py` (30 tests) — predictions, evaluations, accuracy, queries - `test_memory.py` (35 tests) — events, memories, importance scoring, DB schema All tests pass: `tox -e unit` (2376 passed), `tox -e lint` (clean), `tox -e pre-push` (2393 passed).
kimi closed this issue 2026-03-21 13:32:54 +00:00
Sign in to join this conversation.
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#659