<commit_before>const messageType = {
  EXECUTE_SCRIPT: 'EXECUTE_SCRIPT',
  RUN_AXS: 'RUN_AXS',
  AXS_COMPLETE: 'AXS_COMPLETE',
  HIGHLIGHT_WARNING: 'HIGHLIGHT_WARNING',
  UNHIGHLIGHT_WARNING: 'UNHIGHLIGHT_WARNING',
  HIGHLIGHT_REPORT: 'HIGHLIGHT_REPORT',
  UNHIGHLIGHT_REPORT: 'UNHIGHLIGHT_REPORT',
  TRACE_TAB_PATH: 'TRACE_TAB_PATH',
  PNG_TAB_PATH: 'PNG_TAB_PATH',
  CLEAR_AXS: 'CLEAR_AXS'
}

const auditDir = 'audit';
const lensesDir = 'lenses';
const tracerDir = 'tracer';

var devtools = null;

const devToolsListener = function(message, sender, sendResponse) {
  switch (message.type) {
    case messageType.EXECUTE_SCRIPT: {
      const { tabId, scriptToInject } = message.data;
      // Inject a content script into the identified tab
      chrome.tabs.executeScript(tabId, { file: scriptToInject });
      break;
    }
    case messageType.RUN_AXS: {
      const { tabId } = message.data;<commit_msg>Removed unused lensDir constant<commit_after>const messageType = {
  EXECUTE_SCRIPT: 'EXECUTE_SCRIPT',
  RUN_AXS: 'RUN_AXS',
  AXS_COMPLETE: 'AXS_COMPLETE',
  HIGHLIGHT_WARNING: 'HIGHLIGHT_WARNING',
  UNHIGHLIGHT_WARNING: 'UNHIGHLIGHT_WARNING',
  HIGHLIGHT_REPORT: 'HIGHLIGHT_REPORT',
  UNHIGHLIGHT_REPORT: 'UNHIGHLIGHT_REPORT',
  TRACE_TAB_PATH: 'TRACE_TAB_PATH',
  PNG_TAB_PATH: 'PNG_TAB_PATH',
  CLEAR_AXS: 'CLEAR_AXS'
}

const auditDir = 'audit';
const tracerDir = 'tracer';

var devtools = null;

const devToolsListener = function(message, sender, sendResponse) {
  switch (message.type) {
    case messageType.EXECUTE_SCRIPT: {
      const { tabId, scriptToInject } = message.data;
      // Inject a content script into the identified tab
      chrome.tabs.executeScript(tabId, { file: scriptToInject });
      break;
    }
    case messageType.RUN_AXS: {
      const { tabId } = message.data;
{'fraction_non_alphanumeric': 0.10730088495575221, 'fraction_numerical': 0.0, 'mean_word_length': 4.618012422360248, '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': '51670', 'n_tokens_mistral': 694, 'n_tokens_neox': 671, 'n_words': 127}