From b0341af402271a1339308ba930c12530f62d4cf8 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Wed, 9 Dec 2020 18:19:09 +0100 Subject: Add more tests and fix HS in saem --- test.log | 49 ++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 40 insertions(+), 9 deletions(-) (limited to 'test.log') diff --git a/test.log b/test.log index 6ba8ff03..f39791ae 100644 --- a/test.log +++ b/test.log @@ -7,31 +7,62 @@ Testing mkin ✔ | 14 | Results for FOCUS D established in expertise for UBA (Ranke 2014) [1.0 s] ✔ | 4 | Calculation of FOCUS chi2 error levels [0.5 s] ✔ | 7 | Fitting the SFORB model [3.6 s] -✔ | 5 | Analytical solutions for coupled models [3.4 s] +✔ | 5 | Analytical solutions for coupled models [3.2 s] ✔ | 5 | Calculation of Akaike weights ✔ | 14 | Confidence intervals and p-values [1.2 s] ✔ | 14 | Error model fitting [4.7 s] ✔ | 3 | Time step normalisation ✔ | 4 | Test fitting the decline of metabolites from their maximum [0.3 s] ✔ | 1 | Fitting the logistic model [0.2 s] -✔ | 23 | Nonlinear mixed effects models [8.1 s] +⠏ | 8 2 | Nonlinear mixed effects models +LL by is "-1333.17 (df=13)" + +LL by is "-1333.17 (df=13)" + +LL by is "-1336.30 (df=13)" + ✖ | 11 2 | Nonlinear mixed effects models [6.4 s] +──────────────────────────────────────────────────────────────────────────────── +ERROR (test_mixed.R:11:3): Parent only models can be fitted using nonlinear mixed effects models +Error: object 'sfo_saem_1' not found +Backtrace: + 1. base::summary(sfo_saem_1) test_mixed.R:11:2 + +FAILURE (test_mixed.R:91:3): Print methods work +Results have changed from known value recorded in 'print_sfo_saemix_1.txt'. + +old[6:11] vs new[6:13] + "Data:" + "264 observations of 1 variable(s) grouped in 15 datasets" + "" + "Likelihood computed by importance sampling" ++ " " ++ "LL by is \"-653.97 (df=6)\"" + " AIC BIC logLik" + " 1320 1324 -654" + "" +──────────────────────────────────────────────────────────────────────────────── ✔ | 2 | Test dataset classes mkinds and mkindsg ✔ | 1 | mkinfit features [0.3 s] ✔ | 12 | Special cases of mkinfit calls [0.8 s] ✔ | 8 | mkinmod model generation and printing [0.2 s] ✔ | 3 | Model predictions with mkinpredict [0.4 s] -✔ | 16 | Evaluations according to 2015 NAFTA guidance [1.7 s] +✔ | 16 | Evaluations according to 2015 NAFTA guidance [1.6 s] ✔ | 9 | Nonlinear mixed-effects models [7.8 s] -✔ | 16 | Plotting [1.9 s] +✖ | 15 1 | Plotting [1.9 s] +──────────────────────────────────────────────────────────────────────────────── +FAILURE (test_plot.R:39:3): Plotting mkinfit and mmkin objects is reproducible +Figures don't match: mixed-model-fit-for-nlme-object.svg + +──────────────────────────────────────────────────────────────────────────────── ✔ | 4 | Residuals extracted from mkinfit models -✔ | 2 | Complex test case from Schaefer et al. (2007) Piacenza paper [1.5 s] +✔ | 2 | Complex test case from Schaefer et al. (2007) Piacenza paper [1.6 s] ✔ | 4 | Summary [0.1 s] ✔ | 1 | Summaries of old mkinfit objects ✔ | 4 | Results for synthetic data established in expertise for UBA (Ranke 2014) [2.3 s] -✔ | 9 | Hypothesis tests [7.4 s] -✔ | 4 | Calculation of maximum time weighted average concentrations (TWAs) [2.4 s] +✔ | 9 | Hypothesis tests [7.3 s] +✔ | 4 | Calculation of maximum time weighted average concentrations (TWAs) [2.3 s] ══ Results ═════════════════════════════════════════════════════════════════════ -Duration: 50.1 s +Duration: 48.1 s -[ FAIL 0 | WARN 0 | SKIP 0 | PASS 196 ] +[ FAIL 3 | WARN 0 | SKIP 0 | PASS 183 ] -- cgit v1.2.1