Deductions & credits

Well, the 2021 return has already been completed; the reason for my question is, I want to be able to use TT Premier next year for my 2022 taxes, but I need to know how to fill in that figure (Schedule 1, Line 17).  And/or, perhaps more to the point - I need to know how TT already filled in that value on the 2021 return - there was a number there in line 17, put there (calculated by) TT, and I don't know what the basis for their calculation was. In the case of my 'prepared' return, the 'workings' are clear (worksheet W, worksheet X, step 3, step 5), but in TT, the number just 'appears'.  Since the difference between the TT number and the 'prepared' number is quite large (~$500, 25%) I'm not comfortable just ignoring the difference, especially since the TT return yields a larger refund (thus possibly exposing me to review). 

 

I did read other posts about this, and it does seem the calculations for this number are a bit 'quirky' - eg this post - but still, I'd like to know what method TT used to come up with its number!