Coverage report: 82%

Files Functions Classes

coverage.py v7.15.0, created at 2026-07-04 05:24 +0000

File   statements missing excluded   coverage
astrocyte/__init__.py   10 0 0   100%
astrocyte/_astrocyte.py   711 146 6   79%
astrocyte/_discovery.py   31 13 0   58%
astrocyte/_hooks.py   33 0 0   100%
astrocyte/_ingest_spi.py   16 0 0   100%
astrocyte/_log_safety.py   6 0 0   100%
astrocyte/_mcp_identity.py   71 18 7   75%
astrocyte/_multi_bank.py   126 7 0   94%
astrocyte/_output_scanner.py   47 0 0   100%
astrocyte/_policy.py   110 4 2   96%
astrocyte/_provider_dispatch.py   87 3 7   97%
astrocyte/_recall_params.py   15 0 0   100%
astrocyte/_validation.py   7 0 0   100%
astrocyte/analytics.py   105 2 0   98%
astrocyte/audit.py   143 51 2   64%
astrocyte/cli.py   141 8 0   94%
astrocyte/compose/__init__.py   2 2 0   0%
astrocyte/compose/conversation_document.py   37 37 0   0%
astrocyte/config.py   774 60 0   92%
astrocyte/conversations/__init__.py   5 0 0   100%
astrocyte/conversations/chunking.py   65 1 0   98%
astrocyte/conversations/ingestor.py   29 0 0   100%
astrocyte/conversations/storage.py   25 0 0   100%
astrocyte/conversations/types.py   46 0 0   100%
astrocyte/db_budget.py   77 2 3   97%
astrocyte/disposition.py   54 0 0   100%
astrocyte/documents/__init__.py   9 0 0   100%
astrocyte/documents/builders/__init__.py   2 0 0   100%
astrocyte/documents/builders/md_builder.py   52 0 0   100%
astrocyte/documents/builders/summarizer.py   49 1 0   98%
astrocyte/documents/ingestor.py   35 2 0   94%
astrocyte/documents/parsers/__init__.py   25 4 0   84%
astrocyte/documents/parsers/base.py   16 1 0   94%
astrocyte/documents/parsers/markdown.py   18 0 0   100%
astrocyte/documents/parsers/markitdown.py   41 30 0   27%
astrocyte/documents/retrieval/__init__.py   5 0 0   100%
astrocyte/documents/retrieval/navigator.py   127 107 0   16%
astrocyte/documents/retrieval/retriever.py   39 28 0   28%
astrocyte/documents/retrieval/tools.py   15 10 0   33%
astrocyte/documents/retrieval/types.py   61 0 0   100%
astrocyte/documents/storage.py   37 2 0   95%
astrocyte/documents/types.py   71 0 0   100%
astrocyte/errors.py   51 0 0   100%
astrocyte/eval/__init__.py   2 0 0   100%
astrocyte/eval/_terminal_error.py   21 16 0   24%
astrocyte/eval/benchmarks/__init__.py   0 0 0   100%
astrocyte/eval/judges/__init__.py   3 0 0   100%
astrocyte/eval/judges/_stemmer.py   19 4 2   79%
astrocyte/eval/judges/locomo_judge.py   90 14 2   84%
astrocyte/eval/judges/longmemeval_judge.py   38 0 2   100%
astrocyte/hybrid.py   139 37 3   73%
astrocyte/identity.py   65 6 0   91%
astrocyte/identity_jwt.py   55 0 0   100%
astrocyte/ingest/__init__.py   31 19 0   39%
astrocyte/ingest/bank_resolve.py   13 0 0   100%
astrocyte/ingest/fastapi_app.py   30 2 2   93%
astrocyte/ingest/hmac_auth.py   17 0 0   100%
astrocyte/ingest/logutil.py   14 0 0   100%
astrocyte/ingest/payload.py   61 15 0   75%
astrocyte/ingest/registry.py   57 16 0   72%
astrocyte/ingest/runtime.py   11 0 2   100%
astrocyte/ingest/source.py   40 6 0   85%
astrocyte/ingest/supervisor.py   69 20 0   71%
astrocyte/ingest/webhook.py   59 4 0   93%
astrocyte/integrations/__init__.py   0 0 0   100%
astrocyte/integrations/_sync_utils.py   14 8 0   43%
astrocyte/integrations/autogen.py   34 0 2   100%
astrocyte/integrations/beeai.py   42 9 2   79%
astrocyte/integrations/camel_ai.py   42 2 2   95%
astrocyte/integrations/claude_agent_sdk.py   67 33 4   51%
astrocyte/integrations/claude_managed_agents.py   116 68 2   41%
astrocyte/integrations/crewai.py   32 1 2   97%
astrocyte/integrations/dspy.py   25 2 2   92%
astrocyte/integrations/google_adk.py   26 5 2   81%
astrocyte/integrations/haystack.py   42 3 2   93%
astrocyte/integrations/langgraph.py   50 4 2   92%
astrocyte/integrations/livekit.py   37 0 2   100%
astrocyte/integrations/llamaindex.py   25 0 2   100%
astrocyte/integrations/managed_agents.py   98 43 2   56%
astrocyte/integrations/microsoft_agent.py   6 0 2   100%
astrocyte/integrations/openai_agents.py   33 0 2   100%
astrocyte/integrations/pydantic_ai.py   29 2 2   93%
astrocyte/integrations/semantic_kernel.py   36 5 2   86%
astrocyte/integrations/smolagents.py   43 11 2   74%
astrocyte/integrations/strands.py   34 10 2   71%
astrocyte/lifecycle.py   52 0 0   100%
astrocyte/mcp.py   329 161 0   51%
astrocyte/mip/__init__.py   11 1 0   91%
astrocyte/mip/intent.py   42 10 3   76%
astrocyte/mip/loader.py   231 21 0   91%
astrocyte/mip/presets.py   47 3 0   94%
astrocyte/mip/router.py   149 21 2   86%
astrocyte/mip/rule_engine.py   127 9 0   93%
astrocyte/mip/schema.py   92 0 0   100%
astrocyte/operation_metadata.py   87 0 0   100%
astrocyte/pipeline/__init__.py   5 0 2   100%
astrocyte/pipeline/_json_tolerant.py   47 4 0   91%
astrocyte/pipeline/agentic_reflect.py   228 59 0   74%
astrocyte/pipeline/audit.py   52 3 3   94%
astrocyte/pipeline/chunking.py   109 16 0   85%
astrocyte/pipeline/compile.py   179 15 2   92%
astrocyte/pipeline/compile_trigger.py   104 9 2   91%
astrocyte/pipeline/consolidation.py   107 11 2   90%
astrocyte/pipeline/cross_encoder_rerank.py   92 27 5   71%
astrocyte/pipeline/curated_recall.py   36 0 0   100%
astrocyte/pipeline/curated_retain.py   58 14 2   76%
astrocyte/pipeline/delta_ops.py   151 8 1   95%
astrocyte/pipeline/directive_compile.py   89 71 3   20%
astrocyte/pipeline/document_postprocess.py   68 8 3   88%
astrocyte/pipeline/embedding.py   26 0 2   100%
astrocyte/pipeline/entity_extraction.py   62 15 2   76%
astrocyte/pipeline/entity_resolution.py   254 46 4   82%
astrocyte/pipeline/episodic_extract.py   41 7 2   83%
astrocyte/pipeline/extraction.py   218 19 0   91%
astrocyte/pipeline/fact_causal_extraction.py   91 14 0   85%
astrocyte/pipeline/fact_entity_expansion.py   41 1 3   98%
astrocyte/pipeline/fact_extraction.py   276 65 0   76%
astrocyte/pipeline/fact_recall.py   141 10 5   93%
astrocyte/pipeline/fact_rerank.py   21 1 2   95%
astrocyte/pipeline/fusion.py   69 0 0   100%
astrocyte/pipeline/hyde.py   25 0 2   100%
astrocyte/pipeline/intent_weights.py   17 0 0   100%
astrocyte/pipeline/link_expansion.py   154 21 0   86%
astrocyte/pipeline/lint.py   107 1 3   99%
astrocyte/pipeline/mental_model.py   42 1 2   98%
astrocyte/pipeline/mental_model_compile.py   64 5 2   92%
astrocyte/pipeline/multi_query.py   25 3 2   88%
astrocyte/pipeline/observation.py   237 28 4   88%
astrocyte/pipeline/orchestrator.py   1117 293 13   74%
astrocyte/pipeline/pageindex_pipeline.py   81 19 3   77%
astrocyte/pipeline/pgqueuer_tasks.py   73 21 3   71%
astrocyte/pipeline/preference_compile.py   82 11 3   87%
astrocyte/pipeline/premise_verification.py   126 21 0   83%
astrocyte/pipeline/preset_routing.py   17 0 0   100%
astrocyte/pipeline/query_analyzer.py   204 39 0   81%
astrocyte/pipeline/query_intent.py   72 0 0   100%
astrocyte/pipeline/query_plan.py   63 2 0   97%
astrocyte/pipeline/query_rewrite.py   33 33 0   0%
astrocyte/pipeline/question_annotator.py   58 58 2   0%
astrocyte/pipeline/recall_cache.py   67 12 0   82%
astrocyte/pipeline/recent_buffer.py   84 6 0   93%
astrocyte/pipeline/reflect.py   86 11 3   87%
astrocyte/pipeline/rerank_boosts.py   83 1 3   99%
astrocyte/pipeline/reranking.py   169 17 2   90%
astrocyte/pipeline/retain_fsm/__init__.py   5 0 0   100%
astrocyte/pipeline/retain_fsm/checkpoint.py   89 2 2   98%
astrocyte/pipeline/retain_fsm/context.py   44 1 3   98%
astrocyte/pipeline/retain_fsm/engine.py   111 11 2   90%
astrocyte/pipeline/retain_fsm/states.py   19 1 2   95%
astrocyte/pipeline/retrieval.py   143 6 10   96%
astrocyte/pipeline/section_compile.py   182 107 3   41%
astrocyte/pipeline/section_embedding.py   19 0 3   100%
astrocyte/pipeline/section_entity_extraction.py   42 3 3   93%
astrocyte/pipeline/section_event_extraction.py   37 37 3   0%
astrocyte/pipeline/section_fact_extraction.py   94 8 3   91%
astrocyte/pipeline/section_link_extraction.py   59 59 3   0%
astrocyte/pipeline/section_recall.py   142 23 2   84%
astrocyte/pipeline/section_reflect.py   81 6 2   93%
astrocyte/pipeline/section_rerank.py   63 1 4   98%
astrocyte/pipeline/semantic_link_graph.py   32 4 0   88%
astrocyte/pipeline/spreading_activation.py   18 18 2   0%
astrocyte/pipeline/structured_doc.py   166 7 0   96%
astrocyte/pipeline/tasks.py   315 54 4   83%
astrocyte/pipeline/temporal.py   92 33 0   64%
astrocyte/pipeline/temporal_arithmetic.py   177 177 3   0%
astrocyte/pipeline/temporal_dateparser.py   52 28 0   46%
astrocyte/pipeline/temporal_expressions.py   68 21 0   69%
astrocyte/pipeline/temporal_resolution.py   40 19 0   52%
astrocyte/pipeline/tiered_retrieval.py   91 3 2   97%
astrocyte/pipeline/token_budget.py   38 0 0   100%
astrocyte/pipeline/trend.py   40 1 0   98%
astrocyte/pipeline/utility.py   69 1 0   99%
astrocyte/pipeline/wiki_incremental.py   89 10 3   89%
astrocyte/pipeline/wiki_lint.py   51 0 2   100%
astrocyte/policy/__init__.py   0 0 0   100%
astrocyte/policy/barriers.py   156 5 3   97%
astrocyte/policy/escalation.py   71 2 0   97%
astrocyte/policy/homeostasis.py   131 26 0   80%
astrocyte/policy/llm_scanner.py   71 7 2   90%
astrocyte/policy/ner_scanner.py   22 10 0   55%
astrocyte/policy/observability.py   100 32 0   68%
astrocyte/policy/signal_quality.py   54 2 0   96%
astrocyte/portability.py   164 26 0   84%
astrocyte/provider.py   184 57 2   69%
astrocyte/providers/__init__.py   0 0 0   100%
astrocyte/providers/openai.py   86 25 0   71%
astrocyte/recall/__init__.py   4 0 0   100%
astrocyte/recall/authority.py   67 6 0   91%
astrocyte/recall/merge_result.py   15 2 0   87%
astrocyte/recall/oauth.py   114 19 0   83%
astrocyte/recall/proxy.py   276 31 2   89%
astrocyte/task_backend.py   73 6 1   92%
astrocyte/tenancy.py   58 0 0   100%
astrocyte/testing/__init__.py   0 0 0   100%
astrocyte/testing/in_memory.py   1057 172 0   84%
astrocyte/types.py   707 15 0   98%
Total   17787 3240 248   82%

No items found using the specified filter.