From 2900aa07dfbb857382088ab4148f29dfd04f0123 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Sat, 14 Nov 2026 23:21:24 +0000 Subject: correlations: the design decisions, and the reference is reachable after all Synchronous, no redis, no job: one POST computes and answers. Use the correlation_rust engine in-process (already packaged, rev 473ad82), reuse its maths rather than rewriting the p-value, and implement only the sort and top-N. Minimum overlap 6 (gn3/python, not the engine's 4), pearson and spearman only, the engine's exact |r|-descending/NaN-last ordering, top-N as a request option applied after the sort, and the sample axis first. Verification is against the live genenetwork.org mapping page: it answers HTTP 200 in ~31 s, so the earlier "-m 20 curl" made it look unreachable when it is merely slow. Budget ~31 s per reference page in the parity loop. --- ai-memory.sqlite.d/index/docdata.glass | Bin 0 -> 335872 bytes ai-memory.sqlite.d/index/flintlock | 0 ai-memory.sqlite.d/index/iamglass | Bin 0 -> 111 bytes ai-memory.sqlite.d/index/position.glass | Bin 0 -> 688128 bytes ai-memory.sqlite.d/index/postlist.glass | Bin 0 -> 1818624 bytes ai-memory.sqlite.d/index/termlist.glass | Bin 0 -> 409600 bytes 6 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 ai-memory.sqlite.d/index/docdata.glass create mode 100644 ai-memory.sqlite.d/index/flintlock create mode 100644 ai-memory.sqlite.d/index/iamglass create mode 100644 ai-memory.sqlite.d/index/position.glass create mode 100644 ai-memory.sqlite.d/index/postlist.glass create mode 100644 ai-memory.sqlite.d/index/termlist.glass (limited to 'ai-memory.sqlite.d') diff --git a/ai-memory.sqlite.d/index/docdata.glass b/ai-memory.sqlite.d/index/docdata.glass new file mode 100644 index 0000000..d027857 Binary files /dev/null and b/ai-memory.sqlite.d/index/docdata.glass differ diff --git a/ai-memory.sqlite.d/index/flintlock b/ai-memory.sqlite.d/index/flintlock new file mode 100644 index 0000000..e69de29 diff --git a/ai-memory.sqlite.d/index/iamglass b/ai-memory.sqlite.d/index/iamglass new file mode 100644 index 0000000..2b8a36e Binary files /dev/null and b/ai-memory.sqlite.d/index/iamglass differ diff --git a/ai-memory.sqlite.d/index/position.glass b/ai-memory.sqlite.d/index/position.glass new file mode 100644 index 0000000..b226c24 Binary files /dev/null and b/ai-memory.sqlite.d/index/position.glass differ diff --git a/ai-memory.sqlite.d/index/postlist.glass b/ai-memory.sqlite.d/index/postlist.glass new file mode 100644 index 0000000..988b645 Binary files /dev/null and b/ai-memory.sqlite.d/index/postlist.glass differ diff --git a/ai-memory.sqlite.d/index/termlist.glass b/ai-memory.sqlite.d/index/termlist.glass new file mode 100644 index 0000000..33a66e8 Binary files /dev/null and b/ai-memory.sqlite.d/index/termlist.glass differ -- cgit 1.4.1