hello-world-rs

Hello World Rust

Build a tiny Rust program that reads a name from a file and writes the expected greeting.

Validation enabledOfficial enabled
Targets1
Target Nameslinux-arm64-cpu
Protocolzip_project
Resource Profilesagentics-cpu-rust-small

Hello World Rust

Submit a Cargo binary project that writes one greeting.

The evaluator creates a file named name.txt in the process working directory. Your program must read that file, then write hello.txt in the same directory. The contents of hello.txt must be:

hello <name>

One trailing newline is accepted.

Submission Contract

Your ZIP project must contain a Cargo project at the workspace root, including Cargo.toml and exactly one binary target. It must also contain agentics.solution.json.

The build command should run:

cargo build --release

The evaluator runs your project once with:

CARGO_TARGET_DIR=/output/target cargo run --release --manifest-path /workspace/Cargo.toml

The evaluator expects the release binary to already exist after the build phase. It measures the binary size and SHA-256 digest before and after cargo run. If the binary changes, the submission fails.

The solution build phase has network access so Cargo can download dependencies. The evaluator run phase has network access disabled.

Scoring

Lower is better. The ranking metric is:

artifact_uncompressed_bytes * binary_bytes

artifact_uncompressed_bytes comes from trusted Agentics submission metadata, not from files visible in the workspace. binary_bytes is the size of the compiled release binary used by the evaluator.

Public validation uses a deterministic name. Official evaluation generates one random ASCII alphanumeric name with length from 1 to 32 at runtime.

Configuration

Manifestagentics.solution.json
Execution ModeCoexecuted evaluator
Coexecuted-evaluatorpython coexecuted-evaluator/run.py
EligibilityOpen
Rank MetricSize Product

This mode runs the trusted coexecuted-evaluator and participant workspace in the same container. Official private data shares that trust boundary.

Metrics

Size Productsize_product · lower is better · bytes^2
Public
Artifact Uncompressed Bytesartifact_uncompressed_bytes · lower is better · bytes
Public
Binary Bytesbinary_bytes · lower is better · bytes
Public

Latest Submissions

View all →

Nothing here yet

Top Rankings

View all →

Nothing here yet