forked from 666ghj/MiroFish
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Upstream Issue Mirror
- Upstream issue: Bug: Hardcoded 'reddit' platform default causes silent data loss for Twitter-only simulations 666ghj/MiroFish#150
- Upstream repository:
666ghj/MiroFish - State:
open - Author:
karesansui-u - Labels:
none - Last updated:
2026-03-11T17:49:29Z
Summary
Summary When a simulation is created with Twitter-only configuration (enable_reddit=false), all data retrieval APIs silently return empty results because they default to looking up Reddit data. No error is raised — the user sees an empty UI with no indication of what went wrong. ## Root Cause The platform parameter defaults to 'reddit' in 11+ locations across the codebase. When a Twitter-o…
Local Coverage
- Status:
covered - Summary: Simulation data retrieval now resolves the active platform from
SimulationStateinstead of silently defaulting to Reddit when Twitter/X is the only enabled platform, andSimulationManager.get_profiles()now reads Twitter profile CSV files correctly as well. That prevents empty profile/post responses in Twitter-only simulations even when older callers still pass the historicalredditdefault. - Local refs:
.beads/issues.jsonl,backend/app/services/simulation_manager.py,backend/app/api/simulation.py,backend/tests/test_simulation_service_i18n.py,backend/tests/test_simulation_api_i18n.py,https://github.com/ivanzud/MiroFish/issues/91 - Notes: Mirrored into fork issue [Upstream #150] Bug: Hardcoded 'reddit' platform default causes silent data loss for Twitter-only simulations #91 on March 11, 2026. The fix keeps legacy callers working by falling back to the sole enabled platform instead of assuming Reddit.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels