Skip to content

Commit

Permalink
streamline ID column in ploer demo
Browse files Browse the repository at this point in the history
  • Loading branch information
Baxter Eaves committed Nov 21, 2024
1 parent ffde675 commit 09f61cc
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 30 deletions.
Binary file removed static/scripts/wasm-plover-7f063bc28e581443_bg.wasm
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -440,31 +440,22 @@ function __wbg_get_imports() {
imports.wbg.__wbg_readAsArrayBuffer_4f4ed73c7dc0ce42 = function() { return handleError(function (arg0, arg1) {
getObject(arg0).readAsArrayBuffer(getObject(arg1));
}, arguments) };
imports.wbg.__wbindgen_cb_drop = function(arg0) {
const obj = takeObject(arg0).original;
if (obj.cnt-- == 1) {
obj.a = 0;
return true;
}
const ret = false;
return ret;
};
imports.wbg.__wbg_clearTimeout_541ac0980ffcef74 = function(arg0) {
const ret = clearTimeout(takeObject(arg0));
return addHeapObject(ret);
};
imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
takeObject(arg0);
};
imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
const ret = getStringFromWasm0(arg0, arg1);
return addHeapObject(ret);
};
imports.wbg.__wbg_getElementById_c369ff43f0db99cf = function(arg0, arg1, arg2) {
var v0 = getCachedStringFromWasm0(arg1, arg2);
const ret = getObject(arg0).getElementById(v0);
return isLikeNone(ret) ? 0 : addHeapObject(ret);
};
imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
const ret = getStringFromWasm0(arg0, arg1);
return addHeapObject(ret);
};
imports.wbg.__wbg_result_77ceeec1e3a16df7 = function() { return handleError(function (arg0) {
const ret = getObject(arg0).result;
return addHeapObject(ret);
Expand Down Expand Up @@ -540,6 +531,15 @@ function __wbg_get_imports() {
const ret = new Uint8Array(arg0 >>> 0);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_cb_drop = function(arg0) {
const obj = takeObject(arg0).original;
if (obj.cnt-- == 1) {
obj.a = 0;
return true;
}
const ret = false;
return ret;
};
imports.wbg.__wbg_setTimeout_7d81d052875b0f4f = function() { return handleError(function (arg0, arg1) {
const ret = setTimeout(getObject(arg0), arg1);
return addHeapObject(ret);
Expand Down Expand Up @@ -914,27 +914,27 @@ function __wbg_get_imports() {
console.timeEnd(v0);
};
imports.wbg.__wbindgen_closure_wrapper129 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 203, __wbg_adapter_30);
const ret = makeMutClosure(arg0, arg1, 204, __wbg_adapter_30);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper783 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 206, __wbg_adapter_33);
imports.wbg.__wbindgen_closure_wrapper664 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 207, __wbg_adapter_33);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper1494 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 203, __wbg_adapter_33);
imports.wbg.__wbindgen_closure_wrapper1515 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 204, __wbg_adapter_33);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper13184 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 203, __wbg_adapter_30);
imports.wbg.__wbindgen_closure_wrapper13226 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 204, __wbg_adapter_30);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper13293 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 203, __wbg_adapter_30);
imports.wbg.__wbindgen_closure_wrapper13344 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 204, __wbg_adapter_30);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper13397 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 206, __wbg_adapter_30);
imports.wbg.__wbindgen_closure_wrapper13464 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 207, __wbg_adapter_30);
return addHeapObject(ret);
};

Expand Down
Binary file not shown.
14 changes: 8 additions & 6 deletions templates/plover.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
{{ super() }}
{% set_global show_signup_form = true %}
<script type="module" nonce="ndP3I8laaswaU1ugeYtzvA==">
import init, * as bindings from '/scripts/wasm-plover-7f063bc28e581443.js';
const wasm = await init('/scripts/wasm-plover-7f063bc28e581443_bg.wasm');
import init, * as bindings from '/scripts/wasm-plover-fd7a5b4c8bd8582.js';
const wasm = await init('/scripts/wasm-plover-fd7a5b4c8bd8582_bg.wasm');

window.wasmBindings = bindings;

Expand Down Expand Up @@ -163,17 +163,19 @@ <h3>What's missing</h3>
<li>To get this to run in a reasonable time on a single core in your browser <b>we've had to turn down the
quality</b>.
</li>
<li>You don't have access to metric values to tell you <i>how erroneous</i> data are.</li>
<li>You don't have access to explanations.</li>
<li>No metric values to tell you <i>how erroneous</i> data are.</li>
<li>No explanations attribute errors</li>
<li>No meta similarity to identify data with similar errors</li>
<li>No error/anomaly computation on hypothetical out-of-table data</li>
</ul>

<h3>CSV data requirements</h3>
<ul>
<li>The CSV file size cannot exceeed 1MB</li>
<li>The file must contain a unique ID column named "ID"</li>
<li>The index column (if supplied) must have unique values</li>
<li>The file must have a header</li>
<li>Missing values must be empty cells. No sentinel values (e.g. 99)</li>
<li>This demo only support continuous and categorical data</li>
<li>This demo only support continuous and categorical data with at most 256 categories</li>
</ul>

<h3>Ready-to-use dataset</h3>
Expand Down

0 comments on commit 09f61cc

Please sign in to comment.