Wage: US-SC Unemployment WAGE_US_SC_UNEMP python result = (contract.futa_type != contract.FUTA_TYPE_BASIC) code rate = payslip.dict.get_rate('US_SC_UNEMP') year = int(payslip.dict.date_to[:4]) ytd = payslip.sum('WAGE_US_SC_UNEMP', str(year) + '-01-01', str(year+1) + '-01-01') ytd += contract.external_wages remaining = rate.wage_limit_year - ytd if remaining <= 0.0: result = 0 elif remaining < categories.BASIC: result = remaining else: result = categories.BASIC ER: US-SC Unemployment ER_US_SC_UNEMP python result = (contract.futa_type != contract.FUTA_TYPE_BASIC) code rate = payslip.dict.get_rate('US_SC_UNEMP') result_rate = -rate.rate result = categories.WAGE_US_SC_UNEMP # result_rate of 0 implies 100% due to bug if result_rate == 0.0: result = 0.0 EE: US-SC Income Tax Withholding EE_US_SC_INC_WITHHOLD python result = True code result = categories.EE_US_FED_INC_WITHHOLD