Spaces:
Running
Running
Commit History
-
feat: Implement Free Tier synthesis using HuggingFace Inference
- Added a new synthesis method in the JudgeHandler to utilize free HuggingFace Inference for narrative generation in Free Tier mode. - Updated the Orchestrator to check for the judge's synthesis method, ensuring consistent behavior across judging and synthesis. - Enhanced integration and unit tests to verify the correct usage of the new synthesis method and fallback mechanisms. - Documented the bug related to synthesis incorrectly using server-side API keys, outlining the root cause and potential fixes. This change addresses user confusion and improves the Free Tier experience by ensuring expected functionality without requiring an API key.e18ea9a -
fix: P0 provider mismatch and code quality audit fixes (#102)
Unverified signature* refactor: replace hacky try/except with proper pydantic validation PROBLEM: - CodeRabbit recommended try/except for ADVANCED_MAX_ROUNDS parsing - This is hacky defensive programming, not Clean Code - Silent fallbacks mask configuration errors SOLUTION (Uncle Bob approved): 1. Add advanced_max_rounds to Settings with pydantic Field validation: - ge=1, le=20 bounds checking - Fails fast at startup with clear error message 2. Add advanced_timeout to Settings (60-900 seconds) 3. Remove os.getenv + try/except hack from advanced.py - Now uses settings.advanced_max_rounds directly 4. Fix domain.py: invalid domain strings now raise ValueError - Shows valid options in error message - Previously silently fell back to default 5. Update tests: 18 tests verifying fail-fast behavior - TestSettingsValidation: type errors, bounds violations all raise - TestGetDomainConfig: invalid strings raise with helpful message PHILOSOPHY: "If someone configures your app wrong, tell t…599a754 -
feat: SPEC_15 Advanced Mode Performance Optimization (#101)
Unverified signatureSPEC_15 Advanced Mode Performance Optimization + CodeRabbit fixes3cb2e43 -
feat(clinicaltrials): SPEC_14 Outcome Measures (#100)
Unverified signature* feat: add outcome measures to ClinicalTrials.gov tool - Add OutcomesModule and HasResults to FIELDS constant - Extract primary outcomes with measure and timeFrame - Show results availability status with posted date - Boost relevance for trials with results (0.90 vs 0.85) - Add 4 unit tests per SPEC_14 Closes #95 * fix: address CodeRabbit review feedback for SPEC_14 - Fix unconditional ellipsis: Only add "..." when summary > 400 chars - Refine primary outcome truncation: Build full string before truncating - Extract _extract_primary_outcome() helper to reduce statement count - Add identificationModule to test mock for completeness Addresses review comments on PR #100. * test: add pytest.skip for API flakiness resilience Add defensive skip if ClinicalTrials.gov API returns no results, making the integration test more resilient to external API changes. Addresses CodeRabbit review feedback on PR #100.de1af88 -
feat(search): SPEC_13 Evidence Deduplication (#98)
Unverified signature* feat(search): implement evidence deduplication (SPEC_13) - Add PMID extraction to OpenAlex tool (from ids.pmid) - Implement deduplicate_evidence and extract_paper_id in SearchHandler - Support deduplication across PubMed, Europe PMC (MED, PMC, PPR, PAT), OpenAlex, and ClinicalTrials - Add comprehensive unit tests for deduplication logic * test: complete SPEC_13 test coverage (senior review findings) Missing tests added per spec: - test_extracts_europepmc_pat_id_eu_format (EP patent format) - test_preserves_openalex_without_pmid (critical edge case) - test_keeps_unidentifiable_evidence (conservative behavior) - test_clinicaltrials_unique_per_nct (NCT uniqueness) - test_preprints_preserved_separately (PPR vs PMID) - test_extracts_pmid_from_ids_object (OpenAlex PMID extraction) - test_pmid_is_none_when_not_present (null case) Code improvements: - Move `import re` to module level in openalex.py (efficiency) - Add SAMPLE_OPENALEX_WITH_PMID fixture for cross-dedup testing All 35 tests…2c5db87 -
feat(ui): force dark mode for api key input and enhance synthesis error handling
ad823e0 -
fix(SPEC_11): address CodeRabbit review feedback (#92)
Unverified signature* fix(SPEC_11): address CodeRabbit review feedback - Update run_full.py docstring to reference sexual health pipeline (not drug repurposing) - Update run_full.py help text to use sexual health query example - Fix app.py domain display to show "Sexual Health" (not "Sexual_Health") - Update test_nodes.py mock data to use sexual health terms (Testosterone, Androgen Receptor) - Add @pytest.mark.unit markers to test_judges.py test classes - Add specific assertion for next_search_queries in test_judges.py - Add missing @pytest.mark.asyncio marker to test_mcp_tools.py - Update test_mcp_tools.py and test_clinicaltrials.py to use sexual health queries - Fix SPEC_12 markdown bare code fence (MD040) * fix(SPEC_11): comprehensive domain alignment audit Second pass of CodeRabbit review fixes - found additional domain mismatches: - examples/search_demo/run_search.py: Update docstring from "drug repurposing" to "sexual health" - examples/orchestrator_demo/run_agent.py: Update help text from "metf…89f1173 -
feat(SPEC_11): finalize transition to Sexual Health Research Specialist
This commit completes the transition of DeepBoner to a dedicated Sexual Health Research Agent by removing all references to "general" and "drug repurposing" domains. Key changes include: - Updated domain defaults to exclusively use "sexual_health". - Replaced all example queries and documentation to reflect a focus on sexual health topics. - Removed any lingering references to non-sexual health concepts in code and tests. - Ensured all tests are aligned with the new domain focus, passing successfully. This change reinforces the project's identity and simplifies the codebase, enhancing clarity and usability for users focused on sexual health research. Closes #89.fa696e8 -
feat(SPEC_11): narrow scope to sexual health only
BREAKING CHANGE: Remove GENERAL and DRUG_REPURPOSING domains DeepBoner is now a focused Sexual Health Research Specialist, not a general-purpose research agent. Changes: - Remove ResearchDomain.GENERAL and ResearchDomain.DRUG_REPURPOSING - Remove GENERAL_CONFIG and DRUG_REPURPOSING_CONFIG from domain.py - Set DEFAULT_DOMAIN = ResearchDomain.SEXUAL_HEALTH - Update Gradio examples (remove Metformin/Alzheimer's) - New example: "Testosterone therapy for hypoactive sexual desire disorder?" - Hide domain dropdown (only one option now) - Update all domain-related tests Closes #89627c291 -
feat: SPEC_10 - Domain-Agnostic Refactor + License Fix (#87)
Unverified signature* feat: implement SPEC_10 domain-agnostic refactor * fix: complete SPEC_10 audit - license + HierarchicalOrchestrator domain License Fixes: - LICENSE: Fix copyright "Antibody Training Pipeline ESM" → "DeepBoner Contributors" - pyproject.toml: Add missing license = "Apache-2.0" field - README.md: Fix frontmatter license: mit → apache-2.0 Domain Threading Fixes: - hierarchical.py: Add domain param to __init__ and pass to ResearchTeam - factory.py: Pass domain to HierarchicalOrchestrator All 237 tests pass. Domain now properly threaded through all orchestrators. * test: enhance domain handling in orchestrators and judges - Updated unit tests for `configure_orchestrator` to include mock mode and free tier scenarios, ensuring the domain is correctly passed to handlers. - Refactored tests for `JudgeHandler` to mock model retrieval, allowing for domain acceptance without API key requirements. - Improved `AdvancedOrchestrator` tests to mock API key validation and ensure domain handling i…fd1472e -
fix: align pre-commit hook versions with CI
BREAKING: Pre-commit was using ancient tool versions causing divergence: - ruff: v0.4.4 → v0.14.7 (10 minor versions behind!) - mypy: v1.10.0 → v1.19.0 (9 minor versions behind!) This caused CI to fail because ruff formatting behavior changed significantly between versions. Now pre-commit and CI use same versions. Also reformatted 2 test files that had version-specific formatting.4b245e3 -
ci: upgrade to ironclad CI/CD configuration
- Upgrade setup-uv@v4 → v7 with built-in caching (removes cache warning) - Pin uv version to 0.5.6 for reproducible builds - Add ruff format --check (enforces consistent formatting) - Add --locked to uv sync (ensures lockfile integrity) - Auto-format 4 files to pass new format checke70a3b7 -
feat: Wire LlamaIndex RAG into Simple Mode (Tiered Embedding) (#83)
Unverified signature* feat: wire LlamaIndex RAG service into embedding infrastructure This PR implements tiered embedding service selection per NEXT_TASK.md: ## Changes - Add EmbeddingServiceProtocol (embedding_protocol.py) for unified interface - Add async wrappers to LlamaIndexRAGService (add_evidence, search_similar, deduplicate) - Update service_loader.py with get_embedding_service() factory method - Update ResearchMemory to use service_loader instead of direct EmbeddingService - Update orchestrators to use EmbeddingServiceProtocol type hints ## Design Patterns Applied - Strategy Pattern: Tiered service selection (LlamaIndex or local) - Factory Method: get_embedding_service() creates appropriate service - Protocol Pattern: Structural typing for service interface - Dependency Injection: ResearchMemory accepts any protocol-compatible service ## Tiered Selection - Premium tier (OPENAI_API_KEY present): LlamaIndexRAGService with: - OpenAI embeddings (text-embedding-3-small) - Persistent ChromaDB s…7baf8ba
-
feat(SPEC-08): Integrate shared memory layer + CodeRabbit fixes (#74)
Unverified signature## Summary - SPEC-08: Shared memory layer integration - CodeRabbit critical fix: async add_evidence() with proper deduplication - Security: Fixed CVEs in langgraph-checkpoint and urllib3 - CI: Hardened to fail on security vulnerabilities - Docstrings: 80%+ coverage All 178 tests pass. No known vulnerabilities.e0c585c -
fix: Update test for judge node initialization with improved mocking
- Replaced the mock for the pydantic_ai Agent with a mock for get_model to avoid real API key requirements. - Enhanced the test by mocking the Agent class entirely to ensure proper behavior during initialization. - Adjusted the test setup to maintain functionality while improving isolation from external dependencies.46b9533 -
feat: Enhance research workflow with embedding service integration
- Updated graph nodes to accept an optional EmbeddingService for improved evidence handling and deduplication. - Refactored search, judge, resolve, and synthesize nodes to utilize the embedding service for enhanced functionality. - Modified the research graph creation to bind the embedding service to worker nodes, ensuring seamless integration. - Added logging for better traceability during node execution. - Expanded unit and integration tests to cover new embedding service interactions and ensure robust functionality.f160233 -
feat: Integrate LangGraph for enhanced research orchestration
- Added LangGraph dependencies to pyproject.toml and uv.lock for improved state management and orchestration capabilities. - Implemented LangGraph-based orchestrator in src/orchestrators/langgraph_orchestrator.py, enabling structured research workflows. - Developed graph nodes and state management in src/agents/graph, including search, judge, and synthesis functionalities. - Updated app.py to support new "god" mode for advanced orchestration. - Enhanced documentation for active bugs and architectural gaps related to LangGraph integration. - Added unit and integration tests to ensure functionality and reliability of the new features.a820b5b -
fix(P0): Implement SPEC_06 - Simple Mode Synthesis Fix (#71)
Unverified signature* feat: implement SPEC_06 fixes for simple mode synthesis Implements research-backed architecture changes for Simple mode: - Diverse evidence selection with lost-in-the-middle mitigation - Debiased judge prompt (scoring only, no decision making) - Code-enforced termination criteria (prevents infinite loops) - Real partial synthesis with drug candidates when max iterations reached - Unit and integration tests for all new logic * fix: address CodeRabbit review feedback - Fix type annotation: recommendation str -> Literal["continue", "synthesize"] - Add @pytest.mark.unit markers to unit tests - Add @pytest.mark.integration markers to integration tests - Simplify early/late evidence assertions using set intersection - Replace next() with explicit filtering for clearer test diagnostics - Extract hardcoded thresholds (50, 30) to TERMINATION_CRITERIA - Fix e2e mock to accept iteration/max_iterations parameters All 177 tests pass, mypy clean, ruff clean. * docs: add P3 architectural gap r…5cac97d -
feat: add service loader + SPEC_06 + P0 bug report
Service Loader: - Create src/utils/service_loader.py for centralized lazy loading - All orchestrators now use centralized service loading - Enforces OrchestratorProtocol on Advanced and Hierarchical SPEC_06 (Simple Mode Synthesis - not yet implemented): - Research-backed spec for fixing Simple mode never synthesizing - Identifies 6 root causes with November 2025 LLM-as-Judge research - Separates scoring from decision-making (debiased architecture) P0 Bug Report: - Documents Simple mode producing only citations (no synthesis) - Confidence dropping to 0% in late iterations (context overflow) - Judge never recommending "synthesize" even with 455 sources CodeRabbit concerns from PR #70 addressed.9639483 -
refactor: Organize orchestrators into dedicated package
Claude- Create src/orchestrators/ package with proper module structure - base.py: Shared protocols (SearchHandlerProtocol, JudgeHandlerProtocol) - simple.py: Basic search-judge loop orchestrator (was orchestrator.py) - advanced.py: Multi-agent MS Agent Framework orchestrator (was orchestrator_magentic.py) - hierarchical.py: Sub-iteration middleware orchestrator - factory.py: Factory pattern for orchestrator creation - __init__.py: Clean public API with facade pattern Design principles applied: - Single Responsibility (SRP): Each file has one clear job - Interface Segregation (ISP): Protocols in base.py - Factory Pattern (GoF): Centralized creation logic - Facade Pattern: Clean public imports via __init__.py All imports updated across: - src/app.py, src/agents/ - tests/unit/, tests/e2e/, tests/integration/ - examples/orchestrator_demo/ All 147 tests pass, linting and typecheck clean.e82d9c9 -
fix: implement SPEC_04 (Magentic UX) and SPEC_05 (cleanup)
SPEC_04: - P0: Preserve chat history on timeout (app.py) - P1: Increase default timeout to 600s - P1: Add MAGENTIC_TIMEOUT env var config SPEC_05: - Delete empty src/orchestrator/ folder - Delete unused orchestrator_hierarchical.py (0% coverage) All 162 tests pass.cb46aac -
feat(tools): add OpenAlex integration with citation-based ranking
- Implemented OpenAlexTool in src/tools/openalex.py - Added comprehensive unit and integration tests in tests/unit/tools/test_openalex.py - Updated src/tools/__init__.py to export the new tool - Updated SPEC_03 with final implementation details and test patterns - Features: Citation count sorting, abstract reconstruction, concept tagging, OA links - Verified with 100% test pass rate and clean lint/type checksfd28242 -
feat: Implement SPEC_01 (Termination) and SPEC_02 (E2E Tests)
- SPEC_01: Added timeout (300s) and progress events to MagenticOrchestrator - SPEC_02: Created tests/e2e/ with mocked tests for Simple and Advanced modes - Docs: Updated specs to match codebase stateb1d094d -
test: Add circuit breaker unit tests for P0 judge bug
- Verifies that HFInferenceJudgeHandler correctly triggers 'synthesize' after 3 consecutive failures - Verifies failure counter resets on success or new question - Validates the P0 fix in src/agent_factory/judges.pye1d9af1 -
Fix P3 bug: Guarantee termination event in Magentic mode
- Add fallback yield in MagenticOrchestrator.run when max rounds reached - Track final_event_received flag to prevent double termination - Add unit tests for termination guarantee and normal completiond36ce3c -
fix: handle None parameters from Gradio example caching (P0)
Root cause: Gradio passes None for missing example columns during startup caching, overriding Python default values. Line 131 called .strip() on None, crashing the HuggingFace Space. Fix: Add defensive None handling before .strip(): api_key_str = api_key or "" api_key_state_str = api_key_state or "" Added tests to prevent regression.29a6844 -
Merge branch 'dev' - P1 bug fixes + CodeRabbit feedback
8f45b69 -
style: integrate CodeRabbit review feedback
- Add @pytest.mark.unit to streaming fix tests - Simplify API key fallback: nested ternary → (x or y) or None - Clean up commented-out event handler code in app.py - Add language specifiers to markdown code blocks (text, bash) - Remove redundant fallback in judges.py _extract_key_findings All 138 tests passing.82503b1 -
fix: resolve P1 bugs (streaming UX + api key persistence) and update tests/docs
9006d69 -
fix: resolve streaming spam and API key persistence bugs
Bug 1 (Streaming Spam): - Add streaming buffer in app.py to accumulate tokens - Skip yield during streaming, flush on non-streaming events - Reduces O(N²) to O(N) - one message instead of hundreds Bug 2 (API Key Persistence): - Add gr.State component to persist key across example clicks - Fallback logic: use textbox value, else state value - Key survives Gradio's additional_inputs reset behavior Tests: 138 passing (136 original + 2 new validation tests)0c9be4a -
fix: align all docs/tests to gpt-5.1 (actual current model)
4927db5 -
fix: P0 bugs + model config stabilization (November 2025) (#59)
Unverified signature* fix(judges): fallback to heuristic extraction when HF quota exhausted * fix(config): update default LLM models to stable Nov 2025 versions * docs: add LLM model defaults (Nov 2025) to agent guidance files * refactor(judges): extract shared title-extraction helper Address CodeRabbit nitpicks: - Add language tag to fenced code block in docs - Extract _extract_titles_from_evidence() to reduce duplication between HFInferenceJudgeHandler and MockJudgeHandler All 136 tests pass.622c8ba -
fix(config): update default LLM models to stable Nov 2025 versions
bfc953b -
fix(judges): fallback to heuristic extraction when HF quota exhausted
11ad1dd -
fix: resolve all P0 critical bugs blocking demo
Bug 1 - Free Tier Quota Loop (P0): - Detect 402/quota errors in HFInferenceJudgeHandler - Return `sufficient=True` to stop loop gracefully - Show clear "Free Tier Quota Exceeded" message to user Bug 3 - API Key Not Passed to Advanced Mode (P0): - Add `api_key` parameter to `create_orchestrator()` - Pass to `MagenticOrchestrator.__init__()` - Create `OpenAIChatClient` with user's BYOK key Bug 4 - Singleton EmbeddingService Cross-Session Pollution (P0): - Remove singleton pattern from `get_embedding_service()` - Create unique ChromaDB collection per request (uuid) - Keep `SentenceTransformer` model shared for performance Bug 2 was caused by Bug 4 (dedup on polluted collection). All 135 tests pass. Demo is now functional.d1f91a4 -
fix(ui): clarify mode compatibility in radio button info
Old: "⚡ Simple: Fast (Free/Any Key) | 🔬 Advanced: Deep Multi-Agent (OpenAI Key Only)" New: "⚡ Simple: Free/OpenAI/Anthropic | 🔬 Advanced: OpenAI only" Explicitly lists all supported backends for Simple mode so Anthropic users know they're not locked out.87feaa7 -
docs: add UI/UX brainstorming for mode selection
Documents current state after PR #58: - Anthropic key only works for Simple mode (no AnthropicChatClient) - Advanced mode requires OpenAI key (Magentic limitation) - Screenshot analysis showing current UI issues - Decision needed: remove Anthropic or keep?b16e7a5 -
fix: address CodeRabbit review feedback
Fixes from CodeRabbit analysis: - docs/to_do/DEEP_RESEARCH_ROADMAP.md: Fix MagenticBuilder → MagenticOrchestrator - docs/to_do/DEEP_RESEARCH_ROADMAP.md: Add note clarifying RAGService vs EmbeddingService - src/services/llamaindex_rag.py: Add migration note for collection name change - tests/unit/utils/test_exceptions.py: Add pytestmark = pytest.mark.unit - docs/implementation/12_phase_mcp_server.md: Update all bioRxiv refs → Europe PMC All 127 tests pass, 0 warnings.7d28de6 -
fix: resolve all test warnings and complete DeepBoner rebrand
Code fixes: - Update OpenAIModel → OpenAIChatModel (pydantic-ai deprecation) - Add pytest.importorskip guards to 3 test files for optional deps Rebrand fixes (missed in initial rename): - src/services/llamaindex_rag.py: collection name - src/tools/clinicaltrials.py: User-Agent header - 7 doc files: package names, URLs, examples Config: - Add targeted pytest warning filters for Pydantic mock introspection (known upstream issue: pydantic/pydantic#9927) Result: 127 tests pass, 0 warnings (was 50 warnings)ff16d8e
-
rebrand: DeepCritical → DeepBoner (sexual health research agent)
🍆 AI-Native Sexual Health Research Agent - Package renamed: deepcritical → deepboner - New focus: sexual wellness, ED, hormone therapy, libido, reproductive health - Exception class: DeepCriticalError → DeepBonerError (with backwards compat) - UI examples updated for sexual health queries - Modal app renamed: deepboner-code-execution - Fixed pre-existing mypy issue (Modal API: uv_pip_install → pip_install) 46 files updated across: - Core: pyproject.toml, README.md, CLAUDE.md, AGENTS.md, GEMINI.md - Source: app.py, mcp_tools.py, exceptions.py, code_execution.py - Docs: ~25 markdown files - Examples: 8 demo scripts - Tests: exception tests updated All tests passing (102 passed, 6 skipped)5d12635 -
fix: skip Modal integration tests when package not installed
The test was only checking for Modal credentials but not whether the modal package itself was installed, causing test failures in environments without the optional dependency.4e785f8 -
chore: update model names in .env.example and tests
Revised model names in .env.example to reflect new defaults and updated test cases in test_judges_factory.py to match the changes. The OpenAI model is now set to "gpt-5.1" and the Anthropic model to "claude-sonnet-4-5-20250929".58ff8fb
-
feat: add hierarchical orchestration with web search (integrates PR #44) (#46)
Unverified signature* feat: add hierarchical orchestration with web search (from PR #44) Based on contribution by @EmployeeNo427 with fixes: New features: - WebSearchTool using DuckDuckGo for web searches - SubIterationMiddleware for research loop pattern - HierarchicalOrchestrator with judge-based refinement - RetrievalAgent for web-based evidence gathering - CodeExecutorAgent for Modal sandbox execution - LLMSubIterationJudge for LLM-based assessment - src/state/ package for state management Fixes applied: - Added chroma_db/ to .gitignore (was committed as binaries) - Added structlog logging per coding guidelines - Added pytest markers to new tests - Fixed silent exception swallowing in orchestrator - Preserved dual-mode architecture from PR #45 - Added "web" to SourceName type - Fixed mypy type errors Co-authored-by: EmployeeNo427 <45109567+EmployeeNo427@users.noreply.github.com> * fix: resolve mypy type errors in middleware and agents * fix: remove type argument from SubIterationTeam --------- …20f762e -
feat: implement dual-mode architecture (Simple + Advanced) (#45)
Unverified signature* docs: add dual-mode architecture specification Senior agent reviewed and approved. Key documents: - 00_SITUATION_AND_PLAN.md: Problem analysis, branch states, recommended path - 01_ARCHITECTURE_SPEC.md: Dual-mode architecture (Simple + Advanced) - 02_IMPLEMENTATION_PHASES.md: 6-phase implementation plan - 03_IMMEDIATE_ACTIONS.md: Quick reference checklist Architecture: pydantic-ai (structured outputs) + Microsoft Agent Framework (orchestration) are COMPLEMENTARY, not competing. Dual-mode allows graceful degradation to free tier when no API keys available. * docs: add follow-up review request for senior agent verification * feat: implement dual-mode architecture (Simple + Advanced) Phase 1 - Pydantic-AI Improvements (Simple Mode): - Add HuggingFace provider support in judges.py with get_model() - Add huggingface_model and hf_token config fields - Tests in test_judges_factory.py Phase 2 - Orchestrator Factory: - Implement create_orchestrator() with auto-detection logic - Simple m…b2929fc -
feat: implement async-safe rate limiting (Phase 17) (#40)
Unverified signature- Add 'limits' library dependency - Implement async RateLimiter with finer-grained polling (0.01s) - Refactor PubMedTool to use shared singleton limiter - Add comprehensive unit tests and demo script316dc7d -
fix: mock all agent creation in _build_workflow test
The test calls _build_workflow() which creates agents internally. These agents need OpenAIChatClient which requires OPENAI_API_KEY. Mock all agent creation functions to make test hermetic.7323f55 -
fix: address CodeRabbit feedback and CI failure
- Mock check_magentic_requirements in tests to run without OPENAI_API_KEY - Update stale "biorxiv" comment in models.py per CodeRabbit suggestion CI was failing because MagenticOrchestrator requires OPENAI_API_KEY, which exists locally in .env but not in CI environment.2ff16a3 -
fix(magentic): defensive text extraction & cleanup biorxiv refs
Add _extract_text to fix ChatMessage object output bug. Update bioRxiv strings to Europe PMC. Add regression test.3bfd42c -
fix: update references to Europe PMC in examples and documentation
Replaced mentions of bioRxiv with Europe PMC in the full stack and hypothesis demo scripts to reflect the current data sources. Updated the pyproject.toml to exclude specific directories from mypy checks using regex patterns for better clarity.9d21bf8 -
refactor(tests): add type annotations and clean up test functions
Enhanced test files by adding type annotations to test functions and fixtures for better clarity and type checking. Cleaned up import statements and ensured consistent formatting across test cases.05ffeb4