<commit_before>#!/bin/bash

PROG=/Cosette/dsl/dist/build/RosetteCodeGen/RosetteCodeGen
NAME=Cosette

BUILD=generated

FILE="$1"

UUID=$(head /dev/urandom | tr -dc A-Za-z | head -c 13 )


mkdir -p rosette/$BUILD
mkdir -p .compiled/

cat $FILE | $PROG > rosette/$BUILD/$UUID.rkt
cp rosette/$BUILD/$UUID.rkt .compiled/
cd rosette
racket server.rkt $BUILD/$UUID.rkt<commit_msg>echo rkt file name<commit_after>#!/bin/bash

PROG=/Cosette/dsl/dist/build/RosetteCodeGen/RosetteCodeGen
NAME=Cosette

BUILD=generated

FILE="$1"

UUID=$(head /dev/urandom | tr -dc A-Za-z | head -c 13 )


mkdir -p rosette/$BUILD
mkdir -p .compiled/

cat $FILE | $PROG > rosette/$BUILD/$UUID.rkt
cp rosette/$BUILD/$UUID.rkt .compiled/
cd rosette
echo "$UUID.rkt"
racket server.rkt $BUILD/$UUID.rkt
{'fraction_non_alphanumeric': 0.15885416666666666, 'fraction_numerical': 0.0078125, 'mean_word_length': 4.0927152317880795, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '4178965', 'n_tokens_mistral': 341, 'n_tokens_neox': 319, 'n_words': 66}