<commit_before>App.PartnerController = Em.ObjectController.extend({});


App.CheetahQuizController = Em.Controller.extend({

    questionOne: null,
    questionTwo: null,
    questionThree: null,

    questionOnePassed: Em.computed.equal('questionOne', 'yes'),
    questionOneFailed: Em.computed.equal('questionOne', 'no'),

    questionTwoPassed: function(){
        var answer = this.get('questionTwo'),
            removeComma, newAnswer;

        if (!answer) return false;
        removeComma = answer.split(','[0]);
        newAnswer = removeComma[0].replace('.', '');
        
        return (newAnswer <= 20000);
    }.property('questionTwo'),
    questionTwoFailed: Em.computed.gt('questionTwo', 20000),

    questionThreePassed: Em.computed.equal('questionThree', 'yes'),
    questionThreeFailed: Em.computed.equal('questionThree', 'no'),

    actions: {
        answer: function(question, value){
            this.set(question, value);
        }
    }
});<commit_msg>Update controllers.js<commit_after>App.PartnerController = Em.ObjectController.extend({});


App.CheetahQuizController = Em.Controller.extend({

    questionOne: null,
    questionTwo: null,
    questionThree: null,

    questionOnePassed: Em.computed.equal('questionOne', 'yes'),
    questionOneFailed: Em.computed.equal('questionOne', 'no'),
    questionTwoFailed: Em.computed.gt('questionTwo', 20000),
    questionThreePassed: Em.computed.equal('questionThree', 'yes'),
    questionThreeFailed: Em.computed.equal('questionThree', 'no'),

    questionTwoPassed: function(){
        var answer = this.get('questionTwo'),
            removeComma, newAnswer;

        if (!answer) return false;
        removeComma = answer.split(','[0]);
        newAnswer = removeComma[0].replace('.', '');
        
        return (newAnswer <= 20000);
    }.property('questionTwo'),

    actions: {
        answer: function(question, value){
            this.set(question, value);
        }
    }
});
{'fraction_non_alphanumeric': 0.14926133469179828, 'fraction_numerical': 0.012226184411614875, 'mean_word_length': 3.307017543859649, 'pattern_counts': {'":': 0, '<': 5, '<?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': '3399508', 'n_tokens_mistral': 600, 'n_tokens_neox': 561, 'n_words': 101}