Check-in [cf7c406365]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Correct typo in comment.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:cf7c4063652351f3f965f2b892bf6165452971ec
User & Date: mrh 2016-12-02 23:00:46
Context
2017-02-28
14:34
Update GitHub links to OSPC Tax-Calculator and Benefit projects. Leaf check-in: 24e4f7783e user: mrh tags: trunk
2016-12-02
23:00
Correct typo in comment. check-in: cf7c406365 user: mrh tags: trunk
2016-12-01
20:55
Fix calculation of contribution_amount when magi is zero. check-in: 646bccbf0b user: mrh tags: trunk
Changes

Changes to acataxcredit.py.

259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
        # compute cap_fraction (i.e., the "applicable figure" on Form 8962):
        cap_fraction = self.cap_fraction(funit['year'], funit['id'], magi_pct)
        if emulating_kaiser:
            cap_fraction = kaiser_cap_fraction(funit, magi_pct)
        amts_dict['cap_fraction'] = cap_fraction
        # compute annual contribution amount as on Form 8962 line 8a:
        if cap_fraction > 1.0:
            contribution_amount = 9.9e99  # because ineligble for PTC
        else:
            contribution_amount = cap_fraction * magi
        amts_dict['contribution_amount'] = round(contribution_amount, 2)
        # compute second lowest cost Silver plan (SLCSP) premium:
        slcsp_premium = self._slcsp.family_premium(funit, cov_ind_list)
        amts_dict['slcsp_premium'] = round(slcsp_premium, 2)
        # married filing separate units are not generally eligible for PTC:







|







259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
        # compute cap_fraction (i.e., the "applicable figure" on Form 8962):
        cap_fraction = self.cap_fraction(funit['year'], funit['id'], magi_pct)
        if emulating_kaiser:
            cap_fraction = kaiser_cap_fraction(funit, magi_pct)
        amts_dict['cap_fraction'] = cap_fraction
        # compute annual contribution amount as on Form 8962 line 8a:
        if cap_fraction > 1.0:
            contribution_amount = 9.9e99  # because ineligible for PTC
        else:
            contribution_amount = cap_fraction * magi
        amts_dict['contribution_amount'] = round(contribution_amount, 2)
        # compute second lowest cost Silver plan (SLCSP) premium:
        slcsp_premium = self._slcsp.family_premium(funit, cov_ind_list)
        amts_dict['slcsp_premium'] = round(slcsp_premium, 2)
        # married filing separate units are not generally eligible for PTC: