<commit_before>#!/bin/sh

COMMON_LISP=$1

LD_LIBRARY_PATH=.libs:$LD_LIBRARY_PATH $COMMON_LISP --script <<EOF


(unless (find-package :quicklisp)
  (let ((ql (find-if #'probe-file
                     (map 'list (lambda (setup) (merge-pathnames setup (user-homedir-pathname)))
                          '("quicklisp/setup.lisp" ".quicklisp/setup.lisp" "Quicklisp/setup.lisp")))))
    (cond
      (ql (load ql))
      ((not (find-package :asdf))
       (require :asdf)))))


(cond
  ((find-package :quicklisp)
   (ql:quickload :amino))
  (t (require :amino)))


(sb-ext:save-lisp-and-die "aarx.core" :executable t)
EOF
echo end<commit_msg>Detect build failure of aarx.core<commit_after>#!/bin/sh

COMMON_LISP=$1

LD_LIBRARY_PATH=.libs:$LD_LIBRARY_PATH exec $COMMON_LISP --script <<EOF


(unless (find-package :quicklisp)
  (let ((ql (find-if #'probe-file
                     (map 'list (lambda (setup) (merge-pathnames setup (user-homedir-pathname)))
                          '("quicklisp/setup.lisp" ".quicklisp/setup.lisp" "Quicklisp/setup.lisp")))))
    (cond
      (ql (load ql))
      ((not (find-package :asdf))
       (require :asdf)))))


(cond
  ((find-package :quicklisp)
   (ql:quickload :amino))
  (t (require :amino)))


(sb-ext:save-lisp-and-die "aarx.core" :executable t)
EOF
echo end
{'fraction_non_alphanumeric': 0.1716705157813703, 'fraction_numerical': 0.001539645881447267, 'mean_word_length': 3.024767801857585, 'pattern_counts': {'":': 0, '<': 7, '<?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': '1956041', 'n_tokens_mistral': 519, 'n_tokens_neox': 487, 'n_words': 98}