<commit_before>;;  -*- lexical-binding: t -*-
;;
;; Copyright (c) 2017 Microsoft Corporation. All rights reserved.
;; Released under Apache 2.0 license as described in the file LICENSE.
;;
;; Author: <NAME>
;;

(defun lean-diff-test-file ()
  "Use interactive ./test_input.sh on file of current buffer"
  (interactive)
  (message (shell-command-to-string (format "yes | ./test_single.sh \"%s\" \"%s\" yes"
                                            (lean-get-executable "lean")
                                            (buffer-name)))))

(provide 'lean-dev)
<commit_msg>chore(emacs/lean-dev): fix lean-diff-test-file<commit_after>;;  -*- lexical-binding: t -*-
;;
;; Copyright (c) 2017 Microsoft Corporation. All rights reserved.
;; Released under Apache 2.0 license as described in the file LICENSE.
;;
;; Author: <NAME>
;;

(defun lean-diff-test-file ()
  "Use interactive ./test_input.sh on file of current buffer"
  (interactive)
  (message (shell-command-to-string (format "yes | ./test_single.sh \"%s\" \"%s\" yes"
                                            (lean-get-executable "lean")
                                            (buffer-file-name)))))

(provide 'lean-dev)

{'fraction_non_alphanumeric': 0.15261382799325462, 'fraction_numerical': 0.01011804384485666, 'mean_word_length': 2.1485411140583555, 'pattern_counts': {'":': 0, '<': 5, '<?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': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3475751', 'n_tokens_mistral': 352, 'n_tokens_neox': 346, 'n_words': 98}