Skip to content

Commit

Permalink
ci: debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinbyrne committed Jun 3, 2024
1 parent b84c4bc commit 57c74fe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/solve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ jobs:
python appmap/solve.py \
--solver_path submodules/appmap-js/packages/cli/bin/solve.py \
--appmap_command $(pwd)/appmap.sh \
--temp_dir ${{ runner.temp }}
--temp_dir ${{ runner.temp }} \
--num_workers 1 \
--filter requests
mkdir -p logs
Expand Down
4 changes: 2 additions & 2 deletions appmap/solve.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import argparse
import json
from pathlib import Path
from multiprocessing import Pool, cpu_count
from multiprocessing import Pool, cpu_count, get_start_method
from swebench.harness.engine_validation import setup_testbed
from datasets import DatasetDict, load_dataset, load_from_disk
from swebench.harness.utils import split_instances
from swebench.metrics.getters import get_eval_refs
from subprocess import run
from tempfile import NamedTemporaryFile
from os.path import abspath
Expand Down Expand Up @@ -83,6 +82,7 @@ def solve_instances(instances, args):
pool.join()

def main(args):
print(f"The current start method is: {get_start_method()}")
dataset = load_data(args.instances, args.split)
global output_file
output_file = args.output
Expand Down

0 comments on commit 57c74fe

Please sign in to comment.