Skip to content

mc/3806/backend/aggregations#3818

Merged
lsabor merged 1 commit intomc/3800/backend/option_historyfrom
mc/3806/backend/aggregations
Jan 11, 2026
Merged

mc/3806/backend/aggregations#3818
lsabor merged 1 commit intomc/3800/backend/option_historyfrom
mc/3806/backend/aggregations

Conversation

@lsabor
Copy link
Copy Markdown
Contributor

@lsabor lsabor commented Nov 20, 2025

closes #3806

@lsabor lsabor force-pushed the mc/3813/backend/forecasts branch from 82b13c3 to f85f6c6 Compare November 21, 2025 15:42
@lsabor lsabor force-pushed the mc/3806/backend/aggregations branch from 5472ee9 to 4906b9a Compare November 21, 2025 15:43
@lsabor lsabor force-pushed the mc/3813/backend/forecasts branch from f85f6c6 to 7c67992 Compare November 22, 2025 18:13
@lsabor lsabor force-pushed the mc/3806/backend/aggregations branch from 4906b9a to 7c04450 Compare November 22, 2025 18:17
@lsabor lsabor changed the title adjust aggregations to play nicely with placeholders mc/3806/backend/aggregations Nov 23, 2025
@lsabor lsabor force-pushed the mc/3813/backend/forecasts branch from 7c67992 to 0140bb9 Compare November 23, 2025 21:38
@lsabor lsabor force-pushed the mc/3806/backend/aggregations branch 2 times, most recently from 7bb9e82 to 5e26c23 Compare November 23, 2025 23:26
@lsabor lsabor force-pushed the mc/3813/backend/forecasts branch 3 times, most recently from e5e0be3 to 3c40ee2 Compare November 30, 2025 20:21
@lsabor lsabor force-pushed the mc/3806/backend/aggregations branch 2 times, most recently from 78675a7 to afd6fe7 Compare November 30, 2025 22:02
@lsabor lsabor force-pushed the mc/3813/backend/forecasts branch from 3c40ee2 to 497abbe Compare November 30, 2025 22:15
@lsabor lsabor force-pushed the mc/3806/backend/aggregations branch from afd6fe7 to 76bcb47 Compare November 30, 2025 22:22
@lsabor lsabor force-pushed the mc/3813/backend/forecasts branch 3 times, most recently from 1aad45c to e3481d0 Compare December 4, 2025 21:54
@lsabor lsabor force-pushed the mc/3806/backend/aggregations branch 2 times, most recently from 237bd11 to c70aff2 Compare December 4, 2025 21:57
@lsabor lsabor force-pushed the mc/3813/backend/forecasts branch 2 times, most recently from 508711f to 38fc589 Compare January 10, 2026 23:07
Base automatically changed from mc/3813/backend/forecasts to mc/3800/backend/option_history January 10, 2026 23:11
@lsabor lsabor force-pushed the mc/3800/backend/option_history branch from 2285dae to 42c52fe Compare January 11, 2026 17:34
@lsabor lsabor force-pushed the mc/3806/backend/aggregations branch from c70aff2 to 15bf9cf Compare January 11, 2026 17:38
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
@lsabor lsabor force-pushed the mc/3806/backend/aggregations branch from 15bf9cf to fb47026 Compare January 11, 2026 17:54
@lsabor lsabor merged commit 5045662 into mc/3800/backend/option_history Jan 11, 2026
@lsabor lsabor deleted the mc/3806/backend/aggregations branch January 11, 2026 17:55
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants