MCPcopy Create free account
hub / github.com/antvis/AVA / pythonPath

Function pythonPath

evals/spider2lite/score.js:9–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7import { ROOT, inspectResources, loadQuestions, selectSamples } from './index.js';
8
9function pythonPath() {
10 const venv = join(ROOT, '.venv/bin/python');
11 return existsSync(venv) ? venv : 'python3';
12}
13
14function official(request, { python = pythonPath(), timeout = 60_000 } = {}) {
15 return new Promise((resolveResult, reject) => {

Callers 3

mainFunction · 0.90
mainFunction · 0.85
officialFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected