Skip to content

Add v10.0.0 package, solver, GUI, diagnostics, tests and CI - #6

Merged
test1card merged 2 commits into
mainfrom
codex/add-external-depressurization-profiles-feature
Feb 27, 2026
Merged

test1card merged 2 commits into
mainfrom
codex/add-external-depressurization-profiles-feature

Conversation

@test1card

Copy link
Copy Markdown
Owner

Motivation

  • Release a new v10.0.0 runtime package with a structured src layout and reusable modules for 0D/network venting simulation.
  • Provide robust physics models (orifice, slot, short-tube, optional Fanno), variable thermodynamics, streaming solver and desktop GUI to support both CLI and interactive workflows.
  • Harden repository quality with packaging, docs, linters, pre-commit and CI to enable reproducible builds and automated verification.

Description

  • Introduce a new Python package src/venting/ implementing core modules: solver, flow, graph, diagnostics, validity, thermo, profiles, presets, run, io, plotting, compare, montecarlo, state_layout, geometry, constants, and data containers in cases and presets.
  • Add CLI (cli.py) and optional desktop GUI under src/venting/gui/ with streaming solver support and config serialization for interactive use.
  • Implement advanced flow models: compressible isentropic orifice, laminar slot, short-tube lossy-nozzle, and optional Fanno treatment with accompanying helpers in flow.py and solver integration in solver.py (supports isothermal, intermediate, and variable thermo modes, lumped wall model, and dynamic external pump).
  • Add diagnostics, validity checks and postprocessing in diagnostics.py/validity.py to compute peak ΔP, regimes, tau_exit and a suite of flags (acoustic, Knudsen, short-tube metrics, thermo fit-range).
  • Add tests exercising gates, solver streaming, short-tube/Fanno behavior, Monte Carlo sweeps, topology/scalar-list compatibility, GUI config, state layout, comparison utilities and regression baselines under tests/.
  • Add packaging and project metadata via pyproject.toml, CLI entry via __main__, README.md, CHANGELOG.md, CONTRIBUTING.md, docs under docs/, .gitignore, requirements files and pre-commit configuration.
  • Add GitHub Actions CI workflow (.github/workflows/ci.yml) to run on push and PR with matrix Python 3.10–3.12 and steps to pip install -e '.[dev]', pip check, ruff, black --check and pytest --cov.

Testing

  • Ran the full test suite with pytest -q --cov=venting --cov-report=term-missing as configured in CI across Python 3.10–3.12 and all tests passed.
  • Lint and formatting checks executed in CI: ruff check . and black --check . succeeded.
  • CI also performs pip install -e "[dev]" and python -m pip check to ensure dependency health which completed successfully.

Codex Task

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@test1card
test1card merged commit 68cc8ef into main Feb 27, 2026
6 checks passed
@test1card
test1card deleted the codex/add-external-depressurization-profiles-feature branch February 27, 2026 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant