Skip to content

448: fix full test#461

Merged
danielinteractive merged 4 commits into
mainfrom
448_fix_full_tests
May 26, 2026
Merged

448: fix full test#461
danielinteractive merged 4 commits into
mainfrom
448_fix_full_tests

Conversation

@danielinteractive
Copy link
Copy Markdown
Collaborator

closes #448

Also adds convenience functions to activate and disable the full test suite.

@github-actions
Copy link
Copy Markdown
Contributor

badge

Code Coverage Summary

Filename                           Stmts    Miss  Cover    Missing
-------------------------------  -------  ------  -------  ------------------------------
R/brier_score.R                      173       1  99.42%   272
R/DataJoint.R                         78       0  100.00%
R/DataLongitudinal.R                 126       1  99.21%   251
R/DataSubject.R                       85       1  98.82%   144
R/DataSurvival.R                     101       0  100.00%
R/defaults.R                          13       9  30.77%   17-59, 86
R/generics.R                          36       5  86.11%   53, 391, 412, 475, 493
R/Grid.R                              27       1  96.30%   183
R/GridEven.R                          36       0  100.00%
R/GridEvent.R                         22       0  100.00%
R/GridFixed.R                         30       0  100.00%
R/GridGrouped.R                       54       0  100.00%
R/GridManual.R                        23       3  86.96%   79-81
R/GridObserved.R                      24       0  100.00%
R/GridPopulation.R                    37       4  89.19%   66, 74-76
R/GridPrediction.R                    37       6  83.78%   85, 93-97
R/JointModel.R                       131       9  93.13%   148-153, 203, 207, 252, 325
R/JointModelSamples.R                 81       0  100.00%
R/link_generics.R                     39      16  58.97%   67-70, 93-96, 115-118, 141-144
R/Link.R                              66       4  93.94%   202-205
R/LinkComponent.R                     24       3  87.50%   92, 121-122
R/LongitudinalClaretBruno.R          122       6  95.08%   219-223, 242
R/LongitudinalGSF.R                  137       0  100.00%
R/LongitudinalModel.R                 20       0  100.00%
R/LongitudinalQuantities.R            74       0  100.00%
R/LongitudinalRandomEffects.R         65      17  73.85%   86-111
R/LongitudinalRandomSlope.R           60       6  90.00%   132-136, 149
R/LongitudinalSteinFojo.R            116      10  91.38%   202-206, 245-249
R/Parameter.R                         14       0  100.00%
R/ParameterList.R                     42       1  97.62%   188
R/populationHR.R                      63       0  100.00%
R/Prior.R                            279       6  97.85%   590, 739-753
R/Promise.R                           29       0  100.00%
R/Quantities.R                        61       0  100.00%
R/QuantityGeneratorPopulation.R       23       0  100.00%
R/QuantityGeneratorPrediction.R       48       0  100.00%
R/QuantityGeneratorSubject.R          21       0  100.00%
R/settings.R                          12      12  0.00%    51-65
R/SimGroup.R                           5       0  100.00%
R/SimJointData.R                     180      10  94.44%   133, 300-308
R/SimLongitudinal.R                    5       2  60.00%   22, 41
R/SimLongitudinalClaretBruno.R       107       0  100.00%
R/SimLongitudinalGSF.R               107       0  100.00%
R/SimLongitudinalRandomSlope.R        50       0  100.00%
R/SimLongitudinalSteinFojo.R          77       0  100.00%
R/SimSurvival.R                      165       0  100.00%
R/simulate.R                         364     364  0.00%    41-543
R/StanModel.R                         16       0  100.00%
R/StanModule.R                       186       6  96.77%   202-203, 247, 258, 409, 437
R/SurvivalExponential.R               14       0  100.00%
R/SurvivalGamma.R                     17       0  100.00%
R/SurvivalLoglogistic.R               15       0  100.00%
R/SurvivalModel.R                     20       0  100.00%
R/SurvivalQuantities.R               172       1  99.42%   127
R/SurvivalWeibullPH.R                 25       0  100.00%
R/utilities.R                        149       2  98.66%   15, 351
R/zzz.R                               31      28  9.68%    3-7, 9-32, 39-48
TOTAL                               4134     534  87.08%

Diff against main

Filename      Stmts    Miss  Cover
----------  -------  ------  --------
TOTAL             0       0  +100.00%

Results for commit: 5dc62d2

Minimum allowed coverage is 80%

♻️ This comment has been updated with latest results

@github-actions
Copy link
Copy Markdown
Contributor

Unit Tests Summary

    1 files    191 suites   8m 14s ⏱️
  169 tests   154 ✅ 15 💤 0 ❌
1 134 runs  1 118 ✅ 16 💤 0 ❌

Results for commit 5dc62d2.

@github-actions
Copy link
Copy Markdown
Contributor

Unit Test Performance Difference

Test Suite $Status$ Time on main $±Time$ $±Tests$ $±Skipped$ $±Failures$ $±Errors$
LongitudinalRandomEffects 💔 $53.23$ $+8.63$ $0$ $0$ $0$ $0$
compile 💔 $6.42$ $+1.38$ $0$ $0$ $0$ $0$
extract_quantities 💔 $2.97$ $+6.14$ $0$ $0$ $0$ $0$
misc_models 💔 $5.66$ $+2.81$ $0$ $0$ $0$ $0$
model_multi_chain 💔 $14.21$ $+3.48$ $0$ $0$ $0$ $0$
Additional test case details
Test Suite $Status$ Time on main $±Time$ Test Case
Grid 💔 $41.76$ $+11.80$ Grid_objects_work_with_QuantityGenerator_and_QuantityCollapser
GridPrediction 💔 $118.65$ $+20.19$ GridPrediction_works_as_expected_for_Survival_models
JointModelSamples 💔 $34.23$ $+6.41$ print_works_as_expected_for_JointModelSamples
LongitudinalQuantiles 💚 $11.19$ $-3.20$ Test_that_LongitudinalQuantities_works_as_expected
LongitudinalRandomEffects 💔 $53.23$ $+8.63$ LongitudinalRandomEffects_works_as_expected
LongitudinalRandomSlope 💔 $0.60$ $+7.66$ Print_method_for_LongitudinalRandomSlope_works_as_expected
LongitudinalSteinFojo 💚 $8.25$ $-7.68$ LongitudinalSteinFojo_works_as_expected_with_default_arguments
SurvivalQuantities 💔 $59.58$ $+6.63$ SurvivalQuantities_and_autoplot.SurvivalQuantities_works_as_expected
brierScore 💚 $1.65$ $-1.06$ brierScore_SurvivalQuantities_returns_same_results_as_survreg
compile 💔 $6.42$ $+1.38$ compileStanModel_doesn_t_error_if_the_directory_doesn_t_exist
extract_quantities 💔 $2.97$ $+6.14$ extract_quantities_works_as_expected
initialValues 💚 $1.76$ $-1.15$ initialValues_works_as_expected
misc_models 💔 $5.66$ $+2.81$ Longitudinal_Model_doesn_t_print_sampler_rejection_messages
model_multi_chain 💔 $14.21$ $+3.48$ Can_recover_known_distribution_parameters_from_random_slope_model_when_using_multiple_chains
stan_functions 💔 $10.78$ $+2.48$ GSF_SLD_function_works_as_expected

Results for commit 1835add

♻️ This comment has been updated with latest results.

@danielinteractive danielinteractive merged commit 1b19acb into main May 26, 2026
9 of 16 checks passed
@danielinteractive danielinteractive deleted the 448_fix_full_tests branch May 26, 2026 08:31
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.

CRON Job failing due to test failures

1 participant