# purushothamdh/worksamples_interviews architecture

> Architecture diagram of the GitHub repository purushothamdh/worksamples_interviews, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-13). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/purushothamdh/worksamples_interviews
- Repository: https://github.com/purushothamdh/worksamples_interviews

## Overview

This repository is a portfolio of data-analytics projects rather than one integrated application. Its principal documented workflow is the LifeExpectancy multi-agent analytics run: a user starts the master agent, which profiles Bronze data, performs Silver-table diagnostics, trains and selects prediction models, and persists results. The repository also includes standalone LifeExpectancy analyses, several other dataset projects, and a Power BI report. Connections among those separate projects are not inferred; the displayed agent calls and table operations are supported by the sampled source, while unsampled project relationships are left unspecified.

Main entry points: [`LifeExpectancy/LifeExpectancy_AI Practices/2_Bronze_to_Silver/05_MasterAgent/MasterAgent.py`](https://github.com/purushothamdh/worksamples_interviews/blob/main/LifeExpectancy/LifeExpectancy_AI%20Practices/2_Bronze_to_Silver/05_MasterAgent/MasterAgent.py) (Pipeline Orchestrator), [`LifeExpectancy/LifeExpectancy_AI Practices/2_Bronze_to_Silver/04_MLAgent/MLAgent.py`](https://github.com/purushothamdh/worksamples_interviews/blob/main/LifeExpectancy/LifeExpectancy_AI%20Practices/2_Bronze_to_Silver/04_MLAgent/MLAgent.py) (ML Agent), [`LifeExpectancy/LifeExpectancy_AI Practices/2_Bronze_to_Silver`](https://github.com/purushothamdh/worksamples_interviews/tree/main/LifeExpectancy/LifeExpectancy_AI%20Practices/2_Bronze_to_Silver) (Silver Tables), [`LifeExpectancy/LifeExpectancy_AI Practices/2_Bronze_to_Silver/02_EDAAgent/EDAAgent.py`](https://github.com/purushothamdh/worksamples_interviews/blob/main/LifeExpectancy/LifeExpectancy_AI%20Practices/2_Bronze_to_Silver/02_EDAAgent/EDAAgent.py) (EDA Agent)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_life["Life Expectancy"]
  node_bronze[("Bronze Life Data")]
  node_silver[("Silver Tables")]
  node_gold[("Prediction Tables<br/>[MasterAgent.py]")]
  node_standaloneeda["Standalone EDA"]
  node_standalonedg["Standalone Diagnostics"]
  node_standaloneml["Standalone Modeling"]
end

subgraph group_agents["Agent Pipeline"]
  node_master["Pipeline Orchestrator<br/>[MasterAgent.py]"]
  node_eda["EDA Agent<br/>[EDAAgent.py]"]
  node_diag["Diagnostic Agent<br/>[DiagnosticAgent.py]"]
  node_ml["ML Agent<br/>[MLAgent.py]"]
  node_utils["Shared Utilities<br/>[CommonUtils.py]"]
end

subgraph group_portfolio["Other Analytics Projects"]
  node_boston["Boston Analytics"]
  node_iris["Iris Analytics"]
  node_superstore["Superstore Analytics"]
  node_contoso["Contoso Analytics"]
  node_housing["Housing Analytics"]
  node_titanic["Titanic Analytics"]
  node_co2["CO2 Project"]
end

subgraph group_report["Reporting"]
  node_dashboard["Power BI Dashboard<br/>[definition]"]
  node_dashboarddata[("Dashboard Data Files")]
end

node_analyst(("Analyst"))

node_analyst -->|"starts run"| node_master
node_master -->|"launches"| node_eda
node_master -->|"launches"| node_diag
node_master -->|"launches"| node_ml
node_eda -->|"reads table"| node_bronze
node_diag -->|"reads table"| node_silver
node_ml -->|"reads table"| node_silver
node_ml -->|"saves predictions"| node_gold
node_master -->|"persists analysis"| node_silver
node_master -->|"persists results"| node_gold

click node_master "https://github.com/purushothamdh/worksamples_interviews/blob/main/LifeExpectancy/LifeExpectancy_AI%20Practices/2_Bronze_to_Silver/05_MasterAgent/MasterAgent.py"
click node_eda "https://github.com/purushothamdh/worksamples_interviews/blob/main/LifeExpectancy/LifeExpectancy_AI%20Practices/2_Bronze_to_Silver/02_EDAAgent/EDAAgent.py"
click node_diag "https://github.com/purushothamdh/worksamples_interviews/blob/main/LifeExpectancy/LifeExpectancy_AI%20Practices/2_Bronze_to_Silver/03_DiagnosticAgent/DiagnosticAgent.py"
click node_ml "https://github.com/purushothamdh/worksamples_interviews/blob/main/LifeExpectancy/LifeExpectancy_AI%20Practices/2_Bronze_to_Silver/04_MLAgent/MLAgent.py"
click node_utils "https://github.com/purushothamdh/worksamples_interviews/blob/main/LifeExpectancy/LifeExpectancy_AI%20Practices/2_Bronze_to_Silver/01_CommonUtils/CommonUtils.py"
click node_bronze "https://github.com/purushothamdh/worksamples_interviews/blob/main/LifeExpectancy/1_Datamodeling/life_expectancy.csv"
click node_silver "https://github.com/purushothamdh/worksamples_interviews/tree/main/LifeExpectancy/LifeExpectancy_AI%20Practices/2_Bronze_to_Silver"
click node_gold "https://github.com/purushothamdh/worksamples_interviews/blob/main/LifeExpectancy/LifeExpectancy_AI%20Practices/2_Bronze_to_Silver/05_MasterAgent/MasterAgent.py"
click node_standaloneeda "https://github.com/purushothamdh/worksamples_interviews/blob/main/LifeExpectancy/2_Bronze%20to%20silver/EDA%26life_expectancy.py"
click node_standalonedg "https://github.com/purushothamdh/worksamples_interviews/blob/main/LifeExpectancy/2_Bronze%20to%20silver/DiagnosticAnalytics_life_expectancy.py"
click node_standaloneml "https://github.com/purushothamdh/worksamples_interviews/blob/main/LifeExpectancy/2_Bronze%20to%20silver/MLData_life_expectancy.py"
click node_dashboard "https://github.com/purushothamdh/worksamples_interviews/tree/main/LifeExpectancy/LifeExpectancy_HTML_Dashboard/LifeExpectancy.Report/definition"
click node_dashboarddata "https://github.com/purushothamdh/worksamples_interviews/tree/main/LifeExpectancy/LifeExpectancy_HTML_Dashboard/data"
click node_boston "https://github.com/purushothamdh/worksamples_interviews/tree/main/Bostan"
click node_iris "https://github.com/purushothamdh/worksamples_interviews/tree/main/Iris"
click node_superstore "https://github.com/purushothamdh/worksamples_interviews/tree/main/SampleSuperStore"
click node_contoso "https://github.com/purushothamdh/worksamples_interviews/tree/main/contoso"
click node_housing "https://github.com/purushothamdh/worksamples_interviews/tree/main/indian_housing"
click node_titanic "https://github.com/purushothamdh/worksamples_interviews/tree/main/titanic"
click node_co2 "https://github.com/purushothamdh/worksamples_interviews/tree/main/Co2"

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_bronze,node_silver,node_gold,node_standaloneeda,node_standalonedg,node_standaloneml toneBlue
class node_master,node_eda,node_diag,node_ml,node_utils toneAmber
class node_boston,node_iris,node_superstore,node_contoso,node_housing,node_titanic,node_co2 toneMint
class node_dashboard,node_dashboarddata toneRose
class node_analyst toneIndigo
```

## Components

### Life Expectancy

- [Bronze Life Data](https://github.com/purushothamdh/worksamples_interviews/blob/main/LifeExpectancy/1_Datamodeling/life_expectancy.csv): `LifeExpectancy/1_Datamodeling/life_expectancy.csv`
- [Silver Tables](https://github.com/purushothamdh/worksamples_interviews/tree/main/LifeExpectancy/LifeExpectancy_AI%20Practices/2_Bronze_to_Silver): `LifeExpectancy/LifeExpectancy_AI Practices/2_Bronze_to_Silver`
- [Prediction Tables](https://github.com/purushothamdh/worksamples_interviews/blob/main/LifeExpectancy/LifeExpectancy_AI%20Practices/2_Bronze_to_Silver/05_MasterAgent/MasterAgent.py): `LifeExpectancy/LifeExpectancy_AI Practices/2_Bronze_to_Silver/05_MasterAgent/MasterAgent.py`
- [Standalone EDA](https://github.com/purushothamdh/worksamples_interviews/blob/main/LifeExpectancy/2_Bronze%20to%20silver/EDA%26life_expectancy.py): `LifeExpectancy/2_Bronze to silver/EDA&life_expectancy.py`
- [Standalone Diagnostics](https://github.com/purushothamdh/worksamples_interviews/blob/main/LifeExpectancy/2_Bronze%20to%20silver/DiagnosticAnalytics_life_expectancy.py): `LifeExpectancy/2_Bronze to silver/DiagnosticAnalytics_life_expectancy.py`
- [Standalone Modeling](https://github.com/purushothamdh/worksamples_interviews/blob/main/LifeExpectancy/2_Bronze%20to%20silver/MLData_life_expectancy.py): `LifeExpectancy/2_Bronze to silver/MLData_life_expectancy.py`

### Agent Pipeline

- [Pipeline Orchestrator](https://github.com/purushothamdh/worksamples_interviews/blob/main/LifeExpectancy/LifeExpectancy_AI%20Practices/2_Bronze_to_Silver/05_MasterAgent/MasterAgent.py): `LifeExpectancy/LifeExpectancy_AI Practices/2_Bronze_to_Silver/05_MasterAgent/MasterAgent.py`
- [EDA Agent](https://github.com/purushothamdh/worksamples_interviews/blob/main/LifeExpectancy/LifeExpectancy_AI%20Practices/2_Bronze_to_Silver/02_EDAAgent/EDAAgent.py): `LifeExpectancy/LifeExpectancy_AI Practices/2_Bronze_to_Silver/02_EDAAgent/EDAAgent.py`
- [Diagnostic Agent](https://github.com/purushothamdh/worksamples_interviews/blob/main/LifeExpectancy/LifeExpectancy_AI%20Practices/2_Bronze_to_Silver/03_DiagnosticAgent/DiagnosticAgent.py): `LifeExpectancy/LifeExpectancy_AI Practices/2_Bronze_to_Silver/03_DiagnosticAgent/DiagnosticAgent.py`
- [ML Agent](https://github.com/purushothamdh/worksamples_interviews/blob/main/LifeExpectancy/LifeExpectancy_AI%20Practices/2_Bronze_to_Silver/04_MLAgent/MLAgent.py): `LifeExpectancy/LifeExpectancy_AI Practices/2_Bronze_to_Silver/04_MLAgent/MLAgent.py`
- [Shared Utilities](https://github.com/purushothamdh/worksamples_interviews/blob/main/LifeExpectancy/LifeExpectancy_AI%20Practices/2_Bronze_to_Silver/01_CommonUtils/CommonUtils.py): `LifeExpectancy/LifeExpectancy_AI Practices/2_Bronze_to_Silver/01_CommonUtils/CommonUtils.py`

### Other Analytics Projects

- [Boston Analytics](https://github.com/purushothamdh/worksamples_interviews/tree/main/Bostan): `Bostan`
- [Iris Analytics](https://github.com/purushothamdh/worksamples_interviews/tree/main/Iris): `Iris`
- [Superstore Analytics](https://github.com/purushothamdh/worksamples_interviews/tree/main/SampleSuperStore): `SampleSuperStore`
- [Contoso Analytics](https://github.com/purushothamdh/worksamples_interviews/tree/main/contoso): `contoso`
- [Housing Analytics](https://github.com/purushothamdh/worksamples_interviews/tree/main/indian_housing): `indian_housing`
- [Titanic Analytics](https://github.com/purushothamdh/worksamples_interviews/tree/main/titanic): `titanic`
- [CO2 Project](https://github.com/purushothamdh/worksamples_interviews/tree/main/Co2): `Co2`

### Reporting

- [Power BI Dashboard](https://github.com/purushothamdh/worksamples_interviews/tree/main/LifeExpectancy/LifeExpectancy_HTML_Dashboard/LifeExpectancy.Report/definition): `LifeExpectancy/LifeExpectancy_HTML_Dashboard/LifeExpectancy.Report/definition`
- [Dashboard Data Files](https://github.com/purushothamdh/worksamples_interviews/tree/main/LifeExpectancy/LifeExpectancy_HTML_Dashboard/data): `LifeExpectancy/LifeExpectancy_HTML_Dashboard/data`

### Other components

- **Analyst**

## Connections

- Analyst → Pipeline Orchestrator: starts run (evidence: `LifeExpectancy/LifeExpectancy_AI Practices/2_Bronze_to_Silver/05_MasterAgent/MasterAgent.py`)
- Pipeline Orchestrator → EDA Agent: launches (evidence: `LifeExpectancy/LifeExpectancy_AI Practices/2_Bronze_to_Silver/05_MasterAgent/MasterAgent.py`)
- Pipeline Orchestrator → Diagnostic Agent: launches (evidence: `LifeExpectancy/LifeExpectancy_AI Practices/2_Bronze_to_Silver/05_MasterAgent/MasterAgent.py`)
- Pipeline Orchestrator → ML Agent: launches (evidence: `LifeExpectancy/LifeExpectancy_AI Practices/2_Bronze_to_Silver/05_MasterAgent/MasterAgent.py`)
- EDA Agent → Bronze Life Data: reads table (evidence: `LifeExpectancy/LifeExpectancy_AI Practices/2_Bronze_to_Silver/02_EDAAgent/EDAAgent.py`)
- Diagnostic Agent → Silver Tables: reads table (evidence: `LifeExpectancy/LifeExpectancy_AI Practices/2_Bronze_to_Silver/03_DiagnosticAgent/DiagnosticAgent.py`)
- ML Agent → Silver Tables: reads table (evidence: `LifeExpectancy/LifeExpectancy_AI Practices/2_Bronze_to_Silver/04_MLAgent/MLAgent.py`)
- ML Agent → Prediction Tables: saves predictions (evidence: `LifeExpectancy/LifeExpectancy_AI Practices/2_Bronze_to_Silver/04_MLAgent/MLAgent.py`)
- Pipeline Orchestrator → Silver Tables: persists analysis (evidence: `LifeExpectancy/LifeExpectancy_AI Practices/2_Bronze_to_Silver/05_MasterAgent/MasterAgent.py`)
- Pipeline Orchestrator → Prediction Tables: persists results (evidence: `LifeExpectancy/LifeExpectancy_AI Practices/2_Bronze_to_Silver/05_MasterAgent/MasterAgent.py`)
