<commit_before>;;;; local-settings.lisp
; 
; Local settings that should not be included in the public source distribution
; go in this file.
;
; local-settings-template.lisp:
;
; A blank version of local-settings for public distribution. Copy to 
; local-settings.lisp and fill out before running warflagger.
;
;;;;

(defpackage :wf/local-settings
  (:use #:cl)
  (:export
   #:*base-url*
   #:*cache-path*
   #:*text-extractor-script*
   #:*db-connect-type*
   #:*db-connect-spec*
   #:*warstats-path*
   #:*production*))

(in-package :wf/local-settings)

(defparameter *base-url* "")
(defparameter *cache-path* "")
(defparameter *text-extractor-script* "")
(defparameter *db-connect-type* nil)
(defparameter *db-connect-spec* nil)
(defparameter *warstats-path* "")

(defparameter *production* nil)

(pushnew #p"" webhax:*named-text-locations*)<commit_msg>Added setting for test db<commit_after>;;;; local-settings.lisp
; 
; Local settings that should not be included in the public source distribution
; go in this file.
;
; local-settings-template.lisp:
;
; A blank version of local-settings for public distribution. Copy to 
; local-settings.lisp and fill out before running warflagger.
;
;;;;

(defpackage :wf/local-settings
  (:use #:cl)
  (:export
   #:*base-url*
   #:*cache-path*
   #:*text-extractor-script*
   #:*db-connect-type*
   #:*db-connect-spec*
   #:*test-db-connect-spec*
   #:*warstats-path*
   #:*production*))

(in-package :wf/local-settings)

(defparameter *base-url* "")
(defparameter *cache-path* "")
(defparameter *text-extractor-script* "")
(defparameter *db-connect-type* nil)
(defparameter *db-connect-spec* nil)
(defparameter *test-db-connect-spec* nil)
(defparameter *warstats-path* "")

(defparameter *production* nil)

(pushnew #p"" webhax:*named-text-locations*)
{'fraction_non_alphanumeric': 0.16703786191536749, 'fraction_numerical': 0.0, 'mean_word_length': 4.615625, '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': '7298585', 'n_tokens_mistral': 624, 'n_tokens_neox': 609, 'n_words': 147}