Repository Map (thundergraph-model)¶
This is the Phase 2 map for readers who need orientation before Sphinx pages exist.
Core package¶
tg_model/__init__.py: primary exportsmodel/: authoring-time API and compile pipelinedefinition_context.py: declarations and edgeselements.py:Element,System,Part,Requirementrefs.py: symbolic referencescompile_types.py: compile engine and validationexpr.py: expression helpersdeclarations/: behavior and rollup declaration helpers
execution/: configured topology and run pipelineconfigured_model.py: instantiate frozen topologygraph_compiler.py: build dependency graph + handlersvalidation.py: static checks before evaluationevaluator.py: sync/async evaluationrun_context.py: per-run mutable statebehavior.py: state/decision/fork-join/item flow dispatch + tracerequirements.py: requirement satisfaction summary helpersinstances.py,value_slots.py,dependency_graph.py: runtime data structuresexternal_ops.py,rollups.py,solve_groups.py: compute helpers
integrations/external_compute.py: external compute protocols and bindings
analysis/sweep.py: parameter sweepscompare_variants.py: multi-scenario evaluation comparisonimpact.py: value-graph reachability impact
export/: reserved export namespace (currently minimal)
Documentation¶
docs/generation_docs/: internal design/agent-oriented docsdocs/user_docs/: user-facing docs workstreamIMPLEMENTATION_PLAN.md: phased roadmapdocstring_style.md: NumPy docstring contractdrafts/: Phase 2 canonical prose (this folder)
Examples and notebooks¶
examples/: runnable domain examples (including commercial aircraft)notebooks/: interactive demos
Tests¶
tests/unit/: fast focused API/behavior teststests/integration/: broader cross-module flows and example smoke tests