Skip to content

Q1 mods: Accommodate multiple-choice and numeric#5

Open
hickman-santini wants to merge 1 commit into
mainfrom
q1-mods-2
Open

Q1 mods: Accommodate multiple-choice and numeric#5
hickman-santini wants to merge 1 commit into
mainfrom
q1-mods-2

Conversation

@hickman-santini
Copy link
Copy Markdown
Contributor

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.

image

Comment thread functions.py
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
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@CodexVeritas this is what we're talking about here: https://metaculus.slack.com/archives/C02JGTBC7DJ/p1745932666973469 (may be wrong)

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.

1 participant