Download tasks/candidate-1165-ml-evaluation/instruction.md from FineEnvs/MiMo-V2.6-RL-harbor-terminal: direct link, hf CLI and curl.
- Browser
- Download file 1.59 kB
-
https://huggingface.co/datasets/FineEnvs/MiMo-V2.6-RL-harbor-terminal/resolve/5708f7d17ec6ffe77bc9ab4585072b4ac0acfb13/tasks/candidate-1165-ml-evaluation/instruction.md
- Command line
-
hf download hf://datasets/FineEnvs/MiMo-V2.6-RL-harbor-terminal@5708f7d17ec6ffe77bc9ab4585072b4ac0acfb13/tasks/candidate-1165-ml-evaluation/instruction.md
-
curl -L -o instruction.md https://huggingface.co/datasets/FineEnvs/MiMo-V2.6-RL-harbor-terminal/resolve/5708f7d17ec6ffe77bc9ab4585072b4ac0acfb13/tasks/candidate-1165-ml-evaluation/instruction.md
You are an agent, your current working directory is /app.
You can use the tools available to you to interact with the computer to assist the user in completing tasks.
Repair the evaluation metric boundary
The workspace contains a frozen slice of a Hugging Face Evaluate repository
under /app/vendor/project. Its precision, recall, and F1 metric scripts call
scikit-learn and then normalize the returned score for downstream JSON
serialization. With current scikit-learn, binary averages can return a native
Python scalar while per-label (average=None) calls return an array. The
existing normalization assumes every result has the same array API.
Repair the existing metric modules so the integration runner works for every
case in /app/cases.json and for unseen case manifests supplied by the
verifier. Keep sklearn's metric values and options intact: binary and other
aggregate averages must serialize as a Python float, while average=None
must remain an ordered per-label array. Apply the compatibility boundary
consistently to metrics/f1/f1.py, metrics/precision/precision.py, and
metrics/recall/recall.py.
Run the integration command:
python3 /app/run_metrics.py --input /app/cases.json --output /app/output.json
The output must be exactly one JSON object with schema_version
ml-eval-output.v1 and a results array in input order. Each row contains its
case id and f1, precision, and recall values (a number or an array).
Do not add dependencies, access the network, or replace the vendored metric
implementations with a new evaluator.