BeatDebate / src /models

Commit History

Remove obsolete phase completion summaries and demo test scripts - Deleted `PHASE1_COMPLETION_SUMMARY.md`, `PHASE2_COMPLETION_SUMMARY.md`, `PHASE3_COMPLETION_SUMMARY.md`, and associated demo test scripts to streamline the codebase and eliminate unused documentation. This cleanup supports ongoing refactoring efforts and enhances overall project maintainability.
d5eabda

SulmanK commited on

Add autopep8 as a dependency for code formatting - Updated pyproject.toml to include autopep8 version 2.3.2 for improved code style consistency. Modified uv.lock to reflect the new dependency and its requirements. This update aims to enhance code maintainability and adherence to style guidelines.
f7943d1

SulmanK commited on

Enhance intent-aware recommendation system design and scoring logic - Updated the design document to introduce a new query type for "by artist" intent, detailing user goals, scoring strategies, and agent workflows. Refactored scoring logic in the quality scorer and ranking logic to accommodate exploration preferences and artist alias handling. Improved candidate generation for artist-specific queries and refined genre filtering methods to support hybrid queries. This update aims to better align system behavior with user intent and enhance overall recommendation accuracy.
2092684

SulmanK commited on

Update configuration files and remove obsolete test scripts - Increased line length limit in `pyproject.toml`, `test_hybrid_intent_final.py`, `test_hybrid_intent_fix.py`, `test_hybrid_subtypes.py`, `test_intent_fix.py`, `test_quick_hybrid.py`, `test_ui_improvements.py` to enhance code formatting flexibility. Deleted unused test files to streamline the codebase and improve maintainability. This cleanup supports ongoing refactoring efforts and enhances overall project structure.
d71324e

SulmanK commited on

Update .gitignore and remove obsolete cleanup documentation - Added `.gradio` and `tests/data/cache` to `.gitignore` to prevent unnecessary file tracking. Deleted outdated cleanup documentation files (`AGENT_CLEANUP_COMPLETION.md` and `CLEANUP_PLAN.md`) to streamline the codebase and remove obsolete references. This cleanup supports ongoing refactoring efforts and enhances overall project maintainability.
42651db

SulmanK commited on

Remove obsolete test files and enhance agent initialization - Deleted unused test files `test_backend_fixes.py` and `test_query_fix.py` to streamline the codebase. Updated agent initialization in `EnhancedRecommendationService` to include rate limiting for improved API management and performance. This cleanup supports ongoing refactoring efforts and enhances the overall structure of the project.
c8ec42b

SulmanK commited on

Remove obsolete test files and refactor agent imports - Deleted unused test files for `test_fix.py` and `test_smart_context.py`. Updated agent imports in `__init__.py` and other files to streamline the codebase and improve maintainability. This cleanup supports ongoing refactoring efforts and enhances the overall structure of the project.
fec9e33

SulmanK commited on

Enhance UnifiedTrackMetadata and Services Module - Added recommendation-specific fields and audio features to UnifiedTrackMetadata for improved track metadata handling. Updated services module to include enhanced API and recommendation services, streamlining workflows and maintaining backward compatibility.
dec38e9

SulmanK commited on

Phase 2: API Layer Refactoring Complete - Refactored LastFM and Spotify clients to use BaseAPIClient, eliminated ~104 lines of duplicate code, unified HTTP handling and rate limiting
b1d075d

SulmanK commited on

Phase 1: Core infrastructure for comprehensive codebase refactoring - BaseAPIClient, UnifiedRateLimiter, UnifiedMetadata models, APIClientFactory - Foundation for eliminating ~5000 lines of duplicate code
3aba6a9

SulmanK commited on

Enhance PlannerAgent with entity recognition and coordination strategies - Implemented enhanced entity recognition and intent analysis in the PlannerAgent, allowing for improved query processing and coordination strategies. Updated the MusicRecommenderState model to include new fields for extracted entities, intent analysis, and conversation context. Enhanced logging and reasoning steps for better traceability during planning. Revised design documentation to reflect these changes and outline future enhancements.
00dd8ea

SulmanK commited on

Update dependencies and enhance logging and configuration - Added google-generativeai to pyproject.toml and uv.lock, improved logging in main.py, and updated environment variable loading for better configuration management. Also, refined the .gitignore to include .gradio directory.
5f7cada

SulmanK commited on

Phase 2.3: Update Design Documents and pyproject.toml - Revised design documents to reflect implementation details for JudgeAgent and PlannerAgent, including evaluation framework and diversity targets. Increased line length limit in pyproject.toml for code formatting consistency.
e6cbce9

SulmanK commited on

Phase 2.2: Enhance Design Documentation and Update pyproject.toml - Increase line length limit for Ruff, clarify GenreMoodAgent and DiscoveryAgent implementation details, and outline future considerations for ChromaDB integration and advanced caching strategies.
958625c

SulmanK commited on

Phase 2.1: Core Agent Infrastructure Complete - PlannerAgent with strategic planning, Pydantic models, BaseAgent class, comprehensive tests (11/11 passing, 90% coverage)
f9db034

SulmanK commited on

feat: Complete Phase 1 - Foundation and API clients
965b972

SulmanK commited on