Spaces:
Sleeping
Sleeping
Commit History
-
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