<commit_before>package ru.dyatel.tsuschedule.parsing

import ru.dyatel.tsuschedule.util.Filter

class SubgroupFilter(private val subgroup: Int) : Filter<Lesson> {

    override fun accept(obj: Lesson?): Boolean =
            obj!!.subgroup == 0 || obj.subgroup == subgroup
<commit_msg>Use non-nullable Lesson type in SubgroupFilter<commit_after>package ru.dyatel.tsuschedule.parsing

import ru.dyatel.tsuschedule.util.Filter

class SubgroupFilter(private val subgroup: Int) : Filter<Lesson> {

    override fun accept(obj: Lesson): Boolean =
            obj.subgroup == 0 || obj.subgroup == subgroup

{'fraction_non_alphanumeric': 0.10666666666666667, 'fraction_numerical': 0.0033333333333333335, 'mean_word_length': 4.31858407079646, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '140177', 'n_tokens_mistral': 193, 'n_tokens_neox': 189, 'n_words': 43}