-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken TaxBrain links #649
Comments
The first link indicates that there should be a The fourth link (blow-up factors) indicates that there should be a The fifth link (Aggregate and distributional targets) indicates that there should be a Can we confirm this? |
This should be a simple fix if all I have to do is swap out the links in @brittainhard Is that the case here? |
@hdoupe You're right about the factors and targets links. The @MattHJensen It seems the |
@Amy-Xu great, thanks! |
@Amy-Xu was |
@hdoupe I haven't located the file - my guess (from the pr commit) is that one of the tests calculates the changes for reforms and checks the size of changes without generating the file. @martinholmer Martin might have a better sense on this issue. |
@Amy-Xu said:
Yes, that is correct. See Tax-Calculator pull request 1497 that was merged on August 3rd. |
@Amy-Xu @martinholmer ok that make sense. So should I just delete the reference to |
@hdoupe asked:
Probably "just delete the reference" unless people think it would be useful to link to the |
@martinholmer Ok, I could do that. It seems like "Stability tests guarantee that results will not regress over time." |
The |
@Amy-Xu said:
If my memory is correct, the @Amy-Xu, is there information that was in |
@martinholmer My point is to keep the link. When I replied, I didn't see @hdoupe Hank's proposal. My additional point is that the expenditure results also have demonstration value in themselves besides being a part of stability tests. |
@Amy-Xu That makes sense to me. I didn't know that the saved results had any value except for ensuring that our results did not regress. So, do we link to the |
@hdoupe I think a link to |
@Amy-Xu Ok, that's fine with me. My only concern is that linking to a python file could be a little intimidating for someone without much Python or coding experience. Do you think it would be worth putting the results in a CSV file? |
@hdoupe That's a legit concern to me. I think it would be better for TaxBrain users to see the results in a more straightforward form. But the question is where to put that CSV file? If we put it in TC, it's duplicate information with regard to |
Have we done a data update since test_reforms.py was introduced? How is it updated when every reform result changes? I wonder if another format would also be better for that purpose, but I may be missing something. |
@MattHJensen asked three questions:
[1] No [2] The [3] If people are worried about TaxBrain users ability to read the English in the |
Just to be clear about the "readability" issues in the
So, like all the other reform tests, this one has a clear description of the nature and timing of the reform and a clear comparison of Tax-Calculator results and other results (in this case "Budget Options" results). |
My 2c is that readability doesn't seem worth the extra effort of maintaining another file (or code to automatically generate another file) in PolicyBrain, and that we should just link to the That said, it may be worth revisiting this issue after the next data update. I may be shortsighted, but I think updating all 55+ tests manually might prove to be onerous. If so, moving to an approach along the lines of |
@MattHJensen said:
I agree with this. An alternative to the current approach that may help with readability and may also be more efficient is to have a single json file that stores all of the reforms like:
Then, you could have one function that loops over all of the reforms and checks the result. Further, it would be easier to update the expected results or extract them and place them in a CSV or text file. But as @MattHJensen said we can revisit this after the next data update. For now, I will link to |
@MattHJensen and @hdoupe followed a logical path of thinking about the reform tests that ended with this:
Yes, this is all true and would be slightly easier to update expected results when a new |
@martinholmer This is a valid concern. I think this could be a good use case for a parameterized fixture. We could do something like:
|
@hdoupe said about the excessive run time of an all-reforms in one test approach:
Thanks for the suggestion. Very clever approach. I'll look into it next week. |
Thanks @martinholmer |
The TaxBrain links discussed in issue #649 seem to have been removed from TaxBrain 1.0.3. I assume they will be re-introduced when using Tax-Calculator version >=0.12.0. When re-introducing, be sure to double-check the new file locations in the Tax-Calculator repository. |
Many of the links in TaxBrain (see this comment from almost 14 months ago) are still broken, in that clicking on them produces a 404 error page. If there is so little interest in making the links to this information work, why not remove all the text that contains the broken links. |
@martinholmer Can you provide the correct links? I'm happy to replace them. |
@hdoupe said in PolicyBrain issue #649:
I suggest you provide one link to the top-level documentation file that contains links to all the other documentation files, which will be maintained by Tax-Calculator developers:
If TaxBrain wants to include other links, that's fine, but don't expect Tax-Calculator developers to maintain those other TaxBrain links. |
Thanks for the suggestion @martinholmer. How's this (using the link that you provided)? |
@hdoupe asked:
Fine. |
Consider this part of the main TaxBrain page:
The first link (Federal ... for example reforms), the fourth link (Blow-up factors), and the fifth link (Aggregate and distributional targets) are all broken. That is, they each generate an HTML 404 error page.
@MattHJensen @hdoupe @GoFroggyRun @brittainhard
The text was updated successfully, but these errors were encountered: