How codepath/pathreview-ai301-fa26-s3 works
PathReview lets developers submit portfolio material and receive structured review feedback through a web dashboard. The documented product spans profile ingestion, agent-assisted analysis, evidence-based RAG feedback, safety checks, and review history. The review service excerpt shows the processing sequence, but its agent, RAG, and safety implementations are placeholders; ingestion is implemented separately, and its connection to review processing is not confirmed in the excerpts. Dashed edges mark likely but unverified integration points.
Main entry points: review_service.py Review workflow · App.tsx Dashboard app · reviews.py Review routes · profiles.py Profile routes
Components 22
Web dashboard
- Dashboard app
frontend/src/App.tsx - Auth state
frontend/src/context/AuthContext.tsx - API client
frontend/src/services/api.ts - Review views
frontend/src/pages/ReviewPage.tsx - Review history
frontend/src/pages/ReviewHistoryPage.tsx
API and profiles
- REST application
api/main.py - Authentication
api/middleware/auth.py - Profile routes
api/routes/profiles.py - Review routes
api/routes/reviews.py - Profile service
core/services/profile_service.py
Review processing
- Review workflow
core/services/review_service.py - Source ingestion
ingestion/pipeline.py - Analysis agent
agent/orchestrator.py - Analysis tools
agent/tools - RAG feedback
rag - Safety checks
safety
Persistence
- Database sessions
core/database.py - User and portfolio records
core/models - Vector store
rag/retriever/vector_store.py
Other components
- Developer
- GitHub
- AI model service
Connections 25
- Developer → Dashboard app: uses
- Dashboard app → Auth state: uses
frontend/src/App.tsx - Dashboard app → Review views: routes to
frontend/src/App.tsx - Dashboard app → Review history: routes to
frontend/src/App.tsx - Review views → API client: requests status
frontend/src/pages/ReviewPage.tsx - Review history → API client: loads history
frontend/src/pages/ReviewHistoryPage.tsx - API client → Review routes: calls API
- REST application → Review routes: registers routes
api/main.py - REST application → Profile routes: registers routes
api/main.py - Review routes → Authentication: authenticates requests
api/routes/reviews.py - Review routes → Review workflow: creates and processes
api/routes/reviews.py - Profile routes → Authentication: authenticates requests
api/routes/profiles.py - Profile routes → Profile service: delegates profile work
api/routes/profiles.py - Review workflow → Database sessions: queries and commits
core/services/review_service.py - Profile service → Database sessions: persists profiles
- User and portfolio records → Database sessions: uses ORM base
core/models/profile.py - Review workflow → Source ingestion: ingests sources
- Source ingestion → Vector store: stores embeddings
ingestion/pipeline.py - Review workflow → Analysis agent: orchestrates analysis
core/services/review_service.py - Analysis agent → Analysis tools: dispatches tools
- Review workflow → RAG feedback: retrieves and generates
core/services/review_service.py - RAG feedback → Vector store: retrieves evidence
- Review workflow → Safety checks: checks output
core/services/review_service.py - Analysis tools → GitHub: analyzes profile
- RAG feedback → AI model service: generates feedback