<commit_before>from __future__ import division

def nproc():
  from libtbx.introspection import number_of_processors
  return number_of_processors(return_value_if_unknown=-1)

def joiner(args):
  from dials.util.scale_down_image import scale_down_image
  scale_down_image(*args)

def scale_down_images(in_template, out_template, start, end, scale_factor):
  from multiprocessing import Pool

  jobs = [(in_template % j, out_template % j, scale_factor) for j in
          range(start, end + 1)]

  pool = Pool(processes=nproc())<commit_msg>Print out file name after writing<commit_after>from __future__ import division

def nproc():
  from libtbx.introspection import number_of_processors
  return number_of_processors(return_value_if_unknown=-1)

def joiner(args):
  from dials.util.scale_down_image import scale_down_image
  scale_down_image(*args)
  print args[1]

def scale_down_images(in_template, out_template, start, end, scale_factor):
  from multiprocessing import Pool

  jobs = [(in_template % j, out_template % j, scale_factor) for j in
          range(start, end + 1)]

  pool = Pool(processes=nproc())
{'fraction_non_alphanumeric': 0.08258527827648116, 'fraction_numerical': 0.004488330341113106, 'mean_word_length': 5.5588235294117645, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7536637', 'n_tokens_mistral': 369, 'n_tokens_neox': 360, 'n_words': 92}