Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<!--
Copyright (C) 2026 Intel Corporation
SPDX-License-Identifier: Apache-2.0
-->

### Added

- **`EvaluationPipeline` accepts an `EvaluationSettings` object.** Python callers can pass the same run settings as one object with `EvaluationPipeline(settings=...)`. Existing positional and keyword arguments still work.
6 changes: 3 additions & 3 deletions dokimi/dokimi/commands/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def _refuse_judge_sampling(args: argparse.Namespace) -> None:
def _run_single_library(entry, output_dir: str, model: str, provider: str, judge_model: str, judge_provider: str = DEFAULT_JUDGE_PROVIDER, doc_source_override=None, max_tokens_per_question: int = DEFAULT_MAX_TOKENS_PER_QUESTION, force_regen: bool = False, concurrency: int = DEFAULT_CONCURRENCY, questions_from=None, questions_root=None, judge_temperature=None, judge_placeholder=False, registry=None) -> dict:
"""Run full evaluation pipeline for one ProductEntry. Returns result dict."""
from dokimi.commands.arms import pipeline_checkpoint
from dokimi.orchestrator import EvaluationPipeline
from dokimi.orchestrator import EvaluationPipeline, EvaluationSettings
from pathlib import Path as _Path

doc_source = doc_source_override or (entry.doc_sources[0] if entry.doc_sources else "context7")
Expand All @@ -72,7 +72,7 @@ def _run_single_library(entry, output_dir: str, model: str, provider: str, judge
context=f"benchmark:{entry.key}",
)

pipeline = EvaluationPipeline(
pipeline = EvaluationPipeline(settings=EvaluationSettings(
product=entry.name,
repo=entry.repo,
description=entry.description,
Expand All @@ -94,7 +94,7 @@ def _run_single_library(entry, output_dir: str, model: str, provider: str, judge
registry=registry,
questions_root=_Path(questions_root) if questions_root else None,
checkpoint=pipeline_checkpoint, # the answered questions, until the answers file is saved (#1004)
)
))
result = pipeline.run(concurrency=concurrency)
return {"library": entry.key, "name": entry.name, "status": "ok", "result": result}

Expand Down
6 changes: 3 additions & 3 deletions dokimi/dokimi/commands/orchestrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def cmd_evaluate(args: argparse.Namespace) -> None:
"""Run full evaluation pipeline (orchestrator)."""
from dokimi.commands.arms import pipeline_checkpoint
from dokimi.mcp.factory import require_local_doc_source
from dokimi.orchestrator import EvaluationPipeline
from dokimi.orchestrator import EvaluationPipeline, EvaluationSettings

if not getattr(args, "repo", None) and not getattr(args, "description", None):
raise InputError("either --repo or --description must be provided.")
Expand Down Expand Up @@ -65,7 +65,7 @@ def cmd_evaluate(args: argparse.Namespace) -> None:
require_local_doc_source(getattr(args, "doc_source", "context7"))
# Create pipeline; it checks --questions and creates the output directories
try:
pipeline = EvaluationPipeline(
pipeline = EvaluationPipeline(settings=EvaluationSettings(
product=args.product,
repo=getattr(args, "repo", None),
description=getattr(args, "description", None),
Expand All @@ -87,7 +87,7 @@ def cmd_evaluate(args: argparse.Namespace) -> None:
doc_source=getattr(args, "doc_source", "context7"),
context7_id=getattr(args, "context7_id", None),
checkpoint=pipeline_checkpoint, # the answered questions, until the answers file is saved (#1004)
)
))
except OSError as exc: # a missing --questions file, an unusable --out-dir
raise InputError(str(exc)) from exc

Expand Down
3 changes: 2 additions & 1 deletion dokimi/dokimi/orchestrator/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"""Pipeline orchestration module."""

from .pipeline import EvaluationPipeline
from .pipeline_settings import EvaluationSettings

__all__ = ["EvaluationPipeline"]
__all__ = ["EvaluationPipeline", "EvaluationSettings"]

Check warning on line 9 in dokimi/dokimi/orchestrator/__init__.py

View workflow job for this annotation

GitHub Actions / Mutation of changed lines

mutant survived: drop-element `["EvaluationPipeline", "EvaluationSettings"]` -> `["EvaluationSettings"]`

Check warning on line 9 in dokimi/dokimi/orchestrator/__init__.py

View workflow job for this annotation

GitHub Actions / Mutation of changed lines

mutant survived: drop-element `["EvaluationPipeline", "EvaluationSettings"]` -> `["EvaluationPipeline"]`
145 changes: 42 additions & 103 deletions dokimi/dokimi/orchestrator/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,13 @@
from dokimi.artifacts import save_artifact
from dokimi.atomic_write import write_bytes_in_place_or_atomic
from dokimi.process_io import text_file_bytes
from dokimi.defaults import (DEFAULT_ANSWER_MODEL, DEFAULT_ANSWER_PROVIDER, DEFAULT_JUDGE_MODEL, DEFAULT_JUDGE_PROVIDER,
DEFAULT_RETRIEVAL_TOP_K)
from dokimi.eval.stats import paired_summary
from dokimi.mcp.factory import create_doc_source_client, require_local_doc_source, resolve_library_id_for_product
from dokimi.orchestrator.arm_answering import Checkpoint, PipelineArms
from dokimi.files import InputError, read_json_input, refuse_device
from dokimi.digest import key_bytes

from dokimi.orchestrator.pipeline_settings import EvaluationSettings
from dokimi.orchestrator.question_source import warn_unpinned_questions
from dokimi.orchestrator.question_sets import (
compute_question_set_hash, load_questions_payload, resolve_questions_from_path)
Expand Down Expand Up @@ -98,118 +97,58 @@
6. Generate report
"""

def __init__(
self,
product: str,
output_dir: Path,
repo: Optional[str] = None,
description: Optional[str] = None,
custom_questions_path: Optional[Path] = None,
model: str = DEFAULT_ANSWER_MODEL,
provider: str = DEFAULT_ANSWER_PROVIDER,
judge_model: str = DEFAULT_JUDGE_MODEL,
judge_provider: str = DEFAULT_JUDGE_PROVIDER,
judge_temperature: Optional[float] = None,
personas_count: int = 5,
questions_per_topic: int = 2,
top_k: int = DEFAULT_RETRIEVAL_TOP_K,
rerank_threshold: float = 0.3,
debug_retrieval: bool = False,
doc_source: str = "context7",
context7_id: Optional[str] = None,
max_tokens_per_question: int = 4000,
force_regen: bool = False,
questions_from: Optional[Path] = None,
product_key: Optional[str] = None,
questions_root: Optional[Path] = None,
registry: Optional[Any] = None,
judge_placeholder: bool = False,
checkpoint: Optional[Callable[[Path], Checkpoint]] = None,
):
def __init__(self, *args: Any, settings: Optional[EvaluationSettings] = None, **kwargs: Any):
"""
Initialize pipeline.

Args:
product: Product name (e.g., "oneDNN")
output_dir: Base directory for outputs
repo: GitHub repo (e.g., "oneapi-src/oneDNN"). Optional — when
omitted, ``description`` must be provided so the LLM can
generate personas without GitHub data.
description: Plain-text description of the product. Used as the
sole signal for persona generation when ``repo`` is not given.
Also useful to supplement GitHub data.
custom_questions_path: Optional path to manual questions JSON
model: LLM model for generation/answering
provider: Provider for generation/answering
judge_model: LLM model for evaluation
judge_provider: Provider for evaluation
judge_temperature: Optional judge sampling temperature; unset leaves
the provider default
personas_count: Target number of personas
questions_per_topic: Questions per topic per persona
top_k: Docs to retrieve before reranking
rerank_threshold: Min relevance score
debug_retrieval: Include retrieval metadata
doc_source: Documentation source descriptor — 'context7' (default),
'local:<path>', or 'url:<url>'
context7_id: Explicit Context7 library ID (e.g., 'intel/mkl-dnn').
Overrides the auto-resolved ID when doc_source is 'context7'.
questions_from: Reuse an existing question set (file, or a run
directory holding questions/<product_key>.json).
product_key: Registry key used for output file names and golden
question-set lookup (defaults to ``product``).
questions_root: Directory holding golden question sets named
``<product_key>_golden.json``, for example a checkout of the
evaluation-content repository. When given and the file is
present it is the run's whole question set and generation is
skipped; when it is absent a warning is logged and questions are
generated. Without this argument (and without
``custom_questions_path``) the run has no golden set.
registry: ProductRegistry used to find the declared context7_id
(default: the bundled products.yaml)
judge_placeholder: No effect, warned: since method version 4 the
context arm answers a question with no document found with the
plain prompt, and that answer is judged (#228 step 4c)
checkpoint: Makes the file the answered questions are kept in until
the answers file is saved, from the answers path
(``commands.arms.pipeline_checkpoint``); none by default
Takes the run's inputs as an :class:`EvaluationSettings` (``settings=``), or as
the same fields given as keyword arguments, which build one. The fields are
described on :class:`EvaluationSettings`. The fields may also be given
positionally, in field order, as the keyword signature always allowed.
"""
if not repo and not description:
if settings is None:
try:
settings = EvaluationSettings(*args, **kwargs)
except TypeError as exc: # preserve the original parameter binding error under the pipeline name
raise TypeError(str(exc).replace("EvaluationSettings.__init__()", "EvaluationPipeline.__init__()", 1)) from None

Check warning on line 113 in dokimi/dokimi/orchestrator/pipeline.py

View workflow job for this annotation

GitHub Actions / Mutation of changed lines

mutant survived: bump-int `1` -> `2`
elif args or kwargs:

Check warning on line 114 in dokimi/dokimi/orchestrator/pipeline.py

View workflow job for this annotation

GitHub Actions / Mutation of changed lines

mutant survived: drop-clause `args or kwargs` -> `(kwargs)`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix before merge (blocking): No test covers positional arguments passed with settings=: removing the check at pipeline.py:114 passes every changed test.

Suggestion: Add a case to dokimi/tests/test_pipeline_settings.py that passes one positional argument together with settings= and expects the not both TypeError.

I tested this patch: it fixes the problem, and the tests still pass.

Patch
--- a/dokimi/tests/test_pipeline_settings.py
+++ b/dokimi/tests/test_pipeline_settings.py
@@ -57,6 +57,12 @@
         EvaluationPipeline(settings=settings, model="m")
 
 
+def test_positional_arguments_with_settings_are_refused(tmp_path):
+    settings = EvaluationSettings(product="oneTBB", output_dir=tmp_path, description="d")
+    with pytest.raises(TypeError, match="takes settings or keyword arguments, not both"):
+        EvaluationPipeline("other", tmp_path, settings=settings)
+
+
 def test_an_unknown_keyword_is_refused_under_the_pipeline_name(tmp_path):
     with pytest.raises(TypeError) as exc:
         EvaluationPipeline(product="oneTBB", output_dir=tmp_path, description="d", bogus=1)
Details

I tried EvaluationPipeline("other", path, settings=settings). The latest commit refuses it with the not both TypeError at pipeline.py:114. If I change elif args or kwargs: to elif kwargs:, the call goes through with the positional argument silently ignored, and every changed test still passes, because the tests only combine settings= with keyword arguments.

raise TypeError("EvaluationPipeline() takes settings or keyword arguments, not both")
if not settings.repo and not settings.description:
raise ValueError(
"Either 'repo' or 'description' must be provided. "
"Supply 'repo' for GitHub-based persona discovery, or "
"'description' for products without a public repository."
)

self.product = product
self.product_key = product_key or product
self.repo = repo
self.description = description
self.output_dir = Path(output_dir)

self.questions_root = Path(questions_root) if questions_root else None
self._resolve_question_source(custom_questions_path, questions_from, force_regen)

self.model = model
self.provider = provider
self.judge_model = judge_model
self.judge_provider = judge_provider
self.judge_temperature = judge_temperature
_warn_judge_placeholder(judge_placeholder)

self.personas_count = personas_count
self.questions_per_topic = questions_per_topic
self.top_k = top_k
self.rerank_threshold = rerank_threshold
self.debug_retrieval = debug_retrieval
self.doc_source = doc_source
self.context7_id = context7_id
self.product = settings.product
self.product_key = settings.product_key or settings.product
self.repo = settings.repo
self.description = settings.description
self.output_dir = Path(settings.output_dir)

self.questions_root = Path(settings.questions_root) if settings.questions_root else None
self._resolve_question_source(settings.custom_questions_path, settings.questions_from, settings.force_regen)

self.model = settings.model
self.provider = settings.provider
self.judge_model = settings.judge_model
self.judge_provider = settings.judge_provider
self.judge_temperature = settings.judge_temperature
_warn_judge_placeholder(settings.judge_placeholder)

self.personas_count = settings.personas_count
self.questions_per_topic = settings.questions_per_topic
self.top_k = settings.top_k
self.rerank_threshold = settings.rerank_threshold
self.debug_retrieval = settings.debug_retrieval
self.doc_source = settings.doc_source
self.context7_id = settings.context7_id
# Product registry for the library id (defaults to the bundled products.yaml).
self.registry = registry
self.max_tokens_per_question = max_tokens_per_question
self.force_regen = force_regen
self.registry = settings.registry
self.max_tokens_per_question = settings.max_tokens_per_question
self.force_regen = settings.force_regen

self._resolve_external_questions(questions_from)
self._resolve_external_questions(settings.questions_from)

# Output paths
self.personas_path = self.output_dir / "personas" / f"{self.product_key}.json"
Expand All @@ -221,7 +160,7 @@
# Create output dirs
for path in [self.personas_path, self.questions_path, self.answers_path, self.eval_path, self.report_path]:
path.parent.mkdir(parents=True, exist_ok=True)
self.checkpoint = _open_checkpoint(checkpoint, self.answers_path)
self.checkpoint = _open_checkpoint(settings.checkpoint, self.answers_path)

def _resolve_question_source(self, custom_questions_path: Optional[Path], questions_from: Optional[Path],
force_regen: bool) -> None:
Expand Down
95 changes: 95 additions & 0 deletions dokimi/dokimi/orchestrator/pipeline_settings.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
# Copyright (C) 2026 Intel Corporation
# SPDX-License-Identifier: Apache-2.0

"""Settings for one run of :class:`~dokimi.orchestrator.pipeline.EvaluationPipeline`."""

from __future__ import annotations

from dataclasses import dataclass
from pathlib import Path
from typing import Any, Callable, Optional

from dokimi.defaults import (DEFAULT_ANSWER_MODEL, DEFAULT_ANSWER_PROVIDER, DEFAULT_JUDGE_MODEL, DEFAULT_JUDGE_PROVIDER,
DEFAULT_RETRIEVAL_TOP_K)
from dokimi.orchestrator.arm_answering import Checkpoint


@dataclass(frozen=True)

Check warning on line 17 in dokimi/dokimi/orchestrator/pipeline_settings.py

View workflow job for this annotation

GitHub Actions / Mutation of changed lines

mutant survived: flip-bool `True` -> `False`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix before merge (blocking): No test checks that EvaluationSettings is frozen: removing frozen=True at pipeline_settings.py:17 passes every changed test.

Suggestion: Add a test to dokimi/tests/test_pipeline_settings.py that assigns to a field of EvaluationSettings and expects FrozenInstanceError.

I tested this patch: it fixes the problem, and the tests still pass.

Patch
--- a/dokimi/tests/test_pipeline_settings.py
+++ b/dokimi/tests/test_pipeline_settings.py
@@ -3,7 +3,7 @@
 
 """EvaluationPipeline takes its inputs as an EvaluationSettings, or as the same fields as keywords."""
 
-from dataclasses import fields
+from dataclasses import FrozenInstanceError, fields
 from pathlib import Path
 
 import pytest
@@ -51,6 +51,12 @@
     assert "settings" not in names
 
 
+def test_the_settings_object_is_frozen(tmp_path):
+    settings = EvaluationSettings(product="oneTBB", output_dir=tmp_path, description="d")
+    with pytest.raises(FrozenInstanceError):
+        settings.product = "other"
+
+
 def test_settings_and_keywords_together_are_refused(tmp_path):
     settings = EvaluationSettings(product="oneTBB", output_dir=tmp_path, description="d")
     with pytest.raises(TypeError, match="takes settings or keyword arguments, not both"):
Details

The description calls the settings object frozen, and it is: assigning to a field raises FrozenInstanceError. If I remove frozen=True, all 126 changed tests still pass, because none of them assigns to a field.

class EvaluationSettings:
"""
The inputs of one pipeline run. ``EvaluationPipeline(settings=...)`` takes this
object; ``EvaluationPipeline(**fields)`` builds it from the same fields.

Fields:
product: Product name (e.g., "oneDNN")
output_dir: Base directory for outputs
repo: GitHub repo (e.g., "oneapi-src/oneDNN"). Optional — when
omitted, ``description`` must be provided so the LLM can
generate personas without GitHub data.
description: Plain-text description of the product. Used as the
sole signal for persona generation when ``repo`` is not given.
Also useful to supplement GitHub data.
custom_questions_path: Optional path to manual questions JSON
model: LLM model for generation/answering
provider: Provider for generation/answering
judge_model: LLM model for evaluation
judge_provider: Provider for evaluation
judge_temperature: Optional judge sampling temperature; unset leaves
the provider default
personas_count: Target number of personas
questions_per_topic: Questions per topic per persona
top_k: Docs to retrieve before reranking
rerank_threshold: Min relevance score
debug_retrieval: Include retrieval metadata
doc_source: Documentation source descriptor — 'context7' (default),
'local:<path>', or 'url:<url>'
context7_id: Explicit Context7 library ID (e.g., 'intel/mkl-dnn').
Overrides the auto-resolved ID when doc_source is 'context7'.
max_tokens_per_question: Token budget for documentation retrieved per question
force_regen: Regenerate the question set even when a cached one exists
questions_from: Reuse an existing question set (file, or a run
directory holding questions/<product_key>.json).
product_key: Registry key used for output file names and golden
question-set lookup (defaults to ``product``).
questions_root: Directory holding golden question sets named
``<product_key>_golden.json``, for example a checkout of the
evaluation-content repository. When given and the file is
present it is the run's whole question set and generation is
skipped; when it is absent a warning is logged and questions are
generated. Without this argument (and without
``custom_questions_path``) the run has no golden set.
registry: ProductRegistry used to find the declared context7_id
(default: the bundled products.yaml)
judge_placeholder: No effect, warned: since method version 4 the
context arm answers a question with no document found with the
plain prompt, and that answer is judged (#228 step 4c)
checkpoint: Makes the file the answered questions are kept in until
the answers file is saved, from the answers path
(``commands.arms.pipeline_checkpoint``); none by default
"""

product: str
output_dir: Path
repo: Optional[str] = None
description: Optional[str] = None
custom_questions_path: Optional[Path] = None
model: str = DEFAULT_ANSWER_MODEL
provider: str = DEFAULT_ANSWER_PROVIDER
judge_model: str = DEFAULT_JUDGE_MODEL
judge_provider: str = DEFAULT_JUDGE_PROVIDER
judge_temperature: Optional[float] = None
personas_count: int = 5

Check warning on line 81 in dokimi/dokimi/orchestrator/pipeline_settings.py

View workflow job for this annotation

GitHub Actions / Mutation of changed lines

mutant survived: bump-int `5` -> `6`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Must fix (blocking): No test checks the defaults: if I change personas_count from 5 to 6, the changed tests still pass.
The description says the fields keep the old defaults, but the changed tests only compare the settings path with the keyword path, and both read the same dataclass.

Also at: dokimi/dokimi/orchestrator/pipeline_settings.py:82, dokimi/dokimi/orchestrator/pipeline_settings.py:88, dokimi/dokimi/orchestrator/pipeline_settings.py:94.

Suggestion: Add a test to dokimi/tests/test_pipeline_settings.py that builds EvaluationSettings with only product and output_dir and checks each default against the old keyword value: personas_count 5, questions_per_topic 2, max_tokens_per_question 4000 and judge_placeholder False.

I tested this patch: it fixes the problem, and the tests still pass.

Patch
--- a/dokimi/tests/test_pipeline_settings.py
+++ b/dokimi/tests/test_pipeline_settings.py
@@ -72,3 +72,9 @@
 def test_the_settings_are_not_stored_on_the_pipeline(tmp_path):
     pipe = EvaluationPipeline(settings=EvaluationSettings(product="oneTBB", output_dir=Path(tmp_path), description="d"))
     assert not any(isinstance(v, EvaluationSettings) for v in vars(pipe).values())
+
+
+def test_the_fields_keep_their_defaults(tmp_path):
+    settings = EvaluationSettings(product="oneTBB", output_dir=tmp_path, description="d")
+    assert (settings.personas_count, settings.questions_per_topic, settings.max_tokens_per_question,
+            settings.judge_placeholder) == (5, 2, 4000, False)
Details

I changed personas_count at pipeline_settings.py:81 from 5 to 6, and all 126 changed tests still pass. I also changed questions_per_topic (:82), max_tokens_per_question (:88) and judge_placeholder (:94) one at a time, and each change also passes.

questions_per_topic: int = 2

Check warning on line 82 in dokimi/dokimi/orchestrator/pipeline_settings.py

View workflow job for this annotation

GitHub Actions / Mutation of changed lines

mutant survived: bump-int `2` -> `3`
top_k: int = DEFAULT_RETRIEVAL_TOP_K
rerank_threshold: float = 0.3
debug_retrieval: bool = False
doc_source: str = "context7"
context7_id: Optional[str] = None
max_tokens_per_question: int = 4000

Check warning on line 88 in dokimi/dokimi/orchestrator/pipeline_settings.py

View workflow job for this annotation

GitHub Actions / Mutation of changed lines

mutant survived: bump-int `4000` -> `4001`
force_regen: bool = False
questions_from: Optional[Path] = None
product_key: Optional[str] = None
questions_root: Optional[Path] = None
registry: Optional[Any] = None
judge_placeholder: bool = False

Check warning on line 94 in dokimi/dokimi/orchestrator/pipeline_settings.py

View workflow job for this annotation

GitHub Actions / Mutation of changed lines

mutant survived: flip-bool `False` -> `True`
checkpoint: Optional[Callable[[Path], Checkpoint]] = None
3 changes: 2 additions & 1 deletion dokimi/tests/test_answering_stack_p_step2.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ class _FakePipeline:

built: list = []

def __init__(self, **kwargs):
def __init__(self, settings):
kwargs = vars(settings)
_FakePipeline.built.append(kwargs)
self.answers_path = kwargs["output_dir"] / "answers" / f"{kwargs['product_key']}.json"

Expand Down
4 changes: 2 additions & 2 deletions dokimi/tests/test_benchmark_command_question_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ def test_questions_root_reaches_the_pipeline(monkeypatch, tmp_path):
seen: dict[str, object] = {}

class FakePipeline:
def __init__(self, **kwargs):
seen.update(kwargs)
def __init__(self, settings):
seen.update(vars(settings))

def run(self, concurrency=5):
return {}
Expand Down
3 changes: 2 additions & 1 deletion dokimi/tests/test_benchmark_registry_wiring.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ class _Spy:

built: list = []

def __init__(self, **kwargs):
def __init__(self, settings):
kwargs = vars(settings) # every field is also a keyword: EvaluationPipeline(**kwargs) takes them back
self.kwargs = kwargs
_Spy.built.append(kwargs)

Expand Down
4 changes: 2 additions & 2 deletions dokimi/tests/test_pipeline_question_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@ def test_evaluate_command_forwards_questions_root(tmp_path, monkeypatch):
seen: dict[str, object] = {}

class FakePipeline:
def __init__(self, **kwargs):
seen.update(kwargs)
def __init__(self, settings):
seen.update(vars(settings))

def run(self, concurrency=5):
return {
Expand Down
Loading
Loading