Evidence, trust, and contradiction-resolution models for auditable proteomics decision knowledge graphs
Project description
bijux-proteomics-knowledge
bijux-proteomics-knowledge is the repository's scientific memory with
provenance. It preserves evidence, claims, resolution history, and grounded
workflow references as selective, reviewable memory instead of as generic
context.
Within the suite, knowledge owns scientific memory, provenance, contradiction handling, and review state.
Use this package when you need auditable scientific memory, explicit provenance, contradiction-aware evidence reasoning, and grounded workflow briefings that downstream packages can consume without re-curating locally.
At a glance
- Use knowledge when evidence, claims, citations, and contradictions must stay reviewable over time instead of being flattened into generic context.
- Start with
references,memory.models, andreviews.decision_briefs, then open the knowledge handbook for the full owner surface. - Route execution to runtime, recommendation posture to intelligence, assay follow-up to lab, and changes to scientific meaning back to core.
Why teams pick this package
- explicit evidence and claim memory with provenance, trust, and freshness semantics
- contradiction-aware resolution flows that preserve audit history
- grounded workflow briefings, caveats, and scientific rules tied to citations
- compatibility with shared schema and serialization contracts
Typical use cases
- preserve evidence bundles, claims, and resolution history for later scientific review
- retrieve grounded workflow caveats, benchmark claims, and ontology mappings
- explain why a scientific conclusion changed over time without losing provenance
- surface unresolved knowledge gaps before downstream packages rank, schedule, or execute work
0.3.8 Release Highlights
- Knowledge now exposes cited references, benchmark manifests, curated corpora, scientific rules, workflow briefing packets, comparator dossiers, and machine-readable release-gate registries as first-class public surfaces.
- Public resolution and lookup APIs now cover protein identity, feature overlap, pathway membership, complex membership, kinase substrates, drug targets, disease terms, knowledge coverage, and cross-species orthologs.
- The package is now grouped by durable
memory,references,reviews, andcontractsowners so provenance and trust semantics are easier to defend.
Installation
pip install bijux-proteomics-knowledge
Quick start
from bijux_proteomics_knowledge.memory.models.evidence import EvidenceBundle, evidence_gaps
from bijux_proteomics_knowledge.memory.models.claims import build_claim
from bijux_proteomics_knowledge.reviews.decision_briefs import build_knowledge_decision_brief
from bijux_proteomics_knowledge.references.workflows.briefings import (
build_workflow_reference_briefing,
)
Public APIs
The stable root API focuses on query and compatibility surfaces over curated scientific memory:
evaluate_schema_compatibility(...)for document-version checksresolve_protein_ids(...),resolve_pathway_members(...), and related resolvers for grounded lookup workcompute_knowledge_coverage(...)for annotation-sparsity reviewEvidenceRecord,EvidenceBundle, andEvidenceClaimfor typed memory payloads
Minimal executable example:
from bijux_proteomics_foundation import DocumentSchema
from bijux_proteomics_knowledge import evaluate_schema_compatibility
schema = DocumentSchema(
created_by="bijux-proteomics-knowledge",
document_kind="annotation_pack",
package_name="bijux-proteomics-knowledge",
)
report = evaluate_schema_compatibility(schema)
assert report.compatible is True
assert report.profile_id == "knowledge-default-profile"
Package identity
- Distribution name:
bijux-proteomics-knowledge - Import root:
bijux_proteomics_knowledge - Stable entrypoints:
memory.models.evidence,memory.models.claims,memory.reconciliation.resolution,reviews.decision_briefs,contracts.schema, andreferences
Package boundaries
This package owns scientific memory with provenance: evidence records, claim state, contradiction resolution, resolution history, and curated workflow references that ground shared interpretation boundaries.
It does not own execution orchestration, route-shaped payloads, candidate ranking or recommendation policy, or experiment scheduling.
What this package must not do
- it must not own runtime orchestration, route transport, or operator entrypoints
- it must not define ranking policy, recommendation posture, or lab scheduling behavior
- it must not accept uncited context blobs that are not selective, reviewable scientific memory
It is also not a generic context store. New content belongs here only when it becomes selective, cited, and reviewable scientific memory.
Consequence chain route
Knowledge is the first owner in the cross-package consequence chain, not a complete trust story by itself.
- use Workflow Consequence Maps when the question is how contradiction pressure becomes a weaker or stronger recommendation and then a real assay burden
- use What Changed The Recommendation when the question is whether literature pressure, comparator pressure, or downstream lab burden actually moved the call
- use Outcome Learning Loops when the question is how requested-versus-observed follow-up should tighten the next knowledge-facing claim
Scientific memory charter
The package boundary is justified by five grounded capabilities:
- curated references
- ontology mappings
- benchmark manifests
- curated corpora
- scientific context
Everything else in the package exists to turn those capabilities into auditable scientific memory with provenance:
memory/models/owns evidence and claim recordsmemory/integrity/owns graph integrity and decision tracingmemory/normalization/owns evidence ingestion into knowledge-owned memorymemory/reconciliation/owns contradiction resolution and resolution historycontracts/owns knowledge document and schema compatibility contractsreviews/owns decision-facing briefs built from existing memoryreferences/grounding/owns citations, contexts, corpora, ontologies, problems, and rulesreferences/workflows/owns benchmark manifests, workflow narratives, workflow briefings, and narrow workflow lookups
Contract checkpoints
- evidence and claim records must stay typed, auditable, and schema-versioned
- provenance, trust, freshness, and contradiction outputs must remain explicit instead of inferred
- resolution flows must preserve explainable lineage from evidence to decision
- downstream packages should depend on this layer for shared evidence meaning instead of recreating local memory models
- external evidence normalization belongs here only when it ends as scientific memory, not when it defines runtime adapters or orchestration seams
- every workflow-facing claim, caveat, and rule must stay grounded in citations, benchmark manifests, corpora, or scientific context entries
Curated scientific reference surfaces
referencesexposes a curated public slice for benchmark manifests, workflow briefings, ontology resolution, scientific rule references, and context entriesreferencesalso exposes scientific context entries, known-problem registries, literature groups, workflow claim and limitation narratives, and workflow briefing packets for downstream consumers- bundled fixture corpora stay distinct from external scientific references so reproducibility claims remain auditable
- scientific rules carry explicit citation and benchmark context instead of relying on package-local assumptions
- workflow briefing packets keep claim surfaces, limitation surfaces, and provenance attached so intelligence and lab can consume grounded context without re-curating it locally
Choose this package when
- you need selective scientific memory with provenance
- auditability and review traceability are part of the contract
- multiple higher layers should share the same evidence, claim, and resolution semantics
Route elsewhere when
- the change defines execution orchestration, route-shaped payloads, ranking or recommendation policy, or lab scheduling
- the helper only reformats evidence results for operator interfaces
- the behavior exists for one analytical workflow instead of shared scientific memory meaning
Verification route
- check
tests/contracts,tests/governance,tests/memory,tests/references,tests/reviews, andtests/packagebefore treating a knowledge change as safe - review
docs/BOUNDARIES.md,docs/CONTRACTS.md, anddocs/ARCHITECTURE.mdwhen ownership or trust-semantics claims are part of the change - use
README.md,CHANGELOG.md, and packagedocs/*.mdwhen the change affects package publication, metadata, or release-readiness expectations
Review questions
- does the change preserve scientific memory, provenance, contradiction, or trust semantics rather than transport-bound presentation or workflow-local shaping
- would another package start carrying shadow scientific memory if this behavior stayed outside knowledge
- can the change be justified without claiming execution orchestration, ranking, recommendation, lab execution, or runtime interface ownership
Escalation route
- route the change outward when the behavior mainly defines execution orchestration, ranking or recommendation policy, lab execution, or interface transport
- stop and review
docs/BOUNDARIES.mdanddocs/ARCHITECTURE.mdwhen the proposal starts looking like presentation reshaping instead of shared evidence meaning - escalate before release when downstream consumers would need package-specific trust or lineage exceptions to adopt the change
Consumer impact signals
- expect downstream review when evidence rules, provenance, lineage semantics, or trust resolution behavior change because other layers consume those meanings
- treat changes that alter contradiction handling, claim interpretation, or lineage expectations as high-impact even when APIs stay stable
- expect a narrower release burden when the change only improves internal implementation without changing scientific memory semantics
Explicit non-goals
- this package does not own execution orchestration, provider wiring, replay behavior, or route-shaped payloads
- this package does not define candidate ranking or recommendation policy
- this package does not define lab-specific scheduling logic
- this package does not carry shared primitive contracts that belong in the foundation package
- this package does not serve as a generic context sink for uncited scientific notes
Source guide
src/bijux_proteomics_knowledge/memory/models/evidence.pyfor evidence models, provenance scoring, contradiction detection, and memory quality auditssrc/bijux_proteomics_knowledge/memory/models/claims.pyfor claim modeling, lineage, and knowledge-gap auditssrc/bijux_proteomics_knowledge/memory/reconciliation/resolution.pyfor conflict-resolution policies over shared scientific memorysrc/bijux_proteomics_knowledge/memory/integrity/graph.pyfor evidence-graph validation rules and decision tracingsrc/bijux_proteomics_knowledge/memory/normalization/ingestion.pyfor normalization of external evidence into knowledge-owned memory recordssrc/bijux_proteomics_knowledge/reviews/decision_briefs.pyfor decision-facing briefs and multi-decision readiness summaries derived from existing memorysrc/bijux_proteomics_knowledge/reviews/explanations.pyfor candidate-level graph explanations built from existing decision briefssrc/bijux_proteomics_knowledge/reviews/trends.pyfor decision-brief comparisons and trend summaries that keep decision-facing change explicitsrc/bijux_proteomics_knowledge/governance/charter.pyfor the machine-readable package charter and module auditsrc/bijux_proteomics_knowledge/references/for curated references split into grounding and workflow familiessrc/bijux_proteomics_knowledge/references/workflows/briefings.pyfor workflow-level claim, limitation, context, literature, problem, and rule packets that preserve provenance for downstream consumerstestsfor executable behavior expectations organized by memory, references, reviews, and package contracts
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_knowledge-0.3.8.tar.gz.
File metadata
- Download URL: bijux_proteomics_knowledge-0.3.8.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2965f791210a6c9971b8bbe8c302b5b6ed50859049ee2175436ab7cc1661c757
|
|
| MD5 |
0384ed7ffe483b75310bc101fed78732
|
|
| BLAKE2b-256 |
c23189b4dc9921ce66f0be0620241baf6e1282f9c5ec96a937ee2eddf476b0a5
|
Provenance
The following attestation bundles were made for bijux_proteomics_knowledge-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_knowledge-0.3.8.tar.gz -
Subject digest:
2965f791210a6c9971b8bbe8c302b5b6ed50859049ee2175436ab7cc1661c757 - Sigstore transparency entry: 2034469642
- 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_knowledge-0.3.8-py3-none-any.whl.
File metadata
- Download URL: bijux_proteomics_knowledge-0.3.8-py3-none-any.whl
- Upload date:
- Size: 227.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 |
9e3486f716351ecd7f6f4871893060113d1fb72b4b0a9ecc3529b7f1ed4716da
|
|
| MD5 |
ef29efd3d97d9389a6aaaee0734df521
|
|
| BLAKE2b-256 |
af2eff2d71f309919bc815bb3acd1d6532f4998e1f6bb8c19b7708e02f961296
|
Provenance
The following attestation bundles were made for bijux_proteomics_knowledge-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_knowledge-0.3.8-py3-none-any.whl -
Subject digest:
9e3486f716351ecd7f6f4871893060113d1fb72b4b0a9ecc3529b7f1ed4716da - Sigstore transparency entry: 2034470115
- 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: