HERA-Bench / docs /SCHEMA.md
sxcn's picture
HERA-Bench executable dataset
ee61dae verified
|
Raw History Blame Contribute Delete
2.56 kB

Data schema

index/test.jsonl is UTF-8 JSON Lines with one object per pair. The Hugging Face config explicitly selects this file; other JSON files are executable benchmark assets, not independent dataset rows. No custom loading script or remote code execution is needed to read the index.

Field Type Meaning
pair_id string Release ID hera_001 through hera_060
number integer Existing controller ID, 1 through 60
action_type string Frozen action-type annotation
environment string Domain environment namespace
instruction string Original shared user request
system_prompt string Original shared system prompt
brief_path string Supporting brief and task-specific report schema
pair_metadata_path string Controller routing record
act_initial_state_paths list of 2 strings Domain state, then task_documents state
abstain_initial_state_paths list of 2 strings Domain state, then task_documents state

Every path resolves within the repository. The two state lists point to distinct variant directories. The document states match across a pair; the domain states differ. The environment field identifies the domain implementation, while both sides additionally use task_documents.

tasks.json retains its original array of {number, instruction, system_prompt} records. private/pairs/NNN.json retains {number, pair, env_name, brief_id, kind, slot, context, action_type}. kind selects the native or bundle runtime; slot is null for native tasks and a bundle name otherwise. context is task-specific controller metadata. pair is the neutral directory ID hera_NNN, matching pair_id; states live under data/tasks/hera_NNN/{act,abstain}/initial_states/. These internal keys are not reinterpreted as model inputs.

Initial states and reports are deliberately heterogeneous. Each public brief has its own report_schema, validated as JSON Schema Draft 2020-12. MCP tool definitions are generated by the corresponding environment and retain their original names, descriptions, input schemas, and output schemas. Public tool names are qualified as environment.tool.

The index duplicates the original prompts only for access through datasets.load_dataset. The executable files remain authoritative for transitions and scoring. checksums.sha256 binds their exact bytes. Loading an index row does not automatically load referenced files; use snapshot_download to obtain the full executable package.