<commit_before># This is a basic workflow to help you get started with Actions

name: CI

# Controls when the action will run.
on:
  # Triggers the workflow on push or pull request events but only for the master branch
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

  # Allows you to run this workflow manually from the Actions tab
  workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
  ## Reuse sparta to check non-go-rules files that are still
  ## structured yamldown/frontmatter.
  validation_other:
    # The type of runner that the job will run on
    runs-on: ubuntu-latest
    container: geneontology/dev-base:latest

    # Steps represent a sequence of tasks that will be executed as part of the job
    steps:
      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
      - uses: actions/checkout@v2
      # - name: Run ontology QC checks
      #   run: cd src/ontology; make -j 4 ROBOT_ENV='ROBOT_JAVA_ARGS=-Xmx6G' travis_test
      - name: Info
        run: whoami
      - name: Prep 0
        run: apt-get -u install mmv
      - name: Prep 1
        run: mkdir -p /tmp/foo && mcp 'metadata/gorefs/goref-0000*' '/tmp/foo/gorule-0000#1'
      - name: Run SPARTA
        run: sparta valid --rules /tmp/foo/ --schema metadata/gorefs.schema.yaml
      - name: Prep 2
        run: pip3 install -r pipeline/requirements.txt && ./scripts/rule-example-validation.sh
<commit_msg>iteration for #1590<commit_after># This is a basic workflow to help you get started with Actions

name: CI

# Controls when the action will run.
on:
  # Triggers the workflow on push or pull request events but only for the master branch
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

  # Allows you to run this workflow manually from the Actions tab
  workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
  ## Reuse sparta to check non-go-rules files that are still
  ## structured yamldown/frontmatter.
  validation_other:
    # The type of runner that the job will run on
    runs-on: ubuntu-latest
    container: geneontology/dev-base:latest

    # Steps represent a sequence of tasks that will be executed as part of the job
    steps:
      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
      - uses: actions/checkout@v2
      - name: Info 0
        run: whoami
      - name: Prep 0
        run: apt-get -u install mmv
      - name: Prep 1
        run: mkdir -p /tmp/foo && mcp 'metadata/gorefs/goref-0000*' '/tmp/foo/gorule-0000#1'
      - name: Info 0
        run: ls -AlF; pwd
      - name: Run SPARTA
        run: sparta valid --rules /tmp/foo/ --schema metadata/gorefs.schema.yaml
      - name: Prep 2
        run: pip3 install -r pipeline/requirements.txt && ./scripts/rule-example-validation.sh

{'fraction_non_alphanumeric': 0.07734241908006814, 'fraction_numerical': 0.012265758091993186, 'mean_word_length': 2.6608478802992517, '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': '2192185', 'n_tokens_mistral': 948, 'n_tokens_neox': 891, 'n_words': 363}