Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions verify/verify.js
Original file line number Diff line number Diff line change
Expand Up @@ -383,8 +383,8 @@ export function inputProofAdvisory(signals) {
const notes = [], flags = [];
const human = inp.human_permille, label = inp.human_label;
if (typeof human === "number") {
if (human < INPUT_HUMAN_MIN) { flags.push("human_score_low"); notes.push(`human_permille=${human} below advisory floor ${INPUT_HUMAN_MIN}` + (label ? ` (${label})` : "")); }
else notes.push(`human_permille=${human}` + (label ? ` (${label})` : ""));
if (human < INPUT_HUMAN_MIN) { flags.push("human_score_low"); notes.push(`human_permille=${human} below advisory floor ${INPUT_HUMAN_MIN}` + (label ? ` (${label}) (advisory label only; it does not show who played)` : "")); }
else notes.push(`human_permille=${human}` + (label ? ` (${label}) (advisory label only; it does not show who played)` : ""));
} else flags.push("human_score_missing");
const matchP = inp.match_permille, chanceP = inp.chance_permille;
if (typeof matchP === "number" && typeof chanceP === "number") {
Expand Down
2 changes: 1 addition & 1 deletion verify/viewer-ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ function inputPanel(p, i) {
if (p.state === "absent") return panelShell(p, i, null);
return panelShell(p, i, p.state === "info" ? "advisory" : p.state === "partial" ? "advisory · weak" : null,
h("div", { class: "device-line" }, h("span", { class: "lbl" }, "controller"), p.device ? h("b", null, p.device) : h("span", { class: "np" }, "name not recorded")),
h("div", { class: "gauge" }, h("div", { class: "g-h" }, h("b", null, "human-likeness"), h("span", null, p.human == null ? "not provided" : `${p.human} / 1000${p.human_label ? ` · ${p.human_label}` : ""}`)),
h("div", { class: "gauge" }, h("div", { class: "g-h" }, h("b", null, "human-likeness"), h("span", null, p.human == null ? "not provided" : `${p.human} / 1000${p.human_label ? ` · ${p.human_label}` : ""}`, p.human != null && p.human_label ? h("span", { class: "label-note" }, " (advisory label only; it does not show who played)") : null)),
p.human == null ? null : meter(p.human, 1000, { floor: 400, label: `human ${p.human}` })),
h("div", { class: "gauge" }, h("div", { class: "g-h" }, h("b", null, "alignment to video"), h("span", null, p.align ? `${p.align.match} vs chance ${p.align.chance}` : "not provided")),
p.align ? h("div", { class: "pair" }, meter(p.align.match, 1000, { label: `match ${p.align.match}` }), meter(p.align.chance, 1000, { tone: "dim", label: `chance ${p.align.chance}` })) : null),
Expand Down
Loading