<commit_before>(in-package :sykobot)

(defun get-ks-timestamp (&key (zone 0) (time (get-universal-time)))
  (multiple-value-call #'build-string
    "~3$ ks in GMT~@D" (get-ks-time :zone zone :time time)))

(defmacro with-decoded-time (time zone &body body)
  `(multiple-value-bind
         (seconds minutes hours date month year day light timezone)
       (decode-universal-time ,time ,zone)
     (declare (ignore seconds minutes hours date
                      month year day light timezone))
     ,@body))

(defun get-boring-timestamp (&key (zone 0) (time (get-universal-time)))
  (with-decoded-time time zone
    (build-string "~2D:~2D:~2D in GMT~@D" hours minutes seconds
                  (- (mod (+ 11 zone) 24) 11))))

(defun get-datestamp (&key (zone 0) (time (get-universal-time)))
  (with-decoded-time time zone
    (build-string "~[Mon~;Tue~;Wed~;Thu~;Fri~;Sat~;Sun~], ~
                   ~[Jan~;Feb~;Mar~;Apr~;May~;Jun~;Jul~;Aug~;Sep~;Oct~;Nov~;Dec~] ~
                   ~D~[th~;st~;nd~;rd~:;th~], ~D"
                  day (1+ month) date (mod date 10) year)))

(defun get-ks-time (&key (zone 0) (time (get-universal-time)))
  (let ((zone (- (mod (+ 11 zone) 24) 11)))
    (values (with-decoded-time time zone<commit_msg>Declared them ignorable, not ignored.<commit_after>(in-package :sykobot)

(defun get-ks-timestamp (&key (zone 0) (time (get-universal-time)))
  (multiple-value-call #'build-string
    "~3$ ks in GMT~@D" (get-ks-time :zone zone :time time)))

(defmacro with-decoded-time (time zone &body body)
  `(multiple-value-bind
         (seconds minutes hours date month year day light timezone)
       (decode-universal-time ,time ,zone)
     (declare (ignorable seconds minutes hours date
			 month year day light timezone))
     ,@body))

(defun get-boring-timestamp (&key (zone 0) (time (get-universal-time)))
  (with-decoded-time time zone
    (build-string "~2D:~2D:~2D in GMT~@D" hours minutes seconds
                  (- (mod (+ 11 zone) 24) 11))))

(defun get-datestamp (&key (zone 0) (time (get-universal-time)))
  (with-decoded-time time zone
    (build-string "~[Mon~;Tue~;Wed~;Thu~;Fri~;Sat~;Sun~], ~
                   ~[Jan~;Feb~;Mar~;Apr~;May~;Jun~;Jul~;Aug~;Sep~;Oct~;Nov~;Dec~] ~
                   ~D~[th~;st~;nd~;rd~:;th~], ~D"
                  day (1+ month) date (mod date 10) year)))

(defun get-ks-time (&key (zone 0) (time (get-universal-time)))
  (let ((zone (- (mod (+ 11 zone) 24) 11)))
    (values (with-decoded-time time zone
{'fraction_non_alphanumeric': 0.18284333467579542, 'fraction_numerical': 0.01852597664115989, 'mean_word_length': 3.099009900990099, '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': '2980179', 'n_tokens_mistral': 974, 'n_tokens_neox': 883, 'n_words': 231}