dir_data gen partial test