Skip to main content

SciModelingBench logo

SciModelingBench

Observation-grounded benchmarks for scientific modeling and design agents.

PyPI version Python versions Development status License

Documentation · Architecture · API · Design-Bench Suite · Dataset Hub

SciModelingBench separates versioned scientific observations, Agent-visible inputs, trusted target functions, and benchmark evaluation into explicit, reusable interfaces. The source tree includes end-to-end TFBind8, TFBind10 Pho4, Superconductor, CellDAG-NAS, Hopper Controller, UTR MRL, GFP, and DrugMatrix Tasks. The measured-pool integrations retain source observations and avoid treating legacy learned Design-Bench oracles as experimental truth.

SciModelingBench task overview: biomolecular design, superconducting materials, preclinical toxicology, neural architecture design, and embodied control

Installation

SciModelingBench requires Python 3.10 or later.

Stable Release

Install the latest published version from PyPI:

python -m pip install sci-modeling-bench

Development Version

The documentation below follows the current source tree:

python -m pip install \
  "git+https://github.com/xukp20/sci-modeling-bench.git@main"

What It Provides

SciModelingBench provides:

  • revision-pinned loading of scientific datasets hosted on Hugging Face;
  • semantic manifests, schemas, provenance metadata, and structured validation;
  • trusted Objectives for persisted-target lookup or derived evaluation;
  • integrity-checked local caching for deterministic derived evaluator artifacts;
  • Protocols that construct the information exposed to an optimization agent;
  • Tasks that bind Agent input to typed submission and metric semantics;
  • optional, lazily loaded domain-knowledge resources.

The package does not define a universal submission format, query budgets, agent workflows, process isolation, or an evaluation harness.

Hub-backed Tasks enable derived artifact caching by default. Set SCI_MODELING_BENCH_CACHE_DIR to choose a shared local root, call task.prepare() before serving evaluations, or pass cache=False when no persistent derived state is desired. Package upgrades reuse entries whenever the pinned Dataset revision and derivation version are unchanged.

Quick Start: TFBind8

The package provides an end-to-end Task for the canonical TFBind8 SIX6_REF_R1 landscape. It combines the Design-Bench bottom-50% offline-data Protocol, exact Objective, ordered submission contract, and common candidate metrics:

from sci_modeling_bench.suites.design_bench import (
    TFBind8BlackBoxOptimizationTask,
)

task = TFBind8BlackBoxOptimizationTask.from_hub()
agent_input = task.build_input()
offline_data = agent_input.data

# A uniform, disclosure-scoped description of the visible table.
print(agent_input.manifest.model_dump_json(indent=2))

submission = [
    {"sequence": sequence}
    for sequence in offline_data["sequence"][:128]
]
evaluation = task.evaluate(submission)

print(evaluation.score)
print(evaluation.metrics)
print(evaluation.valid_candidates, evaluation.invalid_candidates)

When revision is omitted, the current default branch of the Dataset repository is resolved to an immutable commit SHA for that Dataset instance. For a reproducible benchmark run, pass a full commit SHA explicitly; the initial TFBind8 release is 2ee2856f4255bb6a64c11b6c2660a6f41418e654.

The TFBind8 observations are downloaded from the public SciModelingBench Hugging Face organization and are not bundled in the Python wheel.

Core Concepts

  • Dataset binds immutable observations to metadata, semantic fields, validation rules, splits, and optional knowledge.
  • Objective validates candidates and returns declared persisted or derived outputs while preserving batch order and repeated candidates.
  • Protocol derives the data or context visible to an agent without modifying the underlying Dataset.
  • Task defines one complete submission contract and its evaluation metrics; only Objective-backed Task subclasses require an Objective.
  • Knowledge provides read-only explanatory resources pinned to the same dataset revision.

Dataset Artifacts

Dataset artifacts are hosted separately from this package. Neither the PyPI distribution nor the GitHub source repository bundles observation tables. Loaders resolve dedicated Hugging Face Dataset repositories at pinned commits; the package contains the framework, integrations, validators, and reproducible builders.

Documentation

Area Entry point
Documentation Documentation index
Architecture Core concepts and data flow
Public interfaces API overview
Implemented settings Design-Bench suite
Evaluation Candidate submission metrics
Changes Changelog

Development Status

The public interfaces remain experimental. Pin package versions and Hugging Face revisions in reproducible runs. New releases are published only after the complete Dataset, Protocol, Objective, Task, documentation, and tests are validated together.

Download files

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

Source Distribution

sci_modeling_bench-0.10.0.tar.gz (5.5 MB view details)

Uploaded Source

Built Distribution

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

sci_modeling_bench-0.10.0-py3-none-any.whl (330.0 kB view details)

Uploaded Python 3

File details

Details for the file sci_modeling_bench-0.10.0.tar.gz.

File metadata

  • Download URL: sci_modeling_bench-0.10.0.tar.gz
  • Upload date:
  • Size: 5.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for sci_modeling_bench-0.10.0.tar.gz
Algorithm Hash digest
SHA256 835f8a5aa6ba54564522d76e56773ec39c28dabd84829833f7f1bf8bc1c27c2b
MD5 74caa3066dc3ed00eecfe45e153bb146
BLAKE2b-256 0c838b626cc5732b2dca81f9c497dd829cf8623474b41cfa2b945f4a23fc3c05

See more details on using hashes here.

Provenance

The following attestation bundles were made for sci_modeling_bench-0.10.0.tar.gz:

Publisher: release.yml on xukp20/sci-modeling-bench

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

File details

Details for the file sci_modeling_bench-0.10.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sci_modeling_bench-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 84d220609ddc3f64ee2f742811f3b4f3d15aada16d63486dd6bb4663ef933246
MD5 89a3a4b41f65c500873a0d2e2ce56dfd
BLAKE2b-256 f74075a5ca3be033b26502c50a63783c404339556449184001a11e717b6873d1

See more details on using hashes here.

Provenance

The following attestation bundles were made for sci_modeling_bench-0.10.0-py3-none-any.whl:

Publisher: release.yml on xukp20/sci-modeling-bench

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

Release history Release notifications | RSS feed

This release

0.10.0 This release

2 files

0.9.0

2 files

0.8.0

2 files

0.7.0

2 files

0.6.0

2 files

0.5.0

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page