Tidy the site's problem pages and typeset math in explanations
The problem page's Explain and recording-review forms took most of the first screen, above the solution. They now fold into the admin bar with the editor, one open at a time; a running job is reported in the bar, so a form can be closed while it works. The problem list is grouped by month when sorted by recency, as one card per month with divided rows, laid out on a fixed grid so rows line up on a phone. Empty status tabs are hidden. Rust solutions are now highlighted, the file picker is styled like the other buttons, header links no longer break mid-word on a phone, and keyboard focus is visible. Markdown everywhere now goes through one renderer that typesets $...$, $$...$$ and ```math with KaTeX. The explanation prompt asked for $...$ only when the statement used it, so formulas came out as inline code; it now asks for LaTeX for math and code spans for code, and the review prompt does the same for complexities. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -143,7 +143,7 @@ Judging delivery:
|
||||
|
||||
Scores, each 1 to 5: 1 missing or wrong, 2 weak, 3 adequate, 4 good, 5 what a strong candidate would do. Most decent attempts land at 3 or 4; give 5 only when nothing meaningful could be better.
|
||||
|
||||
Be direct and specific. Praise only what earned it, and make every improvement something they could act on in the next recording. Write in plain, direct prose, using markdown for emphasis, lists and inline code.`
|
||||
Be direct and specific. Praise only what earned it, and make every improvement something they could act on in the next recording. Write in plain, direct prose, using markdown for emphasis, lists and inline code, and LaTeX between $...$ for math such as complexities ($O(n \log n)$); the page typesets it with KaTeX.`
|
||||
|
||||
// Prompt is the user message.
|
||||
func Prompt(in Input) string {
|
||||
|
||||
Reference in New Issue
Block a user