You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expand and fix unit tests across src/flare_ai_kit/ (ingestion, consensus, ecosystem, RAG, etc.). Use pytest, unittest.mock (incl. AsyncMock) and pytest.monkeypatch to isolate externals (env vars, network/HTTP, agent calls, onchain). Tests must be fast, deterministic, and offline.
Scope
Touch tests only; if a source change is required (bug/surface for testability), comment first and keep minimal.
Avoid new deps; if truly needed, justify in a comment.
Acceptance Criteria
≥ 80% overall line coverage (and for touched modules, where practical).
No real I/O (network/chain/filesystem/time) during tests; use fixtures/mocks.