Spaces:
Runtime error
Runtime error
Greg Wilson commited on
Commit ·
8eccedb
1
Parent(s): f006b5f
feat: hiding a few cells
Browse files- queueing/01_basic_ideas.py +2 -2
- queueing/02_queue_formation.py +2 -2
- queueing/04_sojourn_time.py +2 -2
- queueing/05_mm1_nonlinearity.py +2 -2
- queueing/06_pooled_vs_separate.py +2 -2
- queueing/07_late_merge.py +2 -2
- queueing/08_inspectors_paradox.py +2 -2
- queueing/09_convoy_effect.py +2 -2
- queueing/10_priority_starvation.py +2 -2
- queueing/11_tandem_queue.py +2 -2
- queueing/12_rush_hour.py +2 -2
- queueing/13_braess_paradox.py +2 -2
queueing/01_basic_ideas.py
CHANGED
|
@@ -14,7 +14,7 @@ __generated_with = "0.22.4"
|
|
| 14 |
app = marimo.App(width="medium")
|
| 15 |
|
| 16 |
|
| 17 |
-
@app.cell
|
| 18 |
def _():
|
| 19 |
import marimo as mo
|
| 20 |
import math
|
|
@@ -46,7 +46,7 @@ def _(mo):
|
|
| 46 |
return
|
| 47 |
|
| 48 |
|
| 49 |
-
@app.cell
|
| 50 |
def _(mo):
|
| 51 |
sim_time_slider = mo.ui.slider(
|
| 52 |
start=0,
|
|
|
|
| 14 |
app = marimo.App(width="medium")
|
| 15 |
|
| 16 |
|
| 17 |
+
@app.cell(hide_code=True)
|
| 18 |
def _():
|
| 19 |
import marimo as mo
|
| 20 |
import math
|
|
|
|
| 46 |
return
|
| 47 |
|
| 48 |
|
| 49 |
+
@app.cell(hide_code=True)
|
| 50 |
def _(mo):
|
| 51 |
sim_time_slider = mo.ui.slider(
|
| 52 |
start=0,
|
queueing/02_queue_formation.py
CHANGED
|
@@ -14,7 +14,7 @@ __generated_with = "0.20.4"
|
|
| 14 |
app = marimo.App(width="medium")
|
| 15 |
|
| 16 |
|
| 17 |
-
@app.cell
|
| 18 |
def _():
|
| 19 |
import marimo as mo
|
| 20 |
import random
|
|
@@ -87,7 +87,7 @@ def _(mo):
|
|
| 87 |
return
|
| 88 |
|
| 89 |
|
| 90 |
-
@app.cell
|
| 91 |
def _(mo):
|
| 92 |
sim_time_slider = mo.ui.slider(
|
| 93 |
start=0,
|
|
|
|
| 14 |
app = marimo.App(width="medium")
|
| 15 |
|
| 16 |
|
| 17 |
+
@app.cell(hide_code=True)
|
| 18 |
def _():
|
| 19 |
import marimo as mo
|
| 20 |
import random
|
|
|
|
| 87 |
return
|
| 88 |
|
| 89 |
|
| 90 |
+
@app.cell(hide_code=True)
|
| 91 |
def _(mo):
|
| 92 |
sim_time_slider = mo.ui.slider(
|
| 93 |
start=0,
|
queueing/04_sojourn_time.py
CHANGED
|
@@ -14,7 +14,7 @@ __generated_with = "0.20.4"
|
|
| 14 |
app = marimo.App(width="medium")
|
| 15 |
|
| 16 |
|
| 17 |
-
@app.cell
|
| 18 |
def _():
|
| 19 |
import marimo as mo
|
| 20 |
import random
|
|
@@ -87,7 +87,7 @@ def _(mo):
|
|
| 87 |
return
|
| 88 |
|
| 89 |
|
| 90 |
-
@app.cell
|
| 91 |
def _(mo):
|
| 92 |
sim_time_slider = mo.ui.slider(
|
| 93 |
start=0,
|
|
|
|
| 14 |
app = marimo.App(width="medium")
|
| 15 |
|
| 16 |
|
| 17 |
+
@app.cell(hide_code=True)
|
| 18 |
def _():
|
| 19 |
import marimo as mo
|
| 20 |
import random
|
|
|
|
| 87 |
return
|
| 88 |
|
| 89 |
|
| 90 |
+
@app.cell(hide_code=True)
|
| 91 |
def _(mo):
|
| 92 |
sim_time_slider = mo.ui.slider(
|
| 93 |
start=0,
|
queueing/05_mm1_nonlinearity.py
CHANGED
|
@@ -14,7 +14,7 @@ __generated_with = "0.20.4"
|
|
| 14 |
app = marimo.App(width="medium")
|
| 15 |
|
| 16 |
|
| 17 |
-
@app.cell
|
| 18 |
def _():
|
| 19 |
import marimo as mo
|
| 20 |
import random
|
|
@@ -70,7 +70,7 @@ def _(mo):
|
|
| 70 |
return
|
| 71 |
|
| 72 |
|
| 73 |
-
@app.cell
|
| 74 |
def _(mo):
|
| 75 |
sim_time_slider = mo.ui.slider(
|
| 76 |
start=0,
|
|
|
|
| 14 |
app = marimo.App(width="medium")
|
| 15 |
|
| 16 |
|
| 17 |
+
@app.cell(hide_code=True)
|
| 18 |
def _():
|
| 19 |
import marimo as mo
|
| 20 |
import random
|
|
|
|
| 70 |
return
|
| 71 |
|
| 72 |
|
| 73 |
+
@app.cell(hide_code=True)
|
| 74 |
def _(mo):
|
| 75 |
sim_time_slider = mo.ui.slider(
|
| 76 |
start=0,
|
queueing/06_pooled_vs_separate.py
CHANGED
|
@@ -14,7 +14,7 @@ __generated_with = "0.20.4"
|
|
| 14 |
app = marimo.App(width="medium")
|
| 15 |
|
| 16 |
|
| 17 |
-
@app.cell
|
| 18 |
def _():
|
| 19 |
import marimo as mo
|
| 20 |
import random
|
|
@@ -64,7 +64,7 @@ def _(mo):
|
|
| 64 |
return
|
| 65 |
|
| 66 |
|
| 67 |
-
@app.cell
|
| 68 |
def _(mo):
|
| 69 |
sim_time_slider = mo.ui.slider(
|
| 70 |
start=0,
|
|
|
|
| 14 |
app = marimo.App(width="medium")
|
| 15 |
|
| 16 |
|
| 17 |
+
@app.cell(hide_code=True)
|
| 18 |
def _():
|
| 19 |
import marimo as mo
|
| 20 |
import random
|
|
|
|
| 64 |
return
|
| 65 |
|
| 66 |
|
| 67 |
+
@app.cell(hide_code=True)
|
| 68 |
def _(mo):
|
| 69 |
sim_time_slider = mo.ui.slider(
|
| 70 |
start=0,
|
queueing/07_late_merge.py
CHANGED
|
@@ -14,7 +14,7 @@ __generated_with = "0.20.4"
|
|
| 14 |
app = marimo.App(width="medium")
|
| 15 |
|
| 16 |
|
| 17 |
-
@app.cell
|
| 18 |
def _():
|
| 19 |
import marimo as mo
|
| 20 |
import random
|
|
@@ -85,7 +85,7 @@ def _(mo):
|
|
| 85 |
return
|
| 86 |
|
| 87 |
|
| 88 |
-
@app.cell
|
| 89 |
def _(mo):
|
| 90 |
sim_time_slider = mo.ui.slider(
|
| 91 |
start=0,
|
|
|
|
| 14 |
app = marimo.App(width="medium")
|
| 15 |
|
| 16 |
|
| 17 |
+
@app.cell(hide_code=True)
|
| 18 |
def _():
|
| 19 |
import marimo as mo
|
| 20 |
import random
|
|
|
|
| 85 |
return
|
| 86 |
|
| 87 |
|
| 88 |
+
@app.cell(hide_code=True)
|
| 89 |
def _(mo):
|
| 90 |
sim_time_slider = mo.ui.slider(
|
| 91 |
start=0,
|
queueing/08_inspectors_paradox.py
CHANGED
|
@@ -14,7 +14,7 @@ __generated_with = "0.20.4"
|
|
| 14 |
app = marimo.App(width="medium")
|
| 15 |
|
| 16 |
|
| 17 |
-
@app.cell
|
| 18 |
def _():
|
| 19 |
import marimo as mo
|
| 20 |
import random
|
|
@@ -84,7 +84,7 @@ def _(mo):
|
|
| 84 |
return
|
| 85 |
|
| 86 |
|
| 87 |
-
@app.cell
|
| 88 |
def _(mo):
|
| 89 |
sim_time_slider = mo.ui.slider(
|
| 90 |
start=0,
|
|
|
|
| 14 |
app = marimo.App(width="medium")
|
| 15 |
|
| 16 |
|
| 17 |
+
@app.cell(hide_code=True)
|
| 18 |
def _():
|
| 19 |
import marimo as mo
|
| 20 |
import random
|
|
|
|
| 84 |
return
|
| 85 |
|
| 86 |
|
| 87 |
+
@app.cell(hide_code=True)
|
| 88 |
def _(mo):
|
| 89 |
sim_time_slider = mo.ui.slider(
|
| 90 |
start=0,
|
queueing/09_convoy_effect.py
CHANGED
|
@@ -14,7 +14,7 @@ __generated_with = "0.20.4"
|
|
| 14 |
app = marimo.App(width="medium")
|
| 15 |
|
| 16 |
|
| 17 |
-
@app.cell
|
| 18 |
def _():
|
| 19 |
import marimo as mo
|
| 20 |
import random
|
|
@@ -79,7 +79,7 @@ def _(mo):
|
|
| 79 |
return
|
| 80 |
|
| 81 |
|
| 82 |
-
@app.cell
|
| 83 |
def _(mo):
|
| 84 |
sim_time_slider = mo.ui.slider(
|
| 85 |
start=0,
|
|
|
|
| 14 |
app = marimo.App(width="medium")
|
| 15 |
|
| 16 |
|
| 17 |
+
@app.cell(hide_code=True)
|
| 18 |
def _():
|
| 19 |
import marimo as mo
|
| 20 |
import random
|
|
|
|
| 79 |
return
|
| 80 |
|
| 81 |
|
| 82 |
+
@app.cell(hide_code=True)
|
| 83 |
def _(mo):
|
| 84 |
sim_time_slider = mo.ui.slider(
|
| 85 |
start=0,
|
queueing/10_priority_starvation.py
CHANGED
|
@@ -14,7 +14,7 @@ __generated_with = "0.20.4"
|
|
| 14 |
app = marimo.App(width="medium")
|
| 15 |
|
| 16 |
|
| 17 |
-
@app.cell
|
| 18 |
def _():
|
| 19 |
import marimo as mo
|
| 20 |
import random
|
|
@@ -88,7 +88,7 @@ def _(mo):
|
|
| 88 |
return
|
| 89 |
|
| 90 |
|
| 91 |
-
@app.cell
|
| 92 |
def _(mo):
|
| 93 |
sim_time_slider = mo.ui.slider(
|
| 94 |
start=0,
|
|
|
|
| 14 |
app = marimo.App(width="medium")
|
| 15 |
|
| 16 |
|
| 17 |
+
@app.cell(hide_code=True)
|
| 18 |
def _():
|
| 19 |
import marimo as mo
|
| 20 |
import random
|
|
|
|
| 88 |
return
|
| 89 |
|
| 90 |
|
| 91 |
+
@app.cell(hide_code=True)
|
| 92 |
def _(mo):
|
| 93 |
sim_time_slider = mo.ui.slider(
|
| 94 |
start=0,
|
queueing/11_tandem_queue.py
CHANGED
|
@@ -14,7 +14,7 @@ __generated_with = "0.20.4"
|
|
| 14 |
app = marimo.App(width="medium")
|
| 15 |
|
| 16 |
|
| 17 |
-
@app.cell
|
| 18 |
def _():
|
| 19 |
import marimo as mo
|
| 20 |
import random
|
|
@@ -72,7 +72,7 @@ def _(mo):
|
|
| 72 |
return
|
| 73 |
|
| 74 |
|
| 75 |
-
@app.cell
|
| 76 |
def _(mo):
|
| 77 |
sim_time_slider = mo.ui.slider(
|
| 78 |
start=0,
|
|
|
|
| 14 |
app = marimo.App(width="medium")
|
| 15 |
|
| 16 |
|
| 17 |
+
@app.cell(hide_code=True)
|
| 18 |
def _():
|
| 19 |
import marimo as mo
|
| 20 |
import random
|
|
|
|
| 72 |
return
|
| 73 |
|
| 74 |
|
| 75 |
+
@app.cell(hide_code=True)
|
| 76 |
def _(mo):
|
| 77 |
sim_time_slider = mo.ui.slider(
|
| 78 |
start=0,
|
queueing/12_rush_hour.py
CHANGED
|
@@ -14,7 +14,7 @@ __generated_with = "0.20.4"
|
|
| 14 |
app = marimo.App(width="medium")
|
| 15 |
|
| 16 |
|
| 17 |
-
@app.cell
|
| 18 |
def _():
|
| 19 |
import marimo as mo
|
| 20 |
import random
|
|
@@ -79,7 +79,7 @@ def _(mo):
|
|
| 79 |
return
|
| 80 |
|
| 81 |
|
| 82 |
-
@app.cell
|
| 83 |
def _(mo):
|
| 84 |
n_commuters_slider = mo.ui.slider(
|
| 85 |
start=50,
|
|
|
|
| 14 |
app = marimo.App(width="medium")
|
| 15 |
|
| 16 |
|
| 17 |
+
@app.cell(hide_code=True)
|
| 18 |
def _():
|
| 19 |
import marimo as mo
|
| 20 |
import random
|
|
|
|
| 79 |
return
|
| 80 |
|
| 81 |
|
| 82 |
+
@app.cell(hide_code=True)
|
| 83 |
def _(mo):
|
| 84 |
n_commuters_slider = mo.ui.slider(
|
| 85 |
start=50,
|
queueing/13_braess_paradox.py
CHANGED
|
@@ -14,7 +14,7 @@ __generated_with = "0.20.4"
|
|
| 14 |
app = marimo.App(width="medium")
|
| 15 |
|
| 16 |
|
| 17 |
-
@app.cell
|
| 18 |
def _():
|
| 19 |
import marimo as mo
|
| 20 |
import math
|
|
@@ -77,7 +77,7 @@ def _(mo):
|
|
| 77 |
return
|
| 78 |
|
| 79 |
|
| 80 |
-
@app.cell
|
| 81 |
def _(mo):
|
| 82 |
n_rounds_slider = mo.ui.slider(
|
| 83 |
start=10,
|
|
|
|
| 14 |
app = marimo.App(width="medium")
|
| 15 |
|
| 16 |
|
| 17 |
+
@app.cell(hide_code=True)
|
| 18 |
def _():
|
| 19 |
import marimo as mo
|
| 20 |
import math
|
|
|
|
| 77 |
return
|
| 78 |
|
| 79 |
|
| 80 |
+
@app.cell(hide_code=True)
|
| 81 |
def _(mo):
|
| 82 |
n_rounds_slider = mo.ui.slider(
|
| 83 |
start=10,
|