Skip to content

Instantly share code, notes, and snippets.

View MaxGhenis's full-sized avatar

Max Ghenis MaxGhenis

View GitHub Profile
@MaxGhenis
MaxGhenis / gist:1c6ffca799ee526c70092ea6b3c33a89
Created November 14, 2022 21:21
CDSS director Kim Johnson's response on categorical eligibility, administrative burdens, and welfare cliffs
[Grecia Marquez-Nieblas] 13:13:12
So we have one more question here. It says on one hand, categorical, eligibility reduces administrative burdens on the other, it exasperates benefit cliffs.
[Grecia Marquez-Nieblas] 13:13:23
How do you weigh these effects?
[Kim Johnson] 13:13:25
It's it's a great. It's a great question, I mean, I think again benefit cliffs.
[Kim Johnson] 13:13:31
@MaxGhenis
MaxGhenis / transcript.txt
Created November 14, 2022 21:11
CDSS director Kim Johnson's response to question on how much time Californians spend dealing with benefit programs
[Grecia Marquez-Nieblas] 13:05:37
a question here. It says how much time does it take for participating Californians to apply for and comply with benefit programs every year?
[Grecia Marquez-Nieblas] 13:05:47
How is this trending
[Kim Johnson] 13:05:49
How much time is that? What the question was
@MaxGhenis
MaxGhenis / openfisca-us-tutorial.ipynb
Created March 7, 2022 06:49
OpenFisca US tutorial.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MaxGhenis
MaxGhenis / openfisca-us-demo.ipynb
Created March 6, 2022 06:11
OpenFisca US demo.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Delivered-To: [email protected]
Received: by 2002:ab3:7407:0:0:0:0:0 with SMTP id o7csp1334714lte;
Fri, 17 Dec 2021 08:47:38 -0800 (PST)
X-Google-Smtp-Source: ABdhPJwX48wr3ihwVIfOf2CLSNRILq3BqcJUeKu8HaEICAiV+j+T2PMXT4v6puZF0rDRCThFFLSP
X-Received: by 2002:a05:6638:12cb:: with SMTP id v11mr2474737jas.284.1639759658135;
Fri, 17 Dec 2021 08:47:38 -0800 (PST)
ARC-Seal: i=2; a=rsa-sha256; t=1639759658; cv=pass;
d=google.com; s=arc-20160816;
b=L0Ik0xzUpHIGF+trMwl72wjXaxsRwNYL5Al+OK7P/O1BY7Mnrmio54GguEj8X41BtG
3fhSXza4+UWoNKRFTF840LimabIJZGXPU+V38KcPphajyvLVbQL2lJkqSFbWNxunjn79
@MaxGhenis
MaxGhenis / gist:7b748a2cb4aa65e9ef3b2141e0e6c84a
Last active January 8, 2022 04:03
Threaded email header 1
Delivered-To: [email protected]
Received: by 2002:ab3:7407:0:0:0:0:0 with SMTP id o7csp1731395lte;
Fri, 17 Dec 2021 17:43:49 -0800 (PST)
X-Received: by 2002:a05:6e02:1cae:: with SMTP id x14mr3017830ill.170.1639791829467;
Fri, 17 Dec 2021 17:43:49 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1639791829; cv=none;
d=google.com; s=arc-20160816;
b=Lswd/I/Ff4ouwOv6ivlRF7hoIYjuHI9mYzsPzE3uRKQaHEx4Ixx/FZjGvk2A9IXAZV
LJmZ4nu6PSEoywT/5Ffscvcgi7wi4WHRPA7kFZiJUHM2k8/dk5CdRw+mEXsfbq3n97Hg
AecF5BM02ppVAoZvzfxLseRbqmf3ERSG2/Sat1OwGoIbJHej152qg7fTku3kHm5vk6Ij
@MaxGhenis
MaxGhenis / gist:3117dac6f90b2c96ce98b757811f22a4
Created January 6, 2022 06:07
Error when running `make test` on an OpenFisca system with a parameter named `children.yaml`
py37) maxghenis@Maxs-MacBook-Pro openfisca-uk % make test
openfisca test -c openfisca_uk openfisca_uk/tests/policy/baseline
Traceback (most recent call last):
File "/Users/maxghenis/opt/anaconda3/envs/py37/bin/openfisca", line 8, in <module>
sys.exit(main())
File "/Users/maxghenis/opt/anaconda3/envs/py37/lib/python3.7/site-packages/openfisca_core/scripts/openfisca_command.py", line 68, in main
return sys.exit(main(parser))
File "/Users/maxghenis/opt/anaconda3/envs/py37/lib/python3.7/site-packages/openfisca_core/scripts/run_test.py", line 15, in main
tax_benefit_system = build_tax_benefit_system(args.country_package, args.extensions, args.reforms)
File "/Users/maxghenis/opt/anaconda3/envs/py37/lib/python3.7/site-packages/openfisca_core/scripts/__init__.py", line 24, in build_tax_benefit_system
Basic rate Additional rate Cost Poverty reduction Benefit to bottom decile Benefit to top decile
20% 40% £1.3bn 0.0% 0.0% 0.7%
19% 45% £4.4bn 0.2% 0.0% 0.5%
19% 40% £5.7bn 0.2% 0.0% 1.2%
18% 45% £8.8bn 0.3% 0.1% 1.1%
18% 40% £10.1bn 0.3% 0.1% 1.7%
@MaxGhenis
MaxGhenis / gist:d7db8a5ce07ad10f0f8205ab39aa5ff1
Created August 23, 2020 19:28
VSCode after editing `/usr/bin/code` to add sommelier
(base) mghenis@penguin:~/MaxGhenis/microdf$ code
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
xkbcommon: ERROR: Key "<CAPS>" added to modifier map for multiple modifiers; Using Mod3, ignoring Lock
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Unsupported maximum keycode 569, clipping.
> X11 cannot support keycodes above 255.
> Warning: Unsupported high keycode 372 for name <I372> ignored
@MaxGhenis
MaxGhenis / run_ogusa_example_error
Created August 2, 2020 18:41
Log of error when running run_ogusa_example.py
c': {2017: [9e+99, 9e+99, 9e+99, 9e+99, 9e+99]}, 'ID_Charity_c': {2017: [9e+99, 9e+99, 9e+99, 9e+99, 9e+99]}, 'ID_Casualty_c': {2017: [9e+99, 9e+99, 9e+99, 9e+99, 9e+99]}, 'ID_Miscellaneous_c': {2017: [9e+99, 9e+99, 9e+99, 9e+99, 9e+99]}, 'ID_ps': {2017: [261500, 313800, 156900, 287650, 313800]}, 'ID_BenefitSurtax_em': {2017: [0, 0, 0, 0, 0]}, 'ID_c': {2017: [9e+99, 9e+99, 9e+99, 9e+99, 9e+99]}, 'CG_brk1': {2017: [37950, 75900, 37950, 50800, 75900]}, 'CG_brk2': {2017: [418400, 470700, 235350, 444550, 470700]}, 'CG_brk3': {2017: [9e+99,
9e+99, 9e+99, 9e+99, 9e+99]}, 'AMT_CG_brk1': {2017: [37950, 75900, 37950, 50800, 75900]}, 'AMT_CG_brk2': {2017: [418400, 470700, 235350, 444550, 470700]}, 'AMT_CG_brk3': {2017: [9e+99, 9e+99, 9e+99, 9e+99, 9e+99]}, 'CG_ec': {2017: 0}, 'AMT_child_em': {2017: 7500}, 'AMT_brk1': {2017: 187800}, 'EITC_c': {2017: [510, 3400, 5616, 6318]}, 'EITC_ps': {2017: [8340, 18340, 18340, 18340]}, 'EITC_ps_MarriedJ': {2017: [5600, 5600, 5600, 5600]}, 'EITC_InvestIncome_c': {2017: 3450}, 'ETC_pe