headroom/tests
chopratejas 2ce26438a0 Integrate DynamicContentDetector into CacheAligner (Phase 1)
- Add DynamicContentDetector integration for comprehensive dynamic content
  detection (20+ patterns vs previous 4 date patterns)
- New detection: UUIDs, API keys, JWT tokens, Unix timestamps, request/trace
  IDs, hex hashes (MD5/SHA1/SHA256), version numbers, high-entropy strings
- Add CacheAlignerConfig options: use_dynamic_detector, detection_tiers,
  extra_dynamic_labels, entropy_threshold
- Maintain backward compatibility with legacy date-only mode
- Add 25 new comprehensive tests for Phase 1 functionality
- Fix code compressor fallback test to properly mock LLMLingua availability

Expected cache hit improvement: 30-50% by extracting more dynamic content
2026-01-19 22:56:20 -08:00
..
test_cache Fix ruff formatting 2026-01-17 17:14:12 -08:00
test_compression Fix flaky JavaScript signature preservation test threshold 2026-01-15 15:38:25 -08:00
test_integrations Add Phase 2 Progressive Summarization and fix Agno integration tests 2026-01-19 09:49:04 -08:00
test_memory Add persistent memory system with zero-latency inline extraction 2026-01-14 21:32:09 -08:00
test_providers Fix mypy type errors in LiteLLM and OpenAI providers 2026-01-16 16:42:11 -08:00
test_storage Fix all ruff lint and format errors for CI 2026-01-10 15:33:44 -08:00
test_transforms Integrate DynamicContentDetector into CacheAligner (Phase 1) 2026-01-19 22:56:20 -08:00
__init__.py Initial commit: Headroom SDK - LLM context optimization toolkit 2026-01-06 23:16:58 -08:00
conftest.py Fix all ruff lint and format errors for CI 2026-01-10 15:33:44 -08:00
test_acceptance.py Fix all ruff lint and format errors for CI 2026-01-10 15:33:44 -08:00
test_ccr.py Fix all ruff lint and format errors for CI 2026-01-10 15:33:44 -08:00
test_ccr_context_tracker.py v0.2.2: Add CCR Response Handler, Context Tracker, and restructure docs 2026-01-14 13:03:41 -08:00
test_ccr_feedback.py Fix all ruff lint and format errors for CI 2026-01-10 15:33:44 -08:00
test_ccr_response_handler.py v0.2.2: Add CCR Response Handler, Context Tracker, and restructure docs 2026-01-14 13:03:41 -08:00
test_ccr_tool_injection.py Fix all ruff lint and format errors for CI 2026-01-10 15:33:44 -08:00
test_config.py Fix all ruff lint and format errors for CI 2026-01-10 15:33:44 -08:00
test_critical_fixes.py Fix all ruff lint and format errors for CI 2026-01-10 15:33:44 -08:00
test_critical_gaps.py Fix all ruff lint and format errors for CI 2026-01-10 15:33:44 -08:00
test_crushability.py Fix all ruff lint and format errors for CI 2026-01-10 15:33:44 -08:00
test_models.py Use LiteLLM for model pricing instead of hardcoded values 2026-01-16 00:35:04 -08:00
test_parser.py Fix all ruff lint and format errors for CI 2026-01-10 15:33:44 -08:00
test_provider_model_fallback.py Add AST-based code compression and custom model configuration 2026-01-14 13:46:55 -08:00
test_proxy_ccr.py Fix ruff formatting 2026-01-17 17:14:12 -08:00
test_proxy_compression_headers.py Remove unused ProxyConfig import from compression tests 2026-01-14 20:27:08 -06:00
test_proxy_llmlingua.py Fix mypy type errors in LiteLLM and OpenAI providers 2026-01-16 16:42:11 -08:00
test_quality_retention.py Fix all ruff lint and format errors for CI 2026-01-10 15:33:44 -08:00
test_relevance.py Fix all mypy type errors and flaky embedding test 2026-01-10 18:27:33 -08:00
test_telemetry.py Fix all ruff lint and format errors for CI 2026-01-10 15:33:44 -08:00
test_text_compressors.py Fix lint errors in text compression utilities 2026-01-12 17:32:51 -08:00
test_toin.py Fix all ruff lint and format errors for CI 2026-01-10 15:33:44 -08:00
test_toin_field_learning.py Fix ruff formatting 2026-01-17 17:14:12 -08:00
test_toin_fixes.py Fix all ruff lint and format errors for CI 2026-01-10 15:33:44 -08:00
test_toin_integration.py Add TOIN field-level learning and comprehensive integration tests 2026-01-17 15:40:08 -08:00
test_tokenizers.py Fix all ruff lint and format errors for CI 2026-01-10 15:33:44 -08:00