<commit_before>#!/bin/bash
# --booktype="draft-report"
# Front and back matter are minimized, candidate sentences for executive
# summary are provided."

# 1. create any unique parts of the book  that are needed
# 2. concatenates them and deliver complete.md to builder.

# tweak pp_summary to create Executive_summary


summary_length="5"
echo "creating executive summary"
"$PYTHON_BIN" bin/PKsum-clean.py -l "$summary_length" -o "$TMPDIR$uuid/exec_summary.txt" "$TMPDIR$uuid/clean_summary.txt"

echo By "$editedby" >> "$TMPDIR$uuid/titletop.md"
echo " " >> "$TMPDIR$uuid/titletop.md"

echo "# EXECUTIVE SUMMARY" >> "$TMPDIR$uuid/executive_summary.md"
echo "  " >> "$TMPDIR$uuid/executive_summary.md"
cat "$TMPDIR$uuid/exec_summary.txt" >> "$TMPDIR$uuid/executive_summary.md"

cat \
"$TMPDIR$uuid/titletop.md" \
"$TMPDIR$uuid/executive_summary.md" \
"$TMPDIR$uuid/add_this_content.md" \
"$TMPDIR$uuid/chapters.md" \
"$TMPDIR$uuid/content_collections/content_collections_results.md" \
"$TMPDIR$uuid/googler.md" \
"$TMPDIR$uuid/googler-news.md" \
"$TMPDIR$uuid/sorted_uniqs.md" \<commit_msg>changes EXEC SUMMARY ... to Candidates<commit_after>#!/bin/bash
# --booktype="draft-report"
# Front and back matter are minimized, candidate sentences for executive
# summary are provided."

# 1. create any unique parts of the book  that are needed
# 2. concatenates them and deliver complete.md to builder.

# tweak pp_summary to create Executive_summary


summary_length="5"
echo "creating executive summary"
"$PYTHON_BIN" bin/PKsum-clean.py -l "$summary_length" -o "$TMPDIR$uuid/exec_summary.txt" "$TMPDIR$uuid/clean_summary.txt"

echo By "$editedby" >> "$TMPDIR$uuid/titletop.md"
echo " " >> "$TMPDIR$uuid/titletop.md"

echo "# Candidate Sentences for Executive Summary" >> "$TMPDIR$uuid/executive_summary.md"
echo "  " >> "$TMPDIR$uuid/executive_summary.md"
cat "$TMPDIR$uuid/exec_summary.txt" >> "$TMPDIR$uuid/executive_summary.md"

cat \
"$TMPDIR$uuid/titletop.md" \
"$TMPDIR$uuid/executive_summary.md" \
"$TMPDIR$uuid/add_this_content.md" \
"$TMPDIR$uuid/chapters.md" \
"$TMPDIR$uuid/content_collections/content_collections_results.md" \
"$TMPDIR$uuid/googler.md" \
"$TMPDIR$uuid/googler-news.md" \
"$TMPDIR$uuid/sorted_uniqs.md" \
{'fraction_non_alphanumeric': 0.15298340062808435, 'fraction_numerical': 0.0026917900403768506, 'mean_word_length': 5.482558139534884, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 23, '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': '950477', 'n_tokens_mistral': 831, 'n_tokens_neox': 832, 'n_words': 157}