MCPcopy Create free account
hub / github.com/METR/vivaria / getDefaultTaskHelperCode

Function getDefaultTaskHelperCode

server/src/Drivers.ts:17–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15
16let taskHelperCode: string
17export function getDefaultTaskHelperCode() {
18 if (taskHelperCode == null) {
19 taskHelperCode = fs.readFileSync(findAncestorPath('./scripts/taskhelper.py'), 'utf8')
20 }
21 return taskHelperCode
22}
23
24/**
25 * Abstract base class for wrappers around the task standard DriverImpls (though the DriverImpls

Callers 1

getTaskSetupDataRawMethod · 0.90

Calls 1

findAncestorPathFunction · 0.90

Tested by

no test coverage detected