• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

daniel1noble / BACE / 43546315838
89%

Build:
DEFAULT BRANCH: main
Ran 14 Nov 2026 02:31AM UTC
Jobs 1
Files 21
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Nov 2026 02:26AM UTC coverage: 88.999% (+0.3%) from 88.674%
43546315838

push

github

daniel1noble
Simulator: cut ordinal traits at population thresholds; pair cases to tips by name (1.0.4)

Found while Shinichi ran the first 1.0.3 datasets of the 2026-11 campaign.

1. ordinal_liab2cat() cut the latent liability at fixed constants
   (-2.25/0/+2.25 for four levels) whatever the liability's scale. In the
   campaign that scale is 1.00/1.53/2.65 at signal 0.3/0.7/0.9, so at 0.3
   about two species in a hundred reached the outer cuts. Over 40 seeds at
   n = 100 the "four-level" ordinal had fewer than four levels in truth in
   27/7/2 datasets and a level with no observed species after clade masking
   in 31/9/4; one such dataset ran for an hour. sim_bace() now cuts at
   POPULATION thresholds (new `ordinal_thresholds`; default = quantiles of
   the variable's own latent scale; the campaign passes the exact quartiles
   of its full latent scale). A first fix that cut at the SAMPLE quartiles
   was rejected by adversarial review: it made the hidden cells' level
   counts the exact complement of the observed cells' (correlation -1.00),
   pushed cutpoint-estimating imputers the wrong way and put the majority
   floor below chance (0.11-0.21 vs 0.25); under population thresholds the
   correlation is +0.2 to +0.9 and the floor 0.27-0.43. The price -- about
   1 dataset in 20 at signal 0.9, n = 100, has an empty level -- is recorded
   per dataset by the campaign. No random numbers consumed: tree, masks and
   every other trait identical to 1.0.3 by position on 200 datasets.

2. sim_tree() sorted species names with the session's collation, so the
   same seed gave different name strings in different locales (R CMD check
   runs tests in C). Names are now in C order on every machine.

3. The design matrix pairing each case with its species' random effect was
   factor(species) -- level order by locale -- while effects are drawn in
   tree-tip order; it was right only because two independent sorts agreed,
   and fixing (2) alone silently gave every case an... (continued)

93 of 96 new or added lines in 2 files covered. (96.88%)

4773 of 5363 relevant lines covered (89.0%)

1431.18 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
89.23
2.21% R/simulate_auxiliary.r
Jobs
ID Job ID Ran Files Coverage
1 43546315838.1 14 Nov 2026 02:31AM UTC 21
89.0
GitHub Action Run
Source Files on build 43546315838
  • Tree
  • List 21
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43546315838
  • 6a0e06b4 on github
  • Prev Build on main (#43308362020)
  • Next Build on main (#43546420969)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc