-
Notifications
You must be signed in to change notification settings - Fork 30
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
unittest for PkPD conversion model fails #53
Comments
Monolix PKPDlibrary reference: http://www.lixoft.eu/wp-content/resources/docs/PKPDlibrary.pdf |
This patch generates closer results for concentrations, but not yet precise enough. Fixes one equation, which Ian Hastings pointed out in "Openmalaria PKPD equations.pdf" Page 6. Altough he meant x, he wrote z. -> fix: x should be k. Unittests: testAR() Concentration has the wrong sign, but the amount is very near to the expected value. testAS() This patch generates closer results for concentration, but not yet precise enough. TODO: Check AR parameterization.
After applying this patch https://gist.github.com/tph-thuering/288474a8ae514b0d9d55#ian.patch And running the unittests, we get the following results: Running 58 tests................................................. Artemether conversion unittest (AR):
. Arthesunate conversion unittest(AS):
...... |
enable conversion unittests again disable Cloroquine unittest for now
, as concentrations seem ok now for drug conversion unittests
Running 58 tests................................................ Testing AR1:
. Testing AR:
. Testing AS1:
. Testing AS:
. Testing DHA:
. Testing LF:
. Testing MQ:
. Testing PPQ:
. Testing PPQ2:
. Testing PPQ3:
|
Not fixed, will supply a fix now. |
commit 5c89b03 fixes AR unittest. AS needs probably more precise expected drug factor values from @KatherineKay Testing AS:
|
Output of the AR and AS conversion unittests are now as follows: Testing AR:
. Testing AS:
between day 3&4: |
Testing AR - DHA_AR ConversionAR
. Testing AS - DHA_AS ConversionAS
|
Metabolite concentration values are negative.
relevant unittests are called testAR and testAS, both use the conversion model with DHA-metabolites
see Unittest output
For a more detailed unittest with intermediate values for g, h, i and qtyM, qtyP output,
see the first revision
Hint - if you'd like to reproduce the verbose output: remove comment from this line and compile OM.
The text was updated successfully, but these errors were encountered: