Skip to content

Instantly share code, notes, and snippets.

View MaxGhenis's full-sized avatar

Max Ghenis MaxGhenis

View GitHub Profile
@MaxGhenis
MaxGhenis / ons-firm-data-wishlist.md
Last active December 11, 2025 21:30
ONS firm data wishlist for UK microsimulation and OLG models

ONS Firm Data Wishlist for UK Microsimulation & OLG Models

Prepared for Vahid's meeting with ONS firm data team, December 2025

Context

PolicyEngine is exploring building an OLG (Overlapping Generations) model for the UK, similar to OG-USA/OG-Core but with greater firm-level heterogeneity. We also want to expand our firm microsimulation capabilities for tax policy analysis (VAT, corporation tax, business rates).

This document outlines what firm-level data would be most valuable from ONS.

@MaxGhenis
MaxGhenis / cosilico-brand-analysis.md
Created December 10, 2025 21:57
Cosilico Brand Name Analysis - December 2025

Cosilico Brand Name Analysis

Date: December 10, 2025
Prepared for: Cosilico (cosilico.ai)
Tools used: namecast Claude Code plugin, whois, WebSearch, WebFetch, persona agents


Executive Summary

@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.