-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C++ CLI: Create results.json and handle analysis.json (create objectives.json) #5028
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…t_inputs_and_outputs Add some testing. Too bad the original ruby implementation has zero tests, it would have save me the trouble of creating it.
…er with --postprocess_only (and it tests that flag too!)
….json is present one dir above osw
…b.osm: it's at 1.11.5 so it takes a long time build/resources/Examples/compact_osw/files/seb.osm
… measure_attributes.json, results.json and data_point_out.json are needed and when: they have the SAME info!
jmarrec
added
component - Measures
component - CLI
Pull Request - Ready for CI
This pull request if finalized and is ready for continuous integration verification prior to merge.
labs
labels
Nov 13, 2023
jmarrec
commented
Nov 13, 2023
src/cli/test/test_with_analysis.py
Outdated
Comment on lines
77
to
85
# TODO: I'm letting this test fail so it's obvious this needs to be addressed | ||
if True: # not is_labs: | ||
# We get the SAME exact info in measure_attributes.json, results.json and data_point_out.json... | ||
# measure_attributes.json is flushed after each apply measure Step (ModelMeasures, EnergyPlusMeasures, | ||
# ReportingMeasures), then at the end of ReportingMeasures it's done once again and results.json is spat out too | ||
# Do we really need the data_point_out.json in addition to this? | ||
# Seems like we could just run the output of results.json/data_point_out.json at the end of the workflow run | ||
# instead | ||
expected_files_in_run_dir.add("data_point_out.json") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kbenne @brianlball Here is the TODO I want to adress (with a voluntarily failing tests so it doesn't slip by).
Do we really need all three of these json files? if so, when?
… and use in openstuido-workflow-gem
I talked to some folks who suggested just adding it, and I filed #5029 for investigating at a later date if we can just use a single file.
CI Results for 5193679:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
component - CLI
component - Measures
labs
Pull Request - Ready for CI
This pull request if finalized and is ready for continuous integration verification prior to merge.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull request overview
measure_attributes.json
,results.json
anddata_point_out.json
are needed and when: they have the SAME info!Pull Request Author
src/model/test
)src/energyplus/Test
)src/osversion/VersionTranslator.cpp
)Labels:
IDDChange
APIChange
Pull Request - Ready for CI
so that CI builds your PRReview Checklist
This will not be exhaustively relevant to every PR.