geoprior.cli.build_sm3_collect_summaries#

Build a combined SM3 summary table from a suite directory.

This command scans an SM3 suite root, collects per-regime summary CSV files, and writes combined CSV and JSON outputs.

Examples

Use the versatile root entry point:

geoprior build sm3-collect-summaries         --suite-root results/sm3_tau_suite_20260303-120000

Use the family-specific entry point:

geoprior-build sm3-summaries         --results-dir results         --outdir results/sm3_tau_suite_20260303-120000

Functions

build_sm3_collect_main([argv])

CLI entry point for SM3 summary collection.

build_sm3_collect_parser()

Build parser for SM3 summary collection.

collect_rows(suite_root, *, summary_name, ...)

Collect per-regime summary tables from a suite root.

discover_suite_root(results_dir, *[, ...])

Return the newest suite-like directory under results root.

infer_regime(folder_name, *[, pattern])

Infer regime label from a run directory name.

main([argv])

Alias for the command entry point.

resolve_outputs(args, suite_root)

Resolve output CSV and JSON paths.

resolve_suite_root(args, cfg)

Resolve suite root from explicit args, config, or results root.

run_sm3_collect_summaries(args)

Execute the SM3 collection workflow.

geoprior.cli.build_sm3_collect_summaries.infer_regime(folder_name, *, pattern='sm3_(?:tau|both)_(.+?)_50$')[source]#

Infer regime label from a run directory name.

Parameters:
  • folder_name (str)

  • pattern (str)

Return type:

str

geoprior.cli.build_sm3_collect_summaries.discover_suite_root(results_dir, *, summary_name='sm3_synth_summary.csv')[source]#

Return the newest suite-like directory under results root.

Parameters:
Return type:

Path | None

geoprior.cli.build_sm3_collect_summaries.resolve_suite_root(args, cfg)[source]#

Resolve suite root from explicit args, config, or results root.

Parameters:
Return type:

Path

geoprior.cli.build_sm3_collect_summaries.collect_rows(suite_root, *, summary_name, pattern, strict)[source]#

Collect per-regime summary tables from a suite root.

Parameters:
Return type:

list[DataFrame]

geoprior.cli.build_sm3_collect_summaries.resolve_outputs(args, suite_root)[source]#

Resolve output CSV and JSON paths.

Parameters:
Return type:

tuple[Path, Path]

geoprior.cli.build_sm3_collect_summaries.build_sm3_collect_parser()[source]#

Build parser for SM3 summary collection.

Return type:

ArgumentParser

geoprior.cli.build_sm3_collect_summaries.run_sm3_collect_summaries(args)[source]#

Execute the SM3 collection workflow.

Parameters:

args (Namespace)

Return type:

None

geoprior.cli.build_sm3_collect_summaries.build_sm3_collect_main(argv=None)[source]#

CLI entry point for SM3 summary collection.

Parameters:

argv (list[str] | None)

Return type:

None

geoprior.cli.build_sm3_collect_summaries.main(argv=None)[source]#

Alias for the command entry point.

Parameters:

argv (list[str] | None)

Return type:

None