Repository navigation
[DOC] Add biosaur2 seeding design spec and plan for ProteomicsLFQ - #8980
Conversation
Add user-selectable Seeding:algorithm parameter (multiplex vs biosaur2) to ProteomicsLFQ for untargeted seed generation. Includes design spec and implementation plan. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
📝 WalkthroughWalkthroughAdds Biosaur2 algorithm as an alternative seeding method in ProteomicsLFQ alongside the existing multiplex approach. Introduces a new Changes
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (1)
docs/superpowers/specs/2026-03-24-biosaur2-seeding-in-proteomicslfq-design.md (1)
21-21: Avoid hardcoded source line references in the design doc.References like exact source line numbers are likely to drift and become misleading. Prefer symbol/section anchors (e.g., method names) so the spec stays valid over time.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@docs/superpowers/specs/2026-03-24-biosaur2-seeding-in-proteomicslfq-design.md` at line 21, The doc references exact source line numbers which will drift; instead update the spec to point to stable symbols/anchors: mention the method Biosaur2Algorithm().getDefaults(), the place where the combined Param object is registered via registerFullParam_(combined), and the pattern used for tagging (iterate defaults and call addTag(key, "advanced")), referencing the analogous PeakPickerHiRes parameter block rather than line numbers so readers can find the code by symbol names.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@docs/superpowers/plans/2026-03-24-biosaur2-seeding-in-proteomicslfq.md`:
- Line 15: Change the task-level headings from third-level to second-level so
the document increments headings properly: replace "### Task 1: Register
Seeding:algorithm Parameter" with "## Task 1: Register Seeding:algorithm
Parameter" (and likewise update any other task headings currently using "###" to
"##" — e.g., the additional task headings called out in the review) to ensure
heading levels increase by one and satisfy MD001.
---
Nitpick comments:
In
`@docs/superpowers/specs/2026-03-24-biosaur2-seeding-in-proteomicslfq-design.md`:
- Line 21: The doc references exact source line numbers which will drift;
instead update the spec to point to stable symbols/anchors: mention the method
Biosaur2Algorithm().getDefaults(), the place where the combined Param object is
registered via registerFullParam_(combined), and the pattern used for tagging
(iterate defaults and call addTag(key, "advanced")), referencing the analogous
PeakPickerHiRes parameter block rather than line numbers so readers can find the
code by symbol names.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 2cc6c84b-7034-4ad8-9f1c-e07adf78d6ee
📒 Files selected for processing (2)
docs/superpowers/plans/2026-03-24-biosaur2-seeding-in-proteomicslfq.mddocs/superpowers/specs/2026-03-24-biosaur2-seeding-in-proteomicslfq-design.md
|
|
||
| --- | ||
|
|
||
| ### Task 1: Register Seeding:algorithm Parameter |
There was a problem hiding this comment.
Fix heading hierarchy to satisfy MD001.
Task headings jump from # to ###. Use ## for task sections (or add an intermediate ## heading) to keep heading levels incrementing by one.
Suggested markdown fix
-### Task 1: Register Seeding:algorithm Parameter
+## Task 1: Register Seeding:algorithm Parameter
...
-### Task 2: Register Seeding:Biosaur2 Parameter Subsection
+## Task 2: Register Seeding:Biosaur2 Parameter Subsection
...
-### Task 3: Implement Seed Generation Branch
+## Task 3: Implement Seed Generation Branch
...
-### Task 4: Verify Existing Tests Still Pass (Default Path)
+## Task 4: Verify Existing Tests Still Pass (Default Path)
...
-### Task 5: Add Biosaur2 Seeding Test
+## Task 5: Add Biosaur2 Seeding TestAlso applies to: 51-51, 100-100, 167-167, 188-188
🧰 Tools
🪛 markdownlint-cli2 (0.21.0)
[warning] 15-15: Heading levels should only increment by one level at a time
Expected: h2; Actual: h3
(MD001, heading-increment)
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In `@docs/superpowers/plans/2026-03-24-biosaur2-seeding-in-proteomicslfq.md` at
line 15, Change the task-level headings from third-level to second-level so the
document increments headings properly: replace "### Task 1: Register
Seeding:algorithm Parameter" with "## Task 1: Register Seeding:algorithm
Parameter" (and likewise update any other task headings currently using "###" to
"##" — e.g., the additional task headings called out in the review) to ensure
heading levels increase by one and satisfy MD001.
Summary
Seeding:algorithmparameter in ProteomicsLFQ"multiplex"(current default, FeatureFinderMultiplexAlgorithm) and"biosaur2"(Biosaur2Algorithm) for untargeted feature seed generationSeeding:Biosaur2:subsectionFiles
docs/superpowers/specs/2026-03-24-biosaur2-seeding-in-proteomicslfq-design.md— design specdocs/superpowers/plans/2026-03-24-biosaur2-seeding-in-proteomicslfq.md— implementation planTest plan
🤖 Generated with Claude Code
Summary by CodeRabbit
Release Notes
New Features
Seeding:algorithmparameter to ProteomicsLFQ, allowing users to choose between "multiplex" (default) and "biosaur2" seed generation methods.Seeding:Biosaur2:parameter section with advanced tuning options for the Biosaur2 algorithm.Documentation