fix typo and import error

This commit is contained in:
stellahsr 2024-03-26 15:39:10 +08:00
parent 50f4953ea7
commit f99c7b354e
2 changed files with 2 additions and 3 deletions

View file

@ -7,7 +7,7 @@ from metagpt.const import METAGPT_ROOT
SUBSET_DATASET = METAGPT_ROOT / "sub_swebench_dataset" / "sub_swebench.csv"
SUBSET_DATASET_SKLERARN = METAGPT_ROOT / "sub_swebench_dataset" / "scikit-learn-68.csv"
TESTBED = METAGPT_ROOT / "benchmark" / "swe-bench" / "data" / "repos"
TESTBED = METAGPT_ROOT / "benchmark" / "swe_bench" / "data" / "repos"
# SCIKIT_LEARN_IDS: A list of instance identifiers from 'sub_swebench.csv' within SUBSET_DATASET.
# This collection represents a subset specifically related to scikit-learn content.

View file

@ -1,8 +1,7 @@
import re
from typing import Dict, List
from swe_bench.utils.enums import FileChangeMode, LineChangeType
from benchmark.swe_bench.utils.enums import FileChangeMode, LineChangeType
from metagpt.logs import logger