harbor run -t openthoughts/tasktrove-exp-rpt-pr-v2-pr-0608harbor download openthoughts/tasktrove-exp-rpt-pr-v2-pr-0608This task is derived from the commit message “Implement: # benchmark-a-simplified-terrestrial-coupling-index--tci--computation-using-synthetic-data-via-a-linux-terminal-workflow” and the associated change set. The goal is to add a self-contained, end-to-end benchmarking workflow that can be run entirely in a Linux terminal to compute a simplified TCI from synthetic data.
Important: Do not reveal or paste exact code changes. Instead, describe the desired behavior, structure, and how the pieces should interact to achieve the end-to-end workflow.
Create a self-contained Linux-terminal benchmarking workflow to:
Structure the workflow so it can be invoked from the project’s /app directory and is easy to extend or adapt for different data shapes (e.g., time length, grid dimensions).
The repository currently contains a placeholder pre-commit target (before changes). Use the following as the starting state snapshot:
# Placeholder — original code before the change
pass
This is just to reflect the pre-change starting point; you will replace this with the actual workflow code and supporting scripts in /app/.
Create a dedicated workflow under /app/benchmarks/tci_linux_workflow (or a similarly clear path) with the following responsibilities:
/app/benchmarks/tci_linux_workflow/run_benchmark.sh
/app/benchmarks/tci_linux_workflow/generator.py (or data_gen.py)
/app/benchmarks/tci_linux_workflow/calc_tci.py
/app/benchmarks/tci_linux_workflow/parse_results.py
/app/benchmarks/tci_linux_workflow/requirements.txt
/app/benchmarks/tci_linux_workflow/README.md
Optional but recommended:
Notes:
The final result should be a fully functional, end-to-end benchmarking workflow that:
The workflow should be:
The minimal acceptance criteria:
If you follow this plan, you will have implemented a self-contained, Linux-terminal benchmark workflow for a simplified TCI calculation that is suitable for reproducible performance testing and easy extension. The code and structure should live under /app/benchmarks/tci_linux_workflow and be readable, maintainable, and testable.