Skip to content

Refactor/perf batch 9 - #704

Open
timcadman wants to merge 27 commits into
v7.0-devfrom
refactor/perf-batch-9
Open

timcadman wants to merge 27 commits into
v7.0-devfrom
refactor/perf-batch-9

Conversation

@timcadman

@timcadman timcadman commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

What's changed

  • ds.boxPlot: dropped the manual isDefined()/checkClass() connection and variable checks in favour of a single classDS aggregate call plus .checkClassConsistency(), which aborts if x's class differs across studies.
  • isDefined and checkClass are now enforced on the server-side.
  • rangeDS calls in ds.heatmapPlot, ds.contourPlot, and ds.densityGrid remain on as.symbol(paste0("rangeDS(", x, ")")) rather than call(), as rangeDS will be refactored in batch 10.

How to test

  • code review
  • Check CI green

@github-actions

github-actions Bot commented Sep 15, 2026

Copy link
Copy Markdown
❌ 2 of 5 checks failed
CheckResult
Devtools checks✅ passed
Code quality❌ 1 new finding (package total: 2065)
Armadillo unit tests[ FAIL 2 | WARN 0 | SKIP 27 | PASS 12357 ]
Opal unit tests[ FAIL 0 | WARN 0 | SKIP 27 | PASS 11700 ]
Test coverageℹ️ no coverable lines changed (project: 66.7%)

Tested against dsBase versions:
Armadillo: 7.0.0.9000
Opal: 7.0.0.9000

Logs: Devtools checks · Code quality · Armadillo unit tests · Opal unit tests · Codecov

@github-advanced-security github-advanced-security AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

lintr found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

@codecov-commenter

codecov-commenter commented Sep 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 66.74%. Comparing base (943fe26) to head (5082733).

Additional details and impacted files
@@             Coverage Diff              @@
##           v7.0-dev     #704      +/-   ##
============================================
+ Coverage     61.16%   66.74%   +5.58%     
============================================
  Files           142      142              
  Lines          6120     6038      -82     
============================================
+ Hits           3743     4030     +287     
+ Misses         2377     2008     -369     
Flag Coverage Δ
armadillo-arg 21.29% <ø> (+0.28%) ⬆️
armadillo-misc 16.19% <ø> (+0.21%) ⬆️
armadillo-perf-1 5.92% <ø> (+1.59%) ⬆️
armadillo-perf-2 15.33% <ø> (+2.18%) ⬆️
armadillo-perf-3 10.20% <ø> (+0.77%) ⬆️
armadillo-smk-1 34.21% <ø> (+4.39%) ⬆️
armadillo-smk-2 38.29% <ø> (+1.26%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 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.

Comment thread R/ds.boxPlotGG.R Fixed
Update "perf" test  for opal and armadillo
Comment thread R/ds.boxPlotGG.R
plot_data_merged <- rbind(plot_data_merged, plot_data[[i]]$data)
}
pt_merged <- data.table::data.table(pt_merged)
plot_data_merged <- data.table::data.table(plot_data_merged)
@timcadman
timcadman marked this pull request as ready for review September 17, 2026 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants