# foysal-a-al/it2-isarc2027-reproducibility architecture

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

- Interactive diagram: https://gitdiagram.com/foysal-a-al/it2-isarc2027-reproducibility
- Repository: https://github.com/foysal-a-al/it2-isarc2027-reproducibility

## Overview

IT2 is research software for examining cross-revision IFC asset correspondence and exported port-network topology, with a local evidence dashboard. The main workflow is to inspect IFC revisions, extract element fingerprints, match assets with review-aware abstention, compare mapped adjacency, and produce evidence reports. Separate experiment modules and saved study features support the published comparisons. Source excerpts show core algorithms and worker boundaries; some dashboard-to-analysis wiring is unsampled, so those links are marked unverified rather than assumed.

Main entry points: [`it2/checker.py`](https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/it2/checker.py) (Operational Checker), [`it2/worker.py`](https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/it2/worker.py) (Isolated Analysis), [`it2/viewer.py`](https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/it2/viewer.py) (Local Dashboard), [`it2/reporting.py`](https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/it2/reporting.py) (Evidence Reports)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_intake["IFC Intake"]
  node_dashboard["Local Dashboard<br/>[viewer.py]"]
  node_upload["Upload Storage<br/>[storage.py]"]
  node_worker["Isolated Analysis<br/>[worker.py]"]
  node_features["Feature Extraction<br/>[features.py]"]
  node_downloader["Example Downloader<br/>[download.py]"]
end

subgraph group_correspondence["Asset Correspondence"]
  node_checker["Operational Checker<br/>[checker.py]"]
  node_matcher["Identity Matcher<br/>[matching.py]"]
  node_assignment["Gated Assignment<br/>[operational.py]"]
  node_reviewmatch["Review Matching<br/>[review_matching.py]"]
end

subgraph group_topology["Topology Assessment"]
  node_graph["Explicit-Port Graph<br/>[graph.py]"]
  node_topologymetrics["Topology Metrics<br/>[topology.py]"]
  node_inspection["Model Inspection<br/>[inspection.py]"]
end

subgraph group_evidence["Review and Evidence"]
  node_review["Match Review<br/>[review.py]"]
  node_reporting["Evidence Reports<br/>[reporting.py]"]
  node_presentation["Presentation Demo"]
end

subgraph group_research["Research Experiments"]
  node_experiments["Experiment Analysis<br/>[experiments.py]"]
  node_policy["Runtime Limits<br/>[runtime.py]"]
  node_savedfeatures["Saved Features"]
  node_experimenthelpers["Experiment Helpers<br/>[_common.py]"]
end

node_user(("Engineer"))
node_ifc["IFC Revisions"]

node_user -.->|"uses"| node_dashboard
node_ifc -.->|"uploads"| node_dashboard
node_dashboard -->|"submits analysis"| node_worker
node_worker -->|"enforces limits"| node_policy
node_worker -->|"extracts records"| node_features
node_worker -->|"delegates inspection"| node_inspection
node_worker -->|"requests reports"| node_reporting
node_checker -->|"uses storage"| node_upload
node_checker -->|"uses baselines"| node_matcher
node_checker -->|"assigns candidates"| node_assignment
node_checker -->|"uses review matching"| node_reviewmatch
node_assignment -->|"reads limits"| node_policy
node_assignment -->|"checks geometry"| node_reviewmatch
node_topologymetrics -->|"builds graph"| node_graph
node_inspection -->|"uses graph policy"| node_graph
node_reporting -->|"computes topology"| node_topologymetrics
node_reporting -->|"includes findings"| node_checker
node_dashboard -.->|"stores uploads"| node_upload
node_experiments -->|"uses fingerprints"| node_features
node_experiments -->|"evaluates matching"| node_matcher
node_experiments -->|"produces evidence"| node_reporting
node_presentation -->|"offers examples"| node_downloader
node_presentation -->|"demonstrates checks"| node_checker
node_experimenthelpers -->|"sets feature location"| node_savedfeatures

click node_dashboard "https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/it2/viewer.py"
click node_upload "https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/it2/storage.py"
click node_worker "https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/it2/worker.py"
click node_features "https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/it2/features.py"
click node_checker "https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/it2/checker.py"
click node_matcher "https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/it2/matching.py"
click node_assignment "https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/it2/operational.py"
click node_reviewmatch "https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/it2/review_matching.py"
click node_graph "https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/it2/graph.py"
click node_topologymetrics "https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/it2/topology.py"
click node_inspection "https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/it2/inspection.py"
click node_review "https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/it2/review.py"
click node_reporting "https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/it2/reporting.py"
click node_presentation "https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/scripts/presentation_demo.py"
click node_experiments "https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/it2/experiments.py"
click node_policy "https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/it2/runtime.py"
click node_savedfeatures "https://github.com/foysal-a-al/it2-isarc2027-reproducibility/tree/main/data/features"
click node_experimenthelpers "https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/scripts/_common.py"
click node_downloader "https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/data/download.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_dashboard,node_upload,node_worker,node_features,node_downloader toneBlue
class node_checker,node_matcher,node_assignment,node_reviewmatch toneAmber
class node_graph,node_topologymetrics,node_inspection toneMint
class node_review,node_reporting,node_presentation toneRose
class node_experiments,node_policy,node_savedfeatures,node_experimenthelpers,node_user,node_ifc toneIndigo
```

## Components

### IFC Intake

- [Local Dashboard](https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/it2/viewer.py): `it2/viewer.py`
- [Upload Storage](https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/it2/storage.py): `it2/storage.py`
- [Isolated Analysis](https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/it2/worker.py): `it2/worker.py`
- [Feature Extraction](https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/it2/features.py): `it2/features.py`
- [Example Downloader](https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/data/download.py): `data/download.py`

### Asset Correspondence

- [Operational Checker](https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/it2/checker.py): `it2/checker.py`
- [Identity Matcher](https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/it2/matching.py): `it2/matching.py`
- [Gated Assignment](https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/it2/operational.py): `it2/operational.py`
- [Review Matching](https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/it2/review_matching.py): `it2/review_matching.py`

### Topology Assessment

- [Explicit-Port Graph](https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/it2/graph.py): `it2/graph.py`
- [Topology Metrics](https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/it2/topology.py): `it2/topology.py`
- [Model Inspection](https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/it2/inspection.py): `it2/inspection.py`

### Review and Evidence

- [Match Review](https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/it2/review.py): `it2/review.py`
- [Evidence Reports](https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/it2/reporting.py): `it2/reporting.py`
- [Presentation Demo](https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/scripts/presentation_demo.py): `scripts/presentation_demo.py`

### Research Experiments

- [Experiment Analysis](https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/it2/experiments.py): `it2/experiments.py`
- [Runtime Limits](https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/it2/runtime.py): `it2/runtime.py`
- [Saved Features](https://github.com/foysal-a-al/it2-isarc2027-reproducibility/tree/main/data/features): `data/features`
- [Experiment Helpers](https://github.com/foysal-a-al/it2-isarc2027-reproducibility/blob/main/scripts/_common.py): `scripts/_common.py`

### Other components

- **Engineer**
- **IFC Revisions**

## Connections

- Engineer → Local Dashboard: uses
- IFC Revisions → Local Dashboard: uploads
- Local Dashboard → Isolated Analysis: submits analysis (evidence: `it2/viewer.py`)
- Isolated Analysis → Runtime Limits: enforces limits (evidence: `it2/worker.py`)
- Isolated Analysis → Feature Extraction: extracts records (evidence: `it2/worker.py`)
- Isolated Analysis → Model Inspection: delegates inspection (evidence: `it2/worker.py`)
- Isolated Analysis → Evidence Reports: requests reports (evidence: `it2/worker.py`)
- Operational Checker → Upload Storage: uses storage (evidence: `it2/checker.py`)
- Operational Checker → Identity Matcher: uses baselines (evidence: `it2/checker.py`)
- Operational Checker → Gated Assignment: assigns candidates (evidence: `it2/checker.py`)
- Operational Checker → Review Matching: uses review matching (evidence: `it2/checker.py`)
- Gated Assignment → Runtime Limits: reads limits (evidence: `it2/operational.py`)
- Gated Assignment → Review Matching: checks geometry (evidence: `it2/operational.py`)
- Topology Metrics → Explicit-Port Graph: builds graph (evidence: `it2/topology.py`)
- Model Inspection → Explicit-Port Graph: uses graph policy (evidence: `it2/inspection.py`)
- Evidence Reports → Topology Metrics: computes topology (evidence: `it2/reporting.py`)
- Evidence Reports → Operational Checker: includes findings (evidence: `it2/reporting.py`)
- Local Dashboard → Upload Storage: stores uploads
- Experiment Analysis → Feature Extraction: uses fingerprints (evidence: `it2/experiments.py`)
- Experiment Analysis → Identity Matcher: evaluates matching (evidence: `it2/experiments.py`)
- Experiment Analysis → Evidence Reports: produces evidence (evidence: `it2/experiments.py`)
- Presentation Demo → Example Downloader: offers examples (evidence: `scripts/presentation_demo.py`)
- Presentation Demo → Operational Checker: demonstrates checks (evidence: `scripts/presentation_demo.py`)
- Experiment Helpers → Saved Features: sets feature location (evidence: `scripts/_common.py`)
