neuropose/tests/unit
Levi Neuwirth 01b374451f wire neuropose analyze to run_analysis
Replaces the placeholder stub that returned EXIT_PENDING with a real
analyze --config <yaml> [--output <json>] command. Loads the YAML,
validates through AnalysisConfig (so typos fail with a clear
ValidationError before any predictions load), runs the pipeline,
and writes the AnalysisReport atomically.

Surfaces YAML parse errors and schema violations as EXIT_USAGE=2
with messages pointing at the offending file. Missing predictions
files during execution also surface as EXIT_USAGE rather than a
bare traceback.

Prints a one-line summary after the run: segmentation counts, the
analysis kind, and — for DTW — the per-segment distance count and
mean. --output / -o overrides the report path declared in the
config, useful when sweeping a single config over multiple input
pairs from a shell loop.
2026-04-22 11:40:24 -04:00
..
test_analyzer_dtw.py add joint-angle representation and nan_policy to DTW 2026-04-18 18:02:13 -04:00
test_analyzer_features.py add Procrustes alignment to analyzer 2026-04-18 17:11:53 -04:00
test_analyzer_pipeline.py add run_analysis pipeline executor 2026-04-22 11:25:02 -04:00
test_analyzer_segment.py add gait-cycle segmentation to analyzer 2026-04-18 17:50:21 -04:00
test_benchmark.py pin tf to ensure compatability with tensorflow-metal 2026-04-16 15:26:55 -04:00
test_cli.py wire neuropose analyze to run_analysis 2026-04-22 11:40:24 -04:00
test_config.py linting and formatting 2026-04-14 13:50:11 -04:00
test_estimator.py add Provenance subobject and LoadedModel 2026-04-18 17:10:52 -04:00
test_ingest.py tooling 2026-04-15 11:41:27 -04:00
test_interfacer.py tooling 2026-04-15 11:41:27 -04:00
test_io.py add Provenance subobject and LoadedModel 2026-04-18 17:10:52 -04:00
test_migrations.py add AnalysisConfig and AnalysisReport schemas 2026-04-22 11:13:36 -04:00
test_monitor.py tooling 2026-04-15 11:41:27 -04:00
test_reset.py apply ruff format to recent commits 2026-04-18 17:49:44 -04:00
test_visualize.py linting and formatting 2026-04-14 13:50:11 -04:00