Skip to main content

Policy-driven candidate ranking and scenario decision intelligence for protein progression and portfolio prioritization

Project description

bijux-proteomics-intelligence

Python 3.11+ Typing: typed License: Apache-2.0 CI Status GitHub Repository

bijux-proteomics-intelligence agentic-proteins bijux-proteomics-foundation bijux-proteomics-core bijux-proteomics-runtime bijux-proteomics-knowledge bijux-proteomics-lab

bijux-proteomics-intelligence agentic-proteins bijux-proteomics-foundation bijux-proteomics-core bijux-proteomics-knowledge bijux-proteomics-lab

bijux-proteomics-intelligence docs agentic-proteins docs bijux-proteomics-foundation docs bijux-proteomics-core docs bijux-proteomics-runtime docs bijux-proteomics-knowledge docs bijux-proteomics-lab docs

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, and posture.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:

  • falsifiers for challenge surfaces over typed claims
  • refusal for refusal thresholds and unsupported-claim gating
  • belief_audit for top-claim confidence and audit summaries
  • reviews for 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/, and governance/
  • Curated root owner families: candidates, judgment, posture, reviews, interpretation, learning, and governance

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, and interpretation/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, or multiplex

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 tests for ranking, evaluator, review, and interpretation proof before treating an intelligence change as safe
  • review governance/charter.py and the capability map when ownership or analytical-band claims are part of the change
  • review docs/BOUNDARIES.md, docs/CONTRACTS.md, and docs/INTERPRETATION.md when 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.md and docs/ARCHITECTURE.md when 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

Documentation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bijux_proteomics_intelligence-0.3.8.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bijux_proteomics_intelligence-0.3.8-py3-none-any.whl (211.6 kB view details)

Uploaded Python 3

File details

Details for the file bijux_proteomics_intelligence-0.3.8.tar.gz.

File metadata

File hashes

Hashes for bijux_proteomics_intelligence-0.3.8.tar.gz
Algorithm Hash digest
SHA256 a8d131867e99a3ae0cb8824e0bcada17ec602cc04957850995bdbe75b0f7f2d9
MD5 d0e65d2e5c055fef9fe05e4640fd6a08
BLAKE2b-256 26eb8826895f99c507cfcecb3b7bc51c8c0a553a69d78009fa8e65fcf58f16f6

See more details on using hashes here.

Provenance

The following attestation bundles were made for bijux_proteomics_intelligence-0.3.8.tar.gz:

Publisher: release-pypi.yml on bijux/bijux-proteomics

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bijux_proteomics_intelligence-0.3.8-py3-none-any.whl.

File metadata

File hashes

Hashes for bijux_proteomics_intelligence-0.3.8-py3-none-any.whl
Algorithm Hash digest
SHA256 5dab95fe20b2ff9c7e761a4606e382a1124ae47efb1a5dd590a54183a1c0f0a4
MD5 3e5965cf617f10df8afc5732c0b039c6
BLAKE2b-256 22b86137ea97d2cb01aa807687211e25947c483d47951b383b16650ca747ad9d

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page