ar4sGPT / Agentic-Decimal-System

SAMA - Semi-auto.Meta-automata
0 stars 0 forks source link

Sweep: Make A Pre-commit hook #8

Open ar4s-gh opened 6 months ago

ar4s-gh commented 6 months ago

Based on the Delta-tuning explained here, we will design an git-based incremental fine-tuning MVP. The pre-commit should work with git(hub)flow and stacked-git workflows. A high level is: A modelfile will live in .git that will adjust weights based on commit history and code changes within a repo. The flow

  1. Human-Developer Describes commit-level changes to be made (in plain english).
  2. Concurrently, i) LLM/Agent-Dev is given the code changea as a prompt, and works to produce code for the commit. ii) Human-Developer does the same.
  3. Human-Developer tries to Commits code with conventional commit, but, i) is asked to review, swap/deny the Agent-dev commit. Optionally: Human-Developer can Explain in the commit why a commit was chosen.
  4. The commit diff (delta) adjusts the modelfile weights like in the attached paper. s42256-023-00626-4.pdf If there is a need for more context or granularity, please provide exact criteria required for my deliverables to get back to you with. Its best if you could give a full example for each point required for each suggestion you require me to drill down on.
sweep-ai[bot] commented 6 months ago
Sweeping

0%

Actions

Thank you for the feature request to create an ML-powered pre-commit hook. However, this issue currently lacks some key details needed for our AI coding assistant Sweep to implement it:

  1. The exact code files and locations that need to be modified should be specified. Sweep is great at making targeted code changes but needs more context on where the changes are needed.

  2. The linked research PDF provides useful background but Sweep is not able to access and interpret information from external files like this. Please summarize the key points from the paper directly in the issue description.

  3. The issue mentions some command-line operations and changes to the git workflow that are outside of Sweep's current capabilities. Those requirements should be removed or noted as being handled separately.

  4. Overall this is a fairly complex and ambitious feature. It would be helpful to break it down further into smaller, incremental coding tasks that Sweep can handle. Let's start with something bite-sized.

Please update the issue description with those details and re-submit it. We appreciate you taking the time to report this and look forward to working with you to get it implemented!

Report a bug.


[!TIP] To recreate the pull request, edit the issue title or description.

This is an automated message generated by Sweep AI.

ar4s-gh commented 6 months ago

I'm a bit of a novice, for each of the suggested points to expand on, could I have you provide exact deliverables.

You can provide mock examples of what each should contain, down to the leaf