Skip to main content

veckit

Local scorer for the Virtual Embryo Challenge: score a submitted .h5ad against the T1/T2/T3 metric panels, entirely offline, against reference files you supply. This package never reads the official (held-out) validation/test data, and never imports anything that names where that data lives -- it only knows how to compute a metric panel from arrays you hand it.

pip install veckit

Getting the real data

Register and download the released T1/T2/T3 stages from the official challenge site: virtualembryo.ai/challenge/data (see also aristoteleo/virtualembryo). veckit_tutorial.ipynb in this repo also ships a few tiny (150-cell) samples if you just want to try the tool first.

CLI

Full, meaningful panel (a real prediction, scored against the real preceding stage):

veckit --task T1 --input pred.h5ad --target T1/9.5.h5ad --reference T1/8.5.h5ad
veckit --task T2 --setting heart --input pred.h5ad --target b.h5ad --reference a.h5ad
veckit --task T3 --input pred.h5ad --target mab21l2_ko.h5ad --wt wt.h5ad

Quick copy_last / wt_identity check (--input doubles as --reference/--wt when omitted):

veckit --task T1 --input T1/8.5.h5ad --target T1/9.5.h5ad

Python

from veckit import score
result = score(task="T1", input="pred.h5ad", target="T1/9.5.h5ad", reference="T1/8.5.h5ad")
print(result["metrics"])

--target (all tasks) is the pseudo target your --input prediction is scored against. --reference (T1/T2) / --wt (T3) is the reference expression de_score/de_direction/severity_slope are computed relative to -- these are PRIMARY metrics ("did you predict the right change", not just "does this look plausible"), so pass a real one whenever you're scoring a real model; omitting it defaults to --input itself, which is only correct when you're deliberately testing a no-change baseline (copy_last/wt_identity) -- those metrics then correctly read as exactly 0, matching the official baseline tables.

This is not a preview of your real competition score. Whatever you pass as --target is, by definition, data you already had — so this only tells you the scoring pipeline runs and your submission format is valid, not how well you'll do on the real held-out target.

More

Full task definitions and metric rationale: virtualembryo.ai and aristoteleo/virtualembryo.

Download files

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

Source Distribution

veckit-0.1.1.tar.gz (33.4 kB view details)

Uploaded Source

Built Distribution

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

veckit-0.1.1-py3-none-any.whl (40.4 kB view details)

Uploaded Python 3

File details

Details for the file veckit-0.1.1.tar.gz.

File metadata

  • Download URL: veckit-0.1.1.tar.gz
  • Upload date:
  • Size: 33.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for veckit-0.1.1.tar.gz
Algorithm Hash digest
SHA256 15426b229e5b2b611a56bb7193cd5661b5ca1b56638420db6bc62f9ed20856a3
MD5 cdb92f2ef81d9ffe99cdd6712a7a7b78
BLAKE2b-256 3b8390159adeb26b4c43f8a6aaecec0e0346e03d15918451d5ce4f5129a96a3d

See more details on using hashes here.

File details

Details for the file veckit-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: veckit-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 40.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for veckit-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 542fd266b039dbe592f279a17783a8107273ecc7e5af30ce1ba6ae3051b80e2a
MD5 bd17e2ec6498d6720e3f93b0661ecb62
BLAKE2b-256 38ab1dc9b11f8cf3acdc584ad27ec1cc23b04530ae485add5475a80f70052352

See more details on using hashes here.

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