Skip to content
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

Fix #4831 - Platform dependent results for joinAll #4848

Merged
merged 3 commits into from
Apr 3, 2023

Conversation

jmarrec
Copy link
Collaborator

@jmarrec jmarrec commented Apr 3, 2023

Pull request overview

Pull Request Author

  • Model API Changes / Additions
  • Any new or modified fields have been implemented in the EnergyPlus ForwardTranslator (and ReverseTranslator as appropriate)
  • Model API methods are tested (in src/model/test)
  • EnergyPlus ForwardTranslator Tests (in src/energyplus/Test)
  • If a new object or method, added a test in NREL/OpenStudio-resources: Add Link
  • If needed, added VersionTranslation rules for the objects (src/osversion/VersionTranslator.cpp)
  • Verified that C# bindings built fine on Windows, partial classes used as needed, etc.
  • All new and existing tests passes
  • If methods have been deprecated, update rest of code to use the new methods

Labels:

  • If change to an IDD file, add the label IDDChange
  • If breaking existing API, add the label APIChange
  • If deemed ready, add label Pull Request - Ready for CI so that CI builds your PR

Review Checklist

This will not be exhaustively relevant to every PR.

  • Perform a Code Review on GitHub
  • Code Style, strip trailing whitespace, etc.
  • All related changes have been implemented: model changes, model tests, FT changes, FT tests, VersionTranslation, OS App
  • Labeling is ok
  • If defect, verify by running develop branch and reproducing defect, then running PR and reproducing fix
  • If feature, test running new feature, try creative ways to break it
  • CI status: all green or justified

@jmarrec jmarrec added component - Utilities Geometry Pull Request - Ready for CI This pull request if finalized and is ready for continuous integration verification prior to merge. labels Apr 3, 2023
@jmarrec jmarrec self-assigned this Apr 3, 2023
jmarrec added 2 commits April 3, 2023 13:27
…table_sort to produce consistent results between Windows and Unix in case you have polygons with the same area
@jmarrec
Copy link
Collaborator Author

jmarrec commented Apr 3, 2023

RemoteBCL is failing on Unix, but otherwise test pass. Windows has the stability error

[ RUN      ] GeometryFixture.Intersection_Stability
[utilities.geometry.join] <1> Union has inner loops
D:\git\OpenStudio\src\utilities\geometry\Test\Intersection_GTest.cpp(2678): error: Value of: sink.logMessages().empty()
  Actual: false
Expected: true

@ci-commercialbuildings
Copy link
Collaborator

ci-commercialbuildings commented Apr 3, 2023

CI Results for 62cc188:

@jmarrec jmarrec requested a review from tijcolem April 3, 2023 15:04
@jmarrec
Copy link
Collaborator Author

jmarrec commented Apr 3, 2023

@mdahlhausen could you test this out please?

@mdahlhausen
Copy link
Collaborator

@jmarrec can do

@mdahlhausen
Copy link
Collaborator

@jmarrec, @tijcolem tested - I'm getting the same results now between windows and linux. Thanks!

@tijcolem tijcolem merged commit 661ba8e into develop Apr 3, 2023
@tijcolem tijcolem deleted the 4831_joinAll_stability branch April 3, 2023 20:58
@jmarrec
Copy link
Collaborator Author

jmarrec commented Apr 3, 2023

@jmarrec, @tijcolem tested - I'm getting the same results now between windows and linux. Thanks!

Thanks for confirming @mdahlhausen !

(You should revisit whether your workaround in space_join_polygons is still needed)

@jmarrec
Copy link
Collaborator Author

jmarrec commented Apr 4, 2023

@mdahlhausen To clarify, now that I'm back at a computer, I think the issue you were trying to work around might have been #1614 which has been fixed by #4221

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component - Utilities Geometry Pull Request - Ready for CI This pull request if finalized and is ready for continuous integration verification prior to merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Daylight sensor placement difference between Windows and Linux
4 participants