Skip to content

Add AGENTS.md with Cursor Cloud development instructions#42

Draft
endolith wants to merge 1 commit into
masterfrom
cursor/setup-dev-environment-a599
Draft

Add AGENTS.md with Cursor Cloud development instructions#42
endolith wants to merge 1 commit into
masterfrom
cursor/setup-dev-environment-a599

Conversation

@endolith
Copy link
Copy Markdown
Owner

Adds AGENTS.md with Cursor Cloud-specific development instructions for future agents working in this repository.

What's included

  • Key commands for installing, linting, testing, and running examples
  • Caveat that Numba is not installed in the Cloud VM (library works without it)
  • Note about ~/.local/bin PATH requirement for pytest and ruff

Verification

All checks pass in the cloud environment:

  • Lint (blocking): ruff check --select=E9,F63,F7,F82 . — All checks passed
  • Tests: pytest --doctest-modules --ignore=examples --cov — 215/215 passed
  • Example script: python examples/weber_1977_expressions.py — reproduces Weber 1977 table correctly
  • Hello-world demo: ran multiple voting methods (Black, FPTP, Borda, IRV) on both fixed and random elections

Test output:
pytest_output.log

Hello world output:
hello_world_output.log

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

Co-authored-by: endolith <endolith@gmail.com>
@what-the-diff
Copy link
Copy Markdown

what-the-diff Bot commented May 11, 2026

PR Summary

  • Inclusion of a New Documentation File
    A new document, AGENTS.md has been added to provide more guidance on our framework.

  • Instructions for Using Python Library
    Specific instructions for utilizing the Cursor Cloud Python library have been included to assist users in leveraging this library more effectively.

  • Providing Key Commands
    We have provided key commands that will ease the process of installation, linting, testing, and running examples. These commands should facilitate smoother operation and navigation within our application.

  • Information on Potential Roadblocks
    Some known issues relating to the installation of Numba and specific PATH requirements have also been addressed to ensure users are well-informed about possible challenges they may encounter. We've covered potential roadblocks and how to navigate them.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.31%. Comparing base (8a7213f) to head (ae00921).

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #42   +/-   ##
=======================================
  Coverage   96.31%   96.31%           
=======================================
  Files          19       19           
  Lines         489      489           
=======================================
  Hits          471      471           
  Misses         18       18           
Flag Coverage Δ
no-numba 95.50% <ø> (ø)
numba 89.16% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants