Download explore/index.html from Babu09/Mat2Bot: direct link, hf CLI and curl.
- Browser
- Download file 14.5 kB
-
https://huggingface.co/spaces/Babu09/Mat2Bot/resolve/main/explore/index.html
- Command line
-
hf download hf://spaces/Babu09/Mat2Bot/explore/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Babu09/Mat2Bot/resolve/main/explore/index.html
14.5 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width,initial-scale=1"> | |
| <title>Mat2Bot Explorer</title> | |
| <meta name="description" content="How Mat2Bot plans the making of materials, step by step, and shows the evidence behind every step."> | |
| <meta name="theme-color" content="#0b1020"> | |
| <link rel="stylesheet" href="style.css"> | |
| <script type="importmap">{"imports": {"three": "./lib/three.module.min.js"}}</script> | |
| <script type="module" src="app.js"></script> | |
| </head> | |
| <body> | |
| <a class="skip" href="#main">Skip to the content</a> | |
| <header class="top"> | |
| <a class="brand" href="#top" aria-label="Mat2Bot Explorer, back to the top"><span class="gem" aria-hidden="true"></span>Mat2Bot <em>Explorer</em></a> | |
| <nav aria-label="Sections"> | |
| <a href="/" class="ask">Ask about a material</a> | |
| <a href="#how">How it works</a> | |
| <a href="#cases">Test cases</a> | |
| <a href="#honesty">Can you trust it?</a> | |
| <a href="#words">Words</a> | |
| </nav> | |
| </header> | |
| <main id="main"> | |
| <section class="hero" id="top"> | |
| <div class="hero-text"> | |
| <p class="eyebrow">A careful planner for making new materials</p> | |
| <h1>From a material on a screen to a recipe a lab can follow.</h1> | |
| <p class="lead">Mat2Bot works out how a crystal could be made: which chemicals, how hot, for how long. It shows the evidence | |
| behind every step, and it says plainly how sure it is, including when the honest answer is "we don't know yet".</p> | |
| <div class="cta"> | |
| <a class="btn primary" href="#how">See how it thinks</a> | |
| <a class="btn ghost" href="#cases">Explore the test cases</a> | |
| </div> | |
| </div> | |
| <figure class="hero-3d"> | |
| <canvas id="hero-canvas" aria-label="A zinc oxide crystal, turning slowly. Drag sideways to turn it."></canvas> | |
| <figcaption><span class="dot" style="--c:#8d9be8"></span>zinc <span class="dot" style="--c:#ff5d5d"></span>oxygen | |
| <span class="sep">·</span> zinc oxide, from its measured crystal structure <span class="hint">drag to turn</span></figcaption> | |
| </figure> | |
| </section> | |
| <section class="why band" aria-labelledby="why-title"> | |
| <h2 id="why-title">Why a planner like this matters</h2> | |
| <div class="cards3"> | |
| <article class="card"> | |
| <svg viewBox="0 0 48 48" aria-hidden="true"><rect x="7" y="9" width="34" height="24" rx="3"/><path d="M18 39h12M24 33v6"/><circle cx="18" cy="21" r="3"/><circle cx="30" cy="21" r="3"/><path d="M21 21h6"/></svg> | |
| <h3>Computers now invent materials</h3> | |
| <p>AI models can propose thousands of new crystals for batteries, solar cells or catalysts, faster than anyone can make them.</p> | |
| </article> | |
| <article class="card"> | |
| <svg viewBox="0 0 48 48" aria-hidden="true"><path d="M18 6h12M20 6v12L9 38a3 3 0 0 0 3 4h24a3 3 0 0 0 3-4L28 18V6"/><path d="M13 31h22"/></svg> | |
| <h3>Each one still needs a recipe</h3> | |
| <p>Which chemicals, in what amounts, at what temperature, in what order? A material on a screen is not a material in a jar.</p> | |
| </article> | |
| <article class="card"> | |
| <svg viewBox="0 0 48 48" aria-hidden="true"><path d="M24 5l16 6v12c0 10-7 17-16 20C15 40 8 33 8 23V11z"/><path d="M17 24l5 5 9-10"/></svg> | |
| <h3>Confident and wrong is the worst outcome</h3> | |
| <p>A bad recipe wastes weeks of lab work. So every answer comes with its evidence, its doubts, and an honest level of certainty.</p> | |
| </article> | |
| </div> | |
| </section> | |
| <section id="how" class="how" aria-labelledby="how-title"> | |
| <div class="how-head"> | |
| <p class="eyebrow">How it works</p> | |
| <h2 id="how-title">How Mat2Bot thinks, in seven steps</h2> | |
| <p>Scroll through the steps; the picture changes as you go.</p> | |
| </div> | |
| <div class="how-body"> | |
| <div class="steps"> | |
| <article class="step" data-step="0"> | |
| <span class="num">1</span> | |
| <h3>Pin down exactly what to make</h3> | |
| <p>A material is more than a formula. The same atoms can stack in different patterns, and each pattern is a different | |
| material. Zinc oxide is usually "wurtzite", but squeezed hard enough it becomes a denser "rock-salt" form. | |
| Mat2Bot starts from measured crystal structures, so it knows exactly which one you mean.</p> | |
| <p class="tip">Try both forms of zinc oxide in the picture.</p> | |
| </article> | |
| <article class="step" data-step="1"> | |
| <span class="num">2</span> | |
| <h3>Gather the evidence</h3> | |
| <p>It collects what is already known: published experiments, measured data tables and chemistry databases. Every number | |
| it uses keeps a link to its source. A checking program re-reads the exact sentence in the paper, so nothing is taken | |
| on faith.</p> | |
| <p>When nobody has made the material yet, it looks at how similar materials were made: their starting chemicals, | |
| how hot they were fired and in which gas. From these established methods, each shown on its own, it drafts a recipe, | |
| clearly marked as a hypothesis to test.</p> | |
| </article> | |
| <article class="step" data-step="2"> | |
| <span class="num">3</span> | |
| <h3>Check the chemistry</h3> | |
| <p>Then it runs the science: how much will dissolve, what will form, whether the material is stable. Hot water holds | |
| more salt than cold water. Cool it, and the extra salt has nowhere to go: its ions lock into a crystal.</p> | |
| <p class="tip">Cool the beaker and watch the crystal grow. If a model is asked about conditions it was never built for, | |
| Mat2Bot says so instead of guessing.</p> | |
| </article> | |
| <article class="step" data-step="3"> | |
| <span class="num">4</span> | |
| <h3>Hunt for reasons it could fail</h3> | |
| <p>A good scientist asks what could go wrong. For each kind of synthesis Mat2Bot works through a checklist of specific | |
| doubts: could a different crystal form appear? Is a data table being stretched too far? Each doubt ends up ruled out, | |
| still open, or confirmed.</p> | |
| </article> | |
| <article class="step" data-step="4"> | |
| <span class="num">5</span> | |
| <h3>Say how sure it is</h3> | |
| <p>A fixed rulebook, not a gut feeling, turns the evidence and the doubts into one of four answers: well supported, | |
| supported with a caveat, plausible but not yet proven, or rejected. It never claims more than the evidence allows.</p> | |
| </article> | |
| <article class="step" data-step="5"> | |
| <span class="num">6</span> | |
| <h3>Write the recipe, check the lab</h3> | |
| <p>The plan becomes a step-by-step recipe any lab could follow. It is then matched to a real lab: which steps a robot can | |
| do, which need a person, what is missing. Hazards such as heating a flammable liquid are kept for a person, and | |
| nothing runs without a named person's sign-off.</p> | |
| </article> | |
| <article class="step" data-step="6"> | |
| <span class="num">7</span> | |
| <h3>Let an independent auditor check it all</h3> | |
| <p>Everything is sealed in a package: the evidence, the calculations, the decisions and a tamper-evident log. A | |
| separate auditor program, which never calls the planner, opens the package and recomputes the results from | |
| scratch. Every case below also has a trail, "How Mat2Bot got there": the same records as a map you can click | |
| through, stage by stage, down to each number's source.</p> | |
| </article> | |
| </div> | |
| <div class="stage" aria-live="polite"> | |
| <div class="layer" data-layer="0"> | |
| <canvas id="stage-crystal" aria-label="The crystal structure of zinc oxide. Drag sideways to turn it."></canvas> | |
| <div class="toggle" role="group" aria-label="Choose a form of zinc oxide"> | |
| <button type="button" data-crystal="zincite" aria-pressed="true">Everyday form (wurtzite)</button> | |
| <button type="button" data-crystal="zno-rocksalt" aria-pressed="false">Under high pressure (rock salt)</button> | |
| </div> | |
| <p class="caption" id="stage-crystal-caption">Same atoms, different packing.</p> | |
| </div> | |
| <div class="layer" data-layer="1"> | |
| <div class="evidence"> | |
| <div class="ev" style="--d:0s"><b>Published experiment (McBride et al. 2003)</b><q>…to 101 °C and maintaining it at that temperature for periods of up to 8 hours…</q><span class="ok">quote found in the paper</span></div> | |
| <div class="ev" style="--d:.25s"><b>Measured data (NIST ThermoML)</b><span class="val">KCl in saturated water at 25 °C: 0.2648 g per g of solution</span><span class="ok">value re-read from the database file</span></div> | |
| <div class="ev" style="--d:.5s"><b>Crystal structure (COD 2300450)</b><span class="val">zinc oxide, wurtzite: cell edge 3.25 Å</span><span class="ok">measured structure, open database</span></div> | |
| </div> | |
| <p class="caption">Every number keeps its source.</p> | |
| </div> | |
| <div class="layer" data-layer="2"> | |
| <canvas id="stage-beaker" aria-label="A beaker of salt water. Cool it to see potassium chloride crystallise."></canvas> | |
| <div class="beaker-ui"> | |
| <div class="thermo" aria-label="Temperature"><span class="bar"><span id="thermo-fill"></span></span><b id="thermo-value">60 °C</b></div> | |
| <button type="button" class="btn small" id="beaker-cool">Cool to 20 °C</button> | |
| <button type="button" class="btn small ghost" id="beaker-heat">Heat to 60 °C</button> | |
| </div> | |
| <p class="caption"><span class="dot" style="--c:#b77cff"></span>potassium <span class="dot" style="--c:#43d17a"></span>chloride ions</p> | |
| </div> | |
| <div class="layer" data-layer="3"> | |
| <ul class="doubts" id="stage-doubts"></ul> | |
| <p class="caption">Doubts checked for calcite (calcium carbonate), test case 4.</p> | |
| </div> | |
| <div class="layer" data-layer="4"> | |
| <div class="gauge" id="stage-gauge"> | |
| <svg viewBox="0 0 220 130" aria-hidden="true"> | |
| <path class="seg blocked" d="M20 110 A90 90 0 0 1 46.4 46.4"/> | |
| <path class="seg hypo" d="M46.4 46.4 A90 90 0 0 1 110 20"/> | |
| <path class="seg partial" d="M110 20 A90 90 0 0 1 173.6 46.4"/> | |
| <path class="seg strong" d="M173.6 46.4 A90 90 0 0 1 200 110"/> | |
| <g class="needle"><line x1="110" y1="110" x2="110" y2="34"/><circle cx="110" cy="110" r="7"/></g> | |
| </svg> | |
| <div class="gauge-labels"><span>Rejected</span><span>Plausible</span><span>Caveat</span><span>Well supported</span></div> | |
| <p class="gauge-verdict" id="gauge-verdict"></p> | |
| </div> | |
| </div> | |
| <div class="layer" data-layer="5"> | |
| <ol class="recipe" id="stage-recipe"></ol> | |
| <p class="caption">Who does each step in the robot lab, for test case 3 (crystals with ethanol).</p> | |
| </div> | |
| <div class="layer" data-layer="6"> | |
| <div class="audit"> | |
| <div class="seal" aria-hidden="true"><svg viewBox="0 0 64 64"><path d="M12 22l20-10 20 10v20L32 52 12 42z"/><path d="M12 22l20 10 20-10M32 32v20"/></svg></div> | |
| <ul id="stage-audit"></ul> | |
| </div> | |
| <p class="caption">The auditor's checks on test case 4, rerun when this site was built.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <section id="cases" class="cases band" aria-labelledby="cases-title"> | |
| <p class="eyebrow">Explore</p> | |
| <h2 id="cases-title">Twelve test cases, in plain language</h2> | |
| <p class="intro">Each case was chosen to test one ability, from easy salt crystals to a material that needs enormous pressure, and two new | |
| materials proposed by MEIDNet, an AI model that designs crystals. | |
| Open one to see what Mat2Bot concluded, how sure it is, the recipe it wrote, and the full technical record.</p> | |
| <div class="grid" id="case-grid"></div> | |
| <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> | |
| </section> | |
| <section id="honesty" class="honesty" aria-labelledby="honesty-title"> | |
| <p class="eyebrow">Can you trust it?</p> | |
| <h2 id="honesty-title">It was graded against predictions written in advance</h2> | |
| <div class="honesty-body"> | |
| <div> | |
| <p>For every test case we wrote down, before the code it tests, what Mat2Bot ought to conclude: | |
| <b id="eval-total">195</b> separate predictions. Then we built it and checked every one. The misses are published with | |
| their reasons, never tuned away.</p> | |
| <ul class="legend" id="eval-legend"></ul> | |
| <ul class="facts"> | |
| <li><b id="review-total">94</b> problems were found by four independent reviews before release, and all were addressed.</li> | |
| <li>Every plan comes as a sealed package that a separate auditor recomputes.</li> | |
| <li>In a blind test on 500 known oxides, its draft starting chemicals matched those of the published recipes about 3 times in 4; a simpler | |
| rule did better, and that is published too.</li> | |
| <li>Every number says where it comes from: a quoted sentence, a database entry, a calculation by a named rule, or a stated choice.</li> | |
| </ul> | |
| </div> | |
| <div class="waffle" id="eval-waffle" role="img" aria-label="Results of the predictions"></div> | |
| </div> | |
| </section> | |
| <section id="words" class="words band" aria-labelledby="words-title"> | |
| <p class="eyebrow">Words you will meet</p> | |
| <h2 id="words-title">A short glossary</h2> | |
| <dl class="glossary" id="glossary"></dl> | |
| </section> | |
| </main> | |
| <footer class="foot"> | |
| <p><b>Mat2Bot Explorer.</b> <span id="foot-build"></span> The engine is not public; this site shows its results.</p> | |
| <p>Crystal structures: Crystallography Open Database (CC0). Solubility data: NIST ThermoML and cited papers. | |
| Aqueous chemistry: PHREEQC databases (USGS). Synthesis records: Kononova et al. 2019 and Wang et al. 2022 (CC BY 4.0). Melting | |
| points: the Precursor Genome (CC BY 4.0) and S4 (MIT) tables. Oxide energies: NIST-JANAF (results only). 3D graphics: three.js (MIT licence).</p> | |
| </footer> | |
| <dialog id="case-dialog" aria-labelledby="case-title"> | |
| <form method="dialog" class="close-row"><button class="close" aria-label="Close">×</button></form> | |
| <div class="case"> | |
| <div class="case-3d"> | |
| <canvas id="case-canvas" aria-label="The crystal structure of this test case's material. Drag sideways to turn it."></canvas> | |
| <p class="caption" id="case-crystal"></p> | |
| </div> | |
| <div class="case-text" id="case-body"></div> | |
| </div> | |
| </dialog> | |
| <noscript><p class="noscript">This explorer needs JavaScript for its 3D views and test cases.</p></noscript> | |
| </body> | |
| </html> | |