Skip to content

voiage.cli.calculate_coss_command

calculate_coss_command([positional or keyword] specification_file: Path = typer.Argument(..., exists=True, file_okay=True, dir_okay=False, readable=True, help='Path to a governed experimental COSS JSON specification'), [positional or keyword] output_file: Path | None = typer.Option(None, '--output', '-o', help='File to save the COSS result')) -> None

Evaluate an experimental Curve of Optimal Sample Size (COSS).

The JSON specification records the common value/cost context, every evaluated design, feasibility, tie policy, and optional uncertainty. Signed ENBS values are preserved, including when all designs are negative.

Parameters:

  • specification_file Path (default: typer.Argument(..., exists=True, file_okay=True, dir_okay=False, readable=True, help='Path to a governed experimental COSS JSON specification'))
  • output_file Path | None (default: typer.Option(None, '--output', '-o', help='File to save the COSS result'))

Returns: None