VIDRAFT Claude Opus 5 commited on
Commit ยท
e42b385
1
Parent(s): b2e7518
Add purpose and how-to-take-part; light theme, sortable columns, KO/EN
Browse filesThe page now explains what the challenge is for and how to enter: design a candidate
with whatever model you use, submit SMILES or InChI, and PharmaOS + CellOS score it on
the same rubric as everyone else.
Language follows the browser and can be overridden. An explicit <head> is present so
platform-injected tags cannot land ahead of the doctype and trigger quirks mode.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
- index.html +296 -127
index.html
CHANGED
|
@@ -1,167 +1,336 @@
|
|
| 1 |
<!doctype html>
|
|
|
|
|
|
|
| 2 |
<meta charset="utf-8">
|
| 3 |
-
<title>Open Discovery Challenge #1 Malaria</title>
|
| 4 |
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
<style>
|
| 6 |
:root{
|
| 7 |
-
--bg:#
|
| 8 |
-
--accent:#
|
|
|
|
|
|
|
| 9 |
}
|
| 10 |
*{box-sizing:border-box}
|
| 11 |
-
body{margin:0;
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
.
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
th:nth-child(-n+3){text-align:left}
|
| 27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
td:nth-child(-n+3){text-align:left}
|
| 29 |
-
tr
|
| 30 |
-
tr.anchor
|
| 31 |
-
tr.
|
| 32 |
-
.
|
| 33 |
-
.
|
| 34 |
-
.
|
|
|
|
|
|
|
| 35 |
.who{color:var(--muted);font-size:12.5px}
|
| 36 |
-
.
|
| 37 |
-
|
| 38 |
-
.
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
button:disabled{opacity:.5;cursor:default}
|
| 46 |
-
.msg{margin-top:12px;font-size:12.5px;padding:10px 12px;border-radius:8px;display:none}
|
| 47 |
-
.msg.ok{display:block;background:rgba(63,185,80,.12);color:var(--ok)}
|
| 48 |
-
.msg.err{display:block;background:rgba(229,83,75,.12);color:var(--bad)}
|
| 49 |
-
.note{color:var(--muted);font-size:11.5px;line-height:1.65;margin-top:14px;
|
| 50 |
-
border-top:1px solid var(--line);padding-top:12px}
|
| 51 |
-
.wts{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
|
| 52 |
-
.wts span{font-size:11px;color:var(--muted);background:#0d1117;border:1px solid var(--line);
|
| 53 |
-
border-radius:20px;padding:3px 10px}
|
| 54 |
-
</style>
|
| 55 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
<div class="wrap">
|
|
|
|
| 57 |
<header>
|
| 58 |
-
<
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
</p>
|
|
|
|
|
|
|
| 63 |
<div class="wts" id="wts"></div>
|
| 64 |
</header>
|
| 65 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
<div class="grid">
|
| 67 |
<div class="card">
|
| 68 |
-
<h2>
|
| 69 |
-
<
|
| 70 |
-
<
|
| 71 |
-
<
|
| 72 |
-
<
|
| 73 |
-
</
|
| 74 |
-
<tbody id="rows"><tr><td colspan="10" class="who">๋ถ๋ฌ์ค๋ ์คโฆ</td></tr></tbody>
|
| 75 |
-
</table>
|
| 76 |
-
<div class="note">
|
| 77 |
-
๊ธฐ์ค๋ฌผ์ง(๋
ธ๋ ํ)์ ์ ์๋ฅผ ๋ฐ๋ <b>๋ฑ์๋ฅผ ๊ฐ์ง ์์ต๋๋ค</b>. ์ฒ๋๋ฅผ ๋์ผ๋ก ํ์ธํ์๋ผ๊ณ ๋ฃ์ ๊ฒ์
๋๋ค.<br>
|
| 78 |
-
๊ตฌ์กฐ๋ ์ ์ฒด ๊ณต๊ฐํ์ง ์์ต๋๋ค. ๊ณจ๊ฒฉ ํด์์ ๋ถ์๋ ๊ตฌ๊ฐ๋ง ํ์๋๋ฉฐ, ์๋ณธ์ ๋น๊ณต๊ฐ๋ก ๋ณด๊ด๋ฉ๋๋ค.<br>
|
| 79 |
-
์ ์๋ <b>๊ณ์ฐ ๊ธฐ๋ฐ ํ๋ณด ํ๊ฐ</b>์ด๋ฉฐ ์ค์ ํจ๋ฅยท์์ ์ฑ์ด๋ ์น์ธ์ฝ๊ณผ์ ์ฐ์ด์ ๋ปํ์ง ์์ต๋๋ค.
|
| 80 |
</div>
|
|
|
|
| 81 |
</div>
|
| 82 |
|
| 83 |
<div class="card">
|
| 84 |
-
<h2>
|
| 85 |
-
<label
|
| 86 |
-
<input id="structure" placeholder="
|
| 87 |
-
<label
|
| 88 |
-
<input id="display_name"
|
| 89 |
-
<label
|
| 90 |
-
<input id="model_name" placeholder="
|
| 91 |
-
<label
|
| 92 |
-
<textarea id="rationale"
|
| 93 |
-
<button id="go">
|
| 94 |
<div class="msg" id="msg"></div>
|
| 95 |
-
<div class="note">
|
| 96 |
-
๋ถ์์(C20H25N3O4 ๋ฑ)์ ๋ฐ์ง ์์ต๋๋ค โ ์ด์ฑ์ง์ฒด๊ฐ ๋๋ฌด ๋ง์ ํ๊ฐ๊ฐ ๋ถ๊ฐ๋ฅํฉ๋๋ค.<br>
|
| 97 |
-
์ ์ถ ์ฆ์ ๊ตฌ์กฐ ๊ฒ์ฌ๋ฅผ ๊ฑฐ์น๊ณ , ์ฑ์ ์ GPU ์์
๋๊ธฐ์ด์์ ์ฒ๋ฆฌ๋ฉ๋๋ค(์ ๋ถ ์์).
|
| 98 |
-
</div>
|
| 99 |
</div>
|
| 100 |
</div>
|
| 101 |
</div>
|
| 102 |
|
| 103 |
<script>
|
| 104 |
-
const
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 105 |
const AX = ["activity","binding","selectivity","admet","novelty","synthesis"];
|
|
|
|
|
|
|
|
|
|
| 106 |
const f1 = v => (v==null||v==="") ? "โ" : (+v).toFixed(1);
|
|
|
|
| 107 |
|
| 108 |
-
|
| 109 |
-
const d =
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 126 |
return `<tr class="${cls}">
|
| 127 |
-
<td class="rk
|
| 128 |
-
<td>${id}${
|
| 129 |
${AX.map(k=>`<td>${f1(a[k])}</td>`).join("")}
|
| 130 |
-
<td class="
|
| 131 |
-
|
|
|
|
| 132 |
}
|
| 133 |
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
|
| 140 |
-
|
| 141 |
-
|
| 142 |
-
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
btn.disabled = true; msg.className = "msg"; msg.textContent = "";
|
| 146 |
try{
|
| 147 |
-
const r = await fetch("api/submit",
|
| 148 |
-
|
| 149 |
-
|
| 150 |
-
|
| 151 |
-
|
| 152 |
-
|
| 153 |
-
$("#structure").value = "";
|
| 154 |
-
load();
|
| 155 |
-
}else{
|
| 156 |
-
msg.className = "msg err";
|
| 157 |
-
msg.textContent = (d.reasons||["์ ์ถ์ด ๊ฑฐ๋ถ๋์์ต๋๋ค"]).join(" / ");
|
| 158 |
-
}
|
| 159 |
-
}catch(e){
|
| 160 |
-
msg.className = "msg err"; msg.textContent = "์์ฒญ ์คํจ: " + e;
|
| 161 |
-
}
|
| 162 |
btn.disabled = false;
|
| 163 |
};
|
| 164 |
|
| 165 |
-
load();
|
| 166 |
-
setInterval(load, 20000);
|
| 167 |
</script>
|
|
|
|
|
|
|
|
|
| 1 |
<!doctype html>
|
| 2 |
+
<html lang="ko">
|
| 3 |
+
<head>
|
| 4 |
<meta charset="utf-8">
|
|
|
|
| 5 |
<meta name="viewport" content="width=device-width,initial-scale=1">
|
| 6 |
+
<title>Open Discovery Challenge #1 Malaria</title>
|
| 7 |
+
<!-- An explicit <head> is not optional here: the platform injects its own tags into the
|
| 8 |
+
document, and with no head to receive them they land ahead of the doctype, which
|
| 9 |
+
drops the whole page into quirks mode. -->
|
| 10 |
<style>
|
| 11 |
:root{
|
| 12 |
+
--bg:#f6f8fc; --panel:#ffffff; --line:#e3e9f2; --ink:#131a26; --muted:#65748c;
|
| 13 |
+
--accent:#0f7b6c; --accent-soft:#e6f5f2; --anchor:#b4740a; --anchor-soft:#fdf4e3;
|
| 14 |
+
--bad:#b3261e; --bar:#0f7b6c; --bar-bg:#eef2f8;
|
| 15 |
+
--shadow:0 1px 2px rgba(19,26,38,.05),0 8px 24px rgba(19,26,38,.06);
|
| 16 |
}
|
| 17 |
*{box-sizing:border-box}
|
| 18 |
+
html,body{margin:0;padding:0}
|
| 19 |
+
body{background:var(--bg);color:var(--ink);
|
| 20 |
+
font:15px/1.6 -apple-system,"Segoe UI",Roboto,"Malgun Gothic","Apple SD Gothic Neo",sans-serif;
|
| 21 |
+
-webkit-font-smoothing:antialiased}
|
| 22 |
+
.wrap{max-width:1180px;margin:0 auto;padding:26px 20px 70px}
|
| 23 |
+
|
| 24 |
+
header{position:relative;background:linear-gradient(135deg,#ffffff 0%,#eef6f4 55%,#e7f0fb 100%);
|
| 25 |
+
border:1px solid var(--line);border-radius:16px;padding:26px 28px;box-shadow:var(--shadow)}
|
| 26 |
+
.eyebrow{color:var(--accent);font-size:11.5px;font-weight:700;letter-spacing:2.4px;
|
| 27 |
+
text-transform:uppercase;margin:0 0 6px}
|
| 28 |
+
h1{margin:0;font-size:30px;letter-spacing:-.5px;font-weight:800}
|
| 29 |
+
h1 em{font-style:normal;color:var(--accent)}
|
| 30 |
+
.sub{color:var(--muted);font-size:14px;margin:10px 0 0;max-width:70ch}
|
| 31 |
+
.wts{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px}
|
| 32 |
+
.wts span{font-size:11.5px;font-weight:600;color:#31465e;background:#fff;
|
| 33 |
+
border:1px solid var(--line);border-radius:20px;padding:4px 12px}
|
| 34 |
+
.wts b{color:var(--accent)}
|
| 35 |
+
|
| 36 |
+
#langbar{position:absolute;top:20px;right:22px;display:flex;gap:2px;background:#fff;
|
| 37 |
+
border:1px solid var(--line);border-radius:9px;padding:3px;box-shadow:var(--shadow)}
|
| 38 |
+
#langbar button{border:0;background:transparent;color:var(--muted);font:inherit;
|
| 39 |
+
font-size:12px;font-weight:700;padding:5px 11px;border-radius:6px;cursor:pointer}
|
| 40 |
+
#langbar button.on{background:var(--accent);color:#fff}
|
| 41 |
+
#langnote{position:absolute;top:56px;right:22px;font-size:10.5px;color:var(--muted)}
|
| 42 |
+
|
| 43 |
+
.how{margin-top:20px;background:var(--panel);border:1px solid var(--line);
|
| 44 |
+
border-radius:16px;padding:20px 22px;box-shadow:var(--shadow)}
|
| 45 |
+
.how h2{margin:0 0 6px;font-size:13px;letter-spacing:1.4px;text-transform:uppercase;color:var(--muted)}
|
| 46 |
+
.how .why{color:#31465e;font-size:13.5px;margin:0 0 16px;max-width:88ch}
|
| 47 |
+
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
|
| 48 |
+
@media(max-width:820px){.steps{grid-template-columns:1fr}}
|
| 49 |
+
.step{position:relative;background:#fbfcfe;border:1px solid var(--line);
|
| 50 |
+
border-radius:12px;padding:14px 16px 15px}
|
| 51 |
+
.step .n{position:absolute;top:-10px;left:14px;width:24px;height:24px;border-radius:50%;
|
| 52 |
+
background:var(--accent);color:#fff;font-size:12px;font-weight:800;
|
| 53 |
+
display:flex;align-items:center;justify-content:center;
|
| 54 |
+
box-shadow:0 2px 6px rgba(15,123,108,.3)}
|
| 55 |
+
.step h3{margin:8px 0 5px;font-size:14px;font-weight:800}
|
| 56 |
+
.step p{margin:0;font-size:12.5px;color:var(--muted);line-height:1.65}
|
| 57 |
+
.models{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px}
|
| 58 |
+
.models span{font-size:10.5px;font-weight:700;color:#31465e;background:#fff;
|
| 59 |
+
border:1px solid var(--line);border-radius:6px;padding:2px 7px}
|
| 60 |
+
.grid{display:grid;grid-template-columns:1fr 348px;gap:20px;align-items:start;margin-top:20px}
|
| 61 |
+
@media(max-width:960px){.grid{grid-template-columns:1fr}#langbar{position:static;margin-bottom:14px;width:max-content}#langnote{position:static;margin-bottom:8px}}
|
| 62 |
+
.card{background:var(--panel);border:1px solid var(--line);border-radius:16px;
|
| 63 |
+
padding:18px 20px;box-shadow:var(--shadow)}
|
| 64 |
+
.card h2{margin:0 0 4px;font-size:13px;letter-spacing:1.4px;text-transform:uppercase;color:var(--muted)}
|
| 65 |
+
.cnt{float:right;font-size:11.5px;color:var(--muted);letter-spacing:0}
|
| 66 |
+
|
| 67 |
+
.scroll{overflow-x:auto;margin-top:12px}
|
| 68 |
+
table{width:100%;border-collapse:collapse;font-size:13.5px;min-width:760px}
|
| 69 |
+
th{color:var(--muted);font-weight:700;font-size:11px;letter-spacing:.5px;
|
| 70 |
+
text-transform:uppercase;padding:0 9px 10px;border-bottom:2px solid var(--line);
|
| 71 |
+
text-align:right;cursor:pointer;user-select:none;white-space:nowrap}
|
| 72 |
th:nth-child(-n+3){text-align:left}
|
| 73 |
+
th:hover{color:var(--accent)}
|
| 74 |
+
th .ar{opacity:.32;margin-left:3px;font-size:9px}
|
| 75 |
+
th.sorted{color:var(--accent)} th.sorted .ar{opacity:1}
|
| 76 |
+
td{padding:11px 9px;border-bottom:1px solid #f0f3f8;text-align:right;
|
| 77 |
+
font-variant-numeric:tabular-nums}
|
| 78 |
td:nth-child(-n+3){text-align:left}
|
| 79 |
+
tbody tr:hover{background:#fbfcfe}
|
| 80 |
+
tr.anchor{background:var(--anchor-soft)}
|
| 81 |
+
tr.anchor:hover{background:#fbf0dc}
|
| 82 |
+
tr.tier2{opacity:.62}
|
| 83 |
+
.rk{width:42px;color:var(--muted);font-weight:700}
|
| 84 |
+
.rk.top{color:var(--accent);font-size:15px}
|
| 85 |
+
.cid{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:12.5px;font-weight:600}
|
| 86 |
+
.skel{color:#93a1b5;font-size:11px;font-family:ui-monospace,monospace}
|
| 87 |
.who{color:var(--muted);font-size:12.5px}
|
| 88 |
+
.tag{display:inline-block;font-size:9.5px;font-weight:800;letter-spacing:.7px;
|
| 89 |
+
padding:2px 7px;border-radius:5px;margin-left:6px;vertical-align:1px}
|
| 90 |
+
.tag.a{background:#f6e2ba;color:var(--anchor)}
|
| 91 |
+
.tag.r{background:#f7ded9;color:var(--bad)}
|
| 92 |
+
.tot{font-weight:800;font-size:15.5px}
|
| 93 |
+
.barwrap{display:flex;align-items:center;gap:8px;justify-content:flex-end}
|
| 94 |
+
.bar{width:52px;height:6px;border-radius:4px;background:var(--bar-bg);overflow:hidden;flex:none}
|
| 95 |
+
.bar i{display:block;height:100%;background:var(--bar);border-radius:4px}
|
| 96 |
+
tr.anchor .bar i{background:var(--anchor)}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 97 |
|
| 98 |
+
label{display:block;font-size:11.5px;font-weight:700;color:var(--muted);
|
| 99 |
+
margin:14px 0 5px;letter-spacing:.3px}
|
| 100 |
+
input,textarea{width:100%;background:#fbfcfe;border:1px solid var(--line);border-radius:9px;
|
| 101 |
+
color:var(--ink);padding:10px 12px;font:inherit;font-size:13.5px}
|
| 102 |
+
input:focus,textarea:focus{outline:0;border-color:var(--accent);background:#fff;
|
| 103 |
+
box-shadow:0 0 0 3px var(--accent-soft)}
|
| 104 |
+
textarea{resize:vertical;min-height:58px}
|
| 105 |
+
button.go{width:100%;margin-top:18px;background:var(--accent);color:#fff;border:0;
|
| 106 |
+
border-radius:10px;padding:12px;font:inherit;font-weight:800;cursor:pointer;
|
| 107 |
+
box-shadow:0 4px 12px rgba(15,123,108,.24)}
|
| 108 |
+
button.go:hover{background:#0c6558} button.go:disabled{opacity:.5;cursor:default;box-shadow:none}
|
| 109 |
+
.msg{margin-top:13px;font-size:12.5px;padding:11px 13px;border-radius:9px;display:none;line-height:1.55}
|
| 110 |
+
.msg.ok{display:block;background:var(--accent-soft);color:#0b5c51;border:1px solid #c6e6df}
|
| 111 |
+
.msg.err{display:block;background:#fdeeec;color:var(--bad);border:1px solid #f3d3ce}
|
| 112 |
+
.note{color:var(--muted);font-size:11.5px;line-height:1.7;margin-top:16px;
|
| 113 |
+
border-top:1px solid var(--line);padding-top:13px}
|
| 114 |
+
.note b{color:#31465e}
|
| 115 |
+
</style>
|
| 116 |
+
</head>
|
| 117 |
+
<body>
|
| 118 |
<div class="wrap">
|
| 119 |
+
|
| 120 |
<header>
|
| 121 |
+
<div id="langbar">
|
| 122 |
+
<button data-lang="ko">ํ๊ตญ์ด</button><button data-lang="en">English</button>
|
| 123 |
+
</div>
|
| 124 |
+
<div id="langnote"></div>
|
| 125 |
+
<p class="eyebrow">Open Discovery Challenge</p>
|
| 126 |
+
<h1>#1 <em data-i18n="topic">Malaria</em></h1>
|
| 127 |
+
<p class="sub" data-i18n="tagline"></p>
|
| 128 |
<div class="wts" id="wts"></div>
|
| 129 |
</header>
|
| 130 |
|
| 131 |
+
<section class="how">
|
| 132 |
+
<h2 data-i18n="how_h">How it works</h2>
|
| 133 |
+
<p class="why" id="why"></p>
|
| 134 |
+
<div class="steps">
|
| 135 |
+
<div class="step"><span class="n">1</span>
|
| 136 |
+
<h3 data-i18n="s1_h"></h3><p data-i18n="s1_p"></p>
|
| 137 |
+
<div class="models">
|
| 138 |
+
<span>OpenAI</span><span>Claude</span><span>Gemini</span>
|
| 139 |
+
<span>Qwen</span><span>KIMI</span><span>DeepSeek</span><span>โฆ</span>
|
| 140 |
+
</div>
|
| 141 |
+
</div>
|
| 142 |
+
<div class="step"><span class="n">2</span>
|
| 143 |
+
<h3 data-i18n="s2_h"></h3><p data-i18n="s2_p"></p></div>
|
| 144 |
+
<div class="step"><span class="n">3</span>
|
| 145 |
+
<h3 data-i18n="s3_h"></h3><p data-i18n="s3_p"></p></div>
|
| 146 |
+
</div>
|
| 147 |
+
</section>
|
| 148 |
+
|
| 149 |
<div class="grid">
|
| 150 |
<div class="card">
|
| 151 |
+
<h2><span data-i18n="board">Leaderboard</span><span class="cnt" id="counts"></span></h2>
|
| 152 |
+
<div class="scroll">
|
| 153 |
+
<table>
|
| 154 |
+
<thead><tr id="head"></tr></thead>
|
| 155 |
+
<tbody id="rows"></tbody>
|
| 156 |
+
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 157 |
</div>
|
| 158 |
+
<div class="note" id="boardnote"></div>
|
| 159 |
</div>
|
| 160 |
|
| 161 |
<div class="card">
|
| 162 |
+
<h2 data-i18n="submit">Submit</h2>
|
| 163 |
+
<label data-i18n="l_struct"></label>
|
| 164 |
+
<input id="structure" placeholder="CC1=NC2=NC(=NN2C(=C1)N...">
|
| 165 |
+
<label data-i18n="l_name"></label>
|
| 166 |
+
<input id="display_name">
|
| 167 |
+
<label data-i18n="l_model"></label>
|
| 168 |
+
<input id="model_name" placeholder="anthropic/claude-โฆ, Qwen/โฆ">
|
| 169 |
+
<label data-i18n="l_why"></label>
|
| 170 |
+
<textarea id="rationale"></textarea>
|
| 171 |
+
<button class="go" id="go" data-i18n="btn"></button>
|
| 172 |
<div class="msg" id="msg"></div>
|
| 173 |
+
<div class="note" id="formnote"></div>
|
|
|
|
|
|
|
|
|
|
| 174 |
</div>
|
| 175 |
</div>
|
| 176 |
</div>
|
| 177 |
|
| 178 |
<script>
|
| 179 |
+
const T = {
|
| 180 |
+
ko:{
|
| 181 |
+
topic:"๋ง๋ผ๋ฆฌ์", board:"์์ํ", submit:"์ ์ถ", btn:"์ ์ถํ๊ธฐ",
|
| 182 |
+
tagline:"AI๊ฐ ์ ์ํ ์ ๋ถ์ ํ๋ณด๋ฅผ ๊ณต๊ฐ๋ ๊ธฐ์ค์ผ๋ก ์๋ ์ฑ์ ํ๋ ๊ฐ๋ฐฉํ ์ ์ฝ ๋ฐ๊ตด ๋ํ. ํ์ ์ PfDHODH(๋ง๋ผ๋ฆฌ์ ์์ถฉ ํจ์), ์ญํ์ ์ ์ฌ๋ DHODH์
๋๋ค.",
|
| 183 |
+
how_h:"์ฐธ์ฌ ๋ฐฉ๋ฒ",
|
| 184 |
+
why:"์ ์ฝ ํ๋ณด๋ฅผ ์ฐพ๋ ์ผ์ ๋ ์ด์ ํฐ ์คํ์ค๋ง์ ๊ฒ์ด ์๋๋๋ค. ๋ฌธ์ ๋ <b>๋๊ฐ ๋ธ ๋ถ์๊ฐ ์ ๋ง ์ข์์ง ๊ฐ๋ฆด ๊ณต์ ํ ์ฑ์ ์๊ฐ ์๋ค๋ ๊ฒ</b>์
๋๋ค. ์ด ์ฑ๋ฆฐ์ง๋ ๊ทธ ์ฑ์ ์๋ฅผ ๊ณต๊ฐํฉ๋๋ค โ ๋๊ตฌ๋ ์์ ์ด ์ฐ๋ AI๋ก ํ๋ณด๋ฅผ ์ค๊ณํด ์ ์ถํ๋ฉด, ๊ฐ์ ๊ธฐ์ค์ผ๋ก ์๋ ํ๊ฐ๋ฐ์ต๋๋ค.",
|
| 185 |
+
s1_h:"1. ์ํ๋ AI๋ก ํ๋ณด๋ฅผ ์ค๊ณํฉ๋๋ค",
|
| 186 |
+
s1_p:"OpenAI ยท Claude ยท Gemini ยท Qwen ยท KIMI ยท DeepSeek ๋ฑ ์ด๋ค ๋ชจ๋ธ์ด๋ , ์ด๋ค ํ๋ค์ค๋ ์์ ์
๋๋ค. ์ง์ ์ค๊ณํด๋ ๋ฉ๋๋ค. ๋ง๋ผ๋ฆฌ์ ์์ถฉ ํจ์ PfDHODH๋ฅผ ๋ง์ ์ ๋ถ์๋ฅผ ์ฐพ์ผ์ธ์.",
|
| 187 |
+
s2_h:"2. ๋ถ์ ๊ตฌ์กฐ์์ ์ ์ถํฉ๋๋ค",
|
| 188 |
+
s2_p:"SMILES ๋๋ InChI๋ก ์
๋ ฅํฉ๋๋ค. ์ ์ถ ์ฆ์ ๊ตฌ์กฐ ๊ฒ์ฌ(๋ฐ์์ฑยทPAINSยท์ค๋ณต ๋ฑ)๋ฅผ ๊ฑฐ์นฉ๋๋ค. ๋ถ์์์ ์ด์ฑ์ง์ฒด๊ฐ ๋๋ฌด ๋ง์ ๋ฐ์ง ์์ต๋๋ค.",
|
| 189 |
+
s3_h:"3. ์๋ ์ฑ์ ํ ์์๊ฐ ๋งค๊ฒจ์ง๋๋ค",
|
| 190 |
+
s3_p:"๋น๋๋ํํธ PharmaOS์ CellOS๊ฐ ์ฝํจยทํ์ ๊ฒฐํฉยท์ ํ์ฑยท๋
์ฑยท์ ๊ท์ฑยทํฉ์ฑ ๋์ด๋๋ฅผ ๊ณ์ฐํด 100์ ๋ง์ ์ผ๋ก ์ฑ์ ํ๊ณ , ๊ณ ๋์ ์์ผ๋ก ์ค์ ์ธ์๋๋ค. ๊ธฐ์ค๋ฌผ์ง์ด ํจ๊ป ํ์๋์ด ์๊ธฐ ์ ์์ ์๋ฏธ๋ฅผ ๋ฐ๋ก ํ์ธํ ์ ์์ต๋๋ค.",
|
| 191 |
+
l_struct:"๋ถ์ ๊ตฌ์กฐ์ (SMILES ๋๋ InChI)", l_name:"ํ์ ID (์ด๋ฆยท์์ยท๋๋ค์)",
|
| 192 |
+
l_model:"์ฌ์ฉ ๋ชจ๋ธ๋ช
(์ ํ)", l_why:"์ค๊ณ ๊ทผ๊ฑฐ (์ ํ)",
|
| 193 |
+
cols:{rank:"#",cand:"ํ๋ณด",who:"์ ์ถ์ / ๋ชจ๋ธ",activity:"์ฝํจ",binding:"๊ฒฐํฉ",
|
| 194 |
+
selectivity:"์ ํ์ฑ",admet:"ADMET",novelty:"์ ๊ท",synthesis:"ํฉ์ฑ",total:"์ด์ "},
|
| 195 |
+
counts:(a,b)=>`์ ์ถ ${a} ยท ๊ธฐ์ค๋ฌผ์ง ${b}`,
|
| 196 |
+
empty:"์์ง ์ฑ์ ๋ ์ ์ถ์ด ์์ต๋๋ค.", loading:"๋ถ๋ฌ์ค๋ ์คโฆ",
|
| 197 |
+
anchor:"๊ธฐ์ค", relegated:"๊ฐ๋ฑ", ref:"๊ธฐ์ค๋ฌผ์ง",
|
| 198 |
+
boardnote:"<b>๊ธฐ์ค๋ฌผ์ง(๋
ธ๋ ํ)์ ์ ์๋ฅผ ๋ฐ๋ ๋ฑ์๋ฅผ ๊ฐ์ง ์์ต๋๋ค.</b> ์ฒ๋๋ฅผ ๋์ผ๋ก ํ์ธํ์๋ผ๊ณ ๋ฃ์์ต๋๋ค.<br>๊ตฌ์กฐ๋ ์ ์ฒด ๊ณต๊ฐํ์ง ์์ต๋๋ค โ ๊ณจ๊ฒฉ ํด์์ ๋ถ์๋ ๊ตฌ๊ฐ๋ง ํ์๋๋ฉฐ ์๋ณธ์ ๋น๊ณต๊ฐ๋ก ๋ณด๊ด๋ฉ๋๋ค.<br>์ ์๋ <b>๊ณ์ฐ ๊ธฐ๋ฐ ํ๋ณด ํ๊ฐ</b>์ด๋ฉฐ ์ค์ ํจ๋ฅยท์์ ์ฑ์ด๋ ์น์ธ์ฝ๊ณผ์ ์ฐ์ด์ ๋ปํ์ง ์์ต๋๋ค.<br>์ด ์ ๋ชฉ์ ๋๋ฌ ์ ๋ ฌํ ์ ์์ต๋๋ค.",
|
| 199 |
+
formnote:"๋ถ์์(C20H25N3O4 ๋ฑ)์ ๋ฐ์ง ์์ต๋๋ค โ ์ด์ฑ์ง์ฒด๊ฐ ๋๋ฌด ๋ง์ ํ๊ฐ๊ฐ ๋ถ๊ฐ๋ฅํฉ๋๋ค.<br>์ ์ถ ์ฆ์ ๊ตฌ์กฐ ๊ฒ์ฌ๋ฅผ ๊ฑฐ์น๊ณ , ์ฑ์ ์ GPU ์์
๋๊ธฐ์ด์์ ์ฒ๋ฆฌ๋ฉ๋๋ค(์ ๋ถ ์์).",
|
| 200 |
+
need:"๊ตฌ์กฐ์ ํ์ ID๋ ํ์์
๋๋ค.", fail:"์์ฒญ ์คํจ: ", rejected:"์ ์ถ์ด ๊ฑฐ๋ถ๋์์ต๋๋ค",
|
| 201 |
+
queued:(id,n,note)=>`์ ์๋์์ต๋๋ค ยท ${id} ยท ๋๊ธฐ ${n}๊ฑด. ${note}`,
|
| 202 |
+
auto:"๋ธ๋ผ์ฐ์ ์ค์ ์์ ์๋ ์ ํ", manual:"์ง์ ์ ํํจ",
|
| 203 |
+
},
|
| 204 |
+
en:{
|
| 205 |
+
topic:"Malaria", board:"Leaderboard", submit:"Submit", btn:"Submit entry",
|
| 206 |
+
tagline:"An open drug-discovery challenge that scores AI-proposed small molecules against a published rubric. The target is PfDHODH, the malaria parasite enzyme; human DHODH is the counter-target.",
|
| 207 |
+
how_h:"How to take part",
|
| 208 |
+
why:"Finding a drug candidate is no longer something only a large lab can attempt. What is missing is <b>a fair judge of whose molecule is actually good</b>. This challenge publishes that judge โ design a candidate with whatever AI you use, submit it, and it is scored against the same rubric as everyone else.",
|
| 209 |
+
s1_h:"1. Design a candidate with any AI",
|
| 210 |
+
s1_p:"OpenAI, Claude, Gemini, Qwen, KIMI, DeepSeek โ any model, any harness, or by hand. The goal is a small molecule that blocks PfDHODH, an enzyme the malaria parasite depends on.",
|
| 211 |
+
s2_h:"2. Submit the structure",
|
| 212 |
+
s2_p:"Enter it as SMILES or InChI. Every entry is structure-checked on arrival for reactivity, PAINS and duplicates. Molecular formulas are not accepted โ too many isomers.",
|
| 213 |
+
s3_h:"3. It is scored and ranked automatically",
|
| 214 |
+
s3_p:"VIDRAFT's PharmaOS and CellOS compute activity, target binding, selectivity, toxicity, novelty and synthetic accessibility out of 100, and the table orders entries by score. Reference compounds sit in the same table so you can read what your number means.",
|
| 215 |
+
l_struct:"Structure (SMILES or InChI)", l_name:"Display ID (name, affiliation or handle)",
|
| 216 |
+
l_model:"Model used (optional)", l_why:"Design rationale (optional)",
|
| 217 |
+
cols:{rank:"#",cand:"Candidate",who:"Entrant / model",activity:"Activity",binding:"Binding",
|
| 218 |
+
selectivity:"Select.",admet:"ADMET",novelty:"Novelty",synthesis:"Synth.",total:"Total"},
|
| 219 |
+
counts:(a,b)=>`${a} entries ยท ${b} references`,
|
| 220 |
+
empty:"No scored entries yet.", loading:"Loadingโฆ",
|
| 221 |
+
anchor:"REF", relegated:"RELEG.", ref:"reference",
|
| 222 |
+
boardnote:"<b>Reference compounds (amber rows) are scored but never ranked.</b> They are there so you can see the scale.<br>Structures are not published in full โ only a skeleton hash and a molecular-weight band; the original is held privately.<br>Scores are a <b>computational assessment of candidates</b>. They are not a claim about real efficacy or safety, nor a comparison against approved drugs.<br>Click a column header to sort.",
|
| 223 |
+
formnote:"Molecular formulas (C20H25N3O4 and the like) are not accepted โ too many isomers to evaluate.<br>Entries are structure-checked on submission; scoring runs on a GPU queue and takes a few minutes.",
|
| 224 |
+
need:"Structure and display ID are required.", fail:"Request failed: ", rejected:"Entry rejected",
|
| 225 |
+
queued:(id,n,note)=>`Accepted ยท ${id} ยท ${n} in queue. ${note}`,
|
| 226 |
+
auto:"detected from your browser", manual:"chosen by you",
|
| 227 |
+
}
|
| 228 |
+
};
|
| 229 |
+
|
| 230 |
+
// The visitor's own setting decides; the toggle can still override it.
|
| 231 |
+
let LANG = (function(){
|
| 232 |
+
const n = (navigator.languages && navigator.languages[0]) || navigator.language || "en";
|
| 233 |
+
return String(n).toLowerCase().startsWith("ko") ? "ko" : "en";
|
| 234 |
+
})();
|
| 235 |
+
let LANG_AUTO = true;
|
| 236 |
+
|
| 237 |
+
const COLS = ["rank","cand","who","activity","binding","selectivity","admet","novelty","synthesis","total"];
|
| 238 |
const AX = ["activity","binding","selectivity","admet","novelty","synthesis"];
|
| 239 |
+
let DATA = null, sortKey = "total", sortDir = -1;
|
| 240 |
+
|
| 241 |
+
const $ = s => document.querySelector(s);
|
| 242 |
const f1 = v => (v==null||v==="") ? "โ" : (+v).toFixed(1);
|
| 243 |
+
const t = () => T[LANG];
|
| 244 |
|
| 245 |
+
function applyLang(){
|
| 246 |
+
const d = t();
|
| 247 |
+
document.documentElement.lang = LANG;
|
| 248 |
+
document.querySelectorAll("[data-i18n]").forEach(el=>{
|
| 249 |
+
const v = d[el.dataset.i18n]; if(v) el.textContent = v;
|
| 250 |
+
});
|
| 251 |
+
$("#why").innerHTML = d.why;
|
| 252 |
+
$("#boardnote").innerHTML = d.boardnote;
|
| 253 |
+
$("#formnote").innerHTML = d.formnote;
|
| 254 |
+
$("#display_name").placeholder = LANG==="ko" ? "๊ณต๊ฐ ์์ํ์ ํ์๋ฉ๋๋ค" : "shown on the public table";
|
| 255 |
+
$("#rationale").placeholder = LANG==="ko" ? "์ ์ด ๊ตฌ์กฐ์ธ์ง ๊ฐ๋จํ" : "why this structure, briefly";
|
| 256 |
+
document.querySelectorAll("#langbar button").forEach(b=>b.classList.toggle("on", b.dataset.lang===LANG));
|
| 257 |
+
$("#langnote").textContent = LANG_AUTO ? d.auto : d.manual;
|
| 258 |
+
if(DATA) render();
|
| 259 |
+
}
|
| 260 |
+
function setLang(l, auto){ LANG = (l==="ko")?"ko":"en"; if(!auto) LANG_AUTO=false; applyLang(); }
|
| 261 |
+
document.querySelectorAll("#langbar button").forEach(b=>b.onclick=()=>setLang(b.dataset.lang,false));
|
| 262 |
+
|
| 263 |
+
function sortVal(e, k){
|
| 264 |
+
if(k==="rank") return e.rank ?? 1e9; // unranked rows sink when sorting by rank
|
| 265 |
+
if(k==="cand") return String(e.candidate_id||"").toLowerCase();
|
| 266 |
+
if(k==="who") return String(e.display_name||"").toLowerCase();
|
| 267 |
+
if(k==="total") return e.total ?? -1;
|
| 268 |
+
return (e.axes||{})[k] ?? -1;
|
| 269 |
+
}
|
| 270 |
+
|
| 271 |
+
function render(){
|
| 272 |
+
const d = t(), W = DATA.season.weights, max = Math.max(1, ...DATA.entries.map(e=>e.total||0));
|
| 273 |
+
$("#wts").innerHTML = Object.entries(W).map(([k,v])=>`<span>${k} <b>${v}</b></span>`).join("");
|
| 274 |
+
$("#counts").textContent = d.counts(DATA.counts.scored, DATA.counts.anchors);
|
| 275 |
+
|
| 276 |
+
$("#head").innerHTML = COLS.map(k=>{
|
| 277 |
+
const on = sortKey===k;
|
| 278 |
+
const ar = on ? (sortDir<0 ? "โผ" : "โฒ") : "โพ";
|
| 279 |
+
return `<th data-k="${k}" class="${on?"sorted":""}">${d.cols[k]}<span class="ar">${ar}</span></th>`;
|
| 280 |
+
}).join("");
|
| 281 |
+
document.querySelectorAll("#head th").forEach(th=>th.onclick=()=>{
|
| 282 |
+
const k = th.dataset.k;
|
| 283 |
+
if(sortKey===k) sortDir = -sortDir;
|
| 284 |
+
else { sortKey = k; sortDir = (k==="rank"||k==="cand"||k==="who") ? 1 : -1; }
|
| 285 |
+
render();
|
| 286 |
+
});
|
| 287 |
+
|
| 288 |
+
const rows = DATA.entries.slice().sort((a,b)=>{
|
| 289 |
+
const x = sortVal(a,sortKey), y = sortVal(b,sortKey);
|
| 290 |
+
if(x<y) return -sortDir; if(x>y) return sortDir; return 0;
|
| 291 |
+
});
|
| 292 |
+
|
| 293 |
+
$("#rows").innerHTML = rows.length ? rows.map(e=>{
|
| 294 |
+
const a = e.axes||{};
|
| 295 |
+
const cls = [e.is_anchor?"anchor":"", e.tier===2?"tier2":""].join(" ").trim();
|
| 296 |
+
const who = e.is_anchor ? `<span class="who">${e.note||d.ref}</span>`
|
| 297 |
+
: `${e.display_name||"โ"}${e.model_name?` <span class="who">ยท ${e.model_name}</span>`:""}`;
|
| 298 |
+
const id = e.is_anchor ? `<b>${e.candidate_id}</b>`
|
| 299 |
+
: `<span class="cid">${e.candidate_id}</span>${e.skeleton?` <span class="skel">${e.skeleton}</span>`:""}`;
|
| 300 |
+
const tag = e.is_anchor ? `<span class="tag a">${d.anchor}</span>`
|
| 301 |
+
: (e.tier===2 ? `<span class="tag r">${d.relegated}</span>` : "");
|
| 302 |
+
const rk = e.rank==null ? "โ" : e.rank;
|
| 303 |
return `<tr class="${cls}">
|
| 304 |
+
<td class="rk ${e.rank===1?"top":""}">${rk}</td>
|
| 305 |
+
<td>${id}${tag}</td><td>${who}</td>
|
| 306 |
${AX.map(k=>`<td>${f1(a[k])}</td>`).join("")}
|
| 307 |
+
<td><div class="barwrap"><span class="bar"><i style="width:${Math.max(2,(e.total||0)/max*100)}%"></i></span>
|
| 308 |
+
<span class="tot">${f1(e.total)}</span></div></td></tr>`;
|
| 309 |
+
}).join("") : `<tr><td colspan="10" class="who">${d.empty}</td></tr>`;
|
| 310 |
}
|
| 311 |
|
| 312 |
+
async function load(){
|
| 313 |
+
try{ DATA = await (await fetch("api/leaderboard")).json(); render(); }
|
| 314 |
+
catch(e){ $("#rows").innerHTML = `<tr><td colspan="10" class="who">${t().fail}${e}</td></tr>`; }
|
| 315 |
+
}
|
| 316 |
+
|
| 317 |
+
$("#go").onclick = async ()=>{
|
| 318 |
+
const d = t(), btn = $("#go"), msg = $("#msg");
|
| 319 |
+
const body = {structure:$("#structure").value.trim(), display_name:$("#display_name").value.trim(),
|
| 320 |
+
model_name:$("#model_name").value.trim(), rationale:$("#rationale").value.trim()};
|
| 321 |
+
if(!body.structure || !body.display_name){ msg.className="msg err"; msg.textContent=d.need; return; }
|
| 322 |
+
btn.disabled = true; msg.className="msg"; msg.textContent="";
|
|
|
|
| 323 |
try{
|
| 324 |
+
const r = await fetch("api/submit",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(body)});
|
| 325 |
+
const j = await r.json();
|
| 326 |
+
if(j.accepted){ msg.className="msg ok"; msg.textContent=d.queued(j.candidate_id,j.queue_position,j.note);
|
| 327 |
+
$("#structure").value=""; load(); }
|
| 328 |
+
else { msg.className="msg err"; msg.textContent=(j.reasons||[d.rejected]).join(" / "); }
|
| 329 |
+
}catch(e){ msg.className="msg err"; msg.textContent=d.fail+e; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 330 |
btn.disabled = false;
|
| 331 |
};
|
| 332 |
|
| 333 |
+
applyLang(); load(); setInterval(load, 20000);
|
|
|
|
| 334 |
</script>
|
| 335 |
+
</body>
|
| 336 |
+
</html>
|