# amrit220/decision-intelligence-system architecture

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

- Interactive diagram: https://gitdiagram.com/amrit220/decision-intelligence-system
- Repository: https://github.com/amrit220/decision-intelligence-system

## Overview

This is a small interactive decision-scoring CLI. A user enters context and options; the CLI scores and ranks them, then prints a recommendation and factor contributions. The sampled code supports this workflow, but the README is empty and several tree-listed analysis, scheduling, and storage files were not sampled, so their behavior and connections are not inferred.

Main entry points: [`CLI/Main.py`](https://github.com/amrit220/decision-intelligence-system/blob/master/CLI/Main.py) (CLI Main), [`CLI/prompts.py`](https://github.com/amrit220/decision-intelligence-system/blob/master/CLI/prompts.py) (Input Prompts), [`CORE/scoring.py`](https://github.com/amrit220/decision-intelligence-system/blob/master/CORE/scoring.py) (Scoring Engine), [`CORE/Models.py`](https://github.com/amrit220/decision-intelligence-system/blob/master/CORE/Models.py) (Decision Models)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_cli["Interactive CLI"]
  node_main["CLI Main<br/>[Main.py]"]
  node_prompts["Input Prompts<br/>[prompts.py]"]
end

subgraph group_core["Scoring Core"]
  node_models["Decision Models<br/>[Models.py]"]
  node_scoring["Scoring Engine<br/>[scoring.py]"]
end

node_user(("User"))

node_user -->|"enters answers"| node_prompts
node_main -->|"requests inputs"| node_prompts
node_prompts -->|"constructs inputs"| node_models
node_main -->|"scores options"| node_scoring
node_scoring -->|"returns breakdown"| node_models
node_main -->|"prints ranking"| node_user

click node_main "https://github.com/amrit220/decision-intelligence-system/blob/master/CLI/Main.py"
click node_prompts "https://github.com/amrit220/decision-intelligence-system/blob/master/CLI/prompts.py"
click node_models "https://github.com/amrit220/decision-intelligence-system/blob/master/CORE/Models.py"
click node_scoring "https://github.com/amrit220/decision-intelligence-system/blob/master/CORE/scoring.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_main,node_prompts,node_user toneBlue
class node_models,node_scoring toneAmber
```

## Components

### Interactive CLI

- [CLI Main](https://github.com/amrit220/decision-intelligence-system/blob/master/CLI/Main.py): `CLI/Main.py`
- [Input Prompts](https://github.com/amrit220/decision-intelligence-system/blob/master/CLI/prompts.py): `CLI/prompts.py`

### Scoring Core

- [Decision Models](https://github.com/amrit220/decision-intelligence-system/blob/master/CORE/Models.py): `CORE/Models.py`
- [Scoring Engine](https://github.com/amrit220/decision-intelligence-system/blob/master/CORE/scoring.py): `CORE/scoring.py`

### Other components

- **User**

## Connections

- User → Input Prompts: enters answers (evidence: `CLI/prompts.py`)
- CLI Main → Input Prompts: requests inputs (evidence: `CLI/Main.py`)
- Input Prompts → Decision Models: constructs inputs (evidence: `CLI/prompts.py`)
- CLI Main → Scoring Engine: scores options (evidence: `CLI/Main.py`)
- Scoring Engine → Decision Models: returns breakdown (evidence: `CORE/scoring.py`)
- CLI Main → User: prints ranking (evidence: `CLI/Main.py`)
