<commit_before>#+SETUPFILE: setup.org

* The thing-geom Library of Babel

This file contains shared and configurable code templates for various
protocol implementations, which only require minor changes for
different types.

Some types also make use of more type specific templates, however
these are defined in their own =.org= files. The template names
defined here are all using the prefix =lob= to clearly differentiate
them from other templates.

** Master template builder
#+NAME: lob-geom-tpl
#+BEGIN_SRC emacs-lisp :var bindings=nil :var src=""
  (reduce
   (lambda (acc p)
     (replace-regexp-in-string
      (concat "{{" (car p) "}}") (car (cdr p)) acc))
   bindings :initial-value src)
#+END_SRC
<commit_msg>add zero PArea template to LOB<commit_after>#+SETUPFILE: setup.org

* The thing-geom Library of Babel

This file contains shared and configurable code templates for various
protocol implementations, which only require minor changes for
different types.

Some types also make use of more type specific templates, however
these are defined in their own =.org= files. The template names
defined here are all using the prefix =lob= to clearly differentiate
them from other templates.

** Master template builder
#+NAME: lob-geom-tpl
#+BEGIN_SRC emacs-lisp :var bindings=nil :var src=""
  (reduce
   (lambda (acc p)
     (replace-regexp-in-string
      (concat "{{" (car p) "}}") (car (cdr p)) acc))
   bindings :initial-value src)
#+END_SRC

** PArea (zero)
#+NAME: lob-geom-zeroarea
#+BEGIN_SRC clojure
  g/PArea
  (area [_] 0.0)
#+END_SRC
{'fraction_non_alphanumeric': 0.09704370179948586, 'fraction_numerical': 0.0012853470437017994, 'mean_word_length': 4.40625, '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': '6506072', 'n_tokens_mistral': 489, 'n_tokens_neox': 473, 'n_words': 197}