

def get_stamp(source, gen_dir, ext):
    return os.path.join(gen_dir, (os.path.splitext(source)[0] + gen_dir))

dataset/ETHPy150Open viewfinderco/viewfinder/__init__.py get_stamp/VarMisuse@36/42 `ext`->`gen_dir`