<commit_before>local Device = require("device")

if not Device:isKindle() or
   (Device.model ~= "KindleVoyage" and Device.model ~= "KindleOasis") then
    return { disabled = true, }
end
<commit_msg>Auto frontlight plugin: Newer Oasis models are also supported (#9202)<commit_after>local Device = require("device")

if not Device:isKindle() or
   (Device.model ~= "KindleVoyage" and
    Device.model ~= "KindleOasis" and
    Device.model ~= "KindleOasis2" and
    Device.model ~= "KindleOasis3") then
    return { disabled = true, }
end

{'fraction_non_alphanumeric': 0.12639405204460966, 'fraction_numerical': 0.011152416356877323, 'mean_word_length': 4.5, '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': '4139616', 'n_tokens_mistral': 178, 'n_tokens_neox': 179, 'n_words': 49}