#!/bin/bash
# Re-runs the measurements of the YouTube title and description length guide.
# Needs Python 3 and (for the counter run) Node.js with Playwright. Usage: bash test-run.sh <folder with these files>
cd "$1" || exit 2
python3 measure.py > test-results.txt
echo >> test-results.txt; echo "=== Koldflux Word counter run ===" >> test-results.txt
node wc-run.cjs samples.json >> test-results.txt
bash commands-run.sh "$PWD"
