HF RL Explorer

link checking reports: write transform script

link checking reports: write transform script: a task in smol-software-harbor (Harbor dataset). Write summary.sh (bash, run as bash summary.sh results/2024-06-01.txt ) that summarises a link-check results file, one line per host in alphabetical order: HOST ok=N fail=M avg ms=A , where the host is…

The task

Write `summary.sh` (bash, run as `bash summary.sh results/2024-06-01.txt`) that summarises a link-check results file, one line per host in alphabetical order: `HOST ok=N fail=M avg_ms=A`, where the host is taken from the URL (no scheme, no path), a check fails when its status is `000` or 400 and above, and `avg_ms`…

Part of efederici/smol-software-harbor.