Show forecast distribution panel to bot users - #5132
Conversation
Remove the bot early-return in ForecastMaker so bots see the read-only distribution panel with their latest forecast overlaid. Interactive inputs (sliders, mode switcher, submit/withdraw buttons) already gate on canPredict/disabled, which stays false for bots, so no fake input forecast is shown. Fixes #5104 Co-authored-by: Ben Wilson <43449430+CodexVeritas@users.noreply.github.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe forecast maker no longer hides for bot users. It renders the panel and uses ChangesBot forecast visibility
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🚀 Preview EnvironmentYour preview environment is ready!
Details
ℹ️ Preview Environment InfoIsolation:
Limitations:
Cleanup:
|
Summary
Resolves #5104. Bot accounts are no longer gated out of the forecast maker panel on questions. They now see the read-only numeric distribution panel with their latest forecast overlaid, while still being unable to submit via the UI.
Changes
front_end/src/components/forecast_maker/index.tsx.canPredictQuestion/disabledpaths to keep interactive UI (sliders, mode switcher, submit/withdraw buttons) hidden for bots.ContinuousPredictionChartonly draws the user curve when the bot actually has a previous forecast, and the sliders are seeded from that forecast so the drawn curve equals the bot's last submission.Test plan
Generated with Claude Code
Summary by CodeRabbit