Skip to content

quant labels: quantify's calibration, offset spread, channel q-values and offsets as functions; 285 -> 178 lines - #572

Merged
ypriverol merged 1 commit into
mainfrom
refactor/labels-quantify-250
Nov 25, 2026
Merged

ypriverol merged 1 commit into
mainfrom
refactor/labels-quantify-250

Conversation

@ypriverol

Copy link
Copy Markdown
Contributor

Splits quantify in crates/andes/src/bin/andes/quant/run/labels.rs (285 -> 178 lines) under the 250-line budget, moving code without changing it:

  • mass_calibration: each run's mass error of the identified channels (median and robust spread).
  • apex_offset_sd: each run's robust spread of the identified channels' apex offsets.
  • unidentified_channel_q: the q-values of the unidentified channels against their decoy probes, per run.
  • channel_offsets: each run's median log2 ratio of each channel to the reference.

The values, the logs and the emitted rows are unchanged. The label-quant tests pass.

fn_lines.tsv: drops run/labels.rs::quantify.

… and channel offsets as functions; 285 -> 178 lines
@coderabbitai

coderabbitai Bot commented Nov 25, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 31 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: df00ac43-862c-451e-ada2-e884e4e8a432
Commits

Reviewing files that changed from the base of the PR and between a5506e9 and 56beeb5.

Files ignored due to path filters: 1

  • crates/andes/tests/ratchets/fn_lines.tsv is excluded by !**/*.tsv
Files selected for processing: 1

  • crates/andes/src/bin/andes/quant/run/labels.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing

@ypriverol
ypriverol merged commit 7a0831c into main Nov 25, 2026
6 checks passed
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