Skip to content

EXPERIMENT: typing edits as produced by Cursor, NO MANUAL CHANGES #527

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rwgk
Copy link
Collaborator

@rwgk rwgk commented Mar 19, 2025

This was the Cursor prompt:

I want to add typing annotations to the cuda_core code, to be checked with mypy when running the pre-commit command.

Note: I had to click the "Resume conversation" button several times (5+ probably).

Cursor-0.47.8

This was the Cursor prompt:

    I want to add typing annotations to the cuda_core code, to be checked with mypy when running the pre-commit command.

Note: I had to click the "Resume conversation" button several times (5+ probably).
Copy link
Contributor

copy-pr-bot bot commented Mar 19, 2025

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@rwgk
Copy link
Collaborator Author

rwgk commented Mar 19, 2025

@shwina for visibility

First impression: It still needs a lot of manual work, although it's probably better than nothing.

@rwgk rwgk mentioned this pull request Mar 19, 2025
@leofang
Copy link
Member

leofang commented Mar 20, 2025

Can we not add/remove existing APIs (including their docs), and just focus on typing improvement?

@rwgk
Copy link
Collaborator Author

rwgk commented Mar 20, 2025

Can we not add/remove existing APIs (including their docs), and just focus on typing improvement?

Absolutely. This was just meant to help us estimate how much manual effort it'll be.

@leofang leofang self-requested a review May 2, 2025 14:27
@leofang leofang added this to the cuda.core beta 4 milestone May 2, 2025
@leofang leofang added enhancement Any code-related improvements P1 Medium priority - Should do cuda.core Everything related to the cuda.core module labels May 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cuda.core Everything related to the cuda.core module enhancement Any code-related improvements P1 Medium priority - Should do
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants