<commit_before>"""An interface to report the status of emulator launches."""

from __future__ import absolute_import
from __future__ import division
from __future__ import print_function

import json
import logging
import os
import uuid



class NoOpReporter(object):
  """Captures all device and failure data and throws it away."""

  def __init__(self):
    pass

  def ReportDeviceProperties(self, unused_emu_type, unused_props):
    pass

  def ReportFailure(self, unused_component, unused_details):
    pass

  def Emit(self):
    pass


def MakeReporter():
  """Creates a reporter instance."""
  return NoOpReporter()

<commit_msg>Report tool usage data<commit_after>"""An interface to report the status of emulator launches."""

from __future__ import absolute_import
from __future__ import division
from __future__ import print_function

import json
import logging
import os
import uuid



class NoOpReporter(object):
  """Captures all device and failure data and throws it away."""

  def __init__(self):
    pass

  def ReportDeviceProperties(self, unused_emu_type, unused_props):
    pass

  def ReportFailure(self, unused_component, unused_details):
    pass

  def ReportToolsUsage(self, unused_namespace, unused_tool_name,
                       unused_runtime_ms, unused_success):
    pass

  def Emit(self):
    pass


def MakeReporter():
  """Creates a reporter instance."""
  return NoOpReporter()


{'fraction_non_alphanumeric': 0.07268877911079746, 'fraction_numerical': 0.0, 'mean_word_length': 4.432950191570881, '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': '111193', 'n_tokens_mistral': 402, 'n_tokens_neox': 385, 'n_words': 140}