harbor run -t openthoughts/tasktrove-exp-rpt-pr-v2-pr-3772harbor download openthoughts/tasktrove-exp-rpt-pr-v2-pr-3772This task, driven by the commit message and diff, requires adding a self-contained Linux-terminal benchmark that mirrors the URI-building logic used by UriHelper.getUri. It should be implemented as a small Bash utility plus a minimal test harness, operable entirely on the local filesystem (no network access).
The pre-commit file content before changes is provided here so you know the starting state. Include this exactly as shown in your task submission.
# Placeholder — original code before the change
pass
This block should be included in your task instruction to reflect the starting state.
Create and place the following new items under the /app/ directory:
/app/bin/urihelper_uri_builder_benchmark.sh
/app/harness/bench_urihelper.sh
Optional but helpful:
All new files should be executable as needed (e.g., chmod +x), and designed to run without requiring any network access or external tools beyond standard Bash utilities.
If you need a concrete example of how inputs could be specified (e.g., environment variables or command-line flags for the builder), you can implement a simple, well-documented CLI in the builder that accepts:
However, the exact code details are up to you; the instruction above specifies the desired behavior/outcome and structure so you can implement the changes accordingly.