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
|
import marimo
|
||||||
|
|
||||||
__generated_with = "0.21.1"
|
__generated_with = "0.23.1"
|
||||||
app = marimo.App(width="medium")
|
app = marimo.App(width="medium")
|
||||||
|
|
||||||
|
|
||||||
@@ -58,7 +58,7 @@ def _(mo):
|
|||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
@app.cell
|
@app.cell(hide_code=True)
|
||||||
def _(alt, q):
|
def _(alt, q):
|
||||||
rvu_ts = q("""
|
rvu_ts = q("""
|
||||||
SELECT year, hcpcs,
|
SELECT year, hcpcs,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import marimo
|
import marimo
|
||||||
|
|
||||||
__generated_with = "0.20.4"
|
__generated_with = "0.23.1"
|
||||||
app = marimo.App(width="medium")
|
app = marimo.App(width="medium")
|
||||||
|
|
||||||
|
|
||||||
@@ -27,7 +27,7 @@ def _(mo):
|
|||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
@app.cell
|
@app.cell(hide_code=True)
|
||||||
def _():
|
def _():
|
||||||
import altair as alt
|
import altair as alt
|
||||||
import polars as pl
|
import polars as pl
|
||||||
@@ -35,7 +35,7 @@ def _():
|
|||||||
from conf import connect
|
from conf import connect
|
||||||
|
|
||||||
con = connect.duckdb()
|
con = connect.duckdb()
|
||||||
return alt, con, connect, pl
|
return alt, con, pl
|
||||||
|
|
||||||
|
|
||||||
@app.cell(hide_code=True)
|
@app.cell(hide_code=True)
|
||||||
@@ -51,14 +51,11 @@ def _(mo):
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
tabs
|
tabs
|
||||||
return (tabs,)
|
return
|
||||||
|
|
||||||
|
|
||||||
# ── ASP Pricing Tab ──────────────────────────────────────────────
|
|
||||||
|
|
||||||
|
|
||||||
@app.cell(hide_code=True)
|
@app.cell(hide_code=True)
|
||||||
def _(alt, con, mo, pl):
|
def _(con, mo, pl):
|
||||||
asp = pl.from_pandas(
|
asp = pl.from_pandas(
|
||||||
con.execute("""
|
con.execute("""
|
||||||
SELECT quarter, hcpcs_code, product_name, manufacturer, category,
|
SELECT quarter, hcpcs_code, product_name, manufacturer, category,
|
||||||
@@ -75,7 +72,7 @@ def _(alt, con, mo, pl):
|
|||||||
products, label="Products", value=["Q4101", "Q4186", "Q4121"]
|
products, label="Products", value=["Q4101", "Q4186", "Q4121"]
|
||||||
)
|
)
|
||||||
product_select
|
product_select
|
||||||
return asp, product_select, products
|
return asp, product_select
|
||||||
|
|
||||||
|
|
||||||
@app.cell(hide_code=True)
|
@app.cell(hide_code=True)
|
||||||
@@ -129,9 +126,6 @@ def _(alt, asp, mo, pl, product_select):
|
|||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
# ── Market Tab ───────────────────────────────────────────────────
|
|
||||||
|
|
||||||
|
|
||||||
@app.cell(hide_code=True)
|
@app.cell(hide_code=True)
|
||||||
def _(alt, con, mo, pl):
|
def _(alt, con, mo, pl):
|
||||||
mfr = pl.from_pandas(
|
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)])
|
mo.vstack([mo.ui.altair_chart(mfr_chart), mo.ui.altair_chart(cat_chart)])
|
||||||
return cat, cat_chart, mfr, mfr_chart
|
return
|
||||||
|
|
||||||
|
|
||||||
# ── Geographic Tab ───────────────────────────────────────────────
|
|
||||||
|
|
||||||
|
|
||||||
@app.cell(hide_code=True)
|
@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)])
|
mo.vstack([mo.ui.altair_chart(geo_chart), mo.ui.altair_chart(mac_chart)])
|
||||||
return geo, geo_chart, mac, mac_chart
|
return
|
||||||
|
|
||||||
|
|
||||||
# ── Setting Tab ──────────────────────────────────────────────────
|
|
||||||
|
|
||||||
|
|
||||||
@app.cell(hide_code=True)
|
@app.cell(hide_code=True)
|
||||||
@@ -292,10 +280,7 @@ def _(alt, con, mo, pl):
|
|||||||
)
|
)
|
||||||
|
|
||||||
mo.ui.altair_chart(setting_chart)
|
mo.ui.altair_chart(setting_chart)
|
||||||
return setting, setting_chart
|
return
|
||||||
|
|
||||||
|
|
||||||
# ── Anomaly Tab ──────────────────────────────────────────────────
|
|
||||||
|
|
||||||
|
|
||||||
@app.cell(hide_code=True)
|
@app.cell(hide_code=True)
|
||||||
@@ -353,10 +338,7 @@ def _(alt, con, mo, pl):
|
|||||||
mo.vstack(
|
mo.vstack(
|
||||||
[mo.ui.altair_chart(scatter), mo.md("### Risk Tier Distribution"), tier_table]
|
[mo.ui.altair_chart(scatter), mo.md("### Risk Tier Distribution"), tier_table]
|
||||||
)
|
)
|
||||||
return risk, scatter, tier, tier_table
|
return
|
||||||
|
|
||||||
|
|
||||||
# ── Evidence Tab ─────────────────────────────────────────────────
|
|
||||||
|
|
||||||
|
|
||||||
@app.cell(hide_code=True)
|
@app.cell(hide_code=True)
|
||||||
@@ -390,7 +372,7 @@ def _(con, mo, pl):
|
|||||||
mo.md(f"**Total evidence items:** {ev['items'].sum():,}"),
|
mo.md(f"**Total evidence items:** {ev['items'].sum():,}"),
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
return ev, study
|
return
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|||||||
Reference in New Issue
Block a user