<commit_before>#!/bin/bash

HOST_IP=`/sbin/ip route|awk '/default/ { print $3 }'`
COMPLETED=`cat /root/.config/git-it/completed.json || echo []`
MID=`hostname`
NAME=`git config --global user.name || hostname`

curl \
--data-urlencode "completed=${COMPLETED}" \
--data-urlencode "mid=${MID}" \
--data-urlencode "name=${NAME}" \
$HOST_IP/debug.php
<commit_msg>use link to link client and scoreboard together<commit_after>#!/bin/bash

COMPLETED=`cat /root/.config/git-it/completed.json || echo []`
MID=`hostname`
NAME=`git config --global user.name || hostname`

curl \
--data-urlencode "completed=${COMPLETED}" \
--data-urlencode "mid=${MID}" \
--data-urlencode "name=${NAME}" \
http://scoreboard/completed/update

{'fraction_non_alphanumeric': 0.20646067415730338, 'fraction_numerical': 0.0014044943820224719, 'mean_word_length': 4.5271317829457365, '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': '6586388', 'n_tokens_mistral': 268, 'n_tokens_neox': 255, 'n_words': 48}