Skip to content

pyflightstream.qa.cli (stable)

Generated from the docstrings at build time: every one of the 1 names in the __all__ of pyflightstream.qa.cli has an entry below. The names a guide or an example uses come first; the others follow under Advanced.

The pyfs-qa command line, first console entry point of the package.

Pipeline role: drives the qa evidence workflow from a terminal on the licensed machine. pyfs-qa probe runs the Tier 2 command-validity probes for one FlightStream version and writes the compat report; pyfs-qa apply-compat promotes database statuses from a committed report. pyfs-qa physics runs the physics matrix of a campaign workspace through the run layer, reduces the records with the qa functions and writes the physics report (PFS-2031.17); pyfs-qa update-reference is the only write path into the stored physics references and demands a reason string (SAD Section 11); pyfs-qa drift runs the same matrix on two builds, each under its own registry, and diffs the two reductions (FR-27); pyfs-qa cases prints the case registry, one line per case id, without running anything; pyfs-qa cost reads a campaign's runs.json and prints what each sweep point cost in wall-clock seconds, one column per solver build, so a build that got slower can be shown (FR-19 records the field, this reads it).

Three of the seven subcommands need a licensed machine (probe, physics, drift) and four do not: apply-compat, update-reference, cases and cost read committed or recorded evidence and start no solver. physics --resume on a workspace whose matrix already ran is the fourth reader: it executes nothing and reports what the manifest holds.

Used in the guides

pyflightstream.qa.cli.main

main(argv: list[str] | None = None) -> int

Run pyfs-qa; returns the process exit code.

Parameters:

Name Type Description Default
argv list of str

The command-line arguments, sys.argv[1:] by default.

None

Returns:

Type Description
int

The process exit code of the subcommand that ran.