Skip to content

Show starter code on leaderboard page#239

Merged
msaroufim merged 1 commit into
mainfrom
clarify-reference-tab
Jun 20, 2026
Merged

Show starter code on leaderboard page#239
msaroufim merged 1 commit into
mainfrom
clarify-reference-tab

Conversation

@msaroufim

@msaroufim msaroufim commented Jun 20, 2026

Copy link
Copy Markdown
Member

Summary\n- fetch starter templates from kernelbot's leaderboard.templates table\n- show Starter Code / Starter Submission on leaderboard pages\n- render only the starter template; if a problem has no starter, show an explicit empty state instead of falling back to reference.py\n\nFor qr_v2, prod currently stores the functional Python starter:\n\npython\nimport torch\nfrom task import input_t, output_t\n\ndef custom_kernel(data: input_t) -> output_t:\n return torch.geqrf(data)\n\n\n## Testing\n- npm run build\n- npm test -- --run src/pages/leaderboard/Leaderboard.test.tsx (fails before test collection: existing Vitest setup lacks window.matchMedia)

@msaroufim msaroufim force-pushed the clarify-reference-tab branch from 885bddb to dbabf6f Compare June 20, 2026 16:27
@msaroufim msaroufim changed the title Clarify leaderboard reference tab Show starter code on leaderboard page Jun 20, 2026
@msaroufim msaroufim force-pushed the clarify-reference-tab branch from dbabf6f to fe03222 Compare June 20, 2026 16:33
@msaroufim msaroufim merged commit af3abf3 into main Jun 20, 2026
1 check passed
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