<commit_before>version: 2
jobs:
  publish:
    docker:
      - image: circleci/node:8.10.0
    steps:
      - checkout
      - run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
      - run: npm publish
  test:
    docker:
      - image: circleci/node:latest-browsers
    steps:
      - checkout
      - run: npm i -d
      - run: npm run test

workflows:
  version: 2
  test:
    jobs:
      - test:
          filters:
            branches:
              only:
                - master
  tagged-build:
    jobs:
      - publish:
          filters:
            tags:
              only: /v[0-9]+(\.[0-9]+)*/
            branches:
              ignore: /.*/  <commit_msg>slack notification update for circleci integration<commit_after>version: 2.1
orbs:
  slack: circleci/slack@3.4.2
jobs:
  publish:
    docker:
      - image: circleci/node:8.10.0
    steps:
      - checkout
      - run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
      - run: npm publish
      - slack/status
  test:
    docker:
      - image: circleci/node:latest-browsers
    steps:
      - checkout
      - run: npm i -d
      - run: npm run test
      - slack/status

workflows:
  version: 2
  test:
    jobs:
      - test:
          context:
            - slack-notification
          filters:
            branches:
              only:
                - master
  tagged-build:
    jobs:
      - publish:
          context:
            - slack-notification
          filters:
            tags:
              only: /v[0-9]+(\.[0-9]+)*/
            branches:
              ignore: /.*/  
{'fraction_non_alphanumeric': 0.11974921630094044, 'fraction_numerical': 0.015047021943573668, 'mean_word_length': 1.2767475035663338, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '1262889', 'n_tokens_mistral': 542, 'n_tokens_neox': 511, 'n_words': 112}