Skip to content

feat: record variance partition and gp kernel fit in the manifest#60

Merged
mohossam01 merged 1 commit into
mainfrom
feat/variance-partition-gp-fit
May 15, 2026
Merged

feat: record variance partition and gp kernel fit in the manifest#60
mohossam01 merged 1 commit into
mainfrom
feat/variance-partition-gp-fit

Conversation

@mohossam01
Copy link
Copy Markdown
Owner

What this PR does

Records two shape-characterisation summaries on every generated manifest. A per-metric variance partition quantifies how much of each metric's spread comes from the entity's archetype, from entity-level idiosyncrasy, and from within-entity time-series noise. A per-archetype Gaussian-process fit captures each trajectory's smoothness via a recovered length scale — short for oscillating shapes, long for monotone or gradual ones. Consumers can read both straight off the manifest to compare a downstream model's predictions against the engine's ground-truth statistics, with no re-generation and no separate fitting pipeline.

Files Modified

docs/site/api-reference.md
docs/site/manifest-reference.md
docs/site/user-guide/archetypes.md
plotsim/gp.py
plotsim/manifest.py
tests/test_manifest_variance_gp.py

How to test

python -m pytest tests/test_manifest_variance_gp.py
python -m pytest
python -m mypy plotsim/manifest.py plotsim/gp.py tests/test_manifest_variance_gp.py
python -m mkdocs build --strict

@mohossam01 mohossam01 merged commit 509803e into main May 15, 2026
6 checks passed
@mohossam01 mohossam01 deleted the feat/variance-partition-gp-fit branch May 15, 2026 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant