list-negative-batches-at-40

IN premise

`api.list_negative` splits candidates into batches of 40, so 120 keyword-matching nodes produce exactly 3 LLM calls.

Summary

When the system checks candidates for negative relationships, it processes them in groups of 40 at a time. This means the number of LLM calls scales predictably — for example, 120 candidates will always result in exactly 3 calls, making costs and latency easy to estimate.

Details

Sourceentries/2026/05/08/tests-test_api.md