Giter VIP home page Giter VIP logo

patchwork's People

Contributors

codelion avatar cty-git avatar gauranshmathur avatar patched-admin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

patchwork's Issues

patchwork --version error

(patchwork-cli-py3.10) user@Users-MBP patchwork % patchwork --version
Traceback (most recent call last):
File "/Users/user/Documents/GitHub/patchwork/.venv/bin/patchwork", line 6, in
sys.exit(cli())
File "/Users/user/Documents/GitHub/patchwork/.venv/lib/python3.10/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
File "/Users/user/Documents/GitHub/patchwork/.venv/lib/python3.10/site-packages/click/core.py", line 1077, in main
with self.make_context(prog_name, args, **extra) as ctx:
File "/Users/user/Documents/GitHub/patchwork/.venv/lib/python3.10/site-packages/click/core.py", line 943, in make_context
self.parse_args(ctx, args)
File "/Users/user/Documents/GitHub/patchwork/.venv/lib/python3.10/site-packages/click/core.py", line 1408, in parse_args
value, args = param.handle_parse_result(ctx, opts, args)
File "/Users/user/Documents/GitHub/patchwork/.venv/lib/python3.10/site-packages/click/core.py", line 2400, in handle_parse_result
value = self.process_value(ctx, value)
File "/Users/user/Documents/GitHub/patchwork/.venv/lib/python3.10/site-packages/click/core.py", line 2362, in process_value
value = self.callback(ctx, self, value)
File "/Users/user/Documents/GitHub/patchwork/.venv/lib/python3.10/site-packages/click/decorators.py", line 506, in callback
raise RuntimeError(
RuntimeError: 'patchwork' is not installed. Try passing 'package_name' instead.

GH Issues Patchflow

  • Read a GH Issue and Comments
  • Support OpenAI embeddings and HF embeddings via API
  • Explore which vector store we can use, may be https://github.com/asg017/sqlite-vss
  • Step -> convert repo at commit hash to an repo_embeddings by indexing all files (*.py)
  • Query --> Text from GH issue and Comments to retrieve (with cosine_sim) top k (8) files that need to be modified to resolve the issue.
  • CreateComment on the GH to suggest which files need to be modified to fix the issue

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.