# metakrist/automated-gamelog-data-pipeline architecture

> Architecture diagram of the GitHub repository metakrist/automated-gamelog-data-pipeline, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-30). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/metakrist/automated-gamelog-data-pipeline
- Repository: https://github.com/metakrist/automated-gamelog-data-pipeline

## Overview

This repository documents an educational game-log ETL and reporting workflow: synthetic CSV input by default, optional authorized MySQL extraction, validation and aggregation, then Excel output. The README is the only available evidence, so the graph captures documented stages and optional input mode; it does not infer notebook-internal calls or relationships for the other notebook.

Main entry points: [`game_log_etl_pipeline.ipynb`](https://github.com/metakrist/automated-gamelog-data-pipeline/blob/main/game_log_etl_pipeline.ipynb) (Extract records)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_input["Data input"]
  node_csv["Synthetic CSV"]
  node_mysql[("Authorized MySQL")]
  node_extract["Extract records"]
end

subgraph group_processing["ETL processing"]
  node_validate["Validate records"]
  node_aggregate["Provider aggregates"]
end

subgraph group_reporting["Report output"]
  node_excel["Excel report"]
end

node_operator(("Notebook operator"))

node_operator -->|"runs notebook"| node_extract
node_csv -->|"loads by default"| node_extract
node_mysql -.->|"queries optionally"| node_extract
node_extract -->|"passes records"| node_validate
node_validate -->|"passes valid records"| node_aggregate
node_aggregate -->|"exports report"| node_excel

click node_extract "https://github.com/metakrist/automated-gamelog-data-pipeline/blob/main/game_log_etl_pipeline.ipynb"
click node_validate "https://github.com/metakrist/automated-gamelog-data-pipeline/blob/main/game_log_etl_pipeline.ipynb"
click node_aggregate "https://github.com/metakrist/automated-gamelog-data-pipeline/blob/main/game_log_etl_pipeline.ipynb"
click node_excel "https://github.com/metakrist/automated-gamelog-data-pipeline/blob/main/game_log_etl_pipeline.ipynb"

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_csv,node_mysql,node_extract toneBlue
class node_validate,node_aggregate toneAmber
class node_excel toneMint
class node_operator toneIndigo
```

## Components

### Data input

- **Synthetic CSV**
- **Authorized MySQL**
- [Extract records](https://github.com/metakrist/automated-gamelog-data-pipeline/blob/main/game_log_etl_pipeline.ipynb): `game_log_etl_pipeline.ipynb`

### ETL processing

- [Validate records](https://github.com/metakrist/automated-gamelog-data-pipeline/blob/main/game_log_etl_pipeline.ipynb): `game_log_etl_pipeline.ipynb`
- [Provider aggregates](https://github.com/metakrist/automated-gamelog-data-pipeline/blob/main/game_log_etl_pipeline.ipynb): `game_log_etl_pipeline.ipynb`

### Report output

- [Excel report](https://github.com/metakrist/automated-gamelog-data-pipeline/blob/main/game_log_etl_pipeline.ipynb): `game_log_etl_pipeline.ipynb`

### Other components

- **Notebook operator**

## Connections

- Notebook operator → Extract records: runs notebook (evidence: `README.md`)
- Synthetic CSV → Extract records: loads by default (evidence: `README.md`)
- Authorized MySQL → Extract records: queries optionally (evidence: `README.md`)
- Extract records → Validate records: passes records (evidence: `README.md`)
- Validate records → Provider aggregates: passes valid records (evidence: `README.md`)
- Provider aggregates → Excel report: exports report (evidence: `README.md`)
