Q1 mods: Accommodate multiple-choice and numeric#5
Open
hickman-santini wants to merge 9 commits intomainfrom
Open
Q1 mods: Accommodate multiple-choice and numeric#5hickman-santini wants to merge 9 commits intomainfrom
hickman-santini wants to merge 9 commits intomainfrom
Conversation
added 7 commits
April 15, 2025 11:50
* accommodate mc, numeric and binary * something wrong still
* ... but multiple-choice are biting me again * going to refactor a bit in next commit
* to accommodate multiple-choice and numerics * big chore * could be buggy * wrote one (1) test (sorry @ben)
hickman-santini
commented
Apr 30, 2025
Comment on lines
+348
to
+357
| if q_type == 'numeric': | ||
| forecasts = [f for f in forecasts if isinstance(f, list)] | ||
|
|
||
| if not forecasts: | ||
| return np.nan | ||
|
|
||
| cdfs_array = np.array(forecasts, dtype=float) | ||
| mean_cdf = np.mean(cdfs_array, axis=0) | ||
|
|
||
| return mean_cdf |
Contributor
Author
There was a problem hiding this comment.
@CodexVeritas this is what we're talking about here: https://metaculus.slack.com/archives/C02JGTBC7DJ/p1745932666973469 (may be wrong)
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.
Especially check functions with
@BEN(functions.py). I added one measly test (sorry 😞). Especially the head-to-head (recalculated peer scores for pros vs bot team) are pretty dang complicated.There's a bug in calibration curves now but I'm tapped out - I bet it's simple, I just went about filtering to binaries in the worst way possible.
Have not touched the CP vs bots analysis.