Skip to content

Correct metric bounds, labels and the logcounts type - #26

Merged
rcannood merged 5 commits into
mainfrom
fix/metric-declarations
Jul 28, 2026
Merged

Correct metric bounds, labels and the logcounts type#26
rcannood merged 5 commits into
mainfrom
fix/metric-declarations

Conversation

@rcannood

Copy link
Copy Markdown
Member

Three config declarations that did not match what the components actually produce. No behaviour changes; they affect how the report rescales and labels things.

  • file_dataset_sp.yaml declared logcounts as integer. Log-transformed counts are doubles, and the shipped datasets store them as such.
  • clustering_ari was declared -Inf..+Inf. The adjusted Rand index is at most 1 and does not go below -0.5, so the report had nothing to rescale against.
  • ctdeconvolute_rmse was 0..+Inf, but it is the RMSE between two vectors of proportions, so it cannot exceed 1.

Also gave the eight downstream metrics readable labels -- they were the metric ids repeated back, while the ks metrics already had proper ones.

Checklist before requesting a review

  • I have performed a self-review of my code

  • Check the correct box. Does this PR contain:

    • Breaking changes
    • New functionality
    • Major changes
    • Minor changes
    • Bug fixes
  • Proposed changes are described in the CHANGELOG.md

  • CI Tests succeed and look good!

rcannood added 5 commits July 28, 2026 14:19
file_dataset_sp.yaml declared `logcounts` as integer. Log-transformed counts
are doubles, and the shipped datasets store them as such.
* clustering_ari was declared -Inf..+Inf. The adjusted Rand index is at most
  1 and does not go below -0.5, so the report had nothing to rescale against.
* ctdeconvolute_rmse was 0..+Inf, but it is the RMSE between two vectors of
  proportions, so it cannot exceed 1.
* The eight labels were the metric ids repeated back; the ks metrics already
  had readable ones.
@rcannood
rcannood merged commit 8e53b6b into main Jul 28, 2026
1 check passed
@rcannood
rcannood deleted the fix/metric-declarations branch July 28, 2026 13:07
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.

1 participant