55 lines
1.6 KiB
Markdown
55 lines
1.6 KiB
Markdown
Raccoon Instructions
|
|
|
|
in worker... folder :npx @devcontainers/cli up
|
|
look for:
|
|
```
|
|
.env found
|
|
{"outcome":"success","containerId":"a1ac7c6b27bc20bb6399470f3f90fa95ec5bfe1566828ea5a4930cfc7ac30e26","remoteUser":"root","remoteWorkspaceFolder":"/workspace","ociAuthDiagnostics":{"authLookupWouldBeBlocked":false,"registryRedirectWouldPreventCredentialForwarding":false,"authServerRedirect":false}}
|
|
```
|
|
|
|
then npx @devcontainers/cli exec bash
|
|
|
|
cp -r harbor-tasks/_task-scaffold harbor-tasks/<slug>
|
|
|
|
cp task-shared/Dockerfile.<repository> harbor-tasks/my-task-slug/environment/Dockerfile
|
|
|
|
update task.toml
|
|
|
|
bash scripts/build-workspace.sh <slug>
|
|
|
|
cp the 4 essential files into place
|
|
|
|
npx tsx scripts/stage-atomic-rubric.ts potion-voice-user-ownership
|
|
|
|
15 pretrial detectors until all clear
|
|
|
|
# trials
|
|
scripts/harbor-run harbor-tasks/potion-voice-user-ownership --force-build -k 4 --verifier-env GRADER_SAMPLES=1
|
|
|
|
# copy
|
|
npx tsx scripts/copy-reference-run.ts harbor-jobs/<job>/potion-voice-user-ownership__*
|
|
|
|
$write-atomic-rubric
|
|
|
|
# stage the criteria
|
|
npx tsx scripts/stage-atomic-rubric.ts <slug>
|
|
|
|
# grade all 4 ref runs, one at a time
|
|
HARBOR_REGRADE_OUT=harbor-jobs/<reward> HARBOR_GRADER_MODE=rubric-trinary scripts/harbor-regrade \
|
|
harbor-tasks/potion-voice-user-ownership \
|
|
harbor-tasks/potion-voice-user-ownership/reference-runs/<reward> \
|
|
--verifier-env GRADER_SAMPLES=1
|
|
|
|
Run all detectors
|
|
|
|
# unstage temp rubric files
|
|
npx tsx scripts/stage-atomic-rubric.ts potion-voice-user-ownership --restore
|
|
|
|
# submit task
|
|
npx tsx scripts/submit-task.ts potion-voice-user-ownership
|
|
|
|
---
|
|
|
|
slug: potion-voice-user-ownership
|
|
|