EnergyPlus Regressions
Overview
This library provides tools for performing regressions between EnergyPlus builds. Developers often propose changes to EnergyPlus for:
- New feature development
- Defect repair
- Refactoring for structure or performance
When a developer proposes these changes, those code changes must be tested prior to accepting them into the main branch. A continuous integration system runs the tests and provides results, but there can be a sometimes lengthy delay waiting on those results, depending on how busy the system is at that time. This set of tools provides a way to run these regressions locally.
Usage
This tool works on all three major platforms: Windows, Mac, and Ubuntu (LTS). GitHub Actions test on multiple platforms, and it is regularly used on all three as well.
To install the tool, simply pip install it into your Python environment (either system or virtual environment)
The project page on PyPi is: https://pypi.org/project/energyplus-regressions/.
- Download using Pip (
pip install energyplus-regressions). - Once installed into the Python install, there will be a binary available to run:
energyplus_regression_runner.
Development
For setting up a development environment to do work on this tool, the steps are pretty minimal:
- Install Python, if needed
- Clone this repository (
git clone https://github.com/NatLabRockies/EnergyPlusRegressionTool) - Install dependencies (
pip3 install -r requirements.txt)
Releasing
Version numbers are bumped with bump2version, configured in .bumpversion.cfg.
To cut a release, run bump2version patch (or minor/major), then git push --follow-tags; pushing the tag triggers the PyPI release workflow.
Documentation
Program documentation, including user guide and typical workflows, are available in the documentation. This documentation is written using RST with Sphinx, and published on ReadTheDocs.
Testing
Exhaustive unit tests have been added to the "underneath the hood" code, like the functions that calculate diffs and run builds. The unit tests are run on Github Actions. The GUI code is not unit tested, but tested routinely on all platforms.
Metadata
Release files for energyplus-regressions 2.1.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| energyplus_regressions-2.1.10.tar.gz | 126.6 kB | Without provenance | Details for energyplus_regressions-2.1.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| energyplus_regressions-2.1.10-py3-none-any.whl | Python 3 | none | any | Details for energyplus_regressions-2.1.10-py3-none-any.whl |
Total release size: 258.1 kB
Release files / energyplus_regressions-2.1.10.tar.gz
| Download URL | energyplus_regressions-2.1.10.tar.gz |
|---|---|
| Size | 126.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
29e5546494fe41e380e5e0899c549aeb9de88c8d0db42291202717bd378bedce
|
|
BLAKE2b-256 checksum How to use checksums |
d4297744dcb1470d4c131d66fe785e5a3d81890a27904b01d07a8b5274fe274f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / energyplus_regressions-2.1.10-py3-none-any.whl
| Download URL | energyplus_regressions-2.1.10-py3-none-any.whl |
|---|---|
| Size | 131.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8fe38ffc8f8e4ba27e5273e906199cc301a8f6caa076d2ae99dc0880740d6f26
|
|
BLAKE2b-256 checksum How to use checksums |
2180e9a9c12587e7fedb6d1bf439677010f93f430cfa9ef1b0e6921d23645525
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Security for energyplus-regressions 2.1.10
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.