neuropose/tests/unit
Levi Neuwirth bcce5315be add neuropose reset subcommand for pipeline-wide state wipe
Three-layer module: find_neuropose_processes() scans the process
table via psutil for running watch/serve instances; terminate_processes()
SIGINTs with a configurable grace period before optional SIGKILL
escalation; wipe_state() clears $data_dir/in/, out/, failed/,
the .neuropose.lock file, and leftover .ingest_<uuid>/ staging dirs
while preserving the container directories themselves. reset_pipeline()
composes the three and refuses to wipe while any process survives
termination.

CLI wraps it with --yes/-y, --keep-failed, --force-kill,
--grace-seconds, and --dry-run/-n. Always prints a preview before
prompting; returns EXIT_USAGE=2 when survivors block the wipe.

Unblocks the Mac benchmark iteration loop where partially-complete
runs need to be cleared between experiments.
2026-04-18 17:15:24 -04:00
..
test_analyzer_dtw.py linting and formatting 2026-04-14 13:50:11 -04:00
test_analyzer_features.py add Procrustes alignment to analyzer 2026-04-18 17:11:53 -04:00
test_analyzer_segment.py benchmarking and profiling scaffold 2026-04-14 20:32:29 -04:00
test_benchmark.py pin tf to ensure compatability with tensorflow-metal 2026-04-16 15:26:55 -04:00
test_cli.py add Provenance subobject and LoadedModel 2026-04-18 17:10:52 -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 neuropose.migrations for schema versioning 2026-04-18 17:02:50 -04:00
test_monitor.py tooling 2026-04-15 11:41:27 -04:00
test_reset.py add neuropose reset subcommand for pipeline-wide state wipe 2026-04-18 17:15:24 -04:00
test_visualize.py linting and formatting 2026-04-14 13:50:11 -04:00