<commit_before># Build instructions

1. Building dev bundle

  ```
  npm run build.dev -- --base "/context/path/"
  ```

  Bundle is built in directory dist/dev


2. Building prod bundle

  ```
  npm run build.prod -- --base "/context/path/"
  ```

  Bundle is built in directory dist/prod


3. Packaging as webjar

  ```
  npm run maven.install.prod -- --groupId com.example --version 1.0.0-SNAPHSOT
  ```

  This script requires maven is installed on local system.  

  Resulting webjar is installed in local maven repository.
<commit_msg>Build documentation<commit_after># Build instructions

1. Building dev bundle

  ```
  npm run build.dev -- --base "/context/path/"
  ```

  Bundle is built in directory dist/dev


2. Building prod bundle

  ```
  npm run build.prod -- --base "/context/path/"
  ```

  Bundle is built in directory dist/prod


3. Packaging as webjar

  ```
  npm run webjar -- --groupId com.example --version 1.0.0-SNAPHSOT
  ```

  This script requires maven is installed on local system.  

  Resulting webjar is installed in local maven repository.

{'fraction_non_alphanumeric': 0.11152416356877323, 'fraction_numerical': 0.011152416356877323, 'mean_word_length': 2.713793103448276, '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': '4112496', 'n_tokens_mistral': 348, 'n_tokens_neox': 317, 'n_words': 123}