Skip to content

Keep rebuilt evidence consistent with current curation - #429

Merged
iskandr merged 1 commit into
mainfrom
fix/424-curation-cache-inputs
Sep 6, 2026
Merged

Keep rebuilt evidence consistent with current curation#429
iskandr merged 1 commit into
mainfrom
fix/424-curation-cache-inputs

Conversation

@iskandr

@iskandr iskandr commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Changing study curation could leave observations and binding indexes marked current, and clearing the classification cache could still reuse an inner stale cache. Normal builds now fingerprint the curation YAMLs, cell-line registry, and referenced peptide-attribution CSVs, then refresh the file-backed and derived caches before rebuilding. Older metadata without the new input fingerprints rebuilds once.

Removed four redundant unbounded cache wrappers so the existing bounded caches own eviction and clearing. Version: 1.58.1.

Validation: format and lint pass; ./test.sh passes 1,205 tests. Seven regressions cover same-size/timestamp-preserving curation edits, newly referenced attribution files, and consecutive normal builds that persist changed restriction evidence and cancer/healthy classification. The focused builder/curation/smoke run also passed 290 tests.

Closes #424.
Closes #428.

@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 34052097524

Coverage increased (+0.07%) to 83.086%

Details

  • Coverage increased (+0.07%) from the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • 160 coverage regressions across 2 files.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

160 previously-covered lines in 2 files lost coverage.

File Lines Losing Coverage Coverage
builder.py 141 80.25%
curation.py 19 94.63%

Coverage Stats

Coverage Status
Relevant Lines: 8153
Covered Lines: 6774
Line Coverage: 83.09%
Coverage Strength: 0.83 hits per line

💛 - Coveralls

@iskandr
iskandr merged commit e68545f into main Sep 6, 2026
5 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

2 participants