-
-
Notifications
You must be signed in to change notification settings - Fork 159
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
Consistently use baseline expanded_income to fuzz reform results in dropq tables #1537
Merged
martinholmer
merged 46 commits into
PSLmodels:master
from
martinholmer:revise-dist-table
Sep 6, 2017
Merged
Changes from 37 commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
624b4f6
Streamline dropq and util diff-table code
martinholmer ae319af
Remove unneeded float casts in utilsprvt.py
martinholmer 1d7fbf6
Move perc_aftertax calc into diff_table_stats utility function.
martinholmer 6113ebe
Move more diff table logic to diff_table_stats function
martinholmer aa86c8b
Move create_difference_table logic to diff_table_stats
martinholmer 29be90b
Use create_difference_table utility in dropq logic
martinholmer 3a97e38
Rename function in utilsprvt.py
martinholmer 6a1cdb5
Complete renaming to weighted_perc_cut
martinholmer 0a45826
Minor change in create_difference_table handling of input
martinholmer bb15e85
Change current_year ValueError to assert in utils.py
martinholmer 4a0d609
Merge in recent changes on master branch
martinholmer 9925a3b
Improve diff-table label for per_aftertax column
martinholmer 8df23d2
Nest diff_table_stats function in create_difference_table utility
martinholmer df47734
Cosmetic consistency change from 1e99 to 9e99 in bins
martinholmer 7ce7357
Remove obsolete tests from test_dropq.py
martinholmer 25c2762
Add new test in test_dropq.py
martinholmer 18f9a98
Add stronger create_distribution_table tests
martinholmer 381e858
Remove baseline_obj and diff arguments from create_distribution_table
martinholmer 49b2f99
Remove obsolete dropq_dist_table tests
martinholmer 246f41c
Revise create_distribution_table arguments
martinholmer a95f04c
Merge branch 'master' into revise-dist-table
martinholmer 1abdc6b
First step in fixing dropq fuzzing logic
martinholmer a918c1a
Second step in fixing dropq fuzzing logic
martinholmer 90432f0
Third step in fixing dropq fuzzing logic
martinholmer 542cedb
Clarify code in dropq_summary function
martinholmer 0b62f5a
Simplify dropq test_run_tax_calc_model
martinholmer 23a08a1
Change add_*_bins function arguments
martinholmer 8b34a32
Rename add_weighted_income_bins as add_quantile_bins
martinholmer 54d80ae
Clafify documentation in dropq.py and dropq_utils.py
martinholmer 4f69162
Rename and streamline dropq fuzz_records function
martinholmer ec022ae
Clarify suffix logic in dropq_summary function
martinholmer 6c548b7
Fuzz records used in difference tables using baseline income
martinholmer a4a243e
Revise suffix names in dropq functions
martinholmer 3b1432f
Refactor dropq fuzz_df2_records function
martinholmer 2b86786
Standardize dropq summary results names
martinholmer a8594ee
Revise a few dropq comments
martinholmer 3dd22bc
Update RELEASES.md info
martinholmer afa4a55
Merge branch 'master' into revise-dist-table
martinholmer 537b1c0
Better documentation what 'fuzzing' results in dropq means
martinholmer d3ae770
Add doc and asserts to create_di*table utility functions
martinholmer aed63de
Clarify documentation in both dropq files
martinholmer 7b79c22
Consistently use baseline income measure for binning in dropq logic
martinholmer c62df24
Add test of new utils.py code
martinholmer c920116
Simplify nested fuzz function in dropq_utils.py
martinholmer b1e54ef
Edit top docstring in dropq.py
martinholmer f6b3e8a
Construct dropq aggregate table by fuzzing just three records
martinholmer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possibly: "This is done by adding random "fuzz" to the sample from which the results in each table cell are drawn."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right. The description of what "fuzzing" means needs to be improved.
Commit 537b1c0 is an attempt to improve the documentation.