code: def construct_name(fwd_bwd, test_name):
      bwd = "backward" in fwd_bwd
      suite_name = fwd_bwd.replace("-backward", "")
      return f"{suite_name}[{test_name}]:{'bwd' if bwd else 'fwd'}"
  
imports: import argparse
  import json
  from collections import namedtuple
label_desc: Use image node_id 1 for calling a global function with example usage: construct_name(fwd_bwd, test_name) and returns: suite_name, str, test_name, str, unknown