How ishwinderkaur8/ucs503p-202627-autoclean-ai works
AutoClean AI turns uploaded CSV, TSV, Excel, or JSON datasets into profiled, cleaned, model-ready datasets with an audit trail. The main workflow runs from browser upload through ingestion and in-memory storage, then profiling and configurable pipeline execution, before users inspect and download results. Separate capabilities combine datasets, generate synthetic data, recommend algorithms, and answer dataset questions through an offline assistant. The graph reflects documented behavior and sampled calls; unsampled implementation details are represented only where the README establishes the capability.
Main entry points: App.tsx Workspace · routes_pipeline.py Pipeline API · orchestrator.py Pipeline orchestrator · client.ts API client
Components 29
User interface
- Workspace
frontend/src/App.tsx - API client
frontend/src/api/client.ts - File upload
frontend/src/components/FileUpload.tsx - Profile and preview
frontend/src/components/ColumnProfileTable.tsx - Pipeline controls
frontend/src/components/PipelineConfigPanel.tsx - Audit display
frontend/src/components/AuditTrailView.tsx - Result download
frontend/src/components/DownloadResult.tsx - Recommendations
frontend/src/components/RecommendationPanel.tsx - Chat assistant
frontend/src/components/ChatAssistant.tsx
Dataset management
- Dataset API
backend/app/api/routes_dataset.py - File ingestion
backend/app/core/pipeline/ingestion.py - Dataset session store
backend/app/services/session_store.py - Dataset profiling
backend/app/core/pipeline/profiling.py
Data transformation
- Pipeline API
backend/app/api/routes_pipeline.py - Pipeline orchestrator
backend/app/core/pipeline/orchestrator.py - Cleaning and imputation
backend/app/core/pipeline/cleaning.py - Outlier handling
backend/app/core/pipeline/outliers.py - Categorical encoding
backend/app/core/pipeline/encoding.py - Feature engineering
backend/app/core/pipeline/feature_engineering.py - Feature scaling
backend/app/core/pipeline/scaling.py - Dataset combining
backend/app/core/pipeline/combine.py - Synthetic data
backend/app/core/pipeline/synthetic.py - Audit and safeguards
backend/app/core/audit.py
Insights and assistance
- Assistant API
backend/app/api/routes_assistant.py - Chat reasoning
backend/app/core/pipeline/chat_assistant.py - Algorithm recommender
backend/app/core/pipeline/recommender.py - Column and step advisor
backend/app/core/pipeline/llm_advisor.py
Other components
- Dataset user
- Browser speech services
Connections 42
- Dataset user → Workspace: uses
README.md - Workspace → File upload: renders
frontend/src/App.tsx - Workspace → Profile and preview: renders
frontend/src/App.tsx - Workspace → Pipeline controls: renders
frontend/src/App.tsx - Workspace → Audit display: renders
frontend/src/App.tsx - Workspace → Result download: renders
frontend/src/App.tsx - Workspace → Recommendations: renders
frontend/src/App.tsx - Workspace → Chat assistant: renders
frontend/src/App.tsx - Workspace → API client: calls
frontend/src/App.tsx - File upload → Workspace: provides files
frontend/src/App.tsx - Pipeline controls → Workspace: provides settings
frontend/src/components/PipelineConfigPanel.tsx - API client → Dataset API: sends dataset requests
frontend/src/api/client.ts - API client → Pipeline API: sends pipeline requests
frontend/src/api/client.ts - API client → Assistant API: sends chat requests
frontend/src/api/client.ts - Dataset API → File ingestion: ingests uploads
backend/app/api/routes_dataset.py - Dataset API → Dataset session store: stores and retrieves
backend/app/api/routes_dataset.py - Dataset API → Dataset profiling: profiles datasets
backend/app/api/routes_dataset.py - Dataset API → Audit and safeguards: reads audit trail
- Pipeline API → Dataset session store: loads and saves
backend/app/api/routes_pipeline.py - Pipeline API → Pipeline orchestrator: runs pipeline
backend/app/api/routes_pipeline.py - Pipeline API → Dataset combining: combines datasets
backend/app/api/routes_pipeline.py - Pipeline API → Synthetic data: generates or augments
backend/app/api/routes_pipeline.py - Pipeline API → Column and step advisor: explains steps
backend/app/api/routes_pipeline.py - Pipeline API → Dataset profiling: profiles for suggestions
backend/app/api/routes_pipeline.py - Pipeline orchestrator → Cleaning and imputation: calls
backend/app/core/pipeline/orchestrator.py - Pipeline orchestrator → Outlier handling: calls
backend/app/core/pipeline/orchestrator.py - Pipeline orchestrator → Categorical encoding: calls
backend/app/core/pipeline/orchestrator.py - Pipeline orchestrator → Feature engineering: calls
backend/app/core/pipeline/orchestrator.py - Pipeline orchestrator → Feature scaling: calls
backend/app/core/pipeline/orchestrator.py - Pipeline orchestrator → Audit and safeguards: records steps
backend/app/core/pipeline/orchestrator.py - Cleaning and imputation → Dataset profiling: inspects columns
backend/app/core/pipeline/cleaning.py - Feature engineering → Dataset profiling: classifies columns
backend/app/core/pipeline/feature_engineering.py - Dataset combining → Audit and safeguards: reports changes
backend/app/core/pipeline/combine.py - Synthetic data → Audit and safeguards: reports changes
backend/app/core/pipeline/synthetic.py - Assistant API → Dataset session store: loads dataset
backend/app/api/routes_assistant.py - Assistant API → Chat reasoning: handles questions
backend/app/api/routes_assistant.py - Chat reasoning → Algorithm recommender: gets recommendations
backend/app/core/pipeline/chat_assistant.py - Chat reasoning → Dataset profiling: examines data
backend/app/core/pipeline/chat_assistant.py - Algorithm recommender → Dataset profiling: uses profiles
backend/app/core/pipeline/recommender.py - Recommendations → API client: requests advice
frontend/src/components/RecommendationPanel.tsx - Chat assistant → API client: sends questions
frontend/src/components/ChatAssistant.tsx - Chat assistant → Browser speech services: uses speech
frontend/src/components/ChatAssistant.tsx