Skip to main content

An observation-grounded benchmark framework for scientific modeling and design.

Project description

SciModelingBench logo

SciModelingBench

Observation-grounded benchmarks for scientific modeling and design agents.

PyPI version Python versions Development status License

Documentation · Architecture · API · TFBind8 · Dataset Hub

SciModelingBench separates versioned scientific observations, Agent-visible inputs, trusted target functions, and benchmark evaluation into explicit, reusable interfaces. Version 0.2.0 provides experimental Dataset, Objective, Protocol, and Task APIs plus an end-to-end TFBind8 black-box optimization Task.

Installation

SciModelingBench requires Python 3.10 or later.

Stable Release

Install the latest published version from PyPI:

python -m pip install "sci-modeling-bench==0.2.0"

The same release can be installed from its Git tag:

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

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 candidate-to-target evaluation;
  • 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.

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, submission contract, and top-1 metric:

from sci_modeling_bench.suites.design_bench import (
    TFBind8BlackBoxOptimizationTask,
)

task = TFBind8BlackBoxOptimizationTask.from_hub(
    revision="2ee2856f4255bb6a64c11b6c2660a6f41418e654"
)
offline_data = task.build_input()

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

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

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 target values 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

Release Status

Version 0.2.0 adds the experimental Task and submission-evaluation APIs while preserving the Dataset, Objective, and Protocol interfaces from 0.1.0. These interfaces may still change as additional scientific benchmarks are integrated. The TFBind8 code path has been validated against the pinned public Hugging Face artifact and the legacy Design-Bench arrays.

Project details


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.2.0.tar.gz (1.0 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.2.0-py3-none-any.whl (39.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for sci_modeling_bench-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a2d25122c665be720ac72eb848d17178292421d904f02c4ed94a08cf917804d4
MD5 b97df014d081e3bdb7a4ec4e3b71d4d6
BLAKE2b-256 bd637954ed8c4e4ea344cf331faaec62f7351826661fbb447cd4360851684df7

See more details on using hashes here.

Provenance

The following attestation bundles were made for sci_modeling_bench-0.2.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.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sci_modeling_bench-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a404761ce3c217b98d149669b746855e392bca31568c21a96d155f826ebf04b3
MD5 af21b54cda6dc8edfaccda30ace8e4ff
BLAKE2b-256 b56dd62f53f876ff8438f84ff06cca281d8306f730939d712a92f659351060ff

See more details on using hashes here.

Provenance

The following attestation bundles were made for sci_modeling_bench-0.2.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.

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