FCaptcha icon indicating copy to clipboard operation
FCaptcha copied to clipboard

Converge exact detector results across Node, Go, and Python

Open cport1 opened this issue 1 week ago • 0 comments

Gap

PR #245 adds a hard outcome-parity gate across the Node, Go, and Python production servers. On the 98-sample base corpus, all three agree on recommendation, experimental wouldBlock, and observation status, but the strict normalized report still finds 10 score/detector-detail mismatches across 7 samples.

Observed drift includes:

  • Go omits Mouse movements too straight for agent/linear-approach/0000.
  • Go omits the no-keyboard textarea signal for agent/programmatic-fill/0000.
  • Python classifies the programmatic textarea signal under a different category/weight.
  • Python omits the challenge-delay signal on agent/scroll-jump/0000 and adds it on agent/stealth-humanized/0002.
  • Several Browser Harness rows have small score/experimental-detail drift without changing the outcome.

This issue is for implementation convergence, not for normalizing away substantive differences.

Acceptance criteria

  • [ ] Reproduce strict drift with node bench/tools/compare-server-parity.js ... --strict against fresh isolated server state.
  • [ ] Make base-corpus scores equal after the existing eight-decimal normalization.
  • [ ] Make normalized detection category, score, confidence, and reason identities equal.
  • [ ] Make nonzero category scores and full experimental details equal.
  • [ ] Preserve only documented wording/dynamic-value normalization in the comparator.
  • [ ] Add focused cross-language regression tests for each corrected difference.
  • [ ] Switch the CI parity command to --strict only after the strict report is green.

Evidence

The current outcome gate is useful and must stay green while this work proceeds: 98 base samples, zero outcome mismatches. Strict detail drift is retained as a CI artifact by #245.

cport1 avatar Nov 26 '26 04:11 cport1