Babu09 commited on
Commit
1bc6c97
·
verified ·
1 Parent(s): 67fee72

Mat2Bot front: one box, the story (no engine code)

Browse files
Files changed (3) hide show
  1. app.py +2 -2
  2. explore/data/site.json +1 -1
  3. explore/index.html +3 -3
app.py CHANGED
@@ -109,12 +109,12 @@ EXPLORE = HERE / "explore" # the explorer's built site, mer
109
  if EXPLORE.is_dir():
110
  from fastapi.staticfiles import StaticFiles
111
  app.mount("/explore", StaticFiles(directory=str(EXPLORE), html=True), name="explore")
112
- NAV = {"How it works": "/explore/#how", "Worked examples": "/explore/#cases", "Can you trust it?": "/explore/#honesty", "Words": "/explore/#words"}
113
 
114
 
115
  @app.get("/", response_class=HTMLResponse)
116
  def home() -> HTMLResponse:
117
- nav = NAV if EXPLORE.is_dir() else {"Worked examples": EXPLORER, "How it works": EXPLORER + "/#how"}
118
  return HTMLResponse(fill_story(_assets(), api_base="", nav=nav, engine="Planned live by Mat2Bot (private engine); the code stays private"))
119
 
120
 
 
109
  if EXPLORE.is_dir():
110
  from fastapi.staticfiles import StaticFiles
111
  app.mount("/explore", StaticFiles(directory=str(EXPLORE), html=True), name="explore")
112
+ NAV = {"How it works": "/explore/#how", "Test cases": "/explore/#cases", "Can you trust it?": "/explore/#honesty", "Words": "/explore/#words"}
113
 
114
 
115
  @app.get("/", response_class=HTMLResponse)
116
  def home() -> HTMLResponse:
117
+ nav = NAV if EXPLORE.is_dir() else {"Test cases": EXPLORER, "How it works": EXPLORER + "/#how"}
118
  return HTMLResponse(fill_story(_assets(), api_base="", nav=nav, engine="Planned live by Mat2Bot (private engine); the code stays private"))
119
 
120
 
explore/data/site.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "version": "0.1.0",
3
- "commit": "1401fd3",
4
  "built": "2026-10-27",
5
  "evaluation": {
6
  "total": 73,
 
1
  {
2
  "version": "0.1.0",
3
+ "commit": "6103cbf",
4
  "built": "2026-10-27",
5
  "evaluation": {
6
  "total": 73,
explore/index.html CHANGED
@@ -184,11 +184,11 @@
184
 
185
  <section id="cases" class="cases band" aria-labelledby="cases-title">
186
  <p class="eyebrow">Explore</p>
187
- <h2 id="cases-title">Seven test cases, in plain language</h2>
188
  <p class="intro">Each case was chosen to test one ability, from easy salt crystals to a material that needs enormous pressure.
189
  Open one to see what Mat2Bot concluded, how sure it is, the recipe it wrote, and the full technical record.</p>
190
  <div class="grid" id="case-grid"></div>
191
- <p class="note">These results were computed in advance. The engine itself is not public; planning your own material is in private preview.</p>
192
  </section>
193
 
194
  <section id="honesty" class="honesty" aria-labelledby="honesty-title">
@@ -196,7 +196,7 @@
196
  <h2 id="honesty-title">It was graded against predictions written in advance</h2>
197
  <div class="honesty-body">
198
  <div>
199
- <p>Before any of the science was written, we wrote down what Mat2Bot ought to conclude for the seven test cases:
200
  <b id="eval-total">60</b> separate predictions. Then we built it and checked every one. The misses are published with
201
  their reasons, never tuned away.</p>
202
  <ul class="legend" id="eval-legend"></ul>
 
184
 
185
  <section id="cases" class="cases band" aria-labelledby="cases-title">
186
  <p class="eyebrow">Explore</p>
187
+ <h2 id="cases-title">Ten test cases, in plain language</h2>
188
  <p class="intro">Each case was chosen to test one ability, from easy salt crystals to a material that needs enormous pressure.
189
  Open one to see what Mat2Bot concluded, how sure it is, the recipe it wrote, and the full technical record.</p>
190
  <div class="grid" id="case-grid"></div>
191
+ <p class="note">These results were computed in advance. To plan a material of your own, type it into the box on the <a href="/">front page</a>; the engine's code stays private.</p>
192
  </section>
193
 
194
  <section id="honesty" class="honesty" aria-labelledby="honesty-title">
 
196
  <h2 id="honesty-title">It was graded against predictions written in advance</h2>
197
  <div class="honesty-body">
198
  <div>
199
+ <p>Before any of the science was written, we wrote down what Mat2Bot ought to conclude for the first seven test cases, and did the same for the three later ones before their first run:
200
  <b id="eval-total">60</b> separate predictions. Then we built it and checked every one. The misses are published with
201
  their reasons, never tuned away.</p>
202
  <ul class="legend" id="eval-legend"></ul>