Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(amazonq): Implementing the feedback system for internal users to improve unit test generation quality. #5465

Merged
merged 8 commits into from
Mar 12, 2025

Conversation

laileni-aws
Copy link
Contributor

Problem

  • The unit test generation team lacks sufficient feedback to enhance the quality of their produced tests.

Solution

  • Implementing the feedback system for internal users to evaluate and enhance unit test generation quality.
JB.PR.F.b.mov

Checklist

  • My code follows the code style of this project
  • I have added tests to cover my changes
  • A short description of the change has been added to the CHANGELOG if the change is customer-facing in the IDE.
  • I have added metrics for my changes (if required)

License

I confirm that my contribution is made under the terms of the Apache 2.0 license.

@laileni-aws laileni-aws marked this pull request as ready for review March 11, 2025 01:21
@laileni-aws laileni-aws requested review from a team as code owners March 11, 2025 01:21
@@ -16,6 +16,6 @@ class FeatureDevFeedbackDialog(project: Project) : FeedbackDialog(project) {
}

init {
title = message("feedback.title.amazonq.feature_dev")
title = message("feedback.title.amazonq.send_feedback")
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generalizing string name to reuse this for both /test and /dev.

@laileni-aws laileni-aws enabled auto-merge (squash) March 11, 2025 19:38
@rli rli disabled auto-merge March 12, 2025 04:38
@@ -559,12 +560,25 @@ class CodeWhispererUTGChatManager(val project: Project, private val cs: Coroutin
e is JsonParseException -> message("testgen.error.generic_technical_error_message")
else -> message("testgen.error.generic_error_message")
}

val buttonList = mutableListOf<Button>()
if (isInternalUser(getStartUrl(project))) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think we need a discussion on why this is proliferating

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is aimed for only internal users to get feedback about quality of UTG. So, I used this, but LMK if there is a better way todo this!
Thank you.

@rli rli merged commit 0630ec8 into aws:main Mar 12, 2025
12 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants