# Changelog

## Score

- CAI 61 → 60 (-1.0)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

## Lenses

- Code Health 73 → 51 (-21.7)
- Architecture 100 → 99 (-0.5)
- Maturity 58 → 63 (+5.7)
- Readiness 53 → 53 (+0.3)
- Security 72 → 87 (+14.7)
- Domain Modelling 100 → 100 (+0.0)
- Performance 79 → 100 (+20.6)

## Resolved (121)

- Duplicated block (10 lines × 4) (src/AlignmentBasedQuantification/AlignmentBasedQuantification.fs)
- Duplicated block (11 lines × 2) (src/AlignmentBasedQuantification/AlignmentBasedQuantification.fs)
- Duplicated block (11 lines × 3) (src/AlignmentBasedQuantification/AlignmentBasedQuantification.fs)
- Duplicated block (11–12 lines × 2) (src/AlignmentBasedQuantification/Program.fs)
- Duplicated block (13 lines × 2) (src/PSMBasedQuantification/PSMBasedQuantification.fs)
- Duplicated block (13 lines × 2) (src/PSMBasedQuantificationTIMs/PSMBasedQuantificationTIMs.fs)
- Duplicated block (13–14 lines × 10) (src/PSMBasedQuantification/PSMBasedQuantification.fs)
- Duplicated block (13–14 lines × 2) (src/PSMStatistics/PSMStatistics.fs)
- Duplicated block (13–14 lines × 3) (src/AlignmentBasedQuantification/AlignmentBasedQuantification.fs)
- Duplicated block (13–14 lines × 6) (src/AlignmentBasedQuantification/AlignmentBasedQuantification.fs)
- Duplicated block (15 lines × 2) (src/PSMBasedQuantification/PSMBasedQuantification.fs)
- Duplicated block (15 lines × 3) (src/AlignmentBasedQuantification/AlignmentBasedQuantification.fs)
- Duplicated block (15 lines × 3) (src/AlignmentBasedQuantification/AlignmentBasedQuantification.fs)
- Duplicated block (15 lines × 5) (src/PSMBasedQuantification/PSMBasedQuantification.fs)
- Duplicated block (15–16 lines × 2) (src/PSMBasedQuantification/PSMBasedQuantification.fs)
- Duplicated block (15–16 lines × 5) (src/AlignmentBasedQuantification/AlignmentBasedQuantification.fs)
- Duplicated block (16 lines × 2) (src/QuantBasedAlignment/QuantBasedAlignment.fs)
- Duplicated block (16 lines × 3) (src/AlignmentBasedQuantification/AlignmentBasedQuantification.fs)
- Duplicated block (16 lines × 3) (src/AlignmentBasedQuantification/AlignmentBasedQuantification.fs)
- Duplicated block (16 lines × 6) (src/AlignmentBasedQuantification/AlignmentBasedQuantification.fs)
- …and 101 more

## New (131)

- AlignmentBasedQuantStatistics.readRun (cognitive 17) (src/AlignmentBasedQuantStatistics/AlignmentBasedQuantStatistics.fs)
- AlignmentBasedQuantStatistics.readRun (cyclomatic 16) (src/AlignmentBasedQuantStatistics/AlignmentBasedQuantStatistics.fs)
- AlignmentBasedQuantStatistics.scoreRuns (cognitive 90) (src/AlignmentBasedQuantStatistics/AlignmentBasedQuantStatistics.fs)
- AlignmentBasedQuantStatistics.scoreRuns (cyclomatic 57) (src/AlignmentBasedQuantStatistics/AlignmentBasedQuantStatistics.fs)
- AlignmentBasedQuantification.quantifyPeptides (cognitive 290) (src/AlignmentBasedQuantification/AlignmentBasedQuantification.fs)
- AlignmentBasedQuantification.quantifyPeptides (cyclomatic 174) (src/AlignmentBasedQuantification/AlignmentBasedQuantification.fs)
- AlignmentFeatures.isotopeFeatures (cognitive 22) (src/AlignmentBasedQuantStatistics/AlignmentBasedQuantStatistics.fs)
- AlignmentFeatures.xicCompetition (cognitive 24) (src/AlignmentBasedQuantStatistics/AlignmentBasedQuantStatistics.fs)
- AlignmentScoring.fitPlatt (cognitive 19) (src/AlignmentBasedQuantStatistics/AlignmentBasedQuantStatistics.fs)
- BaselineAls.baselineAls (cognitive 109) (src/ProteomIQon/BaselineAls.fs)
- BaselineAls.baselineAls (cyclomatic 42) (src/ProteomIQon/BaselineAls.fs)
- Duplicated block (10 lines × 2) (src/PeptideSpectrumMatching/PeptideSpectrumMatching.fs)
- Duplicated block (12 lines × 2) (src/ProteomIQon/PSMQuantification.fs)
- Duplicated block (13 lines × 3) (src/AlignmentBasedQuantStatistics/AlignmentBasedQuantStatistics.fs)
- Duplicated block (13–14 lines × 5) (src/ProteomIQon/PSMQuantification.fs)
- Duplicated block (13–16 lines × 2) (src/PeptideSpectrumMatchingTIMs/PeptideIndex.fs)
- Duplicated block (14 lines × 3) (src/AlignmentBasedQuantStatistics/Program.fs)
- Duplicated block (15 lines × 2) (src/ProteomIQon/PSMQuantification.fs)
- Duplicated block (15 lines × 3) (src/PSMBasedQuantificationTIMs/PSMBasedQuantificationTIMs.fs)
- Duplicated block (15–16 lines × 2) (src/PSMBasedQuantification/PSMBasedQuantification.fs)
- …and 111 more

## Changes since last survey

- 94 commits — 92 feature/other, 2 fixes

## By area

- src/ProteomIQon — 31 commits
- src/AlignmentBasedQuantification_v2 — 17 commits
- docs/tools — 8 commits
- tests/data — 8 commits
- src/AlignmentBasedQuantStatistics_v2 — 5 commits
- src/PSMBasedQuantification — 5 commits
- src/PSMBasedQuantificationTIMs — 4 commits
- (repo) — 2 commits
- src/PSMStatistics — 2 commits
- docs/img — 1 commit
- docs/index.fsx — 1 commit
- src/AlignmentBasedQuantStatistics — 1 commit
- src/AlignmentBasedQuantification — 1 commit
- src/MsFraggerToPSM — 1 commit
- src/MzMLToMzLiteIonMobility — 1 commit
- src/PeptideSpectrumMatching — 1 commit
- src/PeptideSpectrumMatchingTIMs — 1 commit
- src/QuantBasedAlignment — 1 commit
- src/QuantBasedAlignment_v2 — 1 commit
- tests/Pipeline.fs — 1 commit

## Notable commits

- fix: Sum a fixed ion mobility window around the ion mobility centre of the ion and add the column IonMobilityCentre to the .quant files
- fix: Write the SequestScore as ModelScore in PSMStatistics with a fixed threshold
- change: Accept any finite scan time for MS2 spectra in the shared spectrum reader
- change: Add AlignmentBasedQuantStatistics
- change: Add AlignmentBasedQuantification
- change: Add BaselineAls and compute the ALS baseline of PSMBasedQuantificationTIMs with it
- change: Add QuantBasedAlignment
- change: Add RequirePeakAtScanTime to the parameters of AlignmentBasedQuantification
- change: Add RequirePeakAtScanTime to the parameters of the PSM quantification tools
- change: Add the AlignmentBasedQuantStatistics documentation
- change: Add the AlignmentBasedQuantification documentation
- change: Add the QuantBasedAlignment documentation
- change: Add the RetentionTimeFeature option to PSMStatistics
- change: Align the ion mobility centre in QuantBasedAlignment
- change: Calibrate a fold of AlignmentBasedQuantStatistics on the held-out ions of all folds when its own held-out ions are not of both classes
- change: Calibrate the alignment score of AlignmentBasedQuantStatistics with an isotonic fit
- change: Check the result of PSMStatisticsRetentionTime by its invariants instead of exact values
- change: Compute the ALS baseline of PSMBasedQuantification with BaselineAls
- change: Correct the doc comments of AlignmentBasedQuantification, AlignmentBasedQuantStatistics and TimsPeaks
- change: Correct the doc comments of closestIndex and readMs2Headers
- …and 74 more

## Architecture

- Containers 0 added · 0 removed · contexts 12 added · 0 removed · edges 10 added · 0 removed

## Added bounded contexts (12)

- ProteomIQon
- ProteomIQon.AlignmentBasedQuantStatistics
- ProteomIQon.AlignmentBasedQuantification
- ProteomIQon.LabelEfficiencyCalculator
- ProteomIQon.MsFraggerToPSM
- ProteomIQon.MzTAB
- ProteomIQon.PSMBasedQuantificationTIMs
- ProteomIQon.PeptideSpectrumMatchingTIMs
- ProteomIQon.QuantBasedAlignment
- ProteomIQon.SWATHAnalysis
- ProteomIQon.Tests
- build

## Added dependency edges (10)

- ProteomIQon.AlignmentBasedQuantStatistics → ProteomIQon (coupling)
- ProteomIQon.AlignmentBasedQuantification → ProteomIQon (coupling)
- ProteomIQon.MzTAB → ProteomIQon (coupling)
- ProteomIQon.PSMBasedQuantificationTIMs → ProteomIQon (coupling)
- ProteomIQon.PeptideSpectrumMatchingTIMs → ProteomIQon (coupling)
- ProteomIQon.QuantBasedAlignment → ProteomIQon (coupling)
- ProteomIQon.SWATHAnalysis → ProteomIQon (coupling)
- ProteomIQon.Tests → ProteomIQon
- ProteomIQon.Tests → ProteomIQon.AlignmentBasedQuantification
- ProteomIQon.Tests → ProteomIQon.PeptideSpectrumMatchingTIMs (coupling)
