The Course pane lists the 21 lessons, shows a lesson's text and exercise, loads its starter, and checks the program in the editor with the engine (engine_course_check in the page, the same commands in the desktop app): each case's verdict, each rule, What went wrong? from the diagnostics, the verdict and the critique, the hints one at a time with the engine's pointer, and a hint from the assistant when a model is connected, any program in its answer held back. Progress is kept only in this browser and says so. The interface's words are data, locales/<locale>/<area>.json for every part, English the source and Simplified Chinese marked machine-assisted; the Studio follows the browser's language until the reader picks one with the switch. test/locales.test.mjs holds every locale to every key and placeholder. The e2e checks the course in English and in Chinese. wai-web's engine tests pin 23 native and 16 wasm32, a course check the same bytes in both. Co-Authored-By: Claude Opus 5.5 <[email protected]>
28 lines
1.6 KiB
JSON
28 lines
1.6 KiB
JSON
{
|
|
"_meta": {
|
|
"locale": "en",
|
|
"area": "predict",
|
|
"translation": "source"
|
|
},
|
|
"predict.keyed": "Counts are keyed by the classical bits, highest bit first.",
|
|
"predict.keyed_width": "Counts are keyed by the classical bits, highest bit first: {width} of them.",
|
|
"predict.not_bits": "An outcome is a string of 0s and 1s, highest bit first.",
|
|
"predict.wrong_width_one": "This program has {width} classical bit; the outcome has {length}.",
|
|
"predict.wrong_width_other": "This program has {width} classical bits; the outcome has {length}.",
|
|
"predict.bad_share": "The share is a percentage of the shots, from 0 to 100.",
|
|
"predict.before": "Before it runs",
|
|
"predict.question": "Which outcome do you expect most often, and in what share of the shots?",
|
|
"predict.outcome_label": "Most likely outcome",
|
|
"predict.share_label": "Its share, %",
|
|
"predict.run": "Run",
|
|
"predict.skip": "Run without predicting",
|
|
"predict.yours": "Your prediction",
|
|
"predict.no_counts": "This run gave no counts to set it against: give the job shots.",
|
|
"predict.right": "The outcome you named came out on top; your share was {points} points off.",
|
|
"predict.wrong": "Another outcome came out on top: {top} in {share} of the shots.",
|
|
"predict.you_said": "you said",
|
|
"predict.bits_in": "{bits} in {share}",
|
|
"predict.the_run": "the run",
|
|
"predict.first": "Your first prediction kept on this device; each one after it adds to a tally here.",
|
|
"predict.tally": "Over {n} predictions kept on this device: you named the top outcome in {right}, and your share was off by {points} points on average."
|
|
}
|