submit_competition_entry
Submit or update a competition entry with a payload matching the competition's submission schema. Supports cheatsheets, model references, solver participations, and polynomial submissions.
Instructions
Create or replace the caller's submission for a competition.
Scope: competition.write. payload's shape is selected by the
competition's submissionSpec.kind -- call get_competition first and
build payload from submissionSpec.schema. Known kinds today:
cheatsheet: {"content": ""}
model-reference: {"modelName": "/", "commitHash": "<40-hex-char sha>"}
solver-participation: {"track": "", "modelId": "", "solverCode": "<lean 4 source>"}
igp24-polynomial: {"polynomials": ["<25 comma-separated coefficients a_0..a_24>", ...]}
meta is optional (e.g. {"description": "...", "contributorNetworkItemId": "..."}),
validated against submissionSpec.metaSchema. For igp24-polynomial every
call creates a brand-new submission; other kinds overwrite the existing
entry for that competition (or track) in place and keep the same
submissionId.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | ||
| payload | Yes | ||
| competition_id | Yes |