How justanothercodingirl/fairresume-ai works
FairRecruit AI combines a resume workspace with research-oriented recruitment-model auditing. The resume workflow is project and resume management, then analysis results such as ATS, quality, bias, anonymization, and rewrite; the research workspace separately exposes dataset discovery, classifier model runs, demographic fairness analysis, and WEAT experiments. The Angular routes and API gateway connect the UI to FastAPI, whose feature services are currently scaffolded and often return not-implemented behavior. README and excerpts establish the major boundaries; unsampled implementation details and some runtime links are left out.
Main entry points: router.py API v1 router · app.routes.ts Feature routes · repository.py Repositories · api.service.ts API gateway
Components 31
Angular workspace
- App shell
frontend/src/app/app.ts - Feature routes
frontend/src/app/app.routes.ts - API gateway
frontend/src/app/core/services/api.service.ts - Landing page
frontend/src/app/features/landing/landing.ts - Research dashboard
frontend/src/app/features/dashboard/dashboard.ts - Dataset explorer
frontend/src/app/features/dataset-explorer/pages/dataset-explorer-page.ts - Model laboratory
frontend/src/app/features/model-lab/pages/model-lab-page.ts - Fairness analysis
frontend/src/app/features/fairness/pages/fairness-page.ts - WEAT laboratory
frontend/src/app/features/weat/pages/weat-page.ts
API and resume workflow
- FastAPI application
backend/app/main.py - API v1 router
backend/app/api/v1/router.py - Project management
backend/app/api/v1/endpoints/projects.py - Resume upload and retrieval
backend/app/api/v1/endpoints/resumes.py - Resume analysis
backend/app/api/v1/endpoints/analysis.py - Text extraction
backend/app/services/parsing/text_extraction.py - Service interfaces
backend/app/services/interfaces.py - Stub adapters
backend/app/services/stubs.py
Research audit features
- Dataset catalog
backend/app/features/datasets/service.py - Classifier training
backend/app/features/model_lab/service.py - Outcome fairness
backend/app/features/fairness/service.py - Fairness metrics
backend/app/features/fairness/metrics.py - Embedding association test
backend/app/features/weat/service.py - Embedding provider
backend/app/features/weat/embedding_provider.py - Classifier evaluation
backend/app/ml/evaluation/metrics.py - ML preprocessing
backend/app/ml/preprocessing/pipeline.py - Model trainer
backend/app/ml/training/trainer.py
Resume persistence
- Repositories
backend/app/services/repository.py - SQL database
backend/app/db/session.py - Resume records and versions
backend/app/models/resume.py - Project records
backend/app/models/project.py
Other components
- Job seeker / researcher
Connections 38
- Job seeker / researcher → App shell: uses
- App shell → Feature routes: hosts routes
frontend/src/app/app.ts - Feature routes → Landing page: loads
frontend/src/app/app.routes.ts - Feature routes → Research dashboard: loads
frontend/src/app/app.routes.ts - Feature routes → Dataset explorer: loads
frontend/src/app/app.routes.ts - Feature routes → Model laboratory: loads
frontend/src/app/app.routes.ts - Feature routes → Fairness analysis: loads
frontend/src/app/app.routes.ts - Feature routes → WEAT laboratory: loads
frontend/src/app/app.routes.ts - Job seeker / researcher → API gateway: requests workspace data
- API gateway → FastAPI application: HTTP requests
- FastAPI application → API v1 router: mounts
backend/app/main.py - API v1 router → Project management: dispatches
backend/app/api/v1/router.py - API v1 router → Resume upload and retrieval: dispatches
backend/app/api/v1/router.py - API v1 router → Resume analysis: dispatches
backend/app/api/v1/router.py - API v1 router → Dataset catalog: dispatches
backend/app/api/v1/router.py - API v1 router → Classifier training: dispatches
backend/app/api/v1/router.py - API v1 router → Outcome fairness: dispatches
backend/app/api/v1/router.py - API v1 router → Embedding association test: dispatches
backend/app/api/v1/router.py - Resume upload and retrieval → Text extraction: extracts text
- Resume analysis → Service interfaces: uses services
- Service interfaces → Stub adapters: bound adapters
- Project management → Repositories: persists projects
- Resume upload and retrieval → Repositories: persists resumes
- Resume analysis → Repositories: loads resumes
- Repositories → SQL database: queries
backend/app/services/repository.py - Repositories → Resume records and versions: reads and writes
backend/app/services/repository.py - Repositories → Project records: reads and writes
backend/app/services/repository.py - FastAPI application → SQL database: initializes
backend/app/main.py - Dataset explorer → API gateway: uses gateway
- Model laboratory → API gateway: uses gateway
- Fairness analysis → API gateway: uses gateway
- WEAT laboratory → API gateway: uses gateway
- Dataset catalog → Dataset catalog: serves catalog
backend/app/features/datasets/router.py - Classifier training → ML preprocessing: training pipeline
- Classifier training → Model trainer: trains model
- Classifier training → Classifier evaluation: evaluates classifier
- Outcome fairness → Fairness metrics: computes metrics
- Embedding association test → Embedding provider: gets embeddings