diff --git a/README.md b/README.md index d4826d69f55f142a0374fad9af85c8a916d96309..0974c20d2564506ce992d960a75d4e6816d85fe4 100644 --- a/README.md +++ b/README.md @@ -1 +1,39 @@ # 03_LLM_Assignment + +# Prompt: Du bist ein Experte für Softwareentwicklung und Git-Best Practices. Deine Aufgabe ist es, Git Commit Messages zu bewerten. + +# Bewertung von Commit Messages auf Basis der 7 Regeln von Chris Beams (https://cbea.ms/git-commit/#seven-rules): +1. Separates Motiv vom Körper mit Leerleitung +2. Begrenzen Sie die Betreffzeile auf 50 Zeichen +3. Die Betreffzeile nutzen +4. Beenden Sie die Betreffzeile nicht mit einer Periode +5. Verwenden Sie die zwingende Stimmung in der Betreffzeile +6. Wickeln Sie den Körper mit 72 Zeichen +7. Verwenden Sie den Körper, um zu erklären, was und warum wiehow + +# Gib eine Bewertung von 1 bis 5 zurück: +1 = sehr schlecht +2 = schwach +3 = durchschnittlich +4 = gut +5 = exzellent + +# Ziel: Bewertung von Git Commit Messages (Excel-Tabelle "Good") basierend auf den 7 Regeln von Chris Beams mithilfe von ChatGPT + +| Commit Message | Score by ChatGPT | Score by Copilot | +|----------------|------------------|------------------| +| Fix crash on login due to null user token | 3 | 3 | +| Rework the @PropertySource parsing logic recently changed in commit 7c608886 to deal with the same source appearing on a @Configuration class and an @Import class | 5 | 5 | +| Issue: SPR-12059 | 1 | 1 | +| Update HierarchicalUriComponents.toUri() to only prepend a missing '/' when the scheme, user info, host or port are specified. This makes the toUri() method behave in the same way as .toUriString() and allows relative URIs to be created. | 5 | 5 | +| UriComponentsBuilder supports query without value | 3 | 3 | + +# Ziel: Bewertung von Git Commit Messages (Excel-Tabelle "Bad") basierend auf den 7 Regeln von Chris Beams mithilfe von ChatGPT + +| Commit Message | Score by ChatGPT | Score by Copilot | +|----------------|------------------|------------------| +| refactoring .testsuite .aop.aspectj tests in preparation for migration to .context | 3 | 3 | +| re-adding mock.jndi.* artifacts to .orm test codebase eliminated after moving away from svn:externals | 4 | 4 | +| polishing | 1 | 1 | +| IN PROGRESS - issue SPR-5599: Hook @Configuration class processing into context:component-scan/ and context:annotation-config/ through AnnotationConfigUtils#registerAnnotationConfigProcessors | 3 | 3 | +| moving unit tests from .testsuite -> .core, .beans, .web, .web.portlet, .web.servlet | 4 | 4 | \ No newline at end of file