tests: de-duplicate online scoring API format checks
Refactor repeated score request format tests into a shared assertion helper and parametrized cases in bi-encoder and cross-encoder online suites, reducing bloat while preserving coverage.
Co-authored-by: Claude <noreply@anthropic.com>
Signed-off-by: Cursor Agent <cursoragent@cursor.com>