|
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.
|