Commit 034002b
fix(truncation): gate diagnostic file; strengthen FDR/score tests
- TruncationSearchTask: write CandidateRanks.tsv only when PerfLogPath is set,
register it via FinishedWritingFile, and wrap it best-effort so a diagnostic
write can't abort the task (#14). Document the intentional PEP==0 disk-filter
guard and the in-memory-only PepQWasUsed metric (#11, #15 -- wontfix).
- TruncationSearchEngineTests: ScanS7 now asserts the opposing-series peaks
neither raise the score nor change the integer matched-ion count, so the test
distinguishes "ignored" from merely "harmless" (#17).
- TruncationFdrAndOutputTests: PepRuns pins the skipped-PEP branch (PEP_QValue
== 2 on a too-small pool) rather than only asserting no throw (#18).
Addresses findings #14, #17, #18 and documents #11/#15 from the PR #2666 review.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DWZ1KbGenS4w1beTMXWgek1 parent 4ea0d06 commit 034002b
3 files changed
Lines changed: 38 additions & 3 deletions
File tree
- MetaMorpheus
- TaskLayer/TruncationSearchTask
- Test
Lines changed: 24 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
233 | | - | |
234 | | - | |
235 | | - | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
236 | 250 | | |
237 | 251 | | |
238 | 252 | | |
| |||
362 | 376 | | |
363 | 377 | | |
364 | 378 | | |
| 379 | + | |
| 380 | + | |
365 | 381 | | |
366 | 382 | | |
367 | 383 | | |
| |||
573 | 589 | | |
574 | 590 | | |
575 | 591 | | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
576 | 597 | | |
577 | 598 | | |
578 | 599 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
82 | 87 | | |
83 | 88 | | |
84 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
217 | 226 | | |
218 | 227 | | |
219 | 228 | | |
| |||
0 commit comments