<commit_before>// Lazy-loaded modules are assumed on the hosting domain,
// so we override the constant at runtime.
// __webpack_public_path__ = process.env.NODE_ENV === "production"
//   ? "https://example.com"
//   : "http://localhost:3000";

import { camelCase } from "lodash";

(async () => {
  // For minority of browers, bring in heavier polyfills.
  if (!Object.assign || !Array.from || !window.location.origin) {
    await import("../polyfills");
  }

  // Iterable list of widget scripts
  const containers = [...document.querySelectorAll("[data-my-widget]")];

  for (const container of containers) {
    const options = [...container.attributes]
      .filter(({ name }) => /^data-/.test(name))
      .reduce((acc, attribute) => {
        const { name, value } = attribute;
        const prop = camelCase(name.replace(/^data-(.+$)/, "$1"));

        return {
          ...acc,<commit_msg>Remove __webpack_public_path__ for a "gotcha"<commit_after>import { camelCase } from "lodash";

(async () => {
  // For minority of browers, bring in heavier polyfills.
  if (!Object.assign || !Array.from || !window.location.origin) {
    await import("../polyfills");
  }

  // Iterable list of widget scripts
  const containers = [...document.querySelectorAll("[data-my-widget]")];

  for (const container of containers) {
    const options = [...container.attributes]
      .filter(({ name }) => /^data-/.test(name))
      .reduce((acc, attribute) => {
        const { name, value } = attribute;
        const prop = camelCase(name.replace(/^data-(.+$)/, "$1"));

        return {
          ...acc,
{'fraction_non_alphanumeric': 0.1775, 'fraction_numerical': 0.00375, 'mean_word_length': 2.867149758454106, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 1, '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': '6919522', 'n_tokens_mistral': 489, 'n_tokens_neox': 475, 'n_words': 124}