Skip to main content

A Python 3 library for evaluating regressions between EnergyPlus builds.

Project description

EnergyPlus Regressions

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)

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

energyplus_regressions-2.1.7.tar.gz (125.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

energyplus_regressions-2.1.7-py3-none-any.whl (130.8 kB view details)

Uploaded Python 3

File details

Details for the file energyplus_regressions-2.1.7.tar.gz.

File metadata

  • Download URL: energyplus_regressions-2.1.7.tar.gz
  • Upload date:
  • Size: 125.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for energyplus_regressions-2.1.7.tar.gz
Algorithm Hash digest
SHA256 7187a172868478169faffa1d3d7f9b3b3459c09de67d583f035c50d7a03ba35b
MD5 2e15c0c953ce847d822cdfcf10f941fa
BLAKE2b-256 efdaf63cd6ff93bd2944a4f4f3e02aa2c794963df94df0fb828880e34ac5a23e

See more details on using hashes here.

File details

Details for the file energyplus_regressions-2.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for energyplus_regressions-2.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 192a657050946f31c1d4adbd2f90cf8f88e35e2f95265c9b7d396912996898dc
MD5 bb73055a6a11e4c288fcd95c29f68b55
BLAKE2b-256 0dfb708463f2bd9279813050a40f216ed185e9453f3699b692afed26fb4f6ea0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page