Skip to content

Instantly share code, notes, and snippets.

View MaxGhenis's full-sized avatar

Max Ghenis MaxGhenis

View GitHub Profile
@MaxGhenis
MaxGhenis / count_policyengine_references.ipynb
Created August 11, 2025 13:36
PolicyEngine-US Source Document Reference Analysis
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MaxGhenis
MaxGhenis / policyengine_org_alignment.md
Last active August 21, 2025 06:57
PolicyEngine Alignment Analysis with Various Organizations

PolicyEngine Alignment with Open Gov Hub Organizations

Overview

This analysis examines potential alignment between PolicyEngine (a tax and benefit microsimulation tool) and organizations at Open Gov Hub, a coworking space in Washington, DC that PolicyEngine is considering joining. These organizations work in transparency, governance, development, and social justice, creating opportunities for in-person collaboration and partnership.

Alignment Ratings

  • 🟢 Strong: Direct alignment with PolicyEngine's core capabilities
  • 🟡 Moderate: Some overlap with potential collaboration opportunities
  • 🔴 Limited: Minimal direct alignment, though possible intersections
@MaxGhenis
MaxGhenis / policyengine_memory_analysis.ipynb
Created August 22, 2025 02:21
PolicyEngine-US Memory Usage Analysis
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MaxGhenis
MaxGhenis / edsl_n_parameter_issue_executed.ipynb
Last active August 23, 2025 11:55
Expected Parrot EDSL: n parameter not implemented (accepts but ignores)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MaxGhenis
MaxGhenis / gemini_regression_demo.ipynb
Created August 24, 2025 18:13
CRITICAL: Gemini API Regression - All models blocking safe content (Aug 24, 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 / isolated-ai-agents-blog.md
Created August 26, 2025 02:09
PolicyEngine Isolated AI Agents: Blog Post and Webinar Description

How PolicyEngine Uses Isolated AI Agents to Build Trustworthy Rules-as-Code

December 2024

Government benefit calculations affect millions of lives. A miscalculated food assistance benefit isn't just a bug—it's a family's grocery budget. An incorrect tax credit isn't just an error—it's someone's ability to pay rent. That's why at PolicyEngine, we've developed a revolutionary approach to ensure AI-generated code accurately implements government regulations: isolated multi-agent development.

The Problem: AI Takes Shortcuts

When you ask an AI to implement a government program, it faces a fundamental challenge. Given a test that expects a benefit of $500, the AI might:

╭───────────────────────────────────────────────────────╮
│ ✻ Welcome to Claude Code! │
│ │
│ /help for help, /status for your current setup │
│ │
│ cwd: /Users/maxghenis/PolicyEngine/policyengine-us │
╰───────────────────────────────────────────────────────╯
> /encode-policy is running…
⎿ Interrupted by user
Fiscal year Lagged RPI used Baseline Policy HMRC revenue impact (£m)
2024–25 — (frozen) £85,000 £90,000 –150
2025–26 — (frozen) £85,000 £90,000 –185
2026–27 2024–25: +2.0% £87,000 £90,000 –125
2027–28 2025–26: +2.5% £89,000 £90,000 –50
2028–29 2026–27: +3.0% £92,000 £90,000 +65
@MaxGhenis
MaxGhenis / linear-vs-jira-policyengine.md
Created October 2, 2025 12:18
Linear vs Jira comparison for PolicyEngine

Linear vs Jira: Comparison for PolicyEngine

Executive Summary

For PolicyEngine, Linear is the better choice due to:

  • Native GitHub integration (you're heavily GitHub-based)
  • Speed and simplicity for engineering-focused work
  • Better for small-to-medium teams
  • Lower cost at your scale
  • Modern developer experience
@MaxGhenis
MaxGhenis / linear-migration-guide.md
Created October 2, 2025 12:19
GitHub to Linear migration guide for PolicyEngine

PolicyEngine: GitHub to Linear Migration Guide

Issue Inventory

Your main repositories contain 4,672+ total issues:

Repository Open Closed Total Priority
policyengine-us 1000+ 1000+ 2000+ HIGH
policyengine-app 394 1000+ 1394+ HIGH