<commit_before>
//  QuotesDatabase.swift

import Foundation

class QuotesDatabase {
    static let sharedInstance = QuotesDatabase()

    // TODO: dictionary ipv. array, keyen op record-id  34 -> Quote("Aap", "Noot")

    var quotes = [
        Quote("Zenyatta", "Repetition is the path to mastery."),
        Quote("<NAME>", "A creative man is motivated by the desire to achieve, not by the desire to beat others."),
        Quote("<NAME>", "The smallest minority on earth is the individual. Those who deny individual rights cannot claim to be defenders of minorities."),
        /*
        ("<NAME>", "Everything should be made as simple as possible, but not simpler."),
        ("Artistotle", "Pleasure in the job puts perfection in the work."),
        ("<NAME>", "Imagination is more important than knowledge."),
        ("<NAME>", "Wealth is the product of man's capacity to think."),
        ("<NAME>", "Throughout the centuries there were men who took first steps, down new roads, armed with nothing but their own vision."),
        ("Zenyatta", "Overconfidence is a flimsy shield."),
        ("<NAME>", "Great spirits have always encountered violent opposition from mediocre minds."),
        ("Zenyatta", "One cannot survive on strength alone."),
        ("Artistotle", "No great genius has ever existed without some touch of madness."),
        ("Artistotle", "We are what we repeatedly do. Excellence, then, is not an act, but a habit."),
        ("Zenyatta", "True self is without form."),
        ("Artistotle", "All men by nature desire knowledge."),
        ("<NAME>", "Money is only a tool. It will take you wherever you wish, but it will not replace you as the driver."),
        ("Zenyatta", "Even the teacher can learn from his student."),
        ("Zenyatta", "Adversity is an opportunity for change."),
        ("<NAME>", "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe."),
        ("Zenyatta", "You are your own worst enemy."),
        ("Zenyatta", "Pain is an excellent teacher."),
        ("Zenyatta", "Consider only victory. Make defeat an impossibility in your mind."),
        ("<NAME>", "Anyone who has never made a mistake has never tried anything new."),
        ("Zenyatta", "If you do not bend... you break."),
        ("Artistotle", "It is the mark of an educated mind to be able to entertain a thought without accepting it."),
        */
        ]

    func quoteCount() -> Int {
        return quotes.count
        }
<commit_msg>Put quotes into objects instead of tuples<commit_after>
//  QuotesDatabase.swift

import Foundation

class QuotesDatabase {
    static let sharedInstance = QuotesDatabase()

    // TODO: dictionary ipv. array, keyen op record-id  34 -> Quote("Aap", "Noot")

    var quotes = [
        Quote("Zenyatta", "Repetition is the path to mastery."),
        Quote("<NAME>", "A creative man is motivated by the desire to achieve, not by the desire to beat others."),
        Quote("<NAME>", "The smallest minority on earth is the individual. Those who deny individual rights cannot claim to be defenders of minorities."),
        Quote("<NAME>", "Everything should be made as simple as possible, but not simpler."),
        Quote("Artistotle", "Pleasure in the job puts perfection in the work."),
        Quote("<NAME>", "Imagination is more important than knowledge."),
        Quote("<NAME>", "Wealth is the product of man's capacity to think."),
        Quote("<NAME>", "Throughout the centuries there were men who took first steps, down new roads, armed with nothing but their own vision."),
        Quote("Zenyatta", "Overconfidence is a flimsy shield."),
        Quote("<NAME>", "Great spirits have always encountered violent opposition from mediocre minds."),
        Quote("Zenyatta", "One cannot survive on strength alone."),
        Quote("Artistotle", "No great genius has ever existed without some touch of madness."),
        Quote("Artistotle", "We are what we repeatedly do. Excellence, then, is not an act, but a habit."),
        Quote("Zenyatta", "True self is without form."),
        Quote("Artistotle", "All men by nature desire knowledge."),
        Quote("<NAME>", "Money is only a tool. It will take you wherever you wish, but it will not replace you as the driver."),
        Quote("Zenyatta", "Even the teacher can learn from his student."),
        Quote("Zenyatta", "Adversity is an opportunity for change."),
        Quote("<NAME>", "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe."),
        Quote("Zenyatta", "You are your own worst enemy."),
        Quote("Zenyatta", "Pain is an excellent teacher."),
        Quote("Zenyatta", "Consider only victory. Make defeat an impossibility in your mind."),
        Quote("<NAME>", "Anyone who has never made a mistake has never tried anything new."),
        Quote("Zenyatta", "If you do not bend... you break."),
        Quote("Artistotle", "It is the mark of an educated mind to be able to entertain a thought without accepting it."),
        ]

    func quoteCount() -> Int {
        return quotes.count
        }

{'fraction_non_alphanumeric': 0.11707506806690005, 'fraction_numerical': 0.0007779074290159471, 'mean_word_length': 3.0785091197462333, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 27, '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': '3824450', 'n_tokens_mistral': 1378, 'n_tokens_neox': 1305, 'n_words': 644}