Skip to content

Delete or repopulate empty projects/policyengine-api-full directory #462

@MaxGhenis

Description

@MaxGhenis

Summary

projects/policyengine-api-full/ on origin/main contains only uv.lock — no source, no pyproject.toml, no package directory. The tree is effectively abandoned.

What goes wrong

$ git ls-tree -r --name-only origin/main -- projects/policyengine-api-full
projects/policyengine-api-full/uv.lock

A lone uv.lock with no pyproject.toml or package content:

  • Pins dependencies nothing can consume, so it drifts out of sync with reality on every uv bump without anyone noticing.
  • Confuses readers — the directory name suggests a "full" sibling of policyengine-api-simulation, but there's nothing there.
  • Breaks workspace-wide commands (pyright, ruff, pytest) that try to discover projects via directory structure.

Related: #271 (pyright broken on full API) implicitly references this tree but frames the problem around type-checking rather than emptiness.

Suggested fix

Pick one:

  1. Delete the directory if the full API has moved to policyengine-api-v2-alpha (which appears to be the active direction based on Simulation workflow points to incorrect service URL path #83 "Simulation/Report V2 Migration Foundation"). Most honest option — close full API can't currently apply pyright #271 as no-longer-applicable.
  2. Repopulate with a real pyproject.toml + package if the intent was to keep the non-simulation endpoints alive in this monorepo. Revisit full API can't currently apply pyright #271 after.

A note in the top-level README explaining the monorepo layout (simulation lives here, full API lives elsewhere) would also reduce confusion for new contributors.

Severity

Low / tech-debt — doesn't break anything, but decays over time and confuses contributors.

Relates to

#271 (pyright on full API).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions