Mc/3801/backend/scoring#3809
Merged
lsabor merged 1 commit intomc/3800/backend/option_historyfrom Jan 11, 2026
Merged
Conversation
hlbmtc
approved these changes
Nov 19, 2025
8cc6144 to
232922d
Compare
bc36092 to
4ba50e0
Compare
82b13c3 to
f85f6c6
Compare
e9fbef8 to
bd20158
Compare
f85f6c6 to
7c67992
Compare
59dd6e7 to
72c745a
Compare
81424da to
7c13428
Compare
3646bb7 to
6d99dcd
Compare
a21d018 to
792fe88
Compare
7bb9e82 to
5e26c23
Compare
792fe88 to
6689806
Compare
afd6fe7 to
76bcb47
Compare
df11e3f to
abc10ab
Compare
237bd11 to
c70aff2
Compare
abc10ab to
367ece0
Compare
15bf9cf to
fb47026
Compare
Base automatically changed from
mc/3806/backend/aggregations
to
mc/3800/backend/option_history
January 11, 2026 17:55
parent 76bcb47 author lsabor <lukesabor@gmail.com> 1763312248 -0800 committer lsabor <lukesabor@gmail.com> 1764541784 -0800 add OptionsHistoryType, multiple_choice_interpret_forecast, and test update test for change to function update string_location_to_scaled_location to accept all historical option values, and related test multiple choice forecasts require interpretation before scoring remove double written definition support the new MC format scoring tests for mc with placeholder values add support for None values
367ece0 to
40b6e40
Compare
lsabor
added a commit
that referenced
this pull request
Jan 11, 2026
mc/3801/scoring add OptionsHistoryType, multiple_choice_interpret_forecast, and test update test for change to function update string_location_to_scaled_location to accept all historical option values, and related test multiple choice forecasts require interpretation before scoring remove double written definition support the new MC format scoring tests for mc with placeholder values add support for None values fix some linting errors left from previous commit
lsabor
added a commit
that referenced
this pull request
Jan 24, 2026
* mc/3800/backend/options_history add options_history field to question model and migration add options_history to question serialization add options_history initialization to question creation add helper functions to question/services/multiple_choice_handlers.py and add 'automatic' to forecast.source selection fix build_question_forecasts import and remove options & options_history from admin panel edit tests for question creation, multiple_choice_rename_option, multiple_choice_options_reorder, multiple_choice_delete_options, multiple_choice_add_options mark some expected failures add options_history to openapi docs add csv reporting support for options_history update logic to play well with back/forward filling 0s add all_options_ever to serializer and api docs add current options to csv return add support for datetime isoformat in options_history * mc/3813/backend/forecasts (#3814) fix file restructure fix datetime iso format in history conflicts add support for None values in MC predictions fix tests and source logic fix test_comment_edit_include_forecast to explicitly set forecast times mark xfail tests * mc/3806/backend/aggregations (#3818) mc/3806/aggregations adjust aggregations to play nicely with placeholders improve test for comput_weighted_semi_standard_deviations add support for None s in prediction difference for sorting plus tests update prediction difference for display to handle placeholders reactivate skipped tests * Mc/3801/backend/scoring (#3809) mc/3801/scoring add OptionsHistoryType, multiple_choice_interpret_forecast, and test update test for change to function update string_location_to_scaled_location to accept all historical option values, and related test multiple choice forecasts require interpretation before scoring remove double written definition support the new MC format scoring tests for mc with placeholder values add support for None values fix some linting errors left from previous commit * Mc/3802/backend/notifications (#3826) mc/3802/backend/notifications add notification logic add mjml/html and update tasks to setup for notifications add withdrawal notifications and bulletin deactivation fix grace period end bug * Mc/3804/options updating (#3827) mc/3804/backend/updating add admin form for changing options add comment author and text to admin panel action and mc change methods * Mc/3805/graphing (#3828) mc/3805/frontend/graphing forecast only current option values aggregation explorer disclaimer to forecast during grace period add option reordering (should be in mc/3804) * MC 3805 UI (#3951) mc/3805/ui Added tooltip and highlight for newly added MC options Updated highlight method and message copy grace period timer translation strings Co-authored-by: aseckin <atakanseckin@gmail.com> * Cleanup: update comment copy prefill grace period end with now + 3 days translations dedupe keys small bug fixes using question.get_forecasters() add (deleted) to deleted options in legend only show active options in tooltip update emails fix tests update legend, prediction interface, and timeline to have labels (upcoming) and (deleted) support translating suffix choice labels --------- Co-authored-by: aseckin <atakanseckin@gmail.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.
closes #3801
creates support for scoring questions with changing options_history
adds
multiple_choice_interpret_forecastsfor interpreting forecasts into a full-optioned version for scoringadds support for choosing the resolution bucket index from full optioned list
adds tests for relevant parts
see issue for TODOs