Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/goPublic

x/oscar feedback#68490

rsc announced inDiscussions
Jul 17, 2024· 5 comments· 7 replies
Discussion options

rsc
Jul 17, 2024
Maintainer

Gabyhelp is a first prototype experiment for a larger effort to explore creating automated help for open-source maintenance. We have posted an overview of the vision inx/oscar/README.md. This discussion is for collecting feedback about the overall vision,not for specifics about gabyhelp (use thegabyhelp discussion for that).

Please read the README. After that, we would be happy to hear any feedback about concerns we are missing and also ways to reduce maintainer toil that we should be considering beyond what's listed there.

Thanks very much!

You must be logged in to vote

Replies: 5 comments 7 replies

Comment options

The examples that show similar issues are not very impressive. Similar tools existed years before the AI hype.

The root problem here is more that the GitHub search is not very good and often returns way to many issues by seemingly matching the entire thread. This can be worked around by adding in:title to the search if you know what you are looking for.

But my main concern with this, that we probably soon need to fight AIs in addition to stale bot in issues and in the process create lots of irrelevant comments.

You must be logged in to vote
1 reply
@rsc
Comment options

rscAug 2, 2024
Maintainer Author

It's definitely a goal to avoid irrelevant comments. More generally it is a goal to be helpful. If certain comments are not helpful, we will try to avoid them. There are lots of potential ways to go wrong here, but that doesn't mean every path is wrong.

Comment options

This is so cool! I'm excited to see another language ecosystem start looking into this.

At a high level, I think most of what I see in the oscar readme, and what I expect oscar to be in practice, is more effective project management:

  • improved tagging
  • information discovery
    • as a lot of folks are pointing out, some of this is partly because of how bad github search is
    • however, i'll also note: although github issue search could be significantly better, it still suffers from the same challenge as google drive search: there are very few opportunities for a search to becorrect, when a user is searching a very finite corpus. contrast that with google web search, where for any given query, there are a lot of different search results that will be useful to a user.

There are other things that come to mind (e.g. making it easier for a newcomer to learn about the existing communication structures and ticketing/org processes of a given OSS org, or even just updating onboarding docs to reflect the new practices of an org) but none of those are super concrete.


Two additional points I'll throw out as food for thought:

  • LLMs right now are easy for humans to interact with, but not so much machines, because they produce unstructured output. There are a lot of strategies for extracting structured output from LLMs (I'm working onnew technologies in this space, so I have some opinions here), and I expect once you actually start prompting them you'll rapidly run into these issues. (Function calling is one form of this, and in our experience it's been pretty mediocre.) Would love to help out when you start doing this though.
  • The UX of interacting with the tool, if you stick to GitHub's UI, will be heavily limited. Considerthis PR where I was twiddling our cross-compilation process: the comments that the AI assistant left on my PR were incredibly high noise, and our team is only 4 people, all of whom are receptive to the idea of adding AI into our own processes. As you scale this across more people, I expect you're going to run into a lot of questions of a very AI-skeptical nature, where even a hint of interactions like that are going to cause a lot of controversy.
You must be logged in to vote
2 replies
@meling
Comment options

I too think that the UX of GitHub issues is problematic, and came here to suggest a different interface for interacting with oscar, or reporting issues in general. It would be great if oscar could help the reporter to get enough context from previous issues and guide the reporter through the process (what’s important for this particular issue about the environment etc) before even creating an issue. That way, inexperienced reporters will get help to report well-crafted issues with less effort and maybe decide that it is a non-issue and not open an issue at all, or instead provide additional context to an existing issue.

Think of it as chatting with the issue tracker in natural language before committing the issue.

@AndrewHarrisSPU
Comment options

I do wonder a bit about command line interaction with gaby/oscar. That might not be the right UX for daily usage, but maybe there are places to expose the core LLM functionality to support improvisation, and experiment with what works or doesn't work?

Comment options

Also, taking quick skim through golang's issue tracker specifically, it looks like y'all have alot of issues being filed by automation. I definitely remember a lot of those being very noisy when I was at Google (over in databases world), and the constant frustration of "ok, here I go again, triaging automated issues...". There's definitely room here to reduce the noise - in particular, when a potentially useful signal gets so noisy that people disregard the signal entirely, there's not much utility in the signal itself, and I think that's also an area where LLMs can help out.

The tricky part, though, is that a lot of what we're imagining along these lines, is that it requires a lot of dedicated engineering work to build the integrations for every action we're envisioning that gabyhelp might be able to do, and, well, if it hasn't been done already, why would adding an LLM to the mix make it more likely that someone will prioritize that work?

You must be logged in to vote
2 replies
@rsc
Comment options

rscAug 2, 2024
Maintainer Author

in particular, when a potentially useful signal gets so noisy that people disregard the signal entirely, there's not much utility in the signal itself, and I think that's also an area where LLMs can help out.

I think I disagree with this. It seems better to me to raise the signal / lower the noise at the source.

Our approach is focusing on issues filed by people. The bot-written issues such as backports and watchflakes are exempted from gaby's "related issue" posts.

@sxlijin
Comment options

It seems better to me to raise the signal / lower the noise at the source.

Hmm- I was more suggesting that another use case for oscar/gabyhelp is to provide maintainers a mechanism to refine a noisy signal into a useful one, not necessarily that the filter should happen after it's been posted to GitHub.

In particular, I think lowering the noise at the source requires a lot of manual heuristic creation and manual thresholding, both of which are areas where prompt-driven tooling could help.

Comment options

Last year I created an LLM agent framework and an example system that added source code comments to code. This used the AST facilities in golang along with some other small deterministic tools to extract code for review, ChatGPT to write comments and improve them using a multi-agent conversation, and then more utilities to insert them back into the code.

This worked quite well, producing decent comments that would be helpful to both new developers coming in to a project as well as maintainers learning new parts of one. The next step would have been to add a vector store to enable good package-level structural comments, unfortunately the project was cut short.

I suggest that good source comments are a huge help to maintainers, and where not existing, the best addition to aid maintainability. Not all developers like writing comments and many OSS projects do not have them -- indeed golang is unusually lucky in the quality of its comments.

So I suggest adding "producing good in-source comments where not already available" as a future goal for Oscar :)

You must be logged in to vote
0 replies
Comment options

My initial reaction to this is that it could be a massive help. I help maintainhttps://github.com/a-h/templ and even on that smaller scale issue management can become overwhelming at times, particularly because it is not my full time job and most of my motivation comes from bug fixes and new features, not chasing down issues that I know have already been raised or gathering documentation links (we have a docs sitehttps://templ.guide which once oscar becomes generally useable I can imagine us scraping that site).

Am I right in assuming that there will be someway to feedback to oscar in cases where a comment is not useful, or the opposite where a comment from oscar results in a productive outcome? For examplegood botbad bot key words from maintainers, or even a thumbs up/down reaction from maintainers?

You must be logged in to vote
2 replies
@ianthehat
Comment options

Emoji reactions to gabyhelp comments are currently tracked to help us assess how gabyhelp is performing.
If direct feedback to Oscar were to be a feature, I think that would probably be the correct mechanism, but it is only one of many potential signals.

@joerdav
Comment options

Hey Ian, glad to hear that it's been thought about, I actually sought out Oscar after our conversation at GopherconUK, with Arman and I :)

I guess there are signals that are built into the issue tracking flow, like if a ticket is raised, then commented on by Oscar, and finally closed by the original author or a maintainer then that sounds like a successful response from Oscar.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Labels
None yet
8 participants
@rsc@aprice2704@sxlijin@meling@ianthehat@SuperSandro2000@joerdav@AndrewHarrisSPU

[8]ページ先頭

©2009-2025 Movatter.jp