<commit_before>extends base
block nav
    +navbar("home")

block content
    div.container
        //- Sort the two arrays
        - openLoc.sort(function (a,b) { return (a.closeDate) - (b.closeDate); });
        - closedLoc.sort(function (a,b) { return (a.closeDate) - (b.closeDate); });

        // infobar
        if (openLoc.length == 0)
            .row.recommendation
                .span4.offset4
                    h3 Looks like nothing on campus is open :(
        else
            .row.recommendation
                .span4.offset4
                    - var randChoice = openLoc[Math.floor(Math.random() * openLoc.length)];
                        h3 Can't make up your mind?  CMU Eats thinks you should eat at
                        h1= randChoice.name
                        p= randChoice.location
                        p.closeTime(closeDate=randChoice.closeDate)  

        // open locations
        - for (var i = 0; i < openLoc.length; i += 3)
            .row 
                if (i < openLoc.length)
                    -var loc = openLoc[i];
                    .col-lg-4.open_restaurant
                        h2= loc.name 
                        p= loc.location
                        p.closeTime(closeDate=loc.closeDate)  

                if (i + 1 < openLoc.length)
                    -var loc = openLoc[i + 1];
                    .col-lg-4.open_restaurant
                        h2= loc.name 
                        p= loc.location
                        p.closeTime(closeDate=loc.closeDate)  
            
                if (i + 2 < openLoc.length)
                    -var loc = openLoc[i + 2];
                    .col-lg-4.open_restaurant
                        h2= loc.name 
                        p= loc.location
                        p.closeTime(closeDate=loc.closeDate)  
        
        // closed locations
        - for (var i = 0; i < closedLoc.length; i += 3)
            .row 
                if (i < closedLoc.length)
                    -var loc = closedLoc[i];
                    .col-lg-4.closed_restaurant
                        h2= loc.name 
                        p= loc.location<commit_msg>Still trying.<commit_after>extends base
block nav
    +navbar("home")

block content
    div.container
        //- Sort the two arrays
        - openLoc.sort(function (a,b) { return (a.closeDate) - (b.closeDate); });
        - closedLoc.sort(function (a,b) { return (a.closeDate) - (b.closeDate); });

        // infobar
        if (openLoc.length == 0)
            .row.recommendation
                .span4.offset4
                    h3 Looks like nothing on campus is open :(
        else
            .row.recommendation
                .span4.offset4
                    - var randChoice = openLoc[Math.floor(Math.random() * openLoc.length)];
                        h3 Can't make up your mind?  CMU Eats thinks you should eat at
                        h1= randChoice.name
                        p= randChoice.location
                        p.closeTime(closeDate=randChoice.closeDate)  

        // open locations
        - for (var i = 0; i < openLoc.length; i += 3)
            .row
                if (i < openLoc.length)
                    -var loc = openLoc[i];
                    .col-lg-4.open_restaurant
                        h2= loc.name 
                        p= loc.location
                        p.closeTime(closeDate=loc.closeDate)  

                if (i + 1 < openLoc.length)
                    -var loc = openLoc[i + 1];
                    .col-lg-4.open_restaurant
                        h2= loc.name 
                        p= loc.location
                        p.closeTime(closeDate=loc.closeDate)  
            
                if (i + 2 < openLoc.length)
                    -var loc = openLoc[i + 2];
                    .col-lg-4.open_restaurant
                        h2= loc.name 
                        p= loc.location
                        p.closeTime(closeDate=loc.closeDate)  
        
        // closed locations
        - for (var i = 0; i < closedLoc.length; i += 3)
            .row 
                if (i < closedLoc.length)
                    -var loc = closedLoc[i];
                    .col-lg-4.closed_restaurant
                        h2= loc.name 
                        p= loc.location
{'fraction_non_alphanumeric': 0.09385863267670916, 'fraction_numerical': 0.011123986095017382, 'mean_word_length': 0.9889400921658986, 'pattern_counts': {'":': 0, '<': 15, '<?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': '3169867', 'n_tokens_mistral': 1242, 'n_tokens_neox': 1121, 'n_words': 268}