YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

License: BSL-1.1 License: AGPL-3.0 License: MPL-2.0 Python Stan MiniZinc Evidence or Silence

bio-semantics

ๅŸบๅ› ่กจ้”่ชž็พฉๅปบๆจก็ฎก็ทš (ุฎุท ุฃู†ุงุจูŠุจ ุงู„ู†ู…ุฐุฌุฉ ุงู„ุฏู„ุงู„ูŠุฉ ู„ู„ุชุนุจูŠุฑ ุงู„ุฌูŠู†ูŠ)

Gene-expression semantic modeling pipeline โ€” Stan + MiniZinc + cDNA sequencing visualizer with immutable artifact provenance, PTM verification, and RPG/JCL integration templates.

Authors: Ahmad Ali Parr, Jessica L. Williams (SNAPKITTYWEST)


Architecture

                BIOLOGICAL OBSERVATIONS
                         โ”‚
                         โ–ผ
                cDNA EXPRESSION DATA
                         โ”‚
                         โ–ผ
                โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                โ”‚ DATA VALIDATION โ”‚  โ† semantics.py (10 validator rules)
                โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                         โ”‚
                         โ–ผ
                GENE EXPRESSION
                         โ”‚
                         โ–ผ
                โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                โ”‚   STAN MODEL    โ”‚  โ† Bayesian inference
                โ”‚ priors          โ”‚
                โ”‚ likelihood      โ”‚
                โ”‚ posterior       โ”‚
                โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                         โ”‚
                         โ–ผ
                 POSTERIOR STATE
                         โ”‚
                         โ–ผ
                โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                โ”‚ MINIZINC MODEL  โ”‚  โ† Constraint reasoning
                โ”‚ constraints     โ”‚
                โ”‚ optimization    โ”‚
                โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                         โ”‚
                         โ–ผ
                COMPUTATIONAL RESULT
                         โ”‚
                         โ–ผ
                โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                โ”‚ VISUALIZER      โ”‚  โ† dashboard.html (8 panels)
                โ”‚ HTML + CSS      โ”‚
                โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                         โ”‚
                         โ–ผ
                HUMAN-READABLE MODEL

Repository Structure

bio-semantics/
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ semantics.py           Validator + PTM parity machine
โ”‚   โ”œโ”€โ”€ test_semantics.py      Unit tests (6 test classes)
โ”‚   โ””โ”€โ”€ dashboard.html         8-panel semantic report viewer
โ”œโ”€โ”€ spec/
โ”‚   โ”œโ”€โ”€ types.ts               TypeScript type definitions (bio-semantics/1.0.0)
โ”‚   โ”œโ”€โ”€ contract.md            Gate 1 integration contract
โ”‚   โ””โ”€โ”€ system_prompt.md       Agent system prompt specification
โ””โ”€โ”€ templates/
    โ”œโ”€โ”€ workflow.rpgle          RPG workflow coordinator (IBM i)
    โ””โ”€โ”€ vault.jcl              JCL vault archival template

Quantity Kinds

Kind Meaning ๆ„็พฉ (ุงู„ู…ุนู†ู‰)
observed Measurement with source record locator ่ง€ๆธฌๅ€ผ (ุงู„ู‚ูŠู…ุฉ ุงู„ู…ุฑุตูˆุฏุฉ)
inferred Posterior with model/run references and uncertainty ๆŽจๆ–ทๅ€ผ (ุงู„ู‚ูŠู…ุฉ ุงู„ู…ุณุชู†ุชุฌุฉ)
derived Deterministic transformation with algorithm references ่ก็”Ÿๅ€ผ (ุงู„ู‚ูŠู…ุฉ ุงู„ู…ุดุชู‚ุฉ)
predicted Unobserved modeled quantity ้ ๆธฌๅ€ผ (ุงู„ู‚ูŠู…ุฉ ุงู„ู…ุชูˆู‚ุนุฉ)
constrained Declared relation or solver result ็ด„ๆŸๅ€ผ (ุงู„ู‚ูŠู…ุฉ ุงู„ู…ู‚ูŠุฏุฉ)
encoded Representation with codec identifier ็ทจ็ขผๅ€ผ (ุงู„ู‚ูŠู…ุฉ ุงู„ู…ุฑู…ุฒุฉ)
executed Actual execution event with run evidence ๅŸท่กŒไบ‹ไปถ (ุญุฏุซ ุงู„ุชู†ููŠุฐ)

Validator Rules

  1. Reject unsupported versions, unknown discriminants, duplicate IDs
  2. Require exactly one of present value or missing reason
  3. Raw counts: canonical unsigned decimal only
  4. Decimal quantities: reject NaN/infinity, require units
  5. Require sample/gene references to resolve
  6. Reject inferred/predicted/constrained labeled as observed
  7. Preserve excluded rows with explicit inclusion map
  8. Missing source bytes block verified-ingestion claims
  9. Synthetic-origin propagation through every descendant
  10. Never create model-results merely because a process was scheduled

PTM: ptm-bit-parity/1

State Read Write Move Next
q_even 0 0 R q_even
q_even 1 1 R q_odd
q_odd 0 0 R q_odd
q_odd 1 1 R q_even
q_even _ 0 Stay q_accept
q_odd _ 1 Stay q_accept

For input length n: exactly n+1 transitions, constant auxiliary storage.


Run Tests

cd src && python -m pytest test_semantics.py -v

Gated Phases

Gate What Status
1. Contract Contracts accepted, encodings documented, provenance validated Ready for review
2. Engine Stan/MiniZinc/Quipper sources exist, native validation recorded Not started
3. Integration All panels rendered, WORM loaded, governance preserved Not started

License

This project is released under a trilicense model. You may choose any one of the following:

License SPDX Link
Boost Software License 1.0 BSL-1.1 LICENSE-BSL
GNU Affero General Public License v3 AGPL-3.0 LICENSE-AGPL
Mozilla Public License 2.0 MPL-2.0 LICENSE-MPL

Unauthorized cloud SaaS redistribution without source disclosure is prohibited under all three licenses.


SnapKitty West / SNAPKITTYWEST โ€” Evidence or Silence โ€” 2026

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Collection including Snapkitty/bio-semantics