How shivadharshini25/final_year_project works
NeuroHeal is a research prototype for autonomous monitoring and recovery of ML pipelines, exposed through a dashboard and FastAPI backend. A user submits a dataset and pipeline settings; the backend starts a run, whose runner executes pipeline stages and coordinates evidence-based diagnosis, strategy selection, recovery, and verification. The system also exposes run history and learned recovery knowledge. The README describes the agent capabilities, while sampled runner excerpts show only portions of their orchestration; edges are limited to documented or indexed relationships.
Main entry points: orchestrator Pipeline runners · main.py FastAPI endpoints · App.tsx Dashboard shell · MonitorPage.tsx Live monitor
Components 20
Dashboard
- Dashboard shell
frontend/src/App.tsx - Run setup
frontend/src/pages/SetupPage.tsx - Live monitor
frontend/src/pages/MonitorPage.tsx - Agent network view
frontend/src/components/AgentNetwork.tsx - Run history
frontend/src/pages/HistoryPage.tsx - Knowledge view
frontend/src/pages/KnowledgePage.tsx
API and Persistence
- FastAPI endpoints
api/main.py - Run and knowledge DB
api/database.py
Pipeline Runtime
- Pipeline runners
orchestrator - Evidence and run models
agents/schemas.py
Evidence Agents
- Failure detection
agents/failure_detection.py - Root cause analysis
agents/root_cause_analysis.py - Data quality checks
agents/data_quality.py - Model analysis
agents/model_analysis.py - Resource monitoring
agents/resource_monitoring.py
Recovery and Learning
- Strategy ranking
decision_engine/engine.py - Recovery planning
agents/recovery.py - Recovery verification
agents/verification.py - Recovery knowledge
agents/knowledge_repository.py
Other components
- Pipeline user
Connections 24
- Pipeline user → Dashboard shell: uses
README.md - Dashboard shell → Run setup: renders
frontend/src/App.tsx - Dashboard shell → Live monitor: renders
frontend/src/App.tsx - Dashboard shell → Run history: renders
frontend/src/App.tsx - Dashboard shell → Knowledge view: renders
frontend/src/App.tsx - Live monitor → Agent network view: renders
frontend/src/pages/MonitorPage.tsx - Run setup → FastAPI endpoints: submits run
README.md - Live monitor → FastAPI endpoints: receives run updates
- Run history → FastAPI endpoints: reads history
- Knowledge view → FastAPI endpoints: reads knowledge
- FastAPI endpoints → Pipeline runners: starts run
api/main.py - FastAPI endpoints → Run and knowledge DB: reads and writes
api/main.py - Pipeline runners → Failure detection: detects failures
README.md - Pipeline runners → Root cause analysis: diagnoses evidence
README.md - Pipeline runners → Data quality checks: checks data
README.md - Pipeline runners → Model analysis: analyzes metrics
README.md - Pipeline runners → Resource monitoring: monitors resources
README.md - Pipeline runners → Strategy ranking: ranks strategies
orchestrator/pipeline_runner.py - Pipeline runners → Recovery planning: plans recovery
README.md - Pipeline runners → Recovery verification: checks recovery
README.md - Pipeline runners → Recovery knowledge: advises and records
orchestrator/pipeline_runner.py - Strategy ranking → Recovery knowledge: looks up outcomes
decision_engine/engine.py - Recovery knowledge → Run and knowledge DB: persists entries
agents/knowledge_repository.py - Pipeline runners → Evidence and run models: uses run models
orchestrator/pipeline_runner.py