Skip to content

Commit 1b67446

Browse files
committed
tests for mmc
1 parent da5cbd5 commit 1b67446

3 files changed

Lines changed: 770 additions & 51 deletions

File tree

asyncflow_queue_limit/asyncflow_mmc_split.ipynb

Lines changed: 175 additions & 47 deletions
Large diffs are not rendered by default.

src/asyncflow/queue_theory_analysis/mm1.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,7 @@ def _check_server_model(self, payload: SimulationPayload) -> list[str]:
111111
errs.append("the single step must be CPU-bound.")
112112
return errs
113113

114-
op_key, op_data = next(iter(step.step_operation.items()))
115-
if op_key is not StepOperation.CPU_TIME:
116-
errs.append("CPU step must use CPU_TIME as its operation.")
117-
return errs
114+
_, op_data = next(iter(step.step_operation.items()))
118115

119116
# Must be exponential RV (not deterministic)
120117
if not isinstance(op_data, RVConfig):

0 commit comments

Comments
 (0)