# thinklab-sjtu/awesome-ml4co architecture

> Architecture diagram of the GitHub repository thinklab-sjtu/awesome-ml4co, 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/thinklab-sjtu/awesome-ml4co
- Repository: https://github.com/thinklab-sjtu/awesome-ml4co

## Overview

This repository maintains a curated resource list for machine learning in combinatorial optimization. The main workflow is editing paper records, optionally normalizing author names, then generating the README; benchmark records also support generated comparison charts. The graph captures documented data flows and generator behavior. Source excerpts are partial, so links to unsampled generator internals are limited to relationships explicitly shown in the README or excerpts.

Main entry points: [`src/generator.py`](https://github.com/thinklab-sjtu/awesome-ml4co/blob/master/src/generator.py) (Catalog Generator), [`data/papers.csv`](https://github.com/thinklab-sjtu/awesome-ml4co/blob/master/data/papers.csv) (Paper Records), [`assets/benchmarks`](https://github.com/thinklab-sjtu/awesome-ml4co/tree/master/assets/benchmarks) (Benchmark Charts), [`src/normalize_authors.py`](https://github.com/thinklab-sjtu/awesome-ml4co/blob/master/src/normalize_authors.py) (Author Normalizer)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_curation["Resource Curation"]
  node_papers["Paper Records<br/>[papers.csv]"]
  node_author_normalizer["Author Normalizer"]
  node_resource_readme["Resource Catalog<br/>[README.md]"]
end

subgraph group_generation["README Generation"]
  node_header["README Header<br/>[header.md]"]
  node_generator["Catalog Generator<br/>[generator.py]"]
end

subgraph group_benchmarking["Benchmark Results"]
  node_benchmark_data["Benchmark Records"]
  node_benchmark_charts["Benchmark Charts"]
end

node_maintainer(("Maintainer"))

node_maintainer -->|"edits records"| node_papers
node_author_normalizer -->|"normalizes authors"| node_papers
node_generator -->|"reads records"| node_papers
node_generator -->|"uses header"| node_header
node_generator -->|"generates catalog"| node_resource_readme
node_benchmark_data -->|"supplies chart data"| node_benchmark_charts
node_generator -->|"generates charts"| node_benchmark_charts

click node_papers "https://github.com/thinklab-sjtu/awesome-ml4co/blob/master/data/papers.csv"
click node_author_normalizer "https://github.com/thinklab-sjtu/awesome-ml4co/blob/master/src/normalize_authors.py"
click node_resource_readme "https://github.com/thinklab-sjtu/awesome-ml4co/blob/master/README.md"
click node_header "https://github.com/thinklab-sjtu/awesome-ml4co/blob/master/data/header.md"
click node_generator "https://github.com/thinklab-sjtu/awesome-ml4co/blob/master/src/generator.py"
click node_benchmark_data "https://github.com/thinklab-sjtu/awesome-ml4co/blob/master/data/benchmark_results.csv"
click node_benchmark_charts "https://github.com/thinklab-sjtu/awesome-ml4co/tree/master/assets/benchmarks"

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_papers,node_author_normalizer,node_resource_readme toneBlue
class node_header,node_generator toneAmber
class node_benchmark_data,node_benchmark_charts toneMint
class node_maintainer toneIndigo
```

## Components

### Resource Curation

- [Paper Records](https://github.com/thinklab-sjtu/awesome-ml4co/blob/master/data/papers.csv): `data/papers.csv`
- [Author Normalizer](https://github.com/thinklab-sjtu/awesome-ml4co/blob/master/src/normalize_authors.py): `src/normalize_authors.py`
- [Resource Catalog](https://github.com/thinklab-sjtu/awesome-ml4co/blob/master/README.md): `README.md`

### README Generation

- [README Header](https://github.com/thinklab-sjtu/awesome-ml4co/blob/master/data/header.md): `data/header.md`
- [Catalog Generator](https://github.com/thinklab-sjtu/awesome-ml4co/blob/master/src/generator.py): `src/generator.py`

### Benchmark Results

- [Benchmark Records](https://github.com/thinklab-sjtu/awesome-ml4co/blob/master/data/benchmark_results.csv): `data/benchmark_results.csv`
- [Benchmark Charts](https://github.com/thinklab-sjtu/awesome-ml4co/tree/master/assets/benchmarks): `assets/benchmarks`

### Other components

- **Maintainer**

## Connections

- Maintainer → Paper Records: edits records (evidence: `README.md`)
- Author Normalizer → Paper Records: normalizes authors (evidence: `src/normalize_authors.py`)
- Catalog Generator → Paper Records: reads records (evidence: `src/generator.py`)
- Catalog Generator → README Header: uses header (evidence: `src/generator.py`)
- Catalog Generator → Resource Catalog: generates catalog (evidence: `src/generator.py`)
- Benchmark Records → Benchmark Charts: supplies chart data (evidence: `README.md`)
- Catalog Generator → Benchmark Charts: generates charts (evidence: `README.md`)
