Skip to main content

EnergyPlus Regressions

pypi Documentation Status Run Tests PyPIRelease Flake8 Coverage Status

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)

Source distribution for energyplus-regressions 2.1.10
File Size Uploaded
energyplus_regressions-2.1.10.tar.gz 126.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for energyplus-regressions 2.1.10
File Interpreter ABI Platform
energyplus_regressions-2.1.10-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

2.1.10 This release

2 release files

2.1.9

2 release files

2.1.8

2 release files

2.1.7

2 release files

2.1.6

2 release files

2.1.5

2 release files

2.1.4

2 release files

2.1.3

2 release files

2.1.2

2 release files

2.1.1

2 release files

2.1.0

2 release files

2.0.7

2 release files

2.0.5

2 release files

2.0.3

2 release files

2.0.2

2 release files

2.0.0

2 release files

1.9.9

2 release files

1.9.8

2 release files

1.9.7

2 release files

1.9.6

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page