-
Notifications
You must be signed in to change notification settings - Fork 48
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
[BUG] Differences between GitHub comment and actual results #535
Comments
I'd like to try working on this. Is there a way to download the server's database so that I can try and look at the test results more closely? Right now, I can't really tell whether the correct test results are the ones shown on the Sample Platform website, the ones shown in the GitHub comment, or neither of them. |
@pranavrajpal I don't think you'll be needing the server database, sample database which comes through the installation must be enough, I suppose the issue is with the logic of comment_pr function, especially while counting for the passed tests. |
The correct results are on the page, so it's indeed the commenting function logic which goes wrong for some reason. |
@pranavrajpal Are you still working on this? If you're stuck somewhere , we're ready to help :) |
Yes, I'm still working on this. Currently, I'm still trying to determine what the cause of this is. I think that the problem is somehow related to regression tests that have multiple expected variants of a single output file, because several of the regression tests I've found that are incorrectly marked as failing in the comment in CCExtractor/ccextractor#1329 seem to have 2 variants for output file 1 (so far I've found 2, 19, and 104). However, I'm still trying to reproduce this so I can't say for certain. I have a question about how regression tests with multiple variants of the same file (like the previously mentioned tests) are stored in the database. The relevant model definitions for how the output files are stored seem to be sample-platform/mod_regression/models.py Lines 136 to 148 in e0cacb9
and RegressionTestOutputFiles :sample-platform/mod_regression/models.py Lines 213 to 224 in e0cacb9
If there are multiple allowed variants of an output file, would that be represented as:
|
Yes , you're correct. |
@canihavesomecoffee Is this issue fixed or still open? |
Hey @devmrfitz , only part of the issue has been solved by #540 . Please refer the PR to know more :) |
Sample platform commit (found at the bottom of each page) :
In raising this issue, I confirm the following (please check boxes, eg [X]):
My familiarity with the project is as follows (check one, eg [X]):
The posted results to a PR on GitHub are inconsistent with what you see when you visit the actual results page.
For example:
CCExtractor/ccextractor#1329 (comment) (table mentions fails, below it says all tests passed)
vs
https://sampleplatform.ccextractor.org/test/3224 (all tests passed)
Another example:
CCExtractor/ccextractor#1329 (comment) (~19 listed failures)
vs
https://sampleplatform.ccextractor.org/test/3225 (5 fails)
The text was updated successfully, but these errors were encountered: