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 bug in custom indexing for realized results #995

Merged
merged 1 commit into from
Aug 10, 2023
Merged

Conversation

daniel-thom
Copy link
Contributor

This bug was introduced in commit
21f6dff. Passing custom values of start_time and len that cause the code to span arrays from two initial times caused an array indexing error.

This bug was introduced in commit
21f6dff. Passing custom values of
start_time and len that cause the code to span arrays from two initial
times caused an array indexing error.
@jd-lara jd-lara self-assigned this Aug 9, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Aug 9, 2023

Performance Results

Version Precompile Time
Main 7.906071261
This Branch 7.976583809
Version Build Time
Main-Build Time Precompile 76.49312769
Main-Build Time Postcompile 3.931001996
This Branch-Build Time Precompile 74.659042934
This Branch-Build Time Postcompile 3.902061159

@codecov
Copy link

codecov bot commented Aug 9, 2023

Codecov Report

Merging #995 (a262204) into main (4ae2f67) will decrease coverage by 0.04%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #995      +/-   ##
==========================================
- Coverage   81.35%   81.31%   -0.04%     
==========================================
  Files         116      116              
  Lines       12119    12076      -43     
==========================================
- Hits         9859     9820      -39     
+ Misses       2260     2256       -4     
Flag Coverage Δ
unittests 81.31% <100.00%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
src/simulation/realized_meta.jl 93.18% <100.00%> (+0.15%) ⬆️

... and 17 files with indirect coverage changes

Copy link

@josephmckinsey josephmckinsey left a comment

Choose a reason for hiding this comment

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

This new code makes a lot more sense than the old row indexing. I couldn't test on my own data since it's still on PSI 0.20.4

@jd-lara jd-lara merged commit 89c7b1e into main Aug 10, 2023
9 checks passed
@daniel-thom daniel-thom deleted the dt/fix-row-index branch September 11, 2023 21:09
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants