Repository navigation
feat(resolve): include nullified questions in the resolution file - #357
Open
karoliskascenas-fri wants to merge 3 commits into
Open
karoliskascenas-fri wants to merge 3 commits into
karoliskascenas-fri wants to merge 3 commits into
Conversation
karoliskascenas-fri
force-pushed
the
feat/nullified-forecasts-in-resolution-file
branch
2 times, most recently
from
November 24, 2026 13:46
fe71d2d to
8ba48c8
Compare
Member
|
Thanks @karoliskascenas-fri Issues pointed out by a quick Claude review. I agree with 2 and 4 (though you should check that for 2 that Claude is right to say they're not currently included), your choice for wording on 3. |
Contributor
Author
|
The annulled rows are not included. Should they be treated the same as nullified? |
…tion_set()` Market questions no longer get every dataset resolution date; `MarketSource._resolve()` already set their dates and dropped the duplicates, so the output is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…oses forecastingresearch#313) Nullified questions stay in the resolution set with `resolved: true` and `resolved_to: null` instead of being dropped, and are still left out of scoring. Dataset questions keep their horizon dates; markets on a nullified list get their `nullification_start_date`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Member
|
Yes |
…lution file A resolved market whose final value is NaN (annulled, cancelled or void on its platform) is now nullified and published with `resolved: true` and `resolved_to: null`, instead of being dropped. Other values that are not 0 or 1 still raise a Slack warning and are dropped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
karoliskascenas-fri
force-pushed
the
feat/nullified-forecasts-in-resolution-file
branch
from
November 24, 2026 21:01
8ba48c8 to
24e2b5a
Compare
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 #313.
Nullified questions are now kept in the resolution sets as
resolved: truewithresolved_to: null, instead of being dropped. They are still never scored, and the file format gains no new fields.explode_question_set()instead of one per dataset horizon (a leftover from scoring markets at every horizon; same reasoning as Remove forecast horizons for all market-based sources #84, which removed market horizons from question sets). No output change; it stops nullified markets appearing once per horizon.resolve_all()and drops them inset_resolution_dates()before scoring, using an internalnullifiedcolumn that is not published. It also writes realnulls to the JSON instead ofNaN.resolvedresolved_toresolution_datenullified_questionslisttruenullnullification_start_datenullified_questionslisttruenulltruenulltruenullCombos follow their legs: a combo with a listed market leg gets the earliest listed leg's
nullification_start_date.All past rounds' files gain these rows on the first nightly run after merge. The data warehouse ingestion change is forecastingresearch/data-warehouse#473.
Testing: 1835 tests and ruff pass; leaderboard goldens unchanged. In a dev GCP project,
mainand this branch were run on the same day over all 41 rounds: all 119,558 existing rows are identical, and 4,152 nullified rows were added (129 of them from annulled markets and their combos), all following the table above.🤖 Generated with Claude Code