headroom/tests/test_transforms
chopratejas fef02fa053 feat(toin): add TOIN + CCR integration to IntelligentContextManager
IntelligentContext is a message-level compressor that drops low-value
messages. This change adds bidirectional TOIN integration:

- Dropped messages stored in CCR for potential retrieval
- Drops recorded to TOIN for cross-user learning
- Retrieval feedback improves future importance scoring

When messages are dropped and users retrieve them via CCR, TOIN learns
to score those patterns higher next time. This creates a feedback loop
that improves drop decisions across all users.

Changes:
- Add _create_message_signature() for TOIN pattern tracking
- Add _get_compression_store() for CCR integration
- Add _store_dropped_in_ccr() to store dropped messages
- Add _record_drops_to_toin() to record drops for learning
- Update marker to include CCR reference when available
- Update docs with TOIN + CCR integration section
- Update tests to accept both marker formats
2026-01-27 16:08:36 -08:00
..
__init__.py Initial commit: Headroom SDK - LLM context optimization toolkit 2026-01-06 23:16:58 -08:00
test_anchor_selector.py Add reasoning capability forwarding to HeadroomAgnoModel 2026-01-21 20:32:02 -08:00
test_cache_aligner.py Integrate DynamicContentDetector into CacheAligner (Phase 1) 2026-01-19 22:56:20 -08:00
test_code_compressor.py Integrate DynamicContentDetector into CacheAligner (Phase 1) 2026-01-19 22:56:20 -08:00
test_content_router.py Remove hardcoded source hint system from ContentRouter 2026-01-23 00:28:22 -08:00
test_intelligent_context.py feat(toin): add TOIN + CCR integration to IntelligentContextManager 2026-01-27 16:08:36 -08:00
test_llmlingua_compressor.py Add comprehensive evaluation framework for compression accuracy 2026-01-22 09:31:54 -08:00
test_progressive_summarizer.py Add quality retention eval and fix linting for Python 3.12 2026-01-19 21:52:18 -08:00
test_rolling_window.py Add persistent memory system with zero-latency inline extraction 2026-01-14 21:32:09 -08:00
test_scoring.py Add IntelligentContextManager for semantic-aware context management 2026-01-18 22:22:48 -08:00
test_smart_crusher.py Fix all ruff lint and format errors for CI 2026-01-10 15:33:44 -08:00
test_tool_crusher.py Fix all ruff lint and format errors for CI 2026-01-10 15:33:44 -08:00