PolicyEngine / PolicyEngine/policyengine-uk

Optimize memory and performance impacts

Open
#164 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
50
Forks
33
Avg merge
20h 58m
Merged PRs (30d)
14

Description

This model wasn't written with memory usage at the forefront of its targets, but with the tax-benefit system now written with its complexity, a smaller performance and memory footprint would be hugely beneficial. I can think of one way: finding the subset of variables involved in the net_income computation tree.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by examining the net_income computation tree, which the issue identifies as a possible basis for finding the relevant variables. The issue does not name files or tests, and completion criteria beyond reducing the model's memory usage and performance footprint are not specified.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, performance
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.