Skip to content

Instantly share code, notes, and snippets.

View MaxGhenis's full-sized avatar

Max Ghenis MaxGhenis

View GitHub Profile
with lessons learned.
⏺ Bash(gh issue create --title "Fix URL path decoding to handle multiple square …
brackets" --body "## Issue Description\nThe `findInTree` function in
`src/api/variables.js` has a bug where it only replaces the first occurrence
of URL-encoded square brackets (%5B, %5D) with their decoded equivalents ([,
]).\n\n## Problem\nWhen a path contains multiple square brackets (e.g.,
something like 'input.households[0].members[1]'), only the first set gets
properly decoded, potentially causing issues when navigating the variable
tree structure.\n\nCurrent code:\n```javascript\npath = path.replace(\"%5B\",
╭───────────────────────────────────────────────────────╮
│ ✻ Welcome to Claude Code research preview! │
│ │
│ /help for help │
│ │
│ cwd: /Users/maxghenis/PolicyEngine/policyengine-us │
╰───────────────────────────────────────────────────────╯
> im putting together a proposal to expand policyengine us
capabilities. weve priced out most of the programs but not
╭───────────────────────────────────────────────────────╮
│ ✻ Welcome to Claude Code research preview! │
│ │
│ /help for help │
│ │
│ cwd: /Users/maxghenis/PolicyEngine/policyengine-us │
╰───────────────────────────────────────────────────────╯
> use this package to calculate the snap benefit for a single person with 10k employment income in dc in 2025
╭───────────────────────────────────────────────────────╮
│ ✻ Welcome to Claude Code research preview! │
│ │
│ /help for help │
│ │
│ cwd: /Users/maxghenis/PolicyEngine/policyengine-us │
╰───────────────────────────────────────────────────────╯
What's new: