Skip to content

Instantly share code, notes, and snippets.

View MaxGhenis's full-sized avatar

Max Ghenis MaxGhenis

View GitHub Profile
@MaxGhenis
MaxGhenis / ea-forum-giving-tuesday-2025.md
Created December 2, 2025 19:27
GiveCalc 2.0: EA Forum post for Giving Tuesday 2025

GiveCalc 2.0: Calculate your true cost of giving this Giving Tuesday

TL;DR: We've rebuilt GiveCalc as a standalone web application at givecalc.org. The free calculator now covers US federal and state taxes, UK Gift Aid, and tax years 2024-2026. Use it to find out how much your charitable donations actually cost after tax savings.

What's new since last year

A year ago, I introduced GiveCalc as a Streamlit app on PolicyEngine's infrastructure. This Giving Tuesday, we're launching GiveCalc 2.0—rebuilt from the ground up with a faster React interface, expanded to cover UK Gift Aid, and now available at its own domain: givecalc.org.

The new version supports multiple income types (wages, self-employment, capital gains, dividends, interest), works on mobile, and lets you calculate for tax years 2024, 2025, or 2026.

@MaxGhenis
MaxGhenis / social-posts-givecalc.md
Created December 2, 2025 16:55
GiveCalc Giving Tuesday 2025 social media posts

GiveCalc Social Media Posts - Giving Tuesday 2025

LinkedIn (Global)

This Giving Tuesday, know the true cost of your donation.

We've launched GiveCalc (givecalc.org) — a free calculator that shows how charitable giving affects your taxes.

🇺🇸 US donors: See federal + state tax savings across all 50 states, DC, and NYC. Includes 2025 tax year with HR1 changes.

@MaxGhenis
MaxGhenis / github_stats.py
Created December 1, 2025 18:56
PolicyEngine GitHub Statistics Verification Script
#!/usr/bin/env python3
"""
PolicyEngine GitHub Organization Statistics
Calculates repository count, contributor count, and fork count
for use in grant proposals and documentation.
Run with: python github_stats.py
Requires: requests library (pip install requests)
"""
@MaxGhenis
MaxGhenis / referee_reports_r3.md
Created November 25, 2025 12:04
Simulated Referee Reports Round 3 - Beer Price Controls (with Reproducibility Expert)

Simulated Referee Reports: Round 3

Beer Price Controls at Yankee Stadium (SSRN Working Paper)

Status: All reviewers recommend Accept


REFEREE REPORT #1 (Sports Economics)

Recommendation: Accept

@MaxGhenis
MaxGhenis / gist:4cbf0e93bb6aefda77daedab526c1eca
Last active November 25, 2025 11:09
Simulated Referee Reports for Beer Price Controls Paper (Round 2)
# Simulated Referee Reports: Round 2
## Beer Price Controls at Yankee Stadium (SSRN Working Paper)
---
## AUTHOR RESPONSE CHECKLIST
| Referee | Issue | Status |
|---------|-------|--------|
| R1 | Quantify decomposition in abstract | ✅ DONE (111% intensive, -11% extensive) |
@MaxGhenis
MaxGhenis / halloween-graphic.html
Created October 31, 2025 19:44
PolicyEngine Halloween 2025 - Spooky animated logo
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PolicyEngine Halloween</title>
<style>
body {
margin: 0;
padding: 0;
@MaxGhenis
MaxGhenis / snap_above_130fpl_analysis.ipynb
Last active October 31, 2025 11:55
SNAP Recipients with Gross Income Above 130% FPL - PolicyEngine-US Analysis (2025)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MaxGhenis
MaxGhenis / uc_ctc_takeup_analysis.ipynb
Created October 2, 2025 15:25
UC and CTC take-up rates - Enhanced FRS 2023-24
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MaxGhenis
MaxGhenis / complete-comparison-policyengine.md
Last active October 2, 2025 12:52
Complete PolicyEngine project management comparison: Linear, Jira, Monday, Asana, Notion - covering technical and non-technical work (grants, papers, etc.)

Complete Project Management Comparison for PolicyEngine

🔄 Update: CRM Integration Required

New Context: PolicyEngine is also implementing CiviCRM for constituent relationship management. This significantly changes the landscape for non-technical work (grants, papers, partnerships).

Key Insight: CiviCRM has built-in grant tracking, potentially eliminating the need for separate grant management tools!


@MaxGhenis
MaxGhenis / api-comparison.md
Last active October 2, 2025 12:27
GitHub Projects v2 vs Linear API comparison - deadline filtering and automation

API Comparison: GitHub Projects vs Linear vs Jira - Deadline Filtering

The Problem: You Can't Easily Query Deadlines in GitHub Projects

GitHub Projects v2 API Limitation

GitHub Projects v2 uses GraphQL, but filtering by custom fields (like due dates) in the API is extremely cumbersome:

# GitHub Projects v2 - Complex and Limited