# shilpayr/data-science-full-stack-with-ai-coding-assistant architecture

> Architecture diagram of the GitHub repository shilpayr/data-science-full-stack-with-ai-coding-assistant, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/shilpayr/data-science-full-stack-with-ai-coding-assistant
- Repository: https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant
- Video tour (about a minute): https://gitdiagram.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/video

## Overview

This repository is a portfolio of 14 independently served data-science applications, not one shared runtime pipeline. The common user journey is to open a project, request its API or interactive learning experience, and receive a task result, analysis, model output, or lesson. The graph preserves each project’s distinct domain stage and the documented capstone aggregation branch. Arrows follow sampled endpoint code where available; unsampled project internals are represented from the file tree and README, with uncertain wiring omitted.

Main entry points: [`01_nyc_taxi_trip_prediction/backend/main.py`](https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/01_nyc_taxi_trip_prediction/backend/main.py) (Taxi API), [`03_customer_segmentation_clustering/backend/main.py`](https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/03_customer_segmentation_clustering/backend/main.py) (Segmentation API), [`06_anomaly_detection/backend/main.py`](https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/06_anomaly_detection/backend/main.py) (Anomaly API), [`12_timeseries_forecasting/backend/main.py`](https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/12_timeseries_forecasting/backend/main.py) (Forecast API)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workspace["Task Workspace"]
  node_todo_api["Task API<br/>[main.py]"]
  node_task_state[("Tasks and activity<br/>[main.py]")]
end

subgraph group_analytics["Applied Analytics"]
  node_taxi_api["Taxi API<br/>[main.py]"]
  node_taxi_data[("Trip data<br/>[data.py]")]
  node_taxi_model["Duration models<br/>[model.py]"]
  node_segment_api["Segmentation API<br/>[main.py]"]
  node_segment_data[("Customer data<br/>[data.py]")]
  node_segment_model["Cluster analysis<br/>[model.py]"]
  node_anomaly_api["Anomaly API<br/>[main.py]"]
  node_anomaly_data[("Transaction data<br/>[data.py]")]
  node_anomaly_model["Anomaly scoring<br/>[model.py]"]
  node_forecast_api["Forecast API<br/>[main.py]"]
  node_forecast_data[("Time-series data<br/>[data.py]")]
  node_forecast_model["Forecast models<br/>[model.py]"]
end

subgraph group_algorithms["Mining And Automation"]
  node_basket_app["Basket mining<br/>[main.py]"]
  node_basket_data[("Basket data<br/>[data.py]")]
  node_basket_model["Pattern rules<br/>[model.py]"]
  node_automl_app["AutoML tournament<br/>[main.py]"]
  node_automl_model["Model tournament<br/>[model.py]"]
  node_automl_data[("Training data<br/>[data.py]")]
  node_llm_app["Chat API<br/>[main.py]"]
  node_llm_train["Train state<br/>[train.py]"]
  node_llm_model["Nano transformer"]
end

subgraph group_learning["Learning And Workflow"]
  node_skills_app["Skills lab<br/>[main.py]"]
  node_skills_catalog["Skill catalog<br/>[skills.py]"]
  node_visual_app["Visual foundations<br/>[main.py]"]
  node_curriculum_app["CRISP-DM curriculum<br/>[main.py]"]
  node_curriculum_content["Phase content<br/>[content.py]"]
  node_dag_app["DAG workflow API<br/>[main.py]"]
  node_dag_engine["DAG scheduler<br/>[dag.py]"]
  node_audit_app["Code audit<br/>[main.py]"]
  node_audit_engine["Audit analysis<br/>[auditor.py]"]
end

subgraph group_portfolio["Portfolio Insights"]
  node_capstone_app["Insights API<br/>[main.py]"]
end

node_user(("Project user"))

node_user -->|"manages tasks"| node_todo_api
node_todo_api -->|"reads and writes"| node_task_state
node_user -->|"requests prediction"| node_taxi_api
node_taxi_api -->|"predicts trip"| node_taxi_model
node_taxi_api -->|"reads landmarks"| node_taxi_data
node_user -->|"explores clusters"| node_segment_api
node_segment_api -->|"reads customers"| node_segment_data
node_segment_api -->|"computes analysis"| node_segment_model
node_user -->|"reviews alerts"| node_anomaly_api
node_anomaly_api -->|"reads scores"| node_anomaly_model
node_anomaly_api -->|"reads transactions"| node_anomaly_data
node_user -->|"requests forecast"| node_forecast_api
node_forecast_api -->|"computes forecast"| node_forecast_model
node_forecast_api -->|"reads series"| node_forecast_data
node_user -->|"mines patterns"| node_basket_app
node_basket_app -->|"mines rules"| node_basket_model
node_user -->|"runs tournament"| node_automl_app
node_user -->|"chats"| node_llm_app
node_llm_app -->|"gets trained state"| node_llm_train
node_llm_train -->|"trains"| node_llm_model
node_user -->|"runs skill"| node_skills_app
node_skills_app -->|"dispatches skill"| node_skills_catalog
node_user -->|"learns visually"| node_visual_app
node_user -->|"studies phases"| node_curriculum_app
node_curriculum_app -->|"reads phases"| node_curriculum_content
node_user -->|"runs workflow"| node_dag_app
node_dag_app -->|"sorts dependencies"| node_dag_engine
node_user -->|"audits code"| node_audit_app
node_user -->|"views summaries"| node_capstone_app

click node_todo_api "https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/00_dynamic_todo_workspace/backend/main.py"
click node_task_state "https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/00_dynamic_todo_workspace/backend/main.py"
click node_taxi_api "https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/01_nyc_taxi_trip_prediction/backend/main.py"
click node_taxi_data "https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/01_nyc_taxi_trip_prediction/backend/data.py"
click node_taxi_model "https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/01_nyc_taxi_trip_prediction/backend/model.py"
click node_segment_api "https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/03_customer_segmentation_clustering/backend/main.py"
click node_segment_data "https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/03_customer_segmentation_clustering/backend/data.py"
click node_segment_model "https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/03_customer_segmentation_clustering/backend/model.py"
click node_anomaly_api "https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/06_anomaly_detection/backend/main.py"
click node_anomaly_data "https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/06_anomaly_detection/backend/data.py"
click node_anomaly_model "https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/06_anomaly_detection/backend/model.py"
click node_forecast_api "https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/12_timeseries_forecasting/backend/main.py"
click node_forecast_data "https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/12_timeseries_forecasting/backend/data.py"
click node_forecast_model "https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/12_timeseries_forecasting/backend/model.py"
click node_basket_app "https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/04_associative_pattern_mining/backend/main.py"
click node_basket_data "https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/04_associative_pattern_mining/backend/data.py"
click node_basket_model "https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/04_associative_pattern_mining/backend/model.py"
click node_automl_app "https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/07_automl_lite/backend/main.py"
click node_automl_model "https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/07_automl_lite/backend/model.py"
click node_automl_data "https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/07_automl_lite/backend/data.py"
click node_llm_app "https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/02_nano_llm_transformer/backend/main.py"
click node_llm_train "https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/02_nano_llm_transformer/backend/train.py"
click node_llm_model "https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/02_nano_llm_transformer/backend/nano_transformer.py"
click node_skills_app "https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/05_data_science_skills_lab/backend/main.py"
click node_skills_catalog "https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/05_data_science_skills_lab/backend/skills.py"
click node_visual_app "https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/08_datascience_visual_mastery/backend/main.py"
click node_curriculum_app "https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/10_crispdm_masters_curriculum/backend/main.py"
click node_curriculum_content "https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/10_crispdm_masters_curriculum/backend/content.py"
click node_dag_app "https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/09_flowforge_dag_engine/backend/main.py"
click node_dag_engine "https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/09_flowforge_dag_engine/backend/dag.py"
click node_audit_app "https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/11_enterprise_ds_audit/backend/main.py"
click node_audit_engine "https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/11_enterprise_ds_audit/backend/auditor.py"
click node_capstone_app "https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/13_capstone_nyc_mobility_platform/backend/main.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_todo_api,node_task_state,node_user toneBlue
class node_taxi_api,node_taxi_data,node_taxi_model,node_segment_api,node_segment_data,node_segment_model,node_anomaly_api,node_anomaly_data,node_anomaly_model,node_forecast_api,node_forecast_data,node_forecast_model toneAmber
class node_basket_app,node_basket_data,node_basket_model,node_automl_app,node_automl_model,node_automl_data,node_llm_app,node_llm_train,node_llm_model toneMint
class node_skills_app,node_skills_catalog,node_visual_app,node_curriculum_app,node_curriculum_content,node_dag_app,node_dag_engine,node_audit_app,node_audit_engine toneRose
class node_capstone_app toneIndigo
```

## Components

### Task Workspace

- [Task API](https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/00_dynamic_todo_workspace/backend/main.py): `00_dynamic_todo_workspace/backend/main.py`
- [Tasks and activity](https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/00_dynamic_todo_workspace/backend/main.py): `00_dynamic_todo_workspace/backend/main.py`

### Applied Analytics

- [Taxi API](https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/01_nyc_taxi_trip_prediction/backend/main.py): `01_nyc_taxi_trip_prediction/backend/main.py`
- [Trip data](https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/01_nyc_taxi_trip_prediction/backend/data.py): `01_nyc_taxi_trip_prediction/backend/data.py`
- [Duration models](https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/01_nyc_taxi_trip_prediction/backend/model.py): `01_nyc_taxi_trip_prediction/backend/model.py`
- [Segmentation API](https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/03_customer_segmentation_clustering/backend/main.py): `03_customer_segmentation_clustering/backend/main.py`
- [Customer data](https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/03_customer_segmentation_clustering/backend/data.py): `03_customer_segmentation_clustering/backend/data.py`
- [Cluster analysis](https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/03_customer_segmentation_clustering/backend/model.py): `03_customer_segmentation_clustering/backend/model.py`
- [Anomaly API](https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/06_anomaly_detection/backend/main.py): `06_anomaly_detection/backend/main.py`
- [Transaction data](https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/06_anomaly_detection/backend/data.py): `06_anomaly_detection/backend/data.py`
- [Anomaly scoring](https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/06_anomaly_detection/backend/model.py): `06_anomaly_detection/backend/model.py`
- [Forecast API](https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/12_timeseries_forecasting/backend/main.py): `12_timeseries_forecasting/backend/main.py`
- [Time-series data](https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/12_timeseries_forecasting/backend/data.py): `12_timeseries_forecasting/backend/data.py`
- [Forecast models](https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/12_timeseries_forecasting/backend/model.py): `12_timeseries_forecasting/backend/model.py`

### Mining And Automation

- [Basket mining](https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/04_associative_pattern_mining/backend/main.py): `04_associative_pattern_mining/backend/main.py`
- [Basket data](https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/04_associative_pattern_mining/backend/data.py): `04_associative_pattern_mining/backend/data.py`
- [Pattern rules](https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/04_associative_pattern_mining/backend/model.py): `04_associative_pattern_mining/backend/model.py`
- [AutoML tournament](https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/07_automl_lite/backend/main.py): `07_automl_lite/backend/main.py`
- [Model tournament](https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/07_automl_lite/backend/model.py): `07_automl_lite/backend/model.py`
- [Training data](https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/07_automl_lite/backend/data.py): `07_automl_lite/backend/data.py`
- [Chat API](https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/02_nano_llm_transformer/backend/main.py): `02_nano_llm_transformer/backend/main.py`
- [Train state](https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/02_nano_llm_transformer/backend/train.py): `02_nano_llm_transformer/backend/train.py`
- [Nano transformer](https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/02_nano_llm_transformer/backend/nano_transformer.py): `02_nano_llm_transformer/backend/nano_transformer.py`

### Learning And Workflow

- [Skills lab](https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/05_data_science_skills_lab/backend/main.py): `05_data_science_skills_lab/backend/main.py`
- [Skill catalog](https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/05_data_science_skills_lab/backend/skills.py): `05_data_science_skills_lab/backend/skills.py`
- [Visual foundations](https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/08_datascience_visual_mastery/backend/main.py): `08_datascience_visual_mastery/backend/main.py`
- [CRISP-DM curriculum](https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/10_crispdm_masters_curriculum/backend/main.py): `10_crispdm_masters_curriculum/backend/main.py`
- [Phase content](https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/10_crispdm_masters_curriculum/backend/content.py): `10_crispdm_masters_curriculum/backend/content.py`
- [DAG workflow API](https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/09_flowforge_dag_engine/backend/main.py): `09_flowforge_dag_engine/backend/main.py`
- [DAG scheduler](https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/09_flowforge_dag_engine/backend/dag.py): `09_flowforge_dag_engine/backend/dag.py`
- [Code audit](https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/11_enterprise_ds_audit/backend/main.py): `11_enterprise_ds_audit/backend/main.py`
- [Audit analysis](https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/11_enterprise_ds_audit/backend/auditor.py): `11_enterprise_ds_audit/backend/auditor.py`

### Portfolio Insights

- [Insights API](https://github.com/shilpayr/data-science-full-stack-with-ai-coding-assistant/blob/main/13_capstone_nyc_mobility_platform/backend/main.py): `13_capstone_nyc_mobility_platform/backend/main.py`

### Other components

- **Project user**

## Connections

- Project user → Task API: manages tasks
- Task API → Tasks and activity: reads and writes
- Project user → Taxi API: requests prediction
- Taxi API → Duration models: predicts trip
- Taxi API → Trip data: reads landmarks
- Project user → Segmentation API: explores clusters
- Segmentation API → Customer data: reads customers
- Segmentation API → Cluster analysis: computes analysis
- Project user → Anomaly API: reviews alerts
- Anomaly API → Anomaly scoring: reads scores
- Anomaly API → Transaction data: reads transactions
- Project user → Forecast API: requests forecast
- Forecast API → Forecast models: computes forecast
- Forecast API → Time-series data: reads series
- Project user → Basket mining: mines patterns
- Basket mining → Pattern rules: mines rules
- Project user → AutoML tournament: runs tournament
- Project user → Chat API: chats
- Chat API → Train state: gets trained state
- Train state → Nano transformer: trains
- Project user → Skills lab: runs skill
- Skills lab → Skill catalog: dispatches skill
- Project user → Visual foundations: learns visually
- Project user → CRISP-DM curriculum: studies phases
- CRISP-DM curriculum → Phase content: reads phases
- Project user → DAG workflow API: runs workflow
- DAG workflow API → DAG scheduler: sorts dependencies
- Project user → Code audit: audits code
- Project user → Insights API: views summaries
