Policy-driven candidate ranking and scenario decision intelligence for protein progression and portfolio prioritization
Project description
bijux-proteomics-intelligence
bijux-proteomics-intelligence is the analytical judgment layer for
bijux-proteomics. It can rank candidates, gate recommendation readiness,
assemble decision briefs, summarize cautious interpretation posture, and carry
learning pressure forward without claiming scientific truth, runtime
orchestration, or lab execution authority.
Within the suite, intelligence owns recommendation posture, ranking sensitivity, and refusal behavior.
The package root is curated on purpose. Import exact owner modules such as
candidates.ranking, judgment.paths, posture.evidence,
interpretation.runs, and reviews.benchmarks instead of treating the
package root like a broad symbol menu. The machine-readable charter in
governance/charter.py and the governed capability map define six durable
analytical families:
- candidates
- judgment
- posture
- interpretation
- reviews
- learning
Those families are the durable answer to what intelligence can decide and what it must refuse or downgrade.
Release-facing maintainers should keep README.md, CHANGELOG.md, and the
package docs/*.md set aligned before claiming new intelligence behavior or
scientific scope.
It also provides benchmark-backed review outputs for dda, dia, ptm,
lfq, and multiplex workflows when reviewers need package-owned claims
instead of presentation-only summaries.
At a glance
- Use intelligence when reviewers need ranking, readiness, refusal, or recommendation posture without pretending those outputs are scientific truth.
- Start with
candidates.ranking,judgment.paths, andposture.evidence, then open the intelligence handbook for the full owner map. - Route curated evidence memory to knowledge, scientific meaning to core, executable control to runtime, and assay follow-up execution to lab.
Why teams pick this package
- transparent ranking and recommendation outputs with traceable decision rationale
- explicit downgrade and refusal behavior when evidence is stale, thin, or contradictory
- review-ready packets and skeptical challenge surfaces that keep unresolved questions visible
- typed interpretation summaries that stay cautious about biological meaning
Typical use cases
- rank candidate proteins against defined decision policies
- decide whether current evidence is ready for progression-oriented review
- produce explainable shortlists and review-board packets for expert scrutiny
- summarize proteomics interpretation posture without re-owning raw analysis
- carry benchmark-backed review claims into release conversations
0.3.8 Release Highlights
- Intelligence now ships typed interpretation surfaces for run summaries, differential abundance, PTM review, missingness, outliers, contaminants, and enrichment-driven recommendation posture.
- The package is now organized around durable owner families for candidates, judgment, posture, interpretation, reviews, and learning, so recommendation boundaries are easier to audit.
- README and handbook examples now route readers through the currently shipped analytical entrypoints instead of older decision-brief naming.
Installation
pip install bijux-proteomics-intelligence
Quick start
from bijux_proteomics_intelligence.candidates.ranking import prioritize_candidates
from bijux_proteomics_intelligence.interpretation.runs import (
build_run_interpretation_summary,
)
from bijux_proteomics_intelligence.interpretation.quantitative import (
interpret_differential_abundance,
)
from bijux_proteomics_intelligence.judgment.paths import (
build_review_board_decision_path,
)
from bijux_proteomics_intelligence.posture.evidence import (
assess_recommendation_readiness,
)
from bijux_proteomics_intelligence.reviews.benchmarks import (
build_dia_benchmark_review,
)
For grounded recommendation judgment:
ranking = prioritize_candidates(...)
readiness = assess_recommendation_readiness(...)
path = build_review_board_decision_path(...)
For benchmark-backed workflow review:
review = build_dia_benchmark_review(source_path=...)
For proteomics interpretation:
summary = build_run_interpretation_summary(...)
report = interpret_differential_abundance(...)
Public APIs
The public package root deliberately exports owner modules instead of a broad symbol bucket:
falsifiersfor challenge surfaces over typed claimsrefusalfor refusal thresholds and unsupported-claim gatingbelief_auditfor top-claim confidence and audit summariesreviewsfor typed report-contract assembly over supported workflows
Minimal executable example:
from bijux_proteomics_intelligence import falsifiers
from bijux_proteomics_knowledge import EvidenceClaim
claim = EvidenceClaim(
claim_id="protein-claim:p11111",
target_id="protein:p11111",
statement="Protein PTM1 increased in treated vs control.",
subject="P11111",
relation="protein_abundance_change",
object="up",
direction="up",
claim_type="biomarker",
evidence_ids=["evidence:1"],
status="supported",
polarity="supporting",
resolution_state="open",
evidence_state="supported",
)
report = falsifiers.generate_falsifiers(claim)
assert report.summary.claim_count == 1
assert report.entries[0].claim_id == claim.claim_id
Package identity
- Distribution name:
bijux-proteomics-intelligence - Import root:
bijux_proteomics_intelligence - Canonical owner families:
candidates/,judgment/,posture/,reviews/,interpretation/,learning/, andgovernance/ - Curated root owner families:
candidates,judgment,posture,reviews,interpretation,learning, andgovernance
Package boundaries
This package owns analytical judgment over already-typed workflow and evidence surfaces.
It can decide:
- candidate ranking and lifecycle framing through
candidates/ - scenario recommendations, uncertainty, and review-decision paths through
judgment/ - evidence-readiness downgrade, refusal, and skeptical pressure through
posture/ - benchmark-backed reviewer outputs and downstream analytical presentation through
reviews/ - cautious interpretation summaries through
interpretation/runs.py,interpretation/quantitative.py,interpretation/pathways.py,interpretation/ptm.py,interpretation/contaminants.py, andinterpretation/contrasts.py - learning pressure on future prioritization through
learning/
It does not own scientific truth, evidence curation, workflow stage law, runtime transport, or lab scheduling.
What this package must not do
- it must not redefine scientific truth or evidence provenance that belongs in core or knowledge
- it must not absorb runtime execution transport or lab scheduling into analytical judgment
- it must not widen the package root into a convenience bucket that hides the real owner modules
Consequence chain route
Intelligence owns the recommendation sentence inside the shared consequence chain, but it does not own the whole story.
- use Workflow Consequence Maps when the question is whether the current recommendation already outruns the weakest downstream boundary
- use What Changed The Recommendation when the question is which counterfactual, contradiction, or lab burden actually changed the recommendation
- use Workflow Refusal Handbook when the honest next action may still be stop, rerun, narrow, or refuse even though a recommendation surface exists
Contract checkpoints
- ranking and scenario outputs must carry typed rationale instead of opaque scores
- recommendation outputs must expose downgrade or refusal when evidence posture is weak
- review outputs must keep unresolved questions visible instead of polishing them away
- interpretation outputs must preserve caveats instead of implying mechanistic certainty
- benchmark review outputs must stay tied to checked-in fixtures and explicit scientific limits
Choose this package when
- you need candidate ranking, scenario evaluation, or explainable recommendation logic
- the change affects analytical judgment rather than the way results are delivered
- policy and rationale should stay explicit and reproducible
- you need skeptical analytical review over whether a recommendation is truly defensible
- you need benchmark-backed release review outputs for
dda,dia,ptm,lfq, ormultiplex
Route elsewhere when
- the change defines scientific parsing, evidence storage, lab scheduling, or runtime transport wiring
- the helper only reformats recommendation outputs for CLI or API consumers
- the behavior needs operational burden or feasibility ownership that belongs in lab
Verification route
- check
testsfor ranking, evaluator, review, and interpretation proof before treating an intelligence change as safe - review
governance/charter.pyand the capability map when ownership or analytical-band claims are part of the change - review
docs/BOUNDARIES.md,docs/CONTRACTS.md, anddocs/INTERPRETATION.mdwhen refusal, downgrade, or interpretation claims are part of the change
Review questions
- does the change preserve analytical judgment semantics rather than output transport
- would another package start carrying shadow ranking or refusal logic if this stayed outside intelligence
- can the change be justified without claiming scientific truth, runtime execution, or lab scheduling ownership
Escalation route
- route the change outward when the behavior mostly shapes scientific truth, evidence curation, lab operations, or delivery transport
- stop and review
docs/BOUNDARIES.mdanddocs/ARCHITECTURE.mdwhen a proposal starts looking broader than the six analytical families - escalate before release when downstream consumers would need local exceptions to interpret recommendation readiness or refusal
Consumer impact signals
- expect downstream review when ranking rules, refusal posture, or review packet semantics change because consumers rely on stable recommendation meaning
- treat changes that alter downgrade thresholds or contradiction handling as high-impact even when function names and imports stay stable
- expect a lower release burden when the change only improves internal implementation without changing analytical meaning
Explicit non-goals
- this package does not own evidence storage, claim lineage, or trust semantics
- this package does not own runtime transport, provider selection, or operator entrypoints
- this package does not schedule lab workflows or carry workflow-local rerun policy
Source guide
src/bijux_proteomics_intelligence/governance/charter.pyfor the machine-readable charter and capability mapsrc/bijux_proteomics_intelligence/candidates/ranking.pyfor ranking and candidate framingsrc/bijux_proteomics_intelligence/candidates/lifecycle.pyfor lifecycle movement and risk contextsrc/bijux_proteomics_intelligence/judgment/scenarios.pyfor scenario evaluationsrc/bijux_proteomics_intelligence/judgment/recommendations.pyfor escalation, refusal, and unresolved-question posturesrc/bijux_proteomics_intelligence/judgment/paths.pyfor end-to-end analytical decision pathssrc/bijux_proteomics_intelligence/posture/evidence.pyfor contradiction, freshness, downgrade, and refusal posturesrc/bijux_proteomics_intelligence/posture/skeptical.pyfor scientific and software challenge pressuresrc/bijux_proteomics_intelligence/reviews/decision_briefs.pyfor decision brief assembly and ranked evidence presentationsrc/bijux_proteomics_intelligence/reviews/boards.pyfor board-facing analytical review projectionssrc/bijux_proteomics_intelligence/reviews/candidates.pyfor candidate-facing review projectionssrc/bijux_proteomics_intelligence/reviews/pathways.pyfor pathway-facing review projectionssrc/bijux_proteomics_intelligence/reviews/benchmarks.pyfor benchmark-backed release reviewsrc/bijux_proteomics_intelligence/interpretation/runs.pyfor run-level interpretation posturesrc/bijux_proteomics_intelligence/interpretation/quantitative.pyfor quantitative interpretation and missingness caveatssrc/bijux_proteomics_intelligence/learning/adaptation.pyfor follow-up learning pressuretestsfor executable behavior expectations
Documentation
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bijux_proteomics_intelligence-0.3.8.tar.gz.
File metadata
- Download URL: bijux_proteomics_intelligence-0.3.8.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8d131867e99a3ae0cb8824e0bcada17ec602cc04957850995bdbe75b0f7f2d9
|
|
| MD5 |
d0e65d2e5c055fef9fe05e4640fd6a08
|
|
| BLAKE2b-256 |
26eb8826895f99c507cfcecb3b7bc51c8c0a553a69d78009fa8e65fcf58f16f6
|
Provenance
The following attestation bundles were made for bijux_proteomics_intelligence-0.3.8.tar.gz:
Publisher:
release-pypi.yml on bijux/bijux-proteomics
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bijux_proteomics_intelligence-0.3.8.tar.gz -
Subject digest:
a8d131867e99a3ae0cb8824e0bcada17ec602cc04957850995bdbe75b0f7f2d9 - Sigstore transparency entry: 2034469527
- Sigstore integration time:
-
Permalink:
bijux/bijux-proteomics@1c7da1b39cf1085afea9d94cbbe2ddf55fb1ed6c -
Branch / Tag:
refs/heads/main - Owner: https://github.com/bijux
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-pypi.yml@1c7da1b39cf1085afea9d94cbbe2ddf55fb1ed6c -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file bijux_proteomics_intelligence-0.3.8-py3-none-any.whl.
File metadata
- Download URL: bijux_proteomics_intelligence-0.3.8-py3-none-any.whl
- Upload date:
- Size: 211.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5dab95fe20b2ff9c7e761a4606e382a1124ae47efb1a5dd590a54183a1c0f0a4
|
|
| MD5 |
3e5965cf617f10df8afc5732c0b039c6
|
|
| BLAKE2b-256 |
22b86137ea97d2cb01aa807687211e25947c483d47951b383b16650ca747ad9d
|
Provenance
The following attestation bundles were made for bijux_proteomics_intelligence-0.3.8-py3-none-any.whl:
Publisher:
release-pypi.yml on bijux/bijux-proteomics
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bijux_proteomics_intelligence-0.3.8-py3-none-any.whl -
Subject digest:
5dab95fe20b2ff9c7e761a4606e382a1124ae47efb1a5dd590a54183a1c0f0a4 - Sigstore transparency entry: 2034470431
- Sigstore integration time:
-
Permalink:
bijux/bijux-proteomics@1c7da1b39cf1085afea9d94cbbe2ddf55fb1ed6c -
Branch / Tag:
refs/heads/main - Owner: https://github.com/bijux
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-pypi.yml@1c7da1b39cf1085afea9d94cbbe2ddf55fb1ed6c -
Trigger Event:
workflow_dispatch
-
Statement type: