Spaces:
Running
Running
File size: 655 Bytes
03a907a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | # PowerShell script to run inference with SWE-bench task source
# Sets environment variables and runs inference.py
# Set task source to SWE-bench
$env:TASK_SOURCE = "swebench"
# Optional: Set SWE-bench tasks root explicitly (already defaults to dataset/swebench_lite_tasks)
# $env:SWEBENCH_TASKS_ROOT = "$(Get-Location)\dataset\swebench_lite_tasks"
Write-Host "Environment Variables Set:" -ForegroundColor Green
Write-Host " TASK_SOURCE=$env:TASK_SOURCE"
Write-Host ""
Write-Host "Running inference.py..." -ForegroundColor Cyan
Write-Host ""
# Run inference
python inference.py
# Exit with same code as python
exit $LASTEXITCODE
|