Skip to content

Improve pk table#112

Merged
dlefaudeux merged 16 commits into
mainfrom
improve-pk-table
Feb 24, 2026
Merged

Improve pk table#112
dlefaudeux merged 16 commits into
mainfrom
improve-pk-table

Conversation

@dlefaudeux

@dlefaudeux dlefaudeux commented Feb 9, 2026

Copy link
Copy Markdown
Collaborator

add nicer print of pk table

get_pk_analysis method will return the table with aggregated values for pop and specific number of signif digits
pretty_pk will print results in a list manner
compare_pk will print results in a per compound per path fashion with each simulations as a column for easy comparison across simulations

closes #62

@codecov

codecov Bot commented Feb 12, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 83.56808% with 35 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.25%. Comparing base (18ddf7f) to head (2f57607).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
R/utils.R 79.59% 30 Missing ⚠️
R/snapshot.R 92.42% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #112      +/-   ##
==========================================
- Coverage   90.56%   90.25%   -0.31%     
==========================================
  Files          10       10              
  Lines        4248     4443     +195     
==========================================
+ Hits         3847     4010     +163     
- Misses        401      433      +32     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dlefaudeux
dlefaudeux marked this pull request as ready for review February 19, 2026 09:29

@nautilus69 nautilus69 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Approved.

@dlefaudeux
dlefaudeux merged commit 0448592 into main Feb 24, 2026
1 of 5 checks passed
@PavelBal
PavelBal deleted the improve-pk-table branch February 24, 2026 09:33
dlefaudeux added a commit that referenced this pull request Feb 24, 2026
* pretty print

* add pretty print and comparison print

* add function to automatically aggregate pop data

* improve

* sort by IndividualID before pivoting. To ensure Id are in the same order when calculating the ration in ctsApp

* improve and add test and redocument

* redoc

* fix test

* fix ci

* fix ci

* update test

* style

* improve coverage

* add new functions to vignettes

* Remove IndividualId column for pretty_pk and compare_pk
PavelBal added a commit that referenced this pull request Feb 24, 2026
* fix resolution

* defaults outputs

* updates tests on outpout schema

* use osp.snapshots for individuals and populations

* add victim only simulation in default template

* update test default outputs

* fix use osp.snapshot

* Update test

* improve doc of formualtions

* update doc

* add import from osp.snapshots fro individual creation

* update test

* review

* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Improve pk table (#112)

* pretty print

* add pretty print and comparison print

* add function to automatically aggregate pop data

* improve

* sort by IndividualID before pivoting. To ensure Id are in the same order when calculating the ration in ctsApp

* improve and add test and redocument

* redoc

* fix test

* fix ci

* fix ci

* update test

* style

* improve coverage

* add new functions to vignettes

* Remove IndividualId column for pretty_pk and compare_pk

* update test after merge

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Pavel Balazki <pavel.balazki@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.

Ready to print pk parameters table

2 participants