Skip to main content

veckit

Local scorer for the Virtual Embryo Challenge (VEC): 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 git+https://github.com/aristoteleo/vec_baselines.git

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. All files are local ones you provide -- see the competition's own data release for what a sensible choice looks like for each task.

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.

Full task definitions, metric rationale, and baselines: see the aristoteleo/vec_baselines repository this package is built from.

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.0.tar.gz (33.8 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.0-py3-none-any.whl (40.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: veckit-0.1.0.tar.gz
  • Upload date:
  • Size: 33.8 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.0.tar.gz
Algorithm Hash digest
SHA256 bdd2c3771acab0a241ec5fb21c5d802161831601d7106f8f8c4815fc62c00e40
MD5 51696255767ab9871212cac34b9e7280
BLAKE2b-256 c789d8faf5d33b4d78bcc1437f8ff689b9df87a043c0054b4bf9b8d21e1b0b5c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: veckit-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 40.3 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b5e47b0f196efa7daf0f1dfa9288f46bfbdad99d4c71f279b9ff2006fae18d1a
MD5 509ec72a12ced300cd7912f9297918d2
BLAKE2b-256 7d4b1556cfc7434221ea437ae2f75953940149c0e2cd9737aecccc7a6fc42afb

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