Skip to content

Appliance label warnings - #2252

Merged
shorowit merged 3 commits into
masterfrom
appliance_label_warnings
Aug 11, 2026
Merged

Appliance label warnings#2252
shorowit merged 3 commits into
masterfrom
appliance_label_warnings

Conversation

@shorowit

@shorowit shorowit commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Pull Request Description

Closes #2251. Adds min/max value warnings for clothes washer and dishwasher label inputs (e.g., LabelElectricRate and LabelGasRate). Decided to use warnings instead of errors to ensure we don't accidentally limit any real products (today or in the future).

Checklist

Not all may apply:

  • Schematron validator (EPvalidator.sch) has been updated
  • Sample files have been added/updated (openstudio tasks.rb update_hpxmls)
  • Tests have been added/updated (e.g., HPXMLtoOpenStudio/tests/test*.rb and/or workflow/tests/test*.rb)
  • Documentation has been updated
  • Changelog has been updated
  • openstudio tasks.rb update_measures has been run
  • No unexpected changes to simulation results of sample files

…nputs (e.g., `LabelElectricRate` and `LabelGasRate`).
@shorowit
shorowit requested a balanced review from Copilot August 11, 2026 23:33
@shorowit
shorowit marked this pull request as ready for review August 11, 2026 23:33

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Schematron warnings for atypical appliance EnergyGuide label values.

Changes:

  • Adds warning thresholds for clothes washers and dishwashers.
  • Adds validation tests and updates generated metadata.
  • Documents the validation enhancement.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
EPvalidator.sch Defines appliance label warnings.
test_validation.rb Tests warning generation.
measure.xml Updates checksums and version metadata.
Changelog.md Records the enhancement.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread HPXMLtoOpenStudio/tests/test_validation.rb
@shorowit
shorowit merged commit 4cc505b into master Aug 11, 2026
@shorowit
shorowit deleted the appliance_label_warnings branch August 11, 2026 23:48
@github-project-automation github-project-automation Bot moved this from Triage to Done in OpenStudio-HPXML Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Add stricter min/max validation for appliance inputs

2 participants