Skip to content
Merged
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
Expand Up @@ -18,7 +18,7 @@ class DeterministicLinearPlugin(_DeterministicBase):
plugin_id = "deterministic_linear@v1"
mode = "linear"

def evaluate_next(self, q: QProduct, run: RunLedger, *, config: KernelConfig) -> list[EgressSymbol]:
def evaluate_next(self, q: QProduct, run: RunLedger, config: KernelConfig) -> list[EgressSymbol]:
st = self._state()
if not st.participants:
return self._no_participants(q)
Expand Down
4 changes: 2 additions & 2 deletions runtime/src/mas/runtime/kernel/ingress_step.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def commit_engine_io_return(
q.dp = DpState.EVALUATING
apply_control_valid(q)
coord_after_ingress(q)
return evaluate(q, run, config)
return evaluate(q, run, config=config)


def apply_engine_io_return(
Expand Down Expand Up @@ -203,6 +203,6 @@ def apply_engine_io_return(
)
q.inflight_kind = "NONE"
q.dp = DpState.EVALUATING
return evaluate(q, run, config)
return evaluate(q, run, config=config)

return commit_engine_io_return(q, run, event, config=config, evaluate=evaluate)
2 changes: 1 addition & 1 deletion runtime/tests/test_parallel_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def test_schedule_parallel_tools_egress_siblings_share_one_parent() -> None:
text="ok",
)
with runtime_binding(None, op):
apply_engine_io_return(q, run, event, config=config, evaluate=lambda *_: [])
apply_engine_io_return(q, run, event, config=config, evaluate=lambda *_, **__: [])

ends = [
e
Expand Down
Loading