class_docstr: SCAN task / splits as proposed by Brenden M. Lake and Marco Baroni.
class_docstr_tok: ["SCAN","task","\/","splits","as","proposed","by","Brenden","M.","Lake","and","Marco","Baroni","."]
code: def _read_examples(self, datapath):
      with epath.Path(datapath).open() as infile:
          for i, line in enumerate(infile):
              if not line.startswith("IN: "):
                  continue
              # Chop the prefix and split string between input and output
              commands, actions = (
                  line[len("IN: ") :].strip().split(" OUT: ", 1)
              )
              yield i, {_COMMANDS: commands, _ACTIONS: actions}
  
file_path: datasets/tensorflow_datasets/datasets/scan/scan_dataset_builder.py
imports: import json
  import os
  from etils import epath
  import tensorflow_datasets.public_api
label_desc: Use image node_id 3 for calling the Builder obj's underlying member method code with example usage: obj._read_examples(datapath) without return types