-
Notifications
You must be signed in to change notification settings - Fork 311
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
Development
: Adjust test coverage thresholds
#10485
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code LGTM
WalkthroughThis pull request modifies the Changes
Possibly related PRs
Suggested labels
Suggested reviewers
Tip ⚡🧪 Multi-step agentic review comment chat (experimental)
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (7)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
gradle/jacoco.gradle (1)
3-3
: Revisit AggregatedCoverageThresholds Configuration:
The TODO comment suggests that AggregatedCoverageThresholds should be set to 90% for INSTRUCTION and 0 for CLASS, but the current values are 0.880 for INSTRUCTION and 69 for CLASS. Please verify whether the CLASS threshold value is intentionally maintained at 69 or if it needs to be updated to 0 to meet the intended requirements.
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
gradle/jacoco.gradle
(2 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (7)
- GitHub Check: Call Build Workflow / Build and Push Docker Image
- GitHub Check: Call Build Workflow / Build .war artifact
- GitHub Check: client-tests
- GitHub Check: server-tests
- GitHub Check: server-style
- GitHub Check: client-style
- GitHub Check: Analyse
🔇 Additional comments (4)
gradle/jacoco.gradle (4)
7-7
: Verify Athena Module Thresholds:
The athena module thresholds have been updated to 0.874 (INSTRUCTION) and 2 (CLASS). Please confirm that these adjusted thresholds are aligned with the project's updated coverage requirements.
9-9
: Confirm Buildagent Module Thresholds Adjustment:
The buildagent module now has an INSTRUCTION threshold of 0.841 and CLASS set to 0. Ensure that this change is intentional and consistent with the overall coverage policy.
19-19
: Plagiarism Module Threshold Update:
The INSTRUCTION threshold for the plagiarism module has been lowered to 0.900 while CLASS remains at 0. This adjustment appears consistent with a reduction in the required coverage. Please verify that these values meet the project's quality expectations.
20-20
: Programming Module Threshold Tweak:
There is a minor adjustment in the programming module’s INSTRUCTION threshold—from what is presumed to be 0.872 to 0.870. Please confirm that this subtle change satisfies the updated coverage guidelines.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
appropriate fix for now
45c5cdf
Coverage dropped further since then: https://bamboo.ase.in.tum.de/browse/ARTEMIS-TESTS-JAVATEST-6959:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to pass coverage on develop we would need to go lower for some: https://bamboo.ase.in.tum.de/browse/ARTEMIS-TESTS-JAVATEST-6959
@@ -1,23 +1,23 @@ | |||
ext { | |||
// TODO: this should become 90% for INSTRUCTION and 0 for CLASS | |||
AggregatedCoverageThresholds = ["INSTRUCTION": 0.890, "CLASS": 69] | |||
AggregatedCoverageThresholds = ["INSTRUCTION": 0.880, "CLASS": 70] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AggregatedCoverageThresholds = ["INSTRUCTION": 0.880, "CLASS": 70] | |
AggregatedCoverageThresholds = ["INSTRUCTION": 0.86, "CLASS": 86] |
"atlas" : ["INSTRUCTION": 0.905, "CLASS": 5], | ||
"buildagent" : ["INSTRUCTION": 0.846, "CLASS": 0], | ||
"buildagent" : ["INSTRUCTION": 0.841, "CLASS": 0], | ||
"communication" : ["INSTRUCTION": 0.916, "CLASS": 2], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"communication" : ["INSTRUCTION": 0.916, "CLASS": 2], | |
"communication" : ["INSTRUCTION": 0.915, "CLASS": 2], |
I'll close this since we're looking for a sustainable solution to automate this process with a script. |
Checklist
General
Motivation & Description
Our test coverage checks on develop are currently failing.
This PR adjusts the coverage thresholds so our CI pipelines pass again.
Code Review
Summary by CodeRabbit