code: def test_records_score_range():
      score_ranges = ([-10, 10], (5, 100))
      for score_range in score_ranges:
          records = list(
              DATASET.records(score_range=score_range, limit=10)
          )
          assert all(
              score_range[0] <= meta["score"] < score_range[1]
              for text, meta in records
          )
  
file_path: textacy/tests/datasets/test_reddit_comments.py
imports: import datetime
  import os
  import pytest
  from textacy.datasets.reddit_comments import RedditComments
label_desc: Use image node_id 9 for calling a global function with example usage: test_records_score_range() without return types