Replies: 2 comments 6 replies
-
|
Funny you bring this up because I've been thinking about this today/yesterday, particularly with regards to bringing the in-code documentation (doc comments, inline comments) up to date, as I've noticed a few things are missing or wrong. A lot of these are simple things already implied by the code which should be easy for AI to pick up. For example, a comment saying that a map is keyed by commodity and year when really it's just keyed by commodity - case in point. Another example might be places where we use |
Beta Was this translation helpful? Give feedback.
-
|
I'd be in favour of trying out having automated copilot reviews on PR's as I often forget to do it. It does generate some useless output, but I've found it particularly useful for raising relevant rust-stuff which I can look into to in more detail. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
We're using AI in a few ways for MUSE2 at present:
These tools nowadays allow you to add a markdown file with extra instructions specific to your repo, such as coding style etc. I was thinking it could be worth writing some things about coding style in a document anyway (e.g. "error handling is done using
anyhow, but we should just panic for developer-facing errors", "you can use theitertoolscrate to simplify operations involving iterators"). The idea isn't to be prescriptive, so much as to steer new contributors/our robot overlords in the right direction.What do we think?
On a related note, it seems you can automatically request reviews from Copilot on PRs, which I think is probably worth doing. Some of the suggestions aren't that helpful (though perhaps we can better tune things with additional instructions), but it has found logic errors in my code a few times, so I think it's worth doing for that alone.
@tsmbland @Aurashk @dalonsoa
Beta Was this translation helpful? Give feedback.
All reactions