Skip to content

Developer setup does not mention pyright, and the fast-lane budget needs watching #299

Description

@sbryngelson

Migrated from the deleted docs/open-work.md (items 11, 12). Both are contributor-experience issues.

pyright is not installed by default and nothing says to install it. CI type-checks on 3.12 only and it appears in no local instruction, so an entire branch was once written type-blind. It is pinned in pyproject.toml, and tools/pyright_baseline.py reproduces the CI gate exactly — run that, not bare pyright, which uses a different file set and can report a false zero.

Worth adding to the README or a CONTRIBUTING file, alongside python -m ruff check ..

Fast-lane budget. Against a ~5 min target on a two-core runner, recent additions cost about 25 s. tests/test_fit_candidate.py shows the pattern for keeping it down: search tests against a cheap analytic model with a known minimum, and one real-solver test behind @pytest.mark.slow.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions