From c4f896520cba39dda8e328405f3f7a1b3190756f Mon Sep 17 00:00:00 2001 From: afairclo <41074440+afairclo@users.noreply.github.com> Date: Sun, 2 Jun 2024 16:28:49 -0400 Subject: [PATCH 1/2] Fix for off-by-one precision radius --- website/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/index.html b/website/index.html index 26450dd..6895418 100644 --- a/website/index.html +++ b/website/index.html @@ -105,10 +105,10 @@ const neighborsByNode = {} const nodesBySearchTitle = {} const precisionMargins = [ - 16151245, 11939464, 5969732, 2984866, 1492433, 746217, 373108, 186554, + 11939464, 5969732, 2984866, 1492433, 746217, 373108, 186554, 93277, 46639, 23319, 11660, 5830, 2915, 1457, 729, 364, 182, 91, 46, 23, 11, 6, 3, - 1, 1, 0, 0, 0, 0, 0, 0 + 1, 1, 0, 0, 0, 0, 0, 0, 0 ] // encodes html reserved characters const html = str => str?.replace(/["&<>]/g, match => `&#${match.charCodeAt(0)};`) From 5a3d11c8ca511b3887ec2a3e8d2533ec4b0885d7 Mon Sep 17 00:00:00 2001 From: afairclo <41074440+afairclo@users.noreply.github.com> Date: Sun, 2 Jun 2024 23:45:43 -0400 Subject: [PATCH 2/2] Update index.html --- website/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/website/index.html b/website/index.html index 6895418..14aabf6 100644 --- a/website/index.html +++ b/website/index.html @@ -105,10 +105,10 @@ const neighborsByNode = {} const nodesBySearchTitle = {} const precisionMargins = [ - 11939464, 5969732, 2984866, 1492433, 746217, 373108, 186554, - 93277, 46639, 23319, 11660, 5830, 2915, 1457, 729, - 364, 182, 91, 46, 23, 11, 6, 3, - 1, 1, 0, 0, 0, 0, 0, 0, 0 + 11939464, 5969732, 2984866, 1492433, 746217, 373108, 186554, 93277, + 46639, 23319, 11660, 5830, 2915, 1457, 729, 364, + 182, 91, 46, 23, 11, 6, 3, 1, + 1, 0, 0, 0, 0, 0, 0, 0 ] // encodes html reserved characters const html = str => str?.replace(/["&<>]/g, match => `&#${match.charCodeAt(0)};`)