From 9e57c83b88f0a9773592840e1829a884078c89d8 Mon Sep 17 00:00:00 2001 From: Hatice Yildirim <Hatice.Yildirim@student.reutlingen-university.de> Date: Sat, 12 Apr 2025 22:55:48 +0200 Subject: [PATCH 1/5] Add scoring prompt and task goal --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index d4826d6..a67cc52 100644 --- a/README.md +++ b/README.md @@ -1 +1,19 @@ # 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 \ No newline at end of file -- GitLab From d39ecec58bf42beaed48813f19c61851427fd844 Mon Sep 17 00:00:00 2001 From: Hatice Yildirim <Hatice.Yildirim@student.reutlingen-university.de> Date: Sat, 12 Apr 2025 23:04:21 +0200 Subject: [PATCH 2/5] Add ChatGPT scoring results for 5 commits from the Excel sheet 'Good' --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a67cc52..993fd89 100644 --- a/README.md +++ b/README.md @@ -16,4 +16,14 @@ 2 = schwach 3 = durchschnittlich 4 = gut -5 = exzellent \ No newline at end of file +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 | | +| 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 | | +| Issue: SPR-12059 | 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 | | +| UriComponentsBuilder supports query without value | 3 | | \ No newline at end of file -- GitLab From 29f5d29d2afc3f418f0013e2f8d3f51bb68f5220 Mon Sep 17 00:00:00 2001 From: Hatice Yildirim <Hatice.Yildirim@student.reutlingen-university.de> Date: Sat, 12 Apr 2025 23:08:38 +0200 Subject: [PATCH 3/5] Add ChatGPT scoring results for 5 commits from the Excel sheet 'Bad' --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 993fd89..891f547 100644 --- a/README.md +++ b/README.md @@ -26,4 +26,14 @@ | 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 | | | Issue: SPR-12059 | 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 | | -| UriComponentsBuilder supports query without value | 3 | | \ No newline at end of file +| UriComponentsBuilder supports query without value | 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 | | +| re-adding mock.jndi.* artifacts to .orm test codebase eliminated after moving away from svn:externals | 4 | | +| polishing | 1 | | +| IN PROGRESS - issue SPR-5599: Hook @Configuration class processing into context:component-scan/ and context:annotation-config/ through AnnotationConfigUtils#registerAnnotationConfigProcessors | 3 | | +| moving unit tests from .testsuite -> .core, .beans, .web, .web.portlet, .web.servlet | 4 | | \ No newline at end of file -- GitLab From 27753ee04fadb9ce14c659c30c7edd608df369ab Mon Sep 17 00:00:00 2001 From: Hatice Yildirim <Hatice.Yildirim@student.reutlingen-university.de> Date: Sat, 12 Apr 2025 23:17:30 +0200 Subject: [PATCH 4/5] Add Copilot scoring results for 5 commits from the Excel sheet 'Good' --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 891f547..8203885 100644 --- a/README.md +++ b/README.md @@ -22,11 +22,11 @@ | Commit Message | Score by ChatGPT | Score by Copilot | |----------------|------------------|------------------| -| Fix crash on login due to null user token | 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 | | -| Issue: SPR-12059 | 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 | | -| UriComponentsBuilder supports query without value | 3 | | +| 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 -- GitLab From e0dc53d0855d21654b6977311a3c0b7a1f3ade7b Mon Sep 17 00:00:00 2001 From: Hatice Yildirim <Hatice.Yildirim@student.reutlingen-university.de> Date: Sat, 12 Apr 2025 23:19:31 +0200 Subject: [PATCH 5/5] Add Copilot scoring results for 5 commits from the Excel sheet 'Bad' --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8203885..0974c20 100644 --- a/README.md +++ b/README.md @@ -32,8 +32,8 @@ | Commit Message | Score by ChatGPT | Score by Copilot | |----------------|------------------|------------------| -| refactoring .testsuite .aop.aspectj tests in preparation for migration to .context | 3 | | -| re-adding mock.jndi.* artifacts to .orm test codebase eliminated after moving away from svn:externals | 4 | | -| polishing | 1 | | -| IN PROGRESS - issue SPR-5599: Hook @Configuration class processing into context:component-scan/ and context:annotation-config/ through AnnotationConfigUtils#registerAnnotationConfigProcessors | 3 | | -| moving unit tests from .testsuite -> .core, .beans, .web, .web.portlet, .web.servlet | 4 | | \ No newline at end of file +| 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 -- GitLab