This commit is contained in:
@@ -5,12 +5,12 @@ import pathlib
|
||||
import shutil
|
||||
import typing
|
||||
|
||||
from task_bench.tasks import Bench, committed, on_disk, Planned, Task, tests_in_copy, with_acceptance
|
||||
from project_config.settings import BENCH_TASKS, CONFIG
|
||||
from failure import Failure
|
||||
from project_config.main import located
|
||||
from project_config.settings import BENCH_TASKS, CONFIG
|
||||
from task_bench.figures import Side, SIDES
|
||||
from task_bench.runs import TimedOut
|
||||
from task_bench.tasks import Bench, committed, on_disk, Planned, Task, tests_in_copy, with_acceptance
|
||||
|
||||
SPEC = "spec.md"
|
||||
PATCH = "reference.patch"
|
||||
|
||||
@@ -5,11 +5,11 @@ import pathlib
|
||||
import shutil
|
||||
import typing
|
||||
|
||||
from task_bench.runs import Containers, ran_tests
|
||||
from failure import Failure
|
||||
from git_cli.git_repo import Git
|
||||
from mutate_changes.tool_process import Ran
|
||||
from task_bench.figures import Side
|
||||
from task_bench.runs import Containers, ran_tests
|
||||
|
||||
# The one commit of a task's tree doesn't name anyone, and neither a hook nor a signing key of the caller's reaches it.
|
||||
COMMIT = ["-c", "user.name=task-bench", "-c", "user.email=task-bench@localhost", "-c", "commit.gpgsign=false", "-c", "core.hooksPath=/dev/null", "commit", "--quiet", "--message", "Import"]
|
||||
|
||||
@@ -14,11 +14,11 @@ import unittest
|
||||
|
||||
sys.path.insert(0, str(pathlib.Path(__file__).resolve().parents[1]))
|
||||
|
||||
from failure import Failure
|
||||
from task_bench import main
|
||||
from task_bench.feature_tasks import features
|
||||
from task_bench.test_task_bench import BASE_CODE, DOCKER, HEAD_CODE, TESTS
|
||||
from failure import Failure
|
||||
from task_bench.feature_tasks import features
|
||||
from test_env import isolated_env
|
||||
from task_bench import main
|
||||
|
||||
CONFIG = "".join(f'{name} = "checkout:{name}.md"\n' for name in ("plan", "working-rules", "decisions", "score-anchors", "comprehension-history", "reading-cost", "changelog", "goals-and-audience", "principles", "standards"))
|
||||
# Stands in for `go test ./...`: each test of the tree, a shell text in a file named as a Go test.
|
||||
|
||||
Reference in New Issue
Block a user