Skip to content
This repository was archived by the owner on Mar 5, 2026. It is now read-only.
This repository was archived by the owner on Mar 5, 2026. It is now read-only.

Compute function purity annotations #8

Description

@aymannadeem

Function purity means that the function in question has no side effects (e.g. does not modify global state, perform I/O, or mutate input). It also implies the function is deterministic: same output for the same input.

There are two main approaches to checking function purity:

  1. Static analysis (No execution, purely code inspection)
  2. LLM-based Analysis (Using AI to infer purity)

I need to investigate the easiest/most feasible implementation approaches and decide on which one we want to pursue.

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

    enhancementNew feature or requestproposedWe're validating demand and feasibility

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions