Expose digits argument for h_tbl_median_surv#1469
Open
Copilot wants to merge 7 commits into
Open
Conversation
Copilot
AI
changed the title
[WIP] Expose digits argument for h_tbl_median_surv function
Expose digits argument for h_tbl_median_surv
Feb 12, 2026
Contributor
Unit Tests Summary 1 files 85 suites 1m 38s ⏱️ Results for commit 77003a9. ♻️ This comment has been updated with latest results. |
Contributor
Unit Test Performance DifferenceAdditional test case details
Results for commit 8eedcbd ♻️ This comment has been updated with latest results. |
donyunardi
requested changes
Feb 13, 2026
donyunardi
left a comment
There was a problem hiding this comment.
Hi @shajoezhu
- Should the digit be exposed all the way to the top to
g_km? This is the function that's ultimately being used fortm_g_km - there's no request to address
h_km. This seems to be out-of-scope from the intended issue. Or is there any relationship betweeng_kmandh_km? - CI/CD did not pass, usually we make sure it passed before review.
Contributor
|
is this still active @shajoezhu @donyunardi? |
Expose digits parameter (default 4) to control signif() precision for median survival time and CI values in the annotation table. The parameter is passed through from g_km() via control_annot_surv_med.
344bf69 to
1b7a759
Compare
Contributor
|
@donyunardi all points here should have been addressed:
|
…surv Signed-off-by: Davide Garolini <davide.garolini@roche.com>
Contributor
Code Coverage SummaryDiff against mainResults for commit: 77003a9 Minimum allowed coverage is ♻️ This comment has been updated with latest results |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
Fixes #1467
Changes
h_tbl_median_surv(): Addeddigitsparameter (default:4) to controlsignif()precision for median and CI values.control_surv_med_annot(): Addeddigitsparameter to expose the setting via the control interface.g_km(): Passesdigitsfromcontrol_annot_surv_medwith%||% 4fallback for backward compatibility.Usage
Backward compatible: default value maintains existing behavior.