# chindongwook/ga_fc architecture

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

- Interactive diagram: https://gitdiagram.com/chindongwook/ga_fc
- Repository: https://github.com/chindongwook/ga_fc

## Overview

GA_FC contains a pension-planning Streamlit simulator and a separate Streamlit center portal; the manual file is another standalone portal implementation. The simulator workflow collects customer and retirement assumptions, calculates reserves and pension estimates, then presents metrics and charts. The center portal excerpt shows login state, navigation and resource cards. The source does not establish that these scripts route to or invoke one another; portal page-routing details are also partly unsampled.

Main entry points: [`Pansion_Simulation_app.py`](https://github.com/chindongwook/ga_fc/blob/main/Pansion_Simulation_app.py) (Pension calculation), [`sn_center_app.py`](https://github.com/chindongwook/ga_fc/blob/main/sn_center_app.py) (Login and session)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_sim["Pension simulator"]
  node_inputs["Customer inputs"]
  node_calc["Pension calculation"]
  node_summary["Result metrics"]
  node_charts["Pension charts"]
  node_pdf["PDF report function"]
end

subgraph group_portal["Center portal"]
  node_portal_auth["Login and session<br/>[sn_center_app.py]"]
  node_portal_nav["Sidebar navigation<br/>[sn_center_app.py]"]
  node_portal_pages["Center pages<br/>[sn_center_app.py]"]
  node_resource_cards["Resource cards<br/>[sn_center_app.py]"]
  node_browser_storage[("Browser local storage")]
  node_external_resources["Linked resources"]
end

subgraph group_manual["Manual portal"]
  node_manual_tabs["Manual and contacts"]
end

node_advisor(("Advisor"))

node_advisor -->|"enters assumptions"| node_inputs
node_inputs -->|"supplies inputs"| node_calc
node_calc -->|"provides estimates"| node_summary
node_calc -->|"provides estimates"| node_charts
node_portal_auth -->|"writes credentials"| node_browser_storage
node_portal_nav -.->|"selects pages"| node_portal_pages
node_resource_cards -->|"links to"| node_external_resources

click node_inputs "https://github.com/chindongwook/ga_fc/blob/main/Pansion_Simulation_app.py"
click node_calc "https://github.com/chindongwook/ga_fc/blob/main/Pansion_Simulation_app.py"
click node_summary "https://github.com/chindongwook/ga_fc/blob/main/Pansion_Simulation_app.py"
click node_charts "https://github.com/chindongwook/ga_fc/blob/main/Pansion_Simulation_app.py"
click node_pdf "https://github.com/chindongwook/ga_fc/blob/main/Pansion_Simulation_app.py"
click node_portal_auth "https://github.com/chindongwook/ga_fc/blob/main/sn_center_app.py"
click node_portal_nav "https://github.com/chindongwook/ga_fc/blob/main/sn_center_app.py"
click node_portal_pages "https://github.com/chindongwook/ga_fc/blob/main/sn_center_app.py"
click node_resource_cards "https://github.com/chindongwook/ga_fc/blob/main/sn_center_app.py"
click node_manual_tabs "https://github.com/chindongwook/ga_fc/blob/main/sn_center_manual.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_inputs,node_calc,node_summary,node_charts,node_pdf toneBlue
class node_portal_auth,node_portal_nav,node_portal_pages,node_resource_cards,node_browser_storage,node_external_resources toneAmber
class node_manual_tabs toneMint
class node_advisor toneIndigo
```

## Components

### Pension simulator

- [Customer inputs](https://github.com/chindongwook/ga_fc/blob/main/Pansion_Simulation_app.py): `Pansion_Simulation_app.py`
- [Pension calculation](https://github.com/chindongwook/ga_fc/blob/main/Pansion_Simulation_app.py): `Pansion_Simulation_app.py`
- [Result metrics](https://github.com/chindongwook/ga_fc/blob/main/Pansion_Simulation_app.py): `Pansion_Simulation_app.py`
- [Pension charts](https://github.com/chindongwook/ga_fc/blob/main/Pansion_Simulation_app.py): `Pansion_Simulation_app.py`
- [PDF report function](https://github.com/chindongwook/ga_fc/blob/main/Pansion_Simulation_app.py): `Pansion_Simulation_app.py`

### Center portal

- [Login and session](https://github.com/chindongwook/ga_fc/blob/main/sn_center_app.py): `sn_center_app.py`
- [Sidebar navigation](https://github.com/chindongwook/ga_fc/blob/main/sn_center_app.py): `sn_center_app.py`
- [Center pages](https://github.com/chindongwook/ga_fc/blob/main/sn_center_app.py): `sn_center_app.py`
- [Resource cards](https://github.com/chindongwook/ga_fc/blob/main/sn_center_app.py): `sn_center_app.py`
- **Browser local storage**
- **Linked resources**

### Manual portal

- [Manual and contacts](https://github.com/chindongwook/ga_fc/blob/main/sn_center_manual.py): `sn_center_manual.py`

### Other components

- **Advisor**

## Connections

- Advisor → Customer inputs: enters assumptions (evidence: `Pansion_Simulation_app.py`)
- Customer inputs → Pension calculation: supplies inputs (evidence: `Pansion_Simulation_app.py`)
- Pension calculation → Result metrics: provides estimates (evidence: `Pansion_Simulation_app.py`)
- Pension calculation → Pension charts: provides estimates (evidence: `Pansion_Simulation_app.py`)
- Login and session → Browser local storage: writes credentials (evidence: `sn_center_app.py`)
- Sidebar navigation → Center pages: selects pages (evidence: `sn_center_app.py`)
- Resource cards → Linked resources: links to (evidence: `sn_center_app.py`)
