[FIX] Integrate never-worked baseline handling into CI reporting#1058
Draft
Rahul-2k4 wants to merge 5 commits intoCCExtractor:masterfrom
Draft
[FIX] Integrate never-worked baseline handling into CI reporting#1058Rahul-2k4 wants to merge 5 commits intoCCExtractor:masterfrom
Rahul-2k4 wants to merge 5 commits intoCCExtractor:masterfrom
Conversation
Adds a baseline_status field to RegressionTest with three states: - unknown - newly added test, no run history - never_worked - has run history, but never passed on any CCExtractor version - established - has at least one passing run (a failure here is a regression) This makes it possible to distinguish true regressions from samples that have never produced correct output, addressing the 'Never worked' test state goal from the Sample Platform NG project brief. Includes: - BaselineStatus DeclEnum in mod_regression/models.py - RegressionTest.update_baseline_status(passed) state-machine method - RegressionTest.is_regression property - Flask-Migrate migration (d1f3a9c2e8b7) with upgrade/downgrade - 12 unit tests covering all state transitions and DB persistence
Co-authored-by: Rahul-2k4 <216878448+Rahul-2k4@users.noreply.github.com>
Fix variable shadowing and missing docstring in never-worked baseline integration
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.



Please prefix your pull request with one of the following: [FEATURE] [FIX] [IMPROVEMENT].
In raising this pull request, I confirm the following (please check boxes):
My familiarity with the project is as follows (check one):
Summary
Linked Issue
Closes #1057
Test Plan