class_docstr: The SCROLLS benchmark.
code: def _generate_examples(self, path):
      with epath.Path(path).open() as f:
          for line in f:
              row = json.loads(line)
  
              # Test set has 'null' for 'output'
              yield row["pid"], {
                  k: row[k] if row[k] is not None else ""
                  for k in _FEATURES
              }
  
file_path: datasets/tensorflow_datasets/text/scrolls/scrolls.py
imports: import dataclasses
  import json
  from etils import epath
  import tensorflow_datasets.public_api
label_desc: Use image node_id 3 for calling the Scrolls obj's underlying member method code with example usage: obj._generate_examples(path) without return types