harbor run -t openthoughts/tasktrove-exp-rpt-pr-pr-4312harbor download openthoughts/tasktrove-exp-rpt-pr-pr-4312This task requires building a small, self-contained Rust program that demonstrates two core ideas from a terminal benchmark style snippet:
You should implement a minimal Permutation construct and wire it into a compact Rust program that is self-contained (no external crates) and can be run from /app/.
Add a small Rust program under /app that:
Ensure the program is self-contained:
The overall behavior/outcome:
Do not reveal exact patch/diff content; describe the intended behavior and structure only.
The repository currently contains a placeholder file, shown below. This is the starting state you should replace with the new Rust implementation.
# Placeholder — original code before the change
pass
If a project already exists in /app/, either replace the placeholder with a full Rust program or add a new, self-contained binary target that compiles with cargo run.
Proposed structure (minimal, no external crates):
/app/Cargo.toml
/app/src/main.rs
What you should implement (outcome-focused description, not patch details):
If you proceed with a standalone Rust file instead of a Cargo project, ensure it is self-contained, compiles with rustc, and prints the same information.
If you want any specific matrix size, permutation pattern, or formatting for the output, specify and I can tailor the instructions accordingly.