Spaces:
Sleeping
Sleeping
Space config and readme
Browse files12345678910111213---title: Math Sight Readingemoji: 🏃colorFrom: purplecolorTo: purplesdk: gradiosdk_version: 6.29.0python_version: '3.13'app_file: app.pypinned: false---Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849---title: Mathematical Sight-Readingemoji: 🎼colorFrom: indigocolorTo: purplesdk: gradiosdk_version: 6.29.0python_version: "3.11"app_file: app.pypinned: falsehf_oauth: trueshort_description: Drill reading dense maths notation like sheet music---# Mathematical Sight-Reading Framework (MSRF)Train mathematical literacy by treating notation like sheet music: decode the symbols,explain the structure, then ground it in more than one domain.You get a **naked formula** (no name, no context). You answer in three parts(formal sight-reading, concept and mechanics, application and metaphor). A judge model scores**Precision** (0-10), **Concept** (Superficial / Competent / Exemplary) and **Transfer** (A / B / C),then shows what you missed and an exemplary sight-read.## How it works- **Formula bank** (`bank.py`): 16 formulas over four tiers, each with a hidden referencesight-read. The judge grades against that reference, not its own memory, which is what keepsscoring stable. Add formulas by appending to the list.- **Adaptive tiers** (`engine.py`): rolling mean of your composite score moves you up or down a tier.Plain code, no LLM involved.- **Spaced repetition**: poorly answered formulas return after a few drills (Leitner boxes).- **Hint ladder**: hint 1 = types, hint 2 = mechanics. Each costs 0.1 of the composite.- **Weak-spot report and export/import** on the Progress tab.- **Judge** (`judge.py`): your own OpenRouter key, any model id. Default set with the`JUDGE_MODEL` variable; dropdown choices with `JUDGE_MODELS` (comma separated).## PrivacyYour key, progress and model choice live in your browser's localStorage. The key passes throughthe Space server in memory only to make the OpenRouter call; it is not logged or stored.## Tests```pip install gradio pytest playwright itsdangerous authlibpython -m pytest tests/test_core.pypython tests/test_ui.py # browser test against a fake OpenRouter```
README.md+41-5