<commit_before>#!/bin/sh
set -e

image="${namespace:-minidocs}/pandoc"
versions="
2.3;2.3.1
2.4;2.4
2.5;2.5
2.6;2.6
latest;2.7
"

build() {
    docker build --pull --build-arg version="$2" -t "$image:$1" "$(dirname $0)"
}

case "$1" in
    --versions) echo "$versions" | awk 'NF' | cut -d';' -f1;;<commit_msg>[pandoc] Update to 2.7.1<commit_after>#!/bin/sh
set -e

image="${namespace:-minidocs}/pandoc"
versions="
2.3;2.3.1
2.4;2.4
2.5;2.5
2.6;2.6
2.7;2.7.1
latest;2.7.1
"

build() {
    docker build --pull --build-arg version="$2" -t "$image:$1" "$(dirname $0)"
}

case "$1" in
    --versions) echo "$versions" | awk 'NF' | cut -d';' -f1;;
{'fraction_non_alphanumeric': 0.26365054602184085, 'fraction_numerical': 0.08892355694227769, 'mean_word_length': 3.196078431372549, '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': '1823534', 'n_tokens_mistral': 315, 'n_tokens_neox': 302, 'n_words': 65}