Hack Week experiment: refactor with Claude #2932
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
DISCLAIMER: This is not intended for production. Claude.ai has not been audited by neither SUSE or the openSUSE project, so I have no intention to introduce any code generated by such a tool into any production-ready branch of the Agama repository.
Experiment
During this Hack Week we want to explore how AI can speed-up the development process. In principle we wanted to explore development and maintenance of unit tests (https://hackweek.opensuse.org/projects/ai-powered-unit-test-automation-for-agama) but I was also curious about code refactoring.
This is a first rough experiment using the free version of Claude.ai. It includes the rationale applied by the tool as markdown files. And the reports it generated for download.
This is the result as-is, I just downloaded the files from the web console and placed them in the repository.