Skip to content
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

增加一个AI角色 Maya,当issue分配到他的时候,Maya会自动 fix issue #218

Open
Leizhenpeng opened this issue Feb 8, 2024 — with GitMaya App · 9 comments
Assignees
Labels

Comments

Copy link
Member

Leizhenpeng commented Feb 8, 2024

  • Maya会向负责人追问,直至issue可执行和可测试
  • 判断issue是否适合机器人执行,避免执行过于复杂的issue
  • Maya会将自然语言生成可运行的测试用例
  • 在同意执行后,Maya会自动创建branch并发起pr,
  • Maya将自我迭代代码直到跑通测试所有用例
  • 触碰测试结束的阈值后无论是否跑通测试用例,停止开发。
  • 其他研发人员再拉取分支,增量开发~
@Leizhenpeng Leizhenpeng added the feature label Feb 8, 2024 — with GitMaya App
@Leizhenpeng Leizhenpeng self-assigned this Feb 8, 2024
Copy link
Member

真能解决这个问题就能发paper了(no joking)
比如 https://github.com/google/oss-fuzz-gen

Copy link
Member Author

我看过一些雏形项目 https://www.bilibili.com/video/BV1Ha4y117rZ/?

@freeziyou
Copy link
Contributor

直觉上来说,这种模式只适合比较简单的项目。
对于比较复杂或耦合性高的项目,AI得看完所有相关代码才有可能写出正确的代码,尤其是功能性代码。
其次,AI目前不太有自我迭代以及测试代码的能力,就ChatGPT而言,仅支持Python,而且最终写出正确代码的几率不大。

(说实话,这个要是功能真能做好,那估计都得转行产品经理

@freeziyou
Copy link
Contributor

不知道这个效果如何,回头试试https://github.com/unit-mesh/auto-dev

Copy link
Member Author

抬头肯定是简单的改改基础数据,不会很复杂的需求

Copy link
Member Author

核心是围绕“测试”去迭代,而不是新增需求

Copy link
Member Author

其实,大部分issue都是这种,小步改改。。。。

Copy link
Member Author

我现在已经深度使用vscode的Copilot的,把issue问题复制过来,大差不差

Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants