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 censoring bug #30

Merged
merged 2 commits into from
Nov 11, 2024
Merged

fix censoring bug #30

merged 2 commits into from
Nov 11, 2024

Conversation

hillalex
Copy link
Member

Fixes for two issues:

  • Tthe censoring indicator in the data has been changed to 3 levels: -1, 0 and 1. But the code still references level -2.
  • The snapshot tests failing in docker do not fail the CI build.

@@ -2,4 +2,4 @@
set -ex

docker build . -f snapshot-tests.Dockerfile -t epikinetics-test
docker run epikinetics-test Rscript -e "devtools::test(filter='snapshot')"
docker run epikinetics-test Rscript -e "res=devtools::test(filter='snapshot');df=as.data.frame(res);if(sum(df\$failed) > 0 || any(df\$error)) {q(status=1)}"
Copy link
Member Author

Choose a reason for hiding this comment

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

ensures that the build fails when the tests do

Copy link

codecov bot commented Nov 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.47%. Comparing base (469d0b5) to head (d197ae4).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #30   +/-   ##
=======================================
  Coverage   93.47%   93.47%           
=======================================
  Files           9        9           
  Lines         506      506           
=======================================
  Hits          473      473           
  Misses         33       33           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@hillalex hillalex marked this pull request as ready for review November 11, 2024 12:15
@hillalex hillalex merged commit edeefbb into main Nov 11, 2024
9 checks passed
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.

1 participant