Spaces:
Running
Running
Commit History
-
Prefero 0.2.0: shared optimizer and verified compatibility (#1)
- Prefero 0.2.0: shared optimizer and verified compatibility (a6ecc37d3ca5f7d168bd32cdf2529c7486846a6d) - Exclude runtime database from the deployment source (5532fe6f2569a821f9cd4c7d4d36e9df8d5eb857)209ba5e
-
Add dual license (AGPL-3.0 + Commercial) and copyright notices
247642a
-
Add GMNL variants, IP tracking, BWS fix, session activity, UI polish
- GMNL special forms dropdown: S-MNL (gamma=0), GMNL-II (gamma=1) - Admin IP tracking with country/region geolocation and VPN detection - BWS early validation (J>=3) and clean error display (no traceback) - Session timeout: JS activity monitor (scroll/mouse/keyboard) keeps heartbeat alive - Auth: replace real name example with fictional "Jordan McAllister" - Home: remove duplicate WeChat donation pill (keep expander) - Admin page moved to top-right "⋯" Developer Entry menu (admin only) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>f5dc9c2 -
Add HTML report, cross-validation, admin analytics, auto-adaptive data, Slowbro pill fix
- Report page (page 6): interactive HTML report with plotly charts, collapsible sections, utility function formulas, predictions, distribution curves, WTP bar charts - Cross-validation: K-fold CV engine (panel-level splits, OOS log-likelihood, hit rate), UI in Compare page section 8, supports all model types (CL/MXL/GMNL/LC) - Admin analytics: instrumented all pages with log_activity(), rebuilt admin dashboard with charts, filters, model usage stats, error log - Auto-adaptive data: auto-detect wide/long format, guess structural columns, one-click conversion with confirmation card - Slowbro status pill: fixed scroll-away bug using Streamlit header CSS injection - Added ROADMAP.md for future planning (cloud GPU, email OTP, AI report) - 7 new CV tests (scripts/test_cv.py), all 45 tests passing Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>c62aef1 -
Add full Streamlit app, auth, queue, community, and deployment config
- Multi-page Streamlit app: Data upload, Model config, Results, Compare, Bootstrap, Community - Email OTP + invitation code authentication with username selection - Concurrent user queue (5 slots, 2min idle timeout) with cultural waiting facts - SQLite-backed discussion forum (posts + replies) - Latent Class EM algorithm with performance optimizations (maxiter 300, optimizer reuse) - Bootstrap inference page with distribution histograms - Slowbro mascot branding, multilingual scrolling banner - HF Spaces deployment config (.streamlit/config.toml) - 38 e2e tests + 81 module tests Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>5ed1762
-
Generalize interaction terms to N-way, any column type
Replace the restrictive HeterogeneityInteraction (2-way, attribute x demographic only) with a flexible InteractionTerm dataclass that supports arbitrary N-way interactions between any numeric columns. This enables attribute x attribute (e.g. price x time), 3-way+ interactions, and removes the respondent-constant restriction on interaction columns. - config.py: Add InteractionTerm(columns: tuple[str, ...]) with name property and validation; keep HeterogeneityInteraction for backward compat - pipeline.py: Generalize interaction loop to multiply N columns together - Model.py: Replace demographic-only UI with flexible interaction builder using st.form + session state (add/remove terms, any numeric column) - test_e2e.py: Update tests 22/26 to use InteractionTerm; add tests 30 (3-way interaction) and 31 (attribute x attribute); all 31 tests pass Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>b084d07