code: def test_context():
      context = [
          {"positive": random_example(), "negative": random_example()},
          {"positive": random_example(), "negative": random_example()},
      ]
      response = request_with_validation(
          api="/collections/{collection_name}/points/discover",
          method="POST",
          path_params={"collection_name": collection_name},
          body={
              "context": context,
              "limit": 8,
          },
      )
      assert response.ok, response.json()
  
      scored_points = response.json()["result"]
  
      assert len(scored_points) == 8 - count_ids_in_examples(
          context, None
      )
  
      # Score in context search relates to loss, so max score for context search is 0.0
      for point in scored_points:
          assert point["score"] <= 0.0
  
file_path: qdrant/openapi/tests/openapi_integration/test_discovery.py
imports: import math
  import random
  import pytest
  from .helpers.collection_setup import basic_collection_setup, drop_collection
  from .helpers.helpers import request_with_validation
label_desc: Use image node_id 5 for calling a global function with example usage: test_context() without return types