# 17prabhanshu/ctrl-shift-n-winpeat architecture

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

- Interactive diagram: https://gitdiagram.com/17prabhanshu/ctrl-shift-n-winpeat
- Repository: https://github.com/17prabhanshu/ctrl-shift-n-winpeat

## Overview

WIE is a workforce-intelligence platform that analyzes four unlinked labor-market and talent datasets in isolated lanes, then compares statistical findings rather than joining raw records. Its documented workflow loads, validates, versions, quality-checks, and cleans data; specialized market, skill, and talent analyses produce evidence for a governed registry and interactive Streamlit dashboard. The graph combines README-documented lane relationships with source-index and excerpt evidence for implementation links; some analytical internals and dashboard wiring were not sampled.

Main entry points: [`src/models/benchmark_engine.py`](https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/models/benchmark_engine.py) (Talent benchmarking), [`src/agents/evidence_registry.py`](https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/agents/evidence_registry.py) (Evidence registry), [`src/ingestion/loader.py`](https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/ingestion/loader.py) (Dataset loader), [`src/cleaning/cleaner.py`](https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/cleaning/cleaner.py) (Data cleaning)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_data["Data preparation"]
  node_loader["Dataset loader<br/>[loader.py]"]
  node_schema["Schema validation<br/>[schema.py]"]
  node_version["Dataset versioning<br/>[data_version.py]"]
  node_quality["Quality checks<br/>[quality.py]"]
  node_cleaner["Data cleaning<br/>[cleaner.py]"]
  node_salary_parser["Salary parsing<br/>[salary_parser.py]"]
  node_experience_parser["Experience parsing"]
  node_features["Feature engineering<br/>[features.py]"]
end

subgraph group_analysis["Analytical lanes"]
  node_market["Market analysis<br/>[market_analysis.py]"]
  node_skill_nlp["Skill NLP benchmark<br/>[nlp_benchmark.py]"]
  node_skill_engine["Skill intelligence<br/>[skill_engine.py]"]
  node_skill_graph["Skill graph<br/>[skill_graph.py]"]
  node_signal_index["Skill signal index"]
  node_benchmark["Talent benchmarking"]
  node_calibrator["Probability calibration<br/>[calibrator.py]"]
  node_explainer["Model explanations<br/>[explainer.py]"]
  node_robustness["Robustness analysis<br/>[robustness.py]"]
  node_council["Model ensemble<br/>[model_council.py]"]
end

subgraph group_governance["Evidence governance"]
  node_registry[("Evidence registry")]
  node_agents["Analytical agents"]
  node_knowledge_graph["Knowledge graph<br/>[knowledge_graph.py]"]
end

subgraph group_delivery["Results interface"]
  node_app["Interactive dashboard<br/>[app.py]"]
end

node_analytics_jobs[("Analytics jobs")]
node_ds_jobs[("Data science jobs")]
node_jds_traits[("JDS traits")]
node_sds_traits[("SDS traits")]

node_analytics_jobs -->|"analyzed by"| node_market
node_ds_jobs -->|"analyzed by"| node_skill_nlp
node_jds_traits -->|"benchmarked by"| node_benchmark
node_sds_traits -->|"benchmarked by"| node_benchmark
node_loader -->|"validates"| node_schema
node_loader -->|"versions"| node_version
node_loader -->|"checks"| node_quality
node_loader -->|"cleans"| node_cleaner
node_cleaner -->|"parses salaries"| node_salary_parser
node_cleaner -->|"parses experience"| node_experience_parser
node_cleaner -->|"engineers features"| node_features
node_skill_engine -.->|"builds"| node_skill_graph
node_skill_engine -.->|"indexes signals"| node_signal_index
node_benchmark -.->|"calibrates"| node_calibrator
node_benchmark -.->|"explains"| node_explainer
node_benchmark -->|"tests robustness"| node_robustness
node_council -->|"loads benchmark data"| node_benchmark
node_market -->|"registers findings"| node_registry
node_skill_nlp -->|"registers findings"| node_registry
node_benchmark -->|"registers findings"| node_registry
node_agents -->|"audits claims"| node_registry
node_agents -->|"synthesizes claims"| node_registry
node_registry -->|"supplies evidence"| node_app

click node_loader "https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/ingestion/loader.py"
click node_schema "https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/validation/schema.py"
click node_version "https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/validation/data_version.py"
click node_quality "https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/validation/quality.py"
click node_cleaner "https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/cleaning/cleaner.py"
click node_salary_parser "https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/cleaning/salary_parser.py"
click node_experience_parser "https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/cleaning/experience_parser.py"
click node_features "https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/feature_engineering/features.py"
click node_market "https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/market_intelligence/market_analysis.py"
click node_skill_nlp "https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/nlp/nlp_benchmark.py"
click node_skill_engine "https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/skill_intelligence/skill_engine.py"
click node_skill_graph "https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/skill_intelligence/skill_graph.py"
click node_signal_index "https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/skill_intelligence/skill_signal_index.py"
click node_benchmark "https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/models/benchmark_engine.py"
click node_calibrator "https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/calibration/calibrator.py"
click node_explainer "https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/explainability/explainer.py"
click node_robustness "https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/benchmarking/robustness.py"
click node_council "https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/ensembles/model_council.py"
click node_registry "https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/agents/evidence_registry.py"
click node_agents "https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/agents/agent_architecture.py"
click node_knowledge_graph "https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/agents/knowledge_graph.py"
click node_app "https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/app/app.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_loader,node_schema,node_version,node_quality,node_cleaner,node_salary_parser,node_experience_parser,node_features toneBlue
class node_market,node_skill_nlp,node_skill_engine,node_skill_graph,node_signal_index,node_benchmark,node_calibrator,node_explainer,node_robustness,node_council,node_analytics_jobs,node_ds_jobs,node_jds_traits,node_sds_traits toneAmber
class node_registry,node_agents,node_knowledge_graph toneMint
class node_app toneRose
```

## Components

### Data preparation

- [Dataset loader](https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/ingestion/loader.py): `src/ingestion/loader.py`
- [Schema validation](https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/validation/schema.py): `src/validation/schema.py`
- [Dataset versioning](https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/validation/data_version.py): `src/validation/data_version.py`
- [Quality checks](https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/validation/quality.py): `src/validation/quality.py`
- [Data cleaning](https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/cleaning/cleaner.py): `src/cleaning/cleaner.py`
- [Salary parsing](https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/cleaning/salary_parser.py): `src/cleaning/salary_parser.py`
- [Experience parsing](https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/cleaning/experience_parser.py): `src/cleaning/experience_parser.py`
- [Feature engineering](https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/feature_engineering/features.py): `src/feature_engineering/features.py`

### Analytical lanes

- [Market analysis](https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/market_intelligence/market_analysis.py): `src/market_intelligence/market_analysis.py`
- [Skill NLP benchmark](https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/nlp/nlp_benchmark.py): `src/nlp/nlp_benchmark.py`
- [Skill intelligence](https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/skill_intelligence/skill_engine.py): `src/skill_intelligence/skill_engine.py`
- [Skill graph](https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/skill_intelligence/skill_graph.py): `src/skill_intelligence/skill_graph.py`
- [Skill signal index](https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/skill_intelligence/skill_signal_index.py): `src/skill_intelligence/skill_signal_index.py`
- [Talent benchmarking](https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/models/benchmark_engine.py): `src/models/benchmark_engine.py`
- [Probability calibration](https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/calibration/calibrator.py): `src/calibration/calibrator.py`
- [Model explanations](https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/explainability/explainer.py): `src/explainability/explainer.py`
- [Robustness analysis](https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/benchmarking/robustness.py): `src/benchmarking/robustness.py`
- [Model ensemble](https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/ensembles/model_council.py): `src/ensembles/model_council.py`

### Evidence governance

- [Evidence registry](https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/agents/evidence_registry.py): `src/agents/evidence_registry.py`
- [Analytical agents](https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/agents/agent_architecture.py): `src/agents/agent_architecture.py`
- [Knowledge graph](https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/src/agents/knowledge_graph.py): `src/agents/knowledge_graph.py`

### Results interface

- [Interactive dashboard](https://github.com/17prabhanshu/ctrl-shift-n-winpeat/blob/main/app/app.py): `app/app.py`

### Other components

- **Analytics jobs**
- **Data science jobs**
- **JDS traits**
- **SDS traits**

## Connections

- Analytics jobs → Market analysis: analyzed by
- Data science jobs → Skill NLP benchmark: analyzed by
- JDS traits → Talent benchmarking: benchmarked by
- SDS traits → Talent benchmarking: benchmarked by
- Dataset loader → Schema validation: validates (evidence: `generate_and_run.py`)
- Dataset loader → Dataset versioning: versions (evidence: `generate_and_run.py`)
- Dataset loader → Quality checks: checks (evidence: `generate_and_run.py`)
- Dataset loader → Data cleaning: cleans (evidence: `generate_and_run.py`)
- Data cleaning → Salary parsing: parses salaries (evidence: `src/cleaning/cleaner.py`)
- Data cleaning → Experience parsing: parses experience (evidence: `src/cleaning/cleaner.py`)
- Data cleaning → Feature engineering: engineers features (evidence: `generate_and_run.py`)
- Skill intelligence → Skill graph: builds
- Skill intelligence → Skill signal index: indexes signals
- Talent benchmarking → Probability calibration: calibrates (evidence: `src/calibration/calibrator.py`)
- Talent benchmarking → Model explanations: explains (evidence: `src/explainability/explainer.py`)
- Talent benchmarking → Robustness analysis: tests robustness (evidence: `src/benchmarking/robustness.py`)
- Model ensemble → Talent benchmarking: loads benchmark data (evidence: `src/ensembles/model_council.py`)
- Market analysis → Evidence registry: registers findings
- Skill NLP benchmark → Evidence registry: registers findings
- Talent benchmarking → Evidence registry: registers findings
- Analytical agents → Evidence registry: audits claims (evidence: `src/agents/agent_architecture.py`)
- Analytical agents → Evidence registry: synthesizes claims (evidence: `src/agents/agent_architecture.py`)
- Evidence registry → Interactive dashboard: supplies evidence
