<commit_before>namespace Fenice {

public class TranscriptContainer : Object, Transcript {

    public Gee.Iterable<TranscriptEntry> objects;

    public TranscriptContainer(Gee.Iterable<TranscriptEntry> objects) {
        this.objects = objects;
    }

    public TranscriptContainer.empty() {
        this.objects = new Gee.ArrayList<TranscriptEntry>();
    }

    public TranscriptIterator iterator() {
        return new TranscriptContainerIterator(objects.iterator());
    }
}

public class TranscriptContainerIterator : Object, TranscriptIterator {

    private Gee.Iterator<TranscriptEntry> iterator;

    public TranscriptContainerIterator(Gee.Iterator<TranscriptEntry> iterator) {
        this.iterator = iterator;
    }

    public bool next() {
        return iterator.next();
    }

    public new TranscriptEntry get() {
        return iterator.get();
    }
}

}
<commit_msg>use empty Collection for empty TranscriptContainer<commit_after>namespace Fenice {

public class TranscriptContainer : Object, Transcript {

    public Gee.Iterable<TranscriptEntry> objects;

    public TranscriptContainer(Gee.Iterable<TranscriptEntry> objects) {
        this.objects = objects;
    }

    public TranscriptContainer.empty() {
        this.objects = Gee.Collection.empty<TranscriptEntry>();
    }

    public TranscriptIterator iterator() {
        return new TranscriptContainerIterator(objects.iterator());
    }
}

public class TranscriptContainerIterator : Object, TranscriptIterator {

    private Gee.Iterator<TranscriptEntry> iterator;

    public TranscriptContainerIterator(Gee.Iterator<TranscriptEntry> iterator) {
        this.iterator = iterator;
    }

    public bool next() {
        return iterator.next();
    }

    public new TranscriptEntry get() {
        return iterator.get();
    }
}

}

{'fraction_non_alphanumeric': 0.08865638766519823, 'fraction_numerical': 0.0, 'mean_word_length': 3.4753694581280787, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '1445990', 'n_tokens_mistral': 485, 'n_tokens_neox': 447, 'n_words': 104}