<commit_before>(function(env) {
    "use strict";
    
    // A change in the Rotten Tomatoes API returns images that end in _tmb.
    // This changes this to _det.
    function toDetail(img) {
        return img.replace(/tmb\.(jpg|png)/, "det.$1");
    }
    
    function get_image(critics_rating) {
        // The filename is the same as the critics_rating, but
        // lowercased and with spaces converted to dashes.
        critics_rating = critics_rating.toLowerCase().replace(/ /, '-');
        if(is_retina) {
            return DDG.get_asset_path('in_theaters', critics_rating + '.retina.png');<commit_msg>added critics_rating check<commit_after>(function(env) {
    "use strict";
    
    // A change in the Rotten Tomatoes API returns images that end in _tmb.
    // This changes this to _det.
    function toDetail(img) {
        return img.replace(/tmb\.(jpg|png)/, "det.$1");
    }
    
    function get_image(critics_rating) {
        if(!critics_rating) {
            return;
        }
        // The filename is the same as the critics_rating, but
        // lowercased and with spaces converted to dashes.
        critics_rating = critics_rating.toLowerCase().replace(/ /, '-');
        if(is_retina) {
            return DDG.get_asset_path('in_theaters', critics_rating + '.retina.png');
{'fraction_non_alphanumeric': 0.11764705882352941, 'fraction_numerical': 0.0015278838808250573, 'mean_word_length': 2.4203655352480418, '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': '6330184', 'n_tokens_mistral': 392, 'n_tokens_neox': 395, 'n_words': 105}