How to prepare a codebase to run a custom Hive experiment
Setting up a Hive experiment requires three things:
A target — which files (or lines) the Hive is allowed to modify
An evaluator — a script that scores each candidate solution
A sandbox — the environment where evaluations run
Optionally, you can also provide natural language context to guide the search.The Hive can evolve arbitrarily large codebases, but like a human researcher, it performs best when its task is well-defined. Before starting, consider:
Is the code you want to improve clearly separable from the surrounding harness?
Do you have a quantifiable metric? If a higher score doesn’t mean a better algorithm, you’re measuring the wrong thing.
Would domain knowledge or directional hints help narrow the search?
Define the target
The Hive needs to know which files in your codebase it is allowed to modify. This is specified in the configuration YAML using the repo.target_code field:
repo: target_code: - evolve.py
It is possible to specify multiple files to evolve, and specific line ranges too, see here.Everything outside these paths is treated as fixed infrastructure. This lets you isolate the algorithm or heuristic you want to improve while keeping the surrounding harness stable.
Write the evaluator
One of the most important parts to setting up a Hive experiment is defining an evaluator. Concretely, this is a Python script specified in the configuration YAML file as a local path relative to the codebase root.
repo: evaluation_script: path/to/evaluation.py
This script is run as python3 path/to/evaluation.py, and must print a JSON object to the final line of stdout. A typical evaluation script looks something like:
import jsonimport sysif __name__ == "__main__": result = run_candidate() # exercise the evolved code if not is_correct(result): # verify output before scoring # A failed evaluation is a normal outcome — report it via JSON and # exit 0. Reserve a non-zero exit for genuine crashes. print(json.dumps({ "status": "failed", "error": "incorrect output", })) sys.exit(0) fitness = score(result) # quantify quality (higher is better) print(json.dumps({ "status": "success", "result": {"fitness": fitness}, }))
Feedback Format
The evaluation script communicates its feedback to the hive-coordinator via stdout. This is done by writing a JSON on the last line of stdout.
The JSON must be printed as a single line on the last line of the evaluator’s output.
Single Objective
On successful evaluation, the JSON should have the following form:
{ "status": "success", "result": { "fitness": 0.85, "feedback_message": "Throughput improved by 23% over baseline" }}
The Hive optimizes for an algorithm which maximizes the quantity reported under result.fitness.
Multi Objective
You can also define an evaluator with multiple objectives to be optimized simultaneously by reporting result.fitness as a mapping of objective names to scores, e.g.,
{ "status": "success", "result": { "fitness": { "speedup": 2.48, "accuracy": 0.94 }, "feedback_message": "forward() accounts for 73% of total runtime; matmul on line 42 is the primary bottleneck" }}
Failed Evaluation
When an evaluation fails — for example the candidate code fails correctness checks or errors out — report the failure with an error message instead:
{"status": "failed", "error": "Output did not match the expected result"}
Field
Type
Description
status
string
"success" or "failed"
result.fitness
number, or mapping of strings to numbers
A single score, or — for multi-objective — a dictionary mapping each objective’s name to its numeric score (required when status is "success")
result.feedback_message
string (optional)
Summary passed back to the agent
error
string
Description of what went wrong (required when status is "failed")
Tips and tricks
The Hive optimizes for the score your evaluator returns — make sure that score faithfully represents what you actually want to improve.
Enforce correctness explicitly. Never assume the output of the evaluator is correct. You should always add tests or checks to guarantee the code produces correct results before scoring performance. Your evaluator should return a failure if the code produces incorrect results, regardless of performance.
Guard against reward hacking. The Hive will exploit any shortcut that inflates the score — caching results, short-circuiting logic, or producing hardcoded outputs. Build validation checks into your evaluator and treat unexpectedly large score jumps with skepticism.
Make evaluations deterministic. If your evaluator has stochasticity, run it multiple times and report the mean or median. Noisy scores make it harder for the Hive to distinguish genuine improvements.
Stochastic evaluations. If your evaluator can’t be made deterministic, the Hive supports an adaptive approach to re-sample high-variance results, see runtime.stochastic_evaluator.
Keep evaluations fast. The Hive iterates faster with quick feedback. Balance evaluation thoroughness with speed — consider if a lighter test suite provides sufficient signal compared to an exhaustive one.
Use relative scoring for timed benchmarks. Hardware performance can vary between sandboxes. If optimizing for runtime, instead of reporting raw times, run a baseline alongside each candidate and report the speedup factor.
Maximize by convention. The Hive always assumes objectives should be maximized. If you have a quantity you want to minimize, return the negative of that value as the fitness.
Configure the sandbox
Once the evaluator is implemented, it is also important to consider what environment to run the code in. Each candidate solution is evaluated inside a sandboxed environment which can be customized in the configuration YAML as follows:
Below, we briefly explain the most important fields and how to use them. See this page for a full list of available options.
base_image: The Docker image used as the base environment. Because evaluation scripts are run with python3, the base image must include python3. The Hive will attempt to install the following system-dependencies if missing: rsync, git, jq, iptables, and util-linux — using one of the following supported package managers: apt-get (Debian/Ubuntu), yum (RHEL/CentOS), or apk (Alpine). Good choices are the official python images (e.g. python:3.14-slim) or, for GPU workloads, an ML image that ships Python such as pytorch/pytorch. You can also build and use your own custom base image, as explained here.
setup_script: Shell commands that run once when the sandbox is first created. Use this to install dependencies or download data.
resources: CPU, RAM, and shared memory allocated to the sandbox. GPUs can be added with the format <accelerator-name>:<num-gpus>.
Accelerator
GPU
a100-80gb
NVIDIA A100 80GB
a100-40gb
NVIDIA A100 40GB
h100
NVIDIA H100
h200
NVIDIA H200
b200
NVIDIA B200
a10
NVIDIA A10
t4
NVIDIA T4
l4
NVIDIA L4
l40s
NVIDIA L40S
If you don’t have a strict constraint on target hardware, allocate resources with some headroom. Resource exhaustion is reported as an evaluation failure, and high-performing solutions can consume more resources than expected.
evaluation_timeout: Maximum time in seconds before an evaluation is terminated.
Set this with some headroom — high-performing candidates can take longer than expected, and an overly tight timeout may discard good solutions.
Provide context
You can provide natural language context to guide the Hive’s search. This is specified in the prompt.context field:
prompt: context: | This is some sample context about the problem. It can be formatted like this to span multiple lines.
Use this to describe the problem domain, suggest directions to explore, or set soft constraints on approaches the Hive should avoid.If you have multiple distinct ideas you want the Hive to explore, list them in the prompt.ideas field:
prompt: ideas: - This is one idea to explore. - This is a different idea to explore.
On each iteration, the Hive will randomly sample one of these ideas to guide its approach.Finally, if there are any files in the codebase that provide important context to writing the desired algorithm, such as internal dependencies, these can be specified in the repo.additional_context field.
Use repo.test_evaluation_arguments to give an experiment a held-out test set. Versions of code the Hive found during evolution are also evaluated on this test set, but the test fitness is for reporting only and doesn’t affect the evolution, so it shows whether the evolved code generalizes and whether your evaluator is a good proxy. See the configuration reference for an example and how it works.
Attach PDFs
Use prompt.attachments to provide research papers, technical manuals, or other PDF references for agents. See the configuration reference for an example and supported inputs.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Hiverge Product Documentation","colors":{"primary":"#3045FF","light":"#3045FF","dark":"#3045FF"},"logo":{"light":"https://mintcdn.com/hiverge/KMiQig6TmYcmTUNs/logo/light.svg?fit=max\u0026auto=format\u0026n=KMiQig6TmYcmTUNs\u0026q=85\u0026s=291a8fbca1fcd8d37abcfdd057c7bfc5","dark":"https://mintcdn.com/hiverge/KMiQig6TmYcmTUNs/logo/dark.svg?fit=max\u0026auto=format\u0026n=KMiQig6TmYcmTUNs\u0026q=85\u0026s=199b75e6fb1bd3cdde42fa9e2435bb9f"},"favicon":"https://mintcdn.com/hiverge/KMiQig6TmYcmTUNs/favicon.svg?fit=max\u0026auto=format\u0026n=KMiQig6TmYcmTUNs\u0026q=85\u0026s=271587caede0fc1fff5ed1added4f2af","footer":{"socials":{"x":"https://x.com/hivergeai","github":"https://github.com/hiverge","linkedin":"https://www.linkedin.com/company/hivergeai"}},"icons":{"library":"lucide"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"hiverge","hasAudioNarration":false,"actualSubdomain":"hiverge","customDomains":["docs.hiverge.ai"],"gitSource":{"type":"github","owner":"hiverge","repo":"product_docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6af43a4dab2a2eaa872b5ced","clientVersion":"0.0.4167","searchFilterCounts":[{"language":"default","tag":"Using the Hive","count":7},{"language":"default","tag":"CLI","count":4},{"language":"default","tag":"Getting started","count":2},{"language":"default","tag":"Releases","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"gettingstarted/setup","slug":"/gettingstarted/setup","pageMetadata":{"title":"Prepare an experiment","description":"How to prepare a codebase to run a custom Hive experiment","icon":"flask-conical","href":"/gettingstarted/setup"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"How to prepare a codebase to run a custom Hive experiment\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Tip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Setting up a Hive experiment requires three things:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`A target`}),` — which files (or lines) the Hive is allowed to modify`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`An evaluator`}),` — a script that scores each candidate solution`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`A sandbox`}),` — the environment where evaluations run`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Optionally, you can also provide natural language context to guide the search.`}),`\n`,_jsx(_components.p,{children:`The Hive can evolve arbitrarily large codebases, but like a human researcher, it performs best when its task is well-defined. Before starting, consider:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Is the code you want to improve clearly separable from the surrounding harness?`}),`\n`,_jsx(_components.li,{children:`Do you have a quantifiable metric? If a higher score doesn’t mean a better algorithm, you’re measuring the wrong thing.`}),`\n`,_jsx(_components.li,{children:`Would domain knowledge or directional hints help narrow the search?`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`define-the-target`,children:`Define the target`}),`\n`,_jsxs(_components.p,{children:[`The Hive needs to know which files in your codebase it is allowed to modify. This is specified in the configuration YAML using the `,_jsx(_components.code,{children:`repo.target_code`}),` field:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`repo`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` target_code`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`evolve.py`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`It is possible to specify multiple files to evolve, and specific line ranges too, see `,_jsx(_components.a,{href:`/gettingstarted/cli/configuration#file-list-syntax`,children:`here`}),`.`]}),`\n`,_jsx(_components.p,{children:`Everything outside these paths is treated as fixed infrastructure. This lets you isolate the algorithm or heuristic you want to improve while keeping the surrounding harness stable.`}),`\n`,_jsx(Heading,{level:`2`,id:`write-the-evaluator`,children:`Write the evaluator`}),`\n`,_jsx(_components.p,{children:`One of the most important parts to setting up a Hive experiment is defining an evaluator. Concretely, this is a Python script specified in the configuration YAML file as a local path relative to the codebase root.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`repo`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` evaluation_script`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`path/to/evaluation.py`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`This script is run as `,_jsx(_components.code,{children:`python3 path/to/evaluation.py`}),`, and must print a JSON object to the final line of stdout. A typical evaluation script looks something like:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`19`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`19`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` json`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` sys`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`if`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` __name__`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ==`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"__main__\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` result `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` run_candidate() `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# exercise the evolved code`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` not`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` is_correct(result): `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# verify output before scoring`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # A failed evaluation is a normal outcome — report it via JSON and`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # exit 0. Reserve a non-zero exit for genuine crashes.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(json.dumps({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"failed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"incorrect output\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }))`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` sys.exit(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` fitness `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` score(result) `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# quantify quality (higher is better)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(json.dumps({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"result\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"fitness\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: fitness},`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }))`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`feedback-format`,children:`Feedback Format`}),`\n`,_jsx(_components.p,{children:`The evaluation script communicates its feedback to the hive-coordinator via stdout. This is done by writing a JSON on the last line of stdout.`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`The JSON must be printed as a single line on the last line of the evaluator’s output.`})}),`\n`,_jsx(Heading,{level:`4`,id:`single-objective`,children:`Single Objective`}),`\n`,_jsx(_components.p,{children:`On successful evaluation, the JSON should have the following form:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"result\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fitness\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.85`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"feedback_message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Throughput improved by 23% over baseline\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The Hive optimizes for an algorithm which maximizes the quantity reported under `,_jsx(_components.code,{children:`result.fitness`}),`.`]}),`\n`,_jsx(Heading,{level:`4`,id:`multi-objective`,children:`Multi Objective`}),`\n`,_jsxs(_components.p,{children:[`You can also define an evaluator with multiple objectives to be optimized simultaneously by reporting `,_jsx(_components.code,{children:`result.fitness`}),` as a mapping of objective names to scores, e.g.,`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"result\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fitness\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"speedup\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2.48`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"accuracy\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.94`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"feedback_message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"forward() accounts for 73% of total runtime; matmul on line 42 is the primary bottleneck\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`4`,id:`failed-evaluation`,children:`Failed Evaluation`}),`\n`,_jsxs(_components.p,{children:[`When an evaluation fails — for example the candidate code fails correctness checks or errors out — report the failure with an `,_jsx(_components.code,{children:`error`}),` message instead:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"failed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Output did not match the expected result\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`status`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`\"success\"`}),` or `,_jsx(_components.code,{children:`\"failed\"`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`result.fitness`})}),_jsx(_components.td,{children:`number, or mapping of strings to numbers`}),_jsxs(_components.td,{children:[`A single score, or — for multi-objective — a dictionary mapping each objective’s name to its numeric score (required when `,_jsx(_components.code,{children:`status`}),` is `,_jsx(_components.code,{children:`\"success\"`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`result.feedback_message`})}),_jsx(_components.td,{children:`string (optional)`}),_jsx(_components.td,{children:`Summary passed back to the agent`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Description of what went wrong (required when `,_jsx(_components.code,{children:`status`}),` is `,_jsx(_components.code,{children:`\"failed\"`}),`)`]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`tips-and-tricks`,children:`Tips and tricks`}),`\n`,_jsx(_components.p,{children:`The Hive optimizes for the score your evaluator returns — make sure that score faithfully represents what you actually want to improve.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Enforce correctness explicitly.`}),` Never assume the output of the evaluator is correct. You should always add tests or checks to guarantee the code produces correct results before scoring performance. Your evaluator should return a failure if the code produces incorrect results, regardless of performance.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Guard against reward hacking.`}),` The Hive will exploit any shortcut that inflates the score — caching results, short-circuiting logic, or producing hardcoded outputs. Build validation checks into your evaluator and treat unexpectedly large score jumps with skepticism.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Make evaluations deterministic.`}),` If your evaluator has stochasticity, run it multiple times and report the mean or median. Noisy scores make it harder for the Hive to distinguish genuine improvements.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Stochastic evaluations.`}),` If your evaluator can’t be made deterministic, the Hive supports an adaptive approach to re-sample high-variance results, see `,_jsx(_components.a,{href:`/gettingstarted/cli/configuration#runtime`,children:_jsx(_components.code,{children:`runtime.stochastic_evaluator`})}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Keep evaluations fast.`}),` The Hive iterates faster with quick feedback. Balance evaluation thoroughness with speed — consider if a lighter test suite provides sufficient signal compared to an exhaustive one.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Use relative scoring for timed benchmarks.`}),` Hardware performance can vary between sandboxes. If optimizing for runtime, instead of reporting raw times, run a baseline alongside each candidate and report the speedup factor.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Maximize by convention.`}),` The Hive always assumes objectives should be maximized. If you have a quantity you want to minimize, return the negative of that value as the fitness.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`configure-the-sandbox`,children:`Configure the sandbox`}),`\n`,_jsxs(_components.p,{children:[`Once the evaluator is implemented, it is also important to consider what environment to run the code in. Each candidate solution is evaluated inside a sandboxed environment which can be customized in the `,_jsx(_components.a,{href:`/gettingstarted/cli/configuration#sandbox`,children:`configuration YAML`}),` as follows:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`sandbox`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` base_image`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`python:3.14-slim`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` setup_script`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`|`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` pip install -r requirements.txt`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` resources`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` cpu`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` memory`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"4Gi\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` accelerators`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`a100-80gb:8`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` evaluation_timeout`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`60`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Below, we briefly explain the most important fields and how to use them. See `,_jsx(_components.a,{href:`/gettingstarted/cli/configuration#sandbox`,children:`this page`}),` for a full list of available options.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`base_image`}),`: The `,_jsx(_components.a,{href:`https://www.docker.com/`,children:`Docker`}),` image used as the base environment. Because evaluation scripts are run with `,_jsx(_components.code,{children:`python3`}),`, the base image must include `,_jsx(_components.code,{children:`python3`}),`. The Hive will attempt to install the following system-dependencies if missing: `,_jsx(_components.code,{children:`rsync`}),`, `,_jsx(_components.code,{children:`git`}),`, `,_jsx(_components.code,{children:`jq`}),`, `,_jsx(_components.code,{children:`iptables`}),`, and `,_jsx(_components.code,{children:`util-linux`}),` — using one of the following supported package managers: `,_jsx(_components.code,{children:`apt-get`}),` (Debian/Ubuntu), `,_jsx(_components.code,{children:`yum`}),` (RHEL/CentOS), or `,_jsx(_components.code,{children:`apk`}),` (Alpine). Good choices are the official `,_jsx(_components.code,{children:`python`}),` images (e.g. `,_jsx(_components.code,{children:`python:3.14-slim`}),`) or, for GPU workloads, an ML image that ships Python such as `,_jsx(_components.code,{children:`pytorch/pytorch`}),`. You can also build and use your own custom base image, as explained `,_jsx(_components.a,{href:`/gettingstarted/custom-base-image`,children:`here`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`setup_script`}),`: Shell commands that run once when the sandbox is first created. Use this to install dependencies or download data.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`resources`}),`: CPU, RAM, and shared memory allocated to the sandbox. GPUs can be added with the format `,_jsx(_components.code,{children:`\u003caccelerator-name>:\u003cnum-gpus>`}),`.`,`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Accelerator`}),_jsx(_components.th,{children:`GPU`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`a100-80gb`})}),_jsx(_components.td,{children:`NVIDIA A100 80GB`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`a100-40gb`})}),_jsx(_components.td,{children:`NVIDIA A100 40GB`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`h100`})}),_jsx(_components.td,{children:`NVIDIA H100`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`h200`})}),_jsx(_components.td,{children:`NVIDIA H200`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`b200`})}),_jsx(_components.td,{children:`NVIDIA B200`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`a10`})}),_jsx(_components.td,{children:`NVIDIA A10`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`t4`})}),_jsx(_components.td,{children:`NVIDIA T4`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`l4`})}),_jsx(_components.td,{children:`NVIDIA L4`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`l40s`})}),_jsx(_components.td,{children:`NVIDIA L40S`})]})]})]}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`If you don’t have a strict constraint on target hardware, allocate resources with some headroom. Resource exhaustion is reported as an evaluation failure, and high-performing solutions can consume more resources than expected.`})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`evaluation_timeout`}),`: Maximum time in seconds before an evaluation is terminated.`,`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`Set this with some headroom — high-performing candidates can take longer than expected, and an overly tight timeout may discard good solutions.`})}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`provide-context`,children:`Provide context`}),`\n`,_jsxs(_components.p,{children:[`You can provide natural language context to guide the Hive’s search. This is specified in the `,_jsx(_components.code,{children:`prompt.context`}),` field:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`prompt`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` context`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`|`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` This is some sample context about the problem.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` It can be formatted like this to span multiple lines.`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Use this to describe the problem domain, suggest directions to explore, or set soft constraints on approaches the Hive should avoid.`}),`\n`,_jsxs(_components.p,{children:[`If you have multiple distinct ideas you want the Hive to explore, list them in the `,_jsx(_components.code,{children:`prompt.ideas`}),` field:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`prompt`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` ideas`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`This is one idea to explore.`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`This is a different idea to explore.`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`On each iteration, the Hive will randomly sample one of these ideas to guide its approach.`}),`\n`,_jsxs(_components.p,{children:[`Finally, if there are any files in the codebase that provide important context to writing the desired algorithm, such as internal dependencies, these can be specified in the `,_jsx(_components.code,{children:`repo.additional_context`}),` field.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`repo`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` additional_context`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`context/file.py`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`another/context/file.py`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`held-out-evaluations`,children:`Held-out Evaluations`}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.a,{href:`/gettingstarted/cli/configuration#held-out-evaluation-experimental`,children:_jsx(_components.code,{children:`repo.test_evaluation_arguments`})}),` to give an experiment a held-out test set. Versions of code the Hive found during evolution are also evaluated on this test set, but the test fitness is for reporting only and doesn’t affect the evolution, so it shows whether the evolved code generalizes and whether your evaluator is a good proxy. See the configuration reference for an example and how it works.`]}),`\n`,_jsx(Heading,{level:`3`,id:`attach-pdfs`,children:`Attach PDFs`}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.a,{href:`/gettingstarted/cli/configuration#pdf-attachments`,children:_jsx(_components.code,{children:`prompt.attachments`})}),` to provide research papers, technical manuals, or other PDF references for agents. See the configuration reference for an example and supported inputs.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Prepare an experiment","description":"How to prepare a codebase to run a custom Hive experiment","icon":"flask-conical","href":"/gettingstarted/setup"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Define the target","slug":"define-the-target","depth":2,"children":[]},{"title":"Write the evaluator","slug":"write-the-evaluator","depth":2,"children":[{"title":"Feedback Format","slug":"feedback-format","depth":3,"children":[]},{"title":"Single Objective","slug":"single-objective","depth":4,"children":[]},{"title":"Multi Objective","slug":"multi-objective","depth":4,"children":[]},{"title":"Failed Evaluation","slug":"failed-evaluation","depth":4,"children":[]},{"title":"Tips and tricks","slug":"tips-and-tricks","depth":3,"children":[]}]},{"title":"Configure the sandbox","slug":"configure-the-sandbox","depth":2,"children":[]},{"title":"Provide context","slug":"provide-context","depth":2,"children":[{"title":"Held-out Evaluations","slug":"held-out-evaluations","depth":3,"children":[]},{"title":"Attach PDFs","slug":"attach-pdfs","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"hiverge","siteName":"Hiverge Product Documentation","title":"Prepare an experiment - Hiverge Product Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-28T12:02:16.707Z","originalFileLocation":"gettingstarted/setup.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"How to prepare a codebase to run a custom Hive experiment\">\u003cmeta data-mint-head name=\"application-name\" content=\"Hiverge Product Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/hiverge/Eg_wqkLYi8FKgWcg/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/hiverge/Eg_wqkLYi8FKgWcg/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/hiverge/Eg_wqkLYi8FKgWcg/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/hiverge/Eg_wqkLYi8FKgWcg/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/hiverge/Eg_wqkLYi8FKgWcg/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/hiverge/Eg_wqkLYi8FKgWcg/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/hiverge/Eg_wqkLYi8FKgWcg/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/hiverge/Eg_wqkLYi8FKgWcg/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/hiverge/Eg_wqkLYi8FKgWcg/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Prepare an experiment - Hiverge Product Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"How to prepare a codebase to run a custom Hive experiment\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Hiverge Product Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.hiverge.ai/gettingstarted/setup\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://hiverge.mintlify.site/_mintlify/api/og/v2?division=Using+the+Hive\u0026amp;title=Prepare+an+experiment\u0026amp;description=How+to+prepare+a+codebase+to+run+a+custom+Hive+experiment\u0026amp;theme=eaf2e1b2b4e04f570c468169\u0026amp;signature=3f2a34106c0e9793676bf1a4aeba7a73c202eb7835766b7f92385c9bec157e01\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Prepare an experiment - Hiverge Product Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"How to prepare a codebase to run a custom Hive experiment\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://hiverge.mintlify.site/_mintlify/api/og/v2?division=Using+the+Hive\u0026amp;title=Prepare+an+experiment\u0026amp;description=How+to+prepare+a+codebase+to+run+a+custom+Hive+experiment\u0026amp;theme=eaf2e1b2b4e04f570c468169\u0026amp;signature=3f2a34106c0e9793676bf1a4aeba7a73c202eb7835766b7f92385c9bec157e01\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/hiverge/Eg_wqkLYi8FKgWcg/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Hiverge Product Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3045FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.hiverge.ai/gettingstarted/setup\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/gettingstarted/setup.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.hiverge.ai/#organization\",\"name\":\"Hiverge Product Documentation\",\"url\":\"https://docs.hiverge.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/hiverge/KMiQig6TmYcmTUNs/logo/light.svg?fit=max\u0026auto=format\u0026n=KMiQig6TmYcmTUNs\u0026q=85\u0026s=291a8fbca1fcd8d37abcfdd057c7bfc5\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.hiverge.ai#website\",\"name\":\"Hiverge Product Documentation\",\"url\":\"https://docs.hiverge.ai\",\"publisher\":{\"@id\":\"https://docs.hiverge.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.hiverge.ai/gettingstarted/setup#webpage\",\"url\":\"https://docs.hiverge.ai/gettingstarted/setup\",\"name\":\"Prepare an experiment\",\"description\":\"How to prepare a codebase to run a custom Hive experiment\",\"dateModified\":\"2026-10-28T12:02:16.707Z\",\"isPartOf\":{\"@id\":\"https://docs.hiverge.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.hiverge.ai/gettingstarted/setup#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.hiverge.ai/gettingstarted/setup#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Hiverge Product Documentation\",\"item\":\"https://docs.hiverge.ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Prepare an experiment\",\"item\":\"https://docs.hiverge.ai/gettingstarted/setup\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.hiverge.ai/gettingstarted/setup#article\",\"headline\":\"Prepare an experiment\",\"name\":\"Prepare an experiment\",\"description\":\"How to prepare a codebase to run a custom Hive experiment\",\"url\":\"https://docs.hiverge.ai/gettingstarted/setup\",\"mainEntityOfPage\":{\"@id\":\"https://docs.hiverge.ai/gettingstarted/setup#webpage\"},\"dateModified\":\"2026-10-28T12:02:16.707Z\",\"publisher\":{\"@id\":\"https://docs.hiverge.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.hiverge.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Hiverge Product Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Hiverge Product Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/gettingstarted/setup.md","siteName":"Hiverge Product Documentation","nav":{"global":null,"groups":[{"group":"Getting started","pages":[{"title":"Introduction","icon":"star","href":"/index"},{"title":"Quickstart","description":"Get started with the Hive by launching your first Hive experiment in minutes.","icon":"rocket","href":"/gettingstarted/quickstart"}]},{"group":"Using the Hive","pages":[{"title":"Prepare an experiment","icon":"flask-conical","href":"/gettingstarted/setup"},{"title":"Custom Base Image","description":"How to build and use a custom Docker base image for your Hive experiment","icon":"layers","href":"/gettingstarted/custom-base-image"},{"title":"Dashboard","icon":"chart-line","href":"/gettingstarted/dashboard"},{"group":"CLI","icon":"terminal","pages":[{"title":"Setup","href":"/gettingstarted/cli/setup"},{"title":"Configuring experiments","href":"/gettingstarted/cli/configuration"},{"title":"Managing experiments","href":"/gettingstarted/cli/experiments"},{"title":"Commands","href":"/gettingstarted/cli/reference"}]}]},{"group":"Releases","pages":[{"title":"Release Notes","href":"/release-notes"}]}]},"basePath":"","title":"Prepare an experiment - Hiverge Product Documentation","buildId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","deploymentId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","dynamics":[],"chunks":[]}