Skip to content

Remove /calculate household-trace storage now that tracer-analysis is gone (follow-up to #3801) #3803

Description

@MaxGhenis

Follow-up to #3801. /calculate still writes every household's tracer output to the runtime cache (policyengine_api/runtime_cache/household_traces.py, wired in household_calculation_service.py, family household-trace). Its only consumer was the tracer-analysis endpoint, which #3801 removed, so the write is now dead weight on the most important endpoint: extra Redis traffic and serialization per calculation.

Worth removing, but as its own change: it touches /calculate, so it deserves a contract check that the response shape (tracer_output in the calculation result) is unaffected — or a decision to keep storing traces for a future (Axiom-era) explanation feature.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions