sunyiyou commited on
Commit
f84eb06
·
verified ·
1 Parent(s): 6c56658

Update data: 5 units

Browse files

- computing_math/branch_bound_atsp/base/input
- computing_math/branch_bound_atsp/base/software
- computing_math/cfr_game_theory_equilibrium/base/input
- computing_math/cfr_game_theory_equilibrium/base/software
- computing_math/clustered_cyclic_code_circuit_level_simulation/base/input

tasks/computing_math/branch_bound_atsp/base/software/README.txt ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ # Runtime Notes
2
+
3
+ Stage 4 prepares `software/python` as the canonical Python entry point for this
4
+ task. It should provide Python with NumPy and SciPy available. The staged
5
+ `input/runtime_env/pyproject.toml` is also visible to the agent for reproducible
6
+ dependency setup if needed.
tasks/computing_math/branch_bound_atsp/base/software/python ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ TASK_ROOT="${TASK_ROOT:-$(cd "$(dirname "$0")/.." && pwd)}"
4
+ VENV_PY="$TASK_ROOT/software/.venv/bin/python"
5
+ if [ -x "$VENV_PY" ]; then
6
+ exec "$VENV_PY" "$@"
7
+ fi
8
+ exec python "$@"
tasks/computing_math/cfr_game_theory_equilibrium/base/software/bootstrap_runtime.sh ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
4
+ TASK_ROOT="$(cd "${SCRIPT_DIR}/.." && pwd)"
5
+ WORK_DIR="${CFR_RUNTIME_WORK_DIR:-${TASK_ROOT}/output/.runtime_state}"
6
+ mkdir -p "${WORK_DIR}/.uv-cache" "${WORK_DIR}/.venv"
7
+ export UV_CACHE_DIR="${UV_CACHE_DIR:-${WORK_DIR}/.uv-cache}"
8
+ export UV_PROJECT_ENVIRONMENT="${UV_PROJECT_ENVIRONMENT:-${WORK_DIR}/.venv}"
9
+ exec uv sync --python python3.12 --frozen --project "${TASK_ROOT}/input/runtime_env"
tasks/computing_math/cfr_game_theory_equilibrium/base/software/python_with_task_deps.sh ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
4
+ TASK_ROOT="$(cd "${SCRIPT_DIR}/.." && pwd)"
5
+ WORK_DIR="${CFR_RUNTIME_WORK_DIR:-${TASK_ROOT}/output/.runtime_state}"
6
+ mkdir -p "${WORK_DIR}/.uv-cache" "${WORK_DIR}/.venv"
7
+ export UV_CACHE_DIR="${UV_CACHE_DIR:-${WORK_DIR}/.uv-cache}"
8
+ export UV_PROJECT_ENVIRONMENT="${UV_PROJECT_ENVIRONMENT:-${WORK_DIR}/.venv}"
9
+ exec uv run --python python3.12 --frozen --project "${TASK_ROOT}/input/runtime_env" -- python3.12 "$@"