Skip to content

Commit 2792280

Browse files
authored
zero latency top-k enumeration
1 parent a70c004 commit 2792280

File tree

5 files changed

+16565
-12762
lines changed

5 files changed

+16565
-12762
lines changed

index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,12 @@ <h1><img style="display: inline;" src="/pluginIcon.svg" width="26">&nbsp;&nbsp;T
5454
<option value="examples/lambda/lambda_app.tidy">Lambda Calculus</option>
5555
<option value="examples/def_before_use/def_before_use.tidy">Def-Before-Use</option>
5656
</select>
57-
<label>Generation timeout:<input id="timeout" type="number" value="1000" min="100" step="100" style="margin-left: 0.4em; margin-right: 0.4em; width: 5em" >ms</label><div style="margin-right: 4em"></div>
57+
<label>Generation timeout:<input id="timeout" type="number" value="300" min="100" step="100" style="margin-left: 0.4em; margin-right: 0.4em; width: 5em" >ms</label><div style="margin-right: 4em"></div>
5858
<label for="minimize-checkbox">Minimize repairs&nbsp;</label>
59-
<input type="checkbox" id="minimize-checkbox">
59+
<input type="checkbox" id="minimize-checkbox" checked>
6060
</div>
6161
<div id="confrow2">
62+
<div id="gpuAvail" style="margin-right: 330px; margin-top:-45px"></div>
6263
<label>Max edit distance: <a href="https://en.wikipedia.org/wiki/Edit_distance#Language_edit_distance">LED</a> + <input id="max-edits" type="number" value="1" min="0" max="3" step="1" style="margin-right: 0.4em"></label><div style="margin-right: 4.43em"></div>
6364
<label for="ntstubs-checkbox">Nonterminal stubs&nbsp;</label>
6465
<input type="checkbox" id="ntstubs-checkbox" checked>

python.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@ <h1><img style="display: inline;" src="/pluginIcon.svg" width="26">&nbsp;&nbsp;T
5555
</div>
5656
</div>
5757
<div title="Minimizes total edits per repair." id="confrow1">
58-
<label>Generation timeout:<input id="timeout" type="number" value="1000" min="100" step="100" style="margin-left: 0.4em; margin-right: 0.4em; width: 5em" >ms</label><div style="margin-right: 4em"></div>
58+
<label>Max edit distance: <a href="https://en.wikipedia.org/wiki/Edit_distance#Language_edit_distance">LED</a> + <input id="max-edits" type="number" value="2" min="0" max="3" step="1" style="margin-right: 4.2em"></label>
5959
<label for="minimize-checkbox">Minimize repairs&nbsp;</label>
6060
<input type="checkbox" id="minimize-checkbox" checked>
6161
</div>
6262
<div title="Adds nonterminal stubs to CFG." id="confrow2">
63-
<label>Max edit distance: <a href="https://en.wikipedia.org/wiki/Edit_distance#Language_edit_distance">LED</a> + <input id="max-edits" type="number" value="2" min="0" max="3" step="1" style="margin-right: 12.2em"></label><div style="margin-right: 4.43em"></div>
63+
<div id="gpuAvail" style="margin-right: 770px; margin-top:-50px"></div>
6464
<!-- <label for="ntstubs-checkbox">Nonterminal stubs&nbsp;</label>-->
6565
<!-- <input type="checkbox" id="ntstubs-checkbox" checked>-->
6666
</div>

0 commit comments

Comments
 (0)