<commit_before>"use strict";

import taxTable from './taxRefundTable.js';

const eicCalculator = function(income, numberParents, numberChildren){
  //Initially determine the eligibility based on marital status, number of children, and income.
  //This saves us from iterating through the IRS tax table for non-eligible candidates.
  let eligibility = function(income, numberParents, numberChildren){
    if(income < 1){
      return false;
    }
    if(numberParents === 1 && numberChildren === 0){
      if(income < 14820){
        return true;
      } else {
        return false;
      }
    }

    if(numberParents === 2 && numberChildren === 0){
      if(income < 20330) {
        return true;
      } else {
        return false;
      }
    }

    if(numberParents === 1 && numberChildren === 1){
      if(income < 39131) {
        return true;
      } else {
        return false;
      }
    }

    if(numberParents === 2 && numberChildren === 1){
      if(income < 44651) {
        return true;
      } else {
        return false;
      }
    }

    if(numberParents === 1 && numberChildren === 2){
      if(income < 44454) {
        return true;
      } else {
        return false;
      }
    }

    if(numberParents === 2 && numberChildren === 2){
      if(income < 49974) {
        return true;
      } else {
        return false;
      }
    }

    if(numberParents === 1 && numberChildren > 2){
      if(income < 47747) {
        return true;
      } else {
        return false;
      }
    }

    if(numberParents >= 2 && numberChildren > 2){
      if(income < 53267) {
        return true;
      } else {
        return false;
      }
    } else {<commit_msg>Fix tax problem for real this time<commit_after>"use strict";

import taxTable from './taxRefundTable.js';

const eicCalculator = function(income, numberParents, numberChildren){
  //Initially determine the eligibility based on marital status, number of children, and income.
  //This saves us from iterating through the IRS tax table for non-eligible candidates.
  let eligibility = function(income, numberParents, numberChildren){
    console.log(numberParents);
    if(income < 1){
      return false;
    }
    if(numberParents === 1 && numberChildren === 0){
      if(income < 14820){
        return true;
      } else {
        return false;
      }
    }

    if(numberParents >= 2 && numberChildren === 0){
      if(income < 20330) {
        return true;
      } else {
        return false;
      }
    }

    if(numberParents === 1 && numberChildren === 1){
      if(income < 39131) {
        return true;
      } else {
        return false;
      }
    }

    if(numberParents >= 2 && numberChildren === 1){
      if(income < 44651) {
        return true;
      } else {
        return false;
      }
    }

    if(numberParents === 1 && numberChildren === 2){
      if(income < 44454) {
        return true;
      } else {
        return false;
      }
    }

    if(numberParents >= 2 && numberChildren === 2){
      if(income < 49974) {
        return true;
      } else {
        return false;
      }
    }

    if(numberParents === 1 && numberChildren > 2){
      if(income < 47747) {
        return true;
      } else {
        return false;
      }
    }

    if(numberParents >= 2 && numberChildren > 2){
      if(income < 53267) {
        return true;
      } else {
        return false;
      }
    } else {
{'fraction_non_alphanumeric': 0.11928487690504103, 'fraction_numerical': 0.03341148886283705, 'mean_word_length': 1.8850380388841927, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 12, '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': '1351311', 'n_tokens_mistral': 1137, 'n_tokens_neox': 986, 'n_words': 277}