# dibyendumudi/tech-lab architecture

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

- Interactive diagram: https://gitdiagram.com/dibyendumudi/tech-lab
- Repository: https://github.com/dibyendumudi/tech-lab

## Overview

This is a browser-based Windows Diagnostics dashboard; the desktop app is distributed separately. Users start with sample data or import CABs, logs, or existing reports, then inspect evidence in investigation views and export findings. The map preserves the README’s documented analysis, knowledge, executive-metrics, and export capabilities. Source excerpts cover only package metadata, so relationships below rely on README-described workflows; module responsibilities are inferred from the available file names, not inspected implementations.

Main entry points: [`docs/app.js`](https://github.com/dibyendumudi/tech-lab/blob/main/docs/app.js) (Dashboard UI), [`docs/importer.js`](https://github.com/dibyendumudi/tech-lab/blob/main/docs/importer.js) (File importer), [`docs/raw-parsers.js`](https://github.com/dibyendumudi/tech-lab/blob/main/docs/raw-parsers.js) (Raw format parsers), [`docs/artifact-investigation.js`](https://github.com/dibyendumudi/tech-lab/blob/main/docs/artifact-investigation.js) (Artifact investigation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_ingest["Import and analysis"]
  node_demo["Demonstration data<br/>[guided-data.js]"]
  node_importer["File importer<br/>[importer.js]"]
  node_cabformat["CAB format reader<br/>[cab-format.js]"]
  node_cabextract["CAB extractor<br/>[cab-extractor.js]"]
  node_worker["Import worker<br/>[import-worker.js]"]
  node_parsers["Raw format parsers<br/>[raw-parsers.js]"]
  node_analysis["Raw analysis<br/>[raw-analysis.js]"]
end

subgraph group_investigate["Investigation"]
  node_artifact["Artifact investigation"]
  node_scenarios["Guided investigation<br/>[scenarios.js]"]
end

subgraph group_insight["Interpretation and metrics"]
  node_knowledge["Knowledge base<br/>[knowledge-base.js]"]
  node_sourced["Sourced knowledge"]
  node_executive["Executive analysis<br/>[executive.js]"]
  node_kpis["Diagnostic KPIs<br/>[diagnostic-kpis.js]"]
  node_analytics["Evidence analytics<br/>[analytics.js]"]
end

subgraph group_present["Dashboard and exports"]
  node_dashboard["Dashboard UI<br/>[app.js]"]
  node_downloads["Investigation exports<br/>[downloads.js]"]
  node_coverage["CAB coverage<br/>[cab-format.js]"]
end

node_user(("Dashboard user"))

node_user -->|"uses"| node_dashboard
node_dashboard -->|"starts with"| node_demo
node_dashboard -->|"selects files"| node_importer
node_importer -->|"opens CABs"| node_cabformat
node_importer -->|"reads members"| node_cabextract
node_importer -.->|"processes imports"| node_worker
node_importer -->|"parses supported files"| node_parsers
node_parsers -->|"provides records"| node_analysis
node_dashboard -->|"shows analysis"| node_analysis
node_dashboard -->|"opens investigation"| node_artifact
node_dashboard -->|"opens guided view"| node_scenarios
node_dashboard -->|"opens checks"| node_knowledge
node_knowledge -->|"shows sources"| node_sourced
node_dashboard -->|"shows problem analysis"| node_executive
node_executive -->|"reports metrics"| node_kpis
node_dashboard -->|"shows evidence metrics"| node_analytics
node_dashboard -->|"shows import coverage"| node_coverage
node_artifact -->|"exports evidence"| node_downloads
node_dashboard -->|"exports brief"| node_downloads

click node_dashboard "https://github.com/dibyendumudi/tech-lab/blob/main/docs/app.js"
click node_demo "https://github.com/dibyendumudi/tech-lab/blob/main/docs/guided-data.js"
click node_importer "https://github.com/dibyendumudi/tech-lab/blob/main/docs/importer.js"
click node_cabformat "https://github.com/dibyendumudi/tech-lab/blob/main/docs/cab-format.js"
click node_cabextract "https://github.com/dibyendumudi/tech-lab/blob/main/docs/cab-extractor.js"
click node_worker "https://github.com/dibyendumudi/tech-lab/blob/main/docs/import-worker.js"
click node_parsers "https://github.com/dibyendumudi/tech-lab/blob/main/docs/raw-parsers.js"
click node_analysis "https://github.com/dibyendumudi/tech-lab/blob/main/docs/raw-analysis.js"
click node_artifact "https://github.com/dibyendumudi/tech-lab/blob/main/docs/artifact-investigation.js"
click node_scenarios "https://github.com/dibyendumudi/tech-lab/blob/main/docs/scenarios.js"
click node_knowledge "https://github.com/dibyendumudi/tech-lab/blob/main/docs/knowledge-base.js"
click node_sourced "https://github.com/dibyendumudi/tech-lab/blob/main/docs/sourced-knowledge.js"
click node_executive "https://github.com/dibyendumudi/tech-lab/blob/main/docs/executive.js"
click node_kpis "https://github.com/dibyendumudi/tech-lab/blob/main/docs/diagnostic-kpis.js"
click node_analytics "https://github.com/dibyendumudi/tech-lab/blob/main/docs/analytics.js"
click node_downloads "https://github.com/dibyendumudi/tech-lab/blob/main/docs/downloads.js"
click node_coverage "https://github.com/dibyendumudi/tech-lab/blob/main/docs/cab-format.js"

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_demo,node_importer,node_cabformat,node_cabextract,node_worker,node_parsers,node_analysis,node_user toneBlue
class node_artifact,node_scenarios toneAmber
class node_knowledge,node_sourced,node_executive,node_kpis,node_analytics toneMint
class node_dashboard,node_downloads,node_coverage toneRose
```

## Components

### Import and analysis

- [Demonstration data](https://github.com/dibyendumudi/tech-lab/blob/main/docs/guided-data.js): `docs/guided-data.js`
- [File importer](https://github.com/dibyendumudi/tech-lab/blob/main/docs/importer.js): `docs/importer.js`
- [CAB format reader](https://github.com/dibyendumudi/tech-lab/blob/main/docs/cab-format.js): `docs/cab-format.js`
- [CAB extractor](https://github.com/dibyendumudi/tech-lab/blob/main/docs/cab-extractor.js): `docs/cab-extractor.js`
- [Import worker](https://github.com/dibyendumudi/tech-lab/blob/main/docs/import-worker.js): `docs/import-worker.js`
- [Raw format parsers](https://github.com/dibyendumudi/tech-lab/blob/main/docs/raw-parsers.js): `docs/raw-parsers.js`
- [Raw analysis](https://github.com/dibyendumudi/tech-lab/blob/main/docs/raw-analysis.js): `docs/raw-analysis.js`

### Investigation

- [Artifact investigation](https://github.com/dibyendumudi/tech-lab/blob/main/docs/artifact-investigation.js): `docs/artifact-investigation.js`
- [Guided investigation](https://github.com/dibyendumudi/tech-lab/blob/main/docs/scenarios.js): `docs/scenarios.js`

### Interpretation and metrics

- [Knowledge base](https://github.com/dibyendumudi/tech-lab/blob/main/docs/knowledge-base.js): `docs/knowledge-base.js`
- [Sourced knowledge](https://github.com/dibyendumudi/tech-lab/blob/main/docs/sourced-knowledge.js): `docs/sourced-knowledge.js`
- [Executive analysis](https://github.com/dibyendumudi/tech-lab/blob/main/docs/executive.js): `docs/executive.js`
- [Diagnostic KPIs](https://github.com/dibyendumudi/tech-lab/blob/main/docs/diagnostic-kpis.js): `docs/diagnostic-kpis.js`
- [Evidence analytics](https://github.com/dibyendumudi/tech-lab/blob/main/docs/analytics.js): `docs/analytics.js`

### Dashboard and exports

- [Dashboard UI](https://github.com/dibyendumudi/tech-lab/blob/main/docs/app.js): `docs/app.js`
- [Investigation exports](https://github.com/dibyendumudi/tech-lab/blob/main/docs/downloads.js): `docs/downloads.js`
- [CAB coverage](https://github.com/dibyendumudi/tech-lab/blob/main/docs/cab-format.js): `docs/cab-format.js`

### Other components

- **Dashboard user**

## Connections

- Dashboard user → Dashboard UI: uses (evidence: `README.md`)
- Dashboard UI → Demonstration data: starts with (evidence: `README.md`)
- Dashboard UI → File importer: selects files (evidence: `README.md`)
- File importer → CAB format reader: opens CABs (evidence: `README.md`)
- File importer → CAB extractor: reads members (evidence: `README.md`)
- File importer → Import worker: processes imports
- File importer → Raw format parsers: parses supported files (evidence: `README.md`)
- Raw format parsers → Raw analysis: provides records (evidence: `README.md`)
- Dashboard UI → Raw analysis: shows analysis (evidence: `README.md`)
- Dashboard UI → Artifact investigation: opens investigation (evidence: `README.md`)
- Dashboard UI → Guided investigation: opens guided view (evidence: `README.md`)
- Dashboard UI → Knowledge base: opens checks (evidence: `README.md`)
- Knowledge base → Sourced knowledge: shows sources (evidence: `README.md`)
- Dashboard UI → Executive analysis: shows problem analysis (evidence: `README.md`)
- Executive analysis → Diagnostic KPIs: reports metrics (evidence: `README.md`)
- Dashboard UI → Evidence analytics: shows evidence metrics (evidence: `README.md`)
- Dashboard UI → CAB coverage: shows import coverage (evidence: `README.md`)
- Artifact investigation → Investigation exports: exports evidence (evidence: `README.md`)
- Dashboard UI → Investigation exports: exports brief (evidence: `README.md`)
