code: def make_paths_absolute(test, keys):
      def make_absolute(paths):
          if "," in paths:
              return ",".join(
                  [make_absolute(p) for p in paths.split(",")]
              )
          return MODEL_ARCHIVER_ROOT_DIR.joinpath(paths).as_posix()
  
      for k in keys:
          test[k] = make_absolute(test[k])
  
      return test
  
imports: import json
  from pathlib import Path
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: make_paths_absolute(test, keys) and returns: test, MODEL_ARCHIVER_ROOT_DIR, str