Evidra commited on
Commit
e9fa106
Β·
verified Β·
1 Parent(s): b3ececc

First-screen upgrade: recorded fallback stats on first paint, Evidra platform line, Run the agent live anchor, bounded-runs note

Browse files
Files changed (3) hide show
  1. DEPLOY_MANIFEST.txt +3 -3
  2. static/index.html +12 -9
  3. static/style.css +6 -0
DEPLOY_MANIFEST.txt CHANGED
@@ -13,8 +13,8 @@ app.py 12519
13
  requirements.txt 229
14
  runner.py 26484
15
  static/app.js 31596
16
- static/index.html 10913
17
- static/style.css 30670
18
  system/RESULTS.md 3553
19
  system/fixtures/accordion_form.html 7647
20
  system/fixtures/adversarial_banner.html 7403
@@ -74,4 +74,4 @@ traces/crm_record_update.json 326349
74
  traces/portal_edit_and_verify.json 262494
75
 
76
  Files: 69
77
- Total size: 1270137 bytes
 
13
  requirements.txt 229
14
  runner.py 26484
15
  static/app.js 31596
16
+ static/index.html 11378
17
+ static/style.css 31027
18
  system/RESULTS.md 3553
19
  system/fixtures/accordion_form.html 7647
20
  system/fixtures/adversarial_banner.html 7403
 
74
  traces/portal_edit_and_verify.json 262494
75
 
76
  Files: 69
77
+ Total size: 1270959 bytes
static/index.html CHANGED
@@ -33,18 +33,19 @@
33
  <p class="eyebrow">Evidra <span class="prod-no">Β· web-agent</span></p>
34
  <h1>web-<span class="grad">agent</span></h1>
35
  <p class="subtitle">An autonomous agent that operates web interfaces end to end β€” observe, act, verify, recover.</p>
 
36
  <p class="hero-sub">Pick a task and watch the agent run it, live, in a real browser. Every observation, action, failure, recovery and screenshot is a real event from a real execution β€” streamed as it happens.</p>
37
  <div class="cta-row">
38
- <button id="cta-run" class="btn btn-light" type="button">Run it live</button>
39
  <button id="cta-eval" class="btn btn-ghost-light" type="button">See the evaluation</button>
40
  </div>
41
  </div>
42
 
43
  <div class="stats" aria-label="Evaluation numbers">
44
- <div class="stat glass"><b id="hs-on">β€”/β€”</b><span>Full suite β€” recovery on</span></div>
45
- <div class="stat glass"><b id="hs-off">β€”/β€”</b><span>Full suite β€” recovery off</span></div>
46
- <div class="stat glass"><b id="hs-adv">β€”</b><span>Adversarial tasks β€” on vs off</span></div>
47
- <div class="stat glass"><b id="hs-ctl">β€”/β€”</b><span id="hs-ctl-lab">Control tasks β€” on vs off</span></div>
48
  </div>
49
  <p class="hero-note">The full task suite, run with recovery on and with recovery off β€” read live from the system’s own recorded run files.</p>
50
  </div>
@@ -57,6 +58,7 @@
57
  <p class="sec-eyebrow">Live run</p>
58
  <h2 class="sec-title">Run the agent</h2>
59
  <p class="sec-sub">Choose a task, choose whether recovery is on or off, and run the agent against it β€” live, in a real browser.</p>
 
60
 
61
  <div class="panel run-panel">
62
  <div class="run-layout">
@@ -195,9 +197,10 @@
195
  document.getElementById("nav-eval").click(); go("view-eval");
196
  });
197
 
198
- /* Hero numbers come from the app's own evaluation payload β€” the same
199
- recorded run files the Evaluation view renders. Nothing is
200
- hand-entered here. */
 
201
  function frac(x) { return x.passed + "/" + x.total; }
202
  fetch("/api/evaluation").then(function (r) { return r.json(); }).then(function (d) {
203
  if (!d || !d.available) return;
@@ -213,7 +216,7 @@
213
  } else {
214
  document.getElementById("hs-ctl").textContent = con + " vs " + coff;
215
  }
216
- }).catch(function () { /* placeholders stay if results are unavailable */ });
217
  })();
218
  </script>
219
  </body>
 
33
  <p class="eyebrow">Evidra <span class="prod-no">Β· web-agent</span></p>
34
  <h1>web-<span class="grad">agent</span></h1>
35
  <p class="subtitle">An autonomous agent that operates web interfaces end to end β€” observe, act, verify, recover.</p>
36
+ <p class="hero-platform">Part of the <a href="https://umeshlinga.github.io/evidra/">Evidra platform</a> β€” measured AI systems for genomics and the web.</p>
37
  <p class="hero-sub">Pick a task and watch the agent run it, live, in a real browser. Every observation, action, failure, recovery and screenshot is a real event from a real execution β€” streamed as it happens.</p>
38
  <div class="cta-row">
39
+ <a id="cta-run" class="btn btn-light" href="#view-run">Run the agent live</a>
40
  <button id="cta-eval" class="btn btn-ghost-light" type="button">See the evaluation</button>
41
  </div>
42
  </div>
43
 
44
  <div class="stats" aria-label="Evaluation numbers">
45
+ <div class="stat glass"><b id="hs-on">36/36</b><span>Full suite β€” recovery on</span></div>
46
+ <div class="stat glass"><b id="hs-off">27/36</b><span>Full suite β€” recovery off</span></div>
47
+ <div class="stat glass"><b id="hs-adv">9/9 vs 0/9</b><span>Adversarial tasks β€” on vs off</span></div>
48
+ <div class="stat glass"><b id="hs-ctl">27/27</b><span id="hs-ctl-lab">Control tasks β€” on vs off</span></div>
49
  </div>
50
  <p class="hero-note">The full task suite, run with recovery on and with recovery off β€” read live from the system’s own recorded run files.</p>
51
  </div>
 
58
  <p class="sec-eyebrow">Live run</p>
59
  <h2 class="sec-title">Run the agent</h2>
60
  <p class="sec-sub">Choose a task, choose whether recovery is on or off, and run the agent against it β€” live, in a real browser.</p>
61
+ <p class="run-bound">Public runs are bounded so everyone gets a turn β€” at most 2 runs at once, and public-page runs are limited to 2 steps on the entered domain.</p>
62
 
63
  <div class="panel run-panel">
64
  <div class="run-layout">
 
197
  document.getElementById("nav-eval").click(); go("view-eval");
198
  });
199
 
200
+ /* Hero numbers are refreshed from the app's own evaluation payload β€”
201
+ the same recorded run files the Evaluation view renders. The
202
+ values in the markup are the recorded fallback for first paint;
203
+ this fetch overwrites them with the same values when available. */
204
  function frac(x) { return x.passed + "/" + x.total; }
205
  fetch("/api/evaluation").then(function (r) { return r.json(); }).then(function (d) {
206
  if (!d || !d.available) return;
 
216
  } else {
217
  document.getElementById("hs-ctl").textContent = con + " vs " + coff;
218
  }
219
+ }).catch(function () { /* recorded fallback values stay if results are unavailable */ });
220
  })();
221
  </script>
222
  </body>
static/style.css CHANGED
@@ -95,6 +95,10 @@ a:hover{text-decoration:underline}
95
  color:rgba(255,255,255,.94);margin:26px auto 0;max-width:680px}
96
  .hero-sub{font-size:16.5px;line-height:1.6;color:rgba(255,255,255,.74);
97
  margin:18px auto 0;max-width:620px}
 
 
 
 
98
  .cta-row{display:flex;gap:12px;align-items:center;justify-content:center;
99
  flex-wrap:wrap;margin-top:34px}
100
  .btn{display:inline-block;border:0;cursor:pointer;font:inherit;
@@ -134,6 +138,8 @@ main.wrap{padding-top:0;padding-bottom:0}
134
  font-weight:700;margin:0;text-align:center}
135
  .sec-sub{font-size:clamp(17px,2.4vw,20px);line-height:1.5;color:var(--ink-2);
136
  text-align:center;max-width:720px;margin:16px auto 0}
 
 
137
  .panel{background:var(--surface);border:1px solid var(--line);
138
  border-radius:28px;box-shadow:var(--shadow);margin-top:42px}
139
  .run-panel{padding:28px}
 
95
  color:rgba(255,255,255,.94);margin:26px auto 0;max-width:680px}
96
  .hero-sub{font-size:16.5px;line-height:1.6;color:rgba(255,255,255,.74);
97
  margin:18px auto 0;max-width:620px}
98
+ .hero-platform{font-size:14.5px;line-height:1.55;color:rgba(255,255,255,.78);
99
+ margin:14px auto 0;max-width:620px}
100
+ .hero-platform a{color:#8df5b6;text-decoration:underline;text-underline-offset:2px}
101
+ .hero-platform a:hover{color:#c8ffdf}
102
  .cta-row{display:flex;gap:12px;align-items:center;justify-content:center;
103
  flex-wrap:wrap;margin-top:34px}
104
  .btn{display:inline-block;border:0;cursor:pointer;font:inherit;
 
138
  font-weight:700;margin:0;text-align:center}
139
  .sec-sub{font-size:clamp(17px,2.4vw,20px);line-height:1.5;color:var(--ink-2);
140
  text-align:center;max-width:720px;margin:16px auto 0}
141
+ .run-bound{font-size:14px;line-height:1.55;color:var(--muted);
142
+ text-align:center;max-width:720px;margin:10px auto 0}
143
  .panel{background:var(--surface);border:1px solid var(--line);
144
  border-radius:28px;box-shadow:var(--shadow);margin-top:42px}
145
  .run-panel{padding:28px}