<commit_before>﻿@using System
@{
    throw new ApplicationException("Doh!");
}<commit_msg>More variety of errors<commit_after>﻿@using System
@{
    var r = new Random();
    var messages = new[] { "Crash", "Boom", "Bang" };
    var throwers = new[]
    {
        new Action(() => { throw new Exception(messages[r.Next(3)] + "!"); }),
        () => { throw new OutOfMemoryException(messages[r.Next(3)] + "!"); },
        () => { throw new NullReferenceException(messages[r.Next(3)] + "!"); },
        () => { throw new ArgumentNullException(messages[r.Next(3)] + "!"); },
    };

    throwers[r.Next(throwers.Length)]();
}
{'fraction_non_alphanumeric': 0.214170692431562, 'fraction_numerical': 0.00644122383252818, 'mean_word_length': 3.5072463768115942, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '3861480', 'n_tokens_mistral': 198, 'n_tokens_neox': 196, 'n_words': 38}