<commit_before>#!/bin/bash

if [ $# -ne 4 ]; then
  echo 'Set the github build status for a commit (this includes the commit'\''s pull request)'.
  echo "Usage: $0 <sha> <status> <tartget_url> <description>"
  exit 1
fi

echo "https://api.github.com/repos/Factlink/core/statuses/$1"

curl -v -H 'Authorization: token <PASSWORD>' \
  "https://api.github.com/repos/Factlink/core/statuses/$1" \
  -d "{\"state\":\"$2\",\"target_url\":\"$3\",\"description\":\"$4\"}"
<commit_msg>Less verbose logging in github status pusher.<commit_after>#!/bin/bash

if [ $# -ne 4 ]; then
  echo 'Set the github build status for a commit (this includes the commit'\''s pull request)'.
  echo "Usage: $0 <sha> <status> <tartget_url> <description>"
  exit 1
fi

echo "https://api.github.com/repos/Factlink/core/statuses/$1"

curl -H 'Authorization: token <PASSWORD>' \
  "https://api.github.com/repos/Factlink/core/statuses/$1" \
  -d "{\"state\":\"$2\",\"target_url\":\"$3\",\"description\":\"$4\"}"

{'fraction_non_alphanumeric': 0.21654749744637386, 'fraction_numerical': 0.01634320735444331, 'mean_word_length': 3.803921568627451, 'pattern_counts': {'":': 6, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 4, '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': '7626853', 'n_tokens_mistral': 370, 'n_tokens_neox': 357, 'n_words': 87}