chore(notebooks): bump marimo to 0.23.1 + hide noisy cell in skin_sub_pricing
Marimo serialized version bump in two skin-substitute notebooks; also hide_code=True on the rvu_ts cell so the chart shows by default without scrolling past the SQL. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import marimo
|
||||
|
||||
__generated_with = "0.21.1"
|
||||
__generated_with = "0.23.1"
|
||||
app = marimo.App(width="medium")
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ def _(mo):
|
||||
return
|
||||
|
||||
|
||||
@app.cell
|
||||
@app.cell(hide_code=True)
|
||||
def _(alt, q):
|
||||
rvu_ts = q("""
|
||||
SELECT year, hcpcs,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import marimo
|
||||
|
||||
__generated_with = "0.20.4"
|
||||
__generated_with = "0.23.1"
|
||||
app = marimo.App(width="medium")
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ def _(mo):
|
||||
return
|
||||
|
||||
|
||||
@app.cell
|
||||
@app.cell(hide_code=True)
|
||||
def _():
|
||||
import altair as alt
|
||||
import polars as pl
|
||||
@@ -35,7 +35,7 @@ def _():
|
||||
from conf import connect
|
||||
|
||||
con = connect.duckdb()
|
||||
return alt, con, connect, pl
|
||||
return alt, con, pl
|
||||
|
||||
|
||||
@app.cell(hide_code=True)
|
||||
@@ -51,14 +51,11 @@ def _(mo):
|
||||
}
|
||||
)
|
||||
tabs
|
||||
return (tabs,)
|
||||
|
||||
|
||||
# ── ASP Pricing Tab ──────────────────────────────────────────────
|
||||
return
|
||||
|
||||
|
||||
@app.cell(hide_code=True)
|
||||
def _(alt, con, mo, pl):
|
||||
def _(con, mo, pl):
|
||||
asp = pl.from_pandas(
|
||||
con.execute("""
|
||||
SELECT quarter, hcpcs_code, product_name, manufacturer, category,
|
||||
@@ -75,7 +72,7 @@ def _(alt, con, mo, pl):
|
||||
products, label="Products", value=["Q4101", "Q4186", "Q4121"]
|
||||
)
|
||||
product_select
|
||||
return asp, product_select, products
|
||||
return asp, product_select
|
||||
|
||||
|
||||
@app.cell(hide_code=True)
|
||||
@@ -129,9 +126,6 @@ def _(alt, asp, mo, pl, product_select):
|
||||
return
|
||||
|
||||
|
||||
# ── Market Tab ───────────────────────────────────────────────────
|
||||
|
||||
|
||||
@app.cell(hide_code=True)
|
||||
def _(alt, con, mo, pl):
|
||||
mfr = pl.from_pandas(
|
||||
@@ -192,10 +186,7 @@ def _(alt, con, mo, pl):
|
||||
)
|
||||
|
||||
mo.vstack([mo.ui.altair_chart(mfr_chart), mo.ui.altair_chart(cat_chart)])
|
||||
return cat, cat_chart, mfr, mfr_chart
|
||||
|
||||
|
||||
# ── Geographic Tab ───────────────────────────────────────────────
|
||||
return
|
||||
|
||||
|
||||
@app.cell(hide_code=True)
|
||||
@@ -261,10 +252,7 @@ def _(alt, con, mo, pl):
|
||||
)
|
||||
|
||||
mo.vstack([mo.ui.altair_chart(geo_chart), mo.ui.altair_chart(mac_chart)])
|
||||
return geo, geo_chart, mac, mac_chart
|
||||
|
||||
|
||||
# ── Setting Tab ──────────────────────────────────────────────────
|
||||
return
|
||||
|
||||
|
||||
@app.cell(hide_code=True)
|
||||
@@ -292,10 +280,7 @@ def _(alt, con, mo, pl):
|
||||
)
|
||||
|
||||
mo.ui.altair_chart(setting_chart)
|
||||
return setting, setting_chart
|
||||
|
||||
|
||||
# ── Anomaly Tab ──────────────────────────────────────────────────
|
||||
return
|
||||
|
||||
|
||||
@app.cell(hide_code=True)
|
||||
@@ -353,10 +338,7 @@ def _(alt, con, mo, pl):
|
||||
mo.vstack(
|
||||
[mo.ui.altair_chart(scatter), mo.md("### Risk Tier Distribution"), tier_table]
|
||||
)
|
||||
return risk, scatter, tier, tier_table
|
||||
|
||||
|
||||
# ── Evidence Tab ─────────────────────────────────────────────────
|
||||
return
|
||||
|
||||
|
||||
@app.cell(hide_code=True)
|
||||
@@ -390,7 +372,7 @@ def _(con, mo, pl):
|
||||
mo.md(f"**Total evidence items:** {ev['items'].sum():,}"),
|
||||
]
|
||||
)
|
||||
return ev, study
|
||||
return
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user