File size: 1,318 Bytes
d086025
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Rebuild the reference CLI

You are in a ProgramBench-style cleanroom task. Rebuild the observable behavior
of `aanderse/trix` at commit `b1424f440043f249bbd23ed5d200b2c01a07a5e4`.

## Available Materials

- Execute-only reference program: `/reference/executable`
- Documentation: `/reference/docs/`
- Sample input assets, if present: `/reference/assets/`

Use the docs and black-box experiments against the reference executable to infer
the documented command-line interface, inputs, outputs, filesystem effects, error
handling, and edge cases. Do not read, wrap, decompile, disassemble, or recover
the reference binary or source code.

## Output Contract

Create a clean implementation in `/workspace`. This task is expected to be a
rust command-line program, but any implementation is acceptable if it
matches the reference behavior.

The verifier will extract your submitted source archive into a fresh
`/workspace`, then run:

```bash
bash compile.sh
```

`compile.sh` must produce an executable file at `/workspace/executable`
from files included in your submitted archive.

Before finishing, package your source submission:

```bash
mkdir -p /logs/artifacts
tar --exclude='./executable' --exclude='./reference' -czf /logs/artifacts/submission.tar.gz -C /workspace .
```

Instance id: `aanderse__trix.b1424f4`.