pyflightstream.workspace.setup_standards (stable)¶
Generated from the docstrings at build time: every one of the 6 names in the __all__ of pyflightstream.workspace.setup_standards has an entry below. The names a guide or an example uses come first; the others follow under Advanced.
Build-aware setup examples and guidance from the same definitions.
Generation performs no solver execution. Database status is reproduced as evidence, never promoted into a statement of aerodynamic accuracy or operational validation.
Advanced¶
pyflightstream.workspace.setup_standards.SetupStandard
dataclass
¶
SetupStandard(
code: str,
purpose: str,
settings: dict[str, Any],
baseline_code: str | None = None,
workflow: str = "steady",
)
A stable setup identifier, purpose and explicitly selected settings.
pyflightstream.workspace.setup_standards.render_guidelines
¶
render_guidelines(fs_version: str) -> str
Render scenario recommendations, interpretation and complete command inventory.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
fs_version
|
str
|
The FlightStream version the settings are rendered for. |
required |
Returns:
| Type | Description |
|---|---|
str
|
The guidelines page, Markdown. |
pyflightstream.workspace.setup_standards.render_standard
¶
render_standard(
standard: SetupStandard, fs_version: str
) -> str
Render all typed keys, commenting out unavailable or unselected controls.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
standard
|
SetupStandard
|
The study choice to render. |
required |
fs_version
|
str
|
The FlightStream version the settings are rendered for. |
required |
Returns:
| Type | Description |
|---|---|
str
|
The setup file's TOML text. |
pyflightstream.workspace.setup_standards.setup_entry_evidence
¶
setup_entry_evidence(
key: str, version: str
) -> tuple[bool, str]
Return build availability and cited evidence for one setup field.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
key
|
str
|
A solver setting's key. |
required |
version
|
str
|
The build asked about, canonical or by a display alias. |
required |
Returns:
| Type | Description |
|---|---|
tuple of (bool, str)
|
Whether the build carries the setting, and the evidence cited. |
pyflightstream.workspace.setup_standards.setup_standards
¶
setup_standards() -> tuple[SetupStandard, ...]
Return explicit study choices with a stated, applicable comparison baseline.
Returns:
| Type | Description |
|---|---|
tuple of SetupStandard
|
The combined standard, then one standard per single choice. |
pyflightstream.workspace.setup_standards.write_setup_library
¶
write_setup_library(
workspace: str | Path,
*,
fs_version: str,
guidelines: bool = False,
standards: bool = False,
) -> dict[str, str]
Write absent setup files and return created/unchanged/preserved statuses.
No existing file is overwritten. This includes collisions with user-owned s9XX files. Exclusive creation protects against a file appearing between inspection and writing.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
workspace
|
str or Path
|
The workspace root; the files go under |
required |
fs_version
|
str
|
The FlightStream version the settings are rendered for. |
required |
guidelines
|
bool
|
Write |
False
|
standards
|
bool
|
Write one |
False
|
Returns:
| Type | Description |
|---|---|
dict of str to str
|
File name to |