An observation-grounded benchmark framework for scientific modeling and design.
Project description
SciModelingBench
Observation-grounded benchmarks for scientific modeling and design agents.
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
- Documentation index
- Architecture and core concepts
- Dataset API
- Objective API
- Protocol API
- Task API
- TFBind8 integration
- Changelog
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2d25122c665be720ac72eb848d17178292421d904f02c4ed94a08cf917804d4
|
|
| MD5 |
b97df014d081e3bdb7a4ec4e3b71d4d6
|
|
| BLAKE2b-256 |
bd637954ed8c4e4ea344cf331faaec62f7351826661fbb447cd4360851684df7
|
Provenance
The following attestation bundles were made for sci_modeling_bench-0.2.0.tar.gz:
Publisher:
release.yml on xukp20/sci-modeling-bench
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sci_modeling_bench-0.2.0.tar.gz -
Subject digest:
a2d25122c665be720ac72eb848d17178292421d904f02c4ed94a08cf917804d4 - Sigstore transparency entry: 2184398441
- Sigstore integration time:
-
Permalink:
xukp20/sci-modeling-bench@f8f37f6553cdabf879a3864647e14ad6a5ed96bc -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/xukp20
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f8f37f6553cdabf879a3864647e14ad6a5ed96bc -
Trigger Event:
push
-
Statement type:
File details
Details for the file sci_modeling_bench-0.2.0-py3-none-any.whl.
File metadata
- Download URL: sci_modeling_bench-0.2.0-py3-none-any.whl
- Upload date:
- Size: 39.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a404761ce3c217b98d149669b746855e392bca31568c21a96d155f826ebf04b3
|
|
| MD5 |
af21b54cda6dc8edfaccda30ace8e4ff
|
|
| BLAKE2b-256 |
b56dd62f53f876ff8438f84ff06cca281d8306f730939d712a92f659351060ff
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sci_modeling_bench-0.2.0-py3-none-any.whl -
Subject digest:
a404761ce3c217b98d149669b746855e392bca31568c21a96d155f826ebf04b3 - Sigstore transparency entry: 2184398556
- Sigstore integration time:
-
Permalink:
xukp20/sci-modeling-bench@f8f37f6553cdabf879a3864647e14ad6a5ed96bc -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/xukp20
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f8f37f6553cdabf879a3864647e14ad6a5ed96bc -
Trigger Event:
push
-
Statement type: