<commit_before>#!/bin/sh

seeds_file=https://raw.githubusercontent.com/bitshares/bitshares-core/master/libraries/egenesis/seed-nodes.txt
<commit_msg>Update check_bts_seeds.sh, add a branch parameter<commit_after>#!/bin/bash

BRANCH=master
if [ -n "$1" ]; then
  BRANCH=$1
fi

if [ "${BRANCH}" == "testnet" ]; then
  seeds_file=https://raw.githubusercontent.com/bitshares/bitshares-core/${BRANCH}/libraries/egenesis/seed-nodes-testnet.txt
else
  seeds_file=https://raw.githubusercontent.com/bitshares/bitshares-core/${BRANCH}/libraries/egenesis/seed-nodes.txt
fi

{'fraction_non_alphanumeric': 0.1601423487544484, 'fraction_numerical': 0.0035587188612099642, 'mean_word_length': 5.7023809523809526, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, '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': '7442084', 'n_tokens_mistral': 217, 'n_tokens_neox': 217, 'n_words': 23}