Repository navigation
Showcase improvements - #7
Merged
Merged
Conversation
Pinning numpy==1.26.4 was the wrong direction: pyarrow 25's wheels are built for numpy 2.x, so numpy 1.x segfaults them the same way. But the unpinned default (numpy 2.5.1) is ABI-broken against the duckdb 1.3.1 wheel and also segfaults on Streamlit Cloud startup. The compatible window is numpy 2.0-2.4. Pin numpy>=2.0,<2.5 (resolves to 2.4.6). Verified on linux/amd64: the numpy/pyarrow/duckdb/pandas import + DataFrame conversion path — the one that segfaulted — runs clean. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Streamlit Community Cloud's managed resolver kept producing ABI-mismatched native stacks (numpy/pyarrow/duckdb segfaults), and its apps sleep/get reaped on inactivity. Deploy the dashboard as a self-contained container instead, where the exact wheels are locked by the image. - dashboard/Dockerfile: python:3.12-slim, installs the pinned dashboard deps, bakes in the prebuilt read-only DuckDB warehouse, serves Streamlit on $PORT. - railway.json: build via that Dockerfile (context = repo root). Verified on linux/amd64: image builds with the coherent stack (numpy 2.4.6, pyarrow 25, duckdb 1.3.1), starts without segfaulting, and renders the dashboard. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Replace the 2x2 grids of vertical bar charts on the Customer loyalty page with lollipop charts (a thin stem from the baseline to a dot, value labelled above), per business colour. Cleaner to read than bars for ranked top-N values. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.