<commit_before>#!/bin/bash

function getNormalProblemIds {
    ls problem-* | cut -d . -f1 | cut -d- -f2
}

function getJavaProblemIds {
    ls src/euler/Problem*.java | cut -d. -f1 | cut -dm -f2
}

function getAllProblemIds {
    getNormalProblemIds
    getJavaProblemIds
}

function getProblemIds {
    getAllProblemIds | sort -n | uniq
}

function listProblems {
    for i in $(getProblemIds); do
	for j in c py scala; do
	    find . -name "problem-$i.$j"
	    find . -name "problem-$i-*.$j"
	done
	find ./src -name "Problem$i.java"
    done
}

listProblems<commit_msg>Update list-problems.sh<commit_after>#!/bin/bash

find solutions -iname "problem*.c"
find solutions -iname "problem*.java"
find solutions -iname "problem*.py"
find solutions -iname "problem*.ipynb" | grep -v checkpoint
{'fraction_non_alphanumeric': 0.1291139240506329, 'fraction_numerical': 0.005063291139240506, 'mean_word_length': 3.163157894736842, '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': '7439203', 'n_tokens_mistral': 310, 'n_tokens_neox': 279, 'n_words': 78}