Skip to content

Migrate round payout score configuration - #131

Merged
ndharasz merged 11 commits into
previewfrom
numo/t-588-round-score-configs
Aug 4, 2026
Merged

Migrate round payout score configuration#131
ndharasz merged 11 commits into
previewfrom
numo/t-588-round-score-configs

Conversation

@numerai-hosted-agent-bot

Copy link
Copy Markdown

Summary

  • migrate list_rounds from deprecated GraphQL round multiplier fields to the full public roundScoreConfigs surface for Classic, Signals, and Crypto
  • preserve the six established Corr/MMC return keys through numerapi 2.x as exact-name compatibility projections, without mapping Alpha/FNC to Corr or MPC to MMC
  • document old/new response shapes, the numerapi 2.24.0 migration, planned 3.0.0 removal, and the isolated deprecated round_model_performances_v2 endpoint
  • keep Ruff CI stable across unpinned Ruff releases by recording the repository's historical lint selection

Linear: T-588

Audit notes

  • NumerAPI, SignalsAPI, and CryptoAPI inherit BaseAPI.list_rounds, so the new list is available consistently for tournaments 8, 11, and 12.
  • round_model_performances_v2 remains deprecated and isolated; identity-preserving score consumers should use submission_scores plus list_rounds when payout configuration is needed.
  • Neither list_rounds nor the deprecated performance method has a dedicated CLI command, so no CLI return shape changes.
  • No other docs, examples, fixtures, or mocks consume the legacy round multiplier fields.

Validation

  • python -m ruff check ./numerapi
  • python -m pytest --import-mode=append tests/ (Python 3.14: 46 passed, 6 skipped)
  • /tmp/numerapi-py310/bin/python -m pytest --import-mode=append tests/ (Python 3.10: 46 passed, 6 skipped)
  • python -m build
  • Sphinx HTML build completed; it reports two pre-existing configuration warnings (language = None and missing _static).
  • unauthenticated live list_rounds(number=0, limit=1) validation against api-tournament.numer.ai for Classic, Signals, and Crypto confirmed the full T-468 field set and exact payout identities (correlation/meta_model_contribution, alpha/meta_portfolio_contribution, and correlation/meta_model_contribution, respectively)

No credentialed or mutating API action was used.

@ndharasz

ndharasz commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9aaec7bb1d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread numerapi/base_api.py Outdated
@numerai-hosted-agent-bot

Copy link
Copy Markdown
Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

To use Codex here, create a Codex account and connect to github.

@ndharasz

ndharasz commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Swish!

Reviewed commit: d7e7edd7af

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ndharasz ndharasz changed the title T-588 Migrate round payout score configuration Migrate round payout score configuration Aug 4, 2026
@ndharasz
ndharasz changed the base branch from master to preview August 4, 2026 18:37
@ndharasz
ndharasz merged commit c1739ac into preview Aug 4, 2026
4 checks passed
@ndharasz
ndharasz deleted the numo/t-588-round-score-configs branch August 5, 2026 20:28
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.

4 participants