-
Notifications
You must be signed in to change notification settings - Fork 451
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
[OPS] Editorial Activity statistics are inaccurate #7709
Comments
I've just checked an OPS 3.3.0.8 instance and I can confirm the results are inaccurate. |
@ajnyga is this something that you'll have a chance to tackle shortly? We have a hosted client affected as well and can provide a PR next week if it might be helpful. |
@jonasraoni did you check OJS as well? Just seems a bit weird that for example the submissions received stat would be incorrect in OPS since that is mostly dealt with in the pkp-lib probably |
@mfelczak of course go ahead, I will not have time to look at this in more detail before next week anyway |
Is it possible that there are submissions that were "declined" before the author finished submitting them? The stats code excludes submissions where the There is also some code that excludes some cases that might arise from imported submissions: pkp-lib/classes/services/queryBuilders/PKPStatsEditorialQueryBuilder.inc.php Lines 368 to 384 in 5f17a8b
|
Not in our case. |
At least |
I just started taking a look on it =] About the submissions received, here's the culprit on my use case:
According to the comment above this line, looks like this condition is trying to ignore imported submissions.
|
About the accepted count... The code is looking for accepted editorial decisions, but no decision is created when a preprint is published (only the rejected ones receive a decision). I guess it should be this way, but just to confirm, isn't it needed to have an accepted decision? |
Yes, we actually discussed this with Nate last week. It has just been left there when OPS was created based on OJS. There are currently not "accepted" editorial decision in OPS that the count could be based on. You can just decline a submission or post it online. I think you could remove that with the same PR? |
I think it makes sense to ignore imported submissions. The reason for counting accepted/rejected is to get the percentage for approved submissions. The imported articles are all accepted so it affects the percentage in the wrong way because you never import rejected articles from those years. BUT I think the problem with the accepted/rejected count is also that it counts all types of submissions. Not just reviewed articles. So an editorial is regarded as an accepted submission. Or at least I think it does. We would need a content type taxonomy to the system... |
In the
You can see the original bug report at #6011. This was well-tested against real data, so we do want to keep this in.
That's a good point, and a use-case that only exists in OPS. I think we could safely change this condition to |
@NateWr The PR is huge, if you can save me some time, confirm if the following is the way to go:
Import: Issue with filter: |
Hey all, I'm not sure I am following the conversation (forgive me if I'm not), but we do want to know the number of accepted and rejected submissions. |
Which PR?
No, only remove the accepted statistics. In OPS, accepted = published, so we should only see numbers for Received, Declined, and Published.
Maybe I'm misunderstanding something, but you shouldn't need to touch the decisions at all. The one-line change to the conditional expression you mentioned should be enough to include preprints published on the same day as they are submitted.
Yes, but in OPS it will be called Published and Declined. |
Sorry @jonasraoni, I realize you meant the PR for #7265. I didn't mean for you to crawl through that. Just reducing the stats to Received, Declined and Published in |
Thanks @NateWr for the clarification! |
Can we talk about this as part of #7446? If we add something like this, I don't want to do it as part of this little issue. I'd prefer to think through how something like this might be used (or not) throughout the entire system. We might, for example, need to make distinctions between imports for different purposes (back catalogue vs. current but doesn't use the workflow). |
Ok!
I just wanted to confirm if this decision part is fine, at a first sight I expected to have an accepted and a declined decision =] |
…09-fix-statistics##
…re submissions submitted and published in the same day
…of submissions in progress/imported)
…ditorial-statistics##
…ditorial-statistics##
…ditorial-statistics##
…09-fix-editorial-statistics##
…09-fix-editorial-statistics##
…09-fix-editorial-statistics##
…-editorial-statistics pkp/pkp-lib#7709 Added missing date range filter to the editorial statistics
…-editorial-statistics pkp/pkp-lib#7709 Added missing date range filter to the editorial statistics
…editorial-statistics pkp/pkp-lib#7709 Added missing date range filter to the editorial statistics
…-editorial-statistics #7709 Added missing date range filter to the editorial statistics
…al-statistics #7709 Fix editorial statistics
…al-statistics pkp/pkp-lib#7709 Fix editorial statistics
…al-statistics pkp/pkp-lib#7709 Fix editorial statistics
…l-statistics pkp/pkp-lib#7709 Fix editorial statistics
I've rebased and merged the remaining PRs. |
…ditorial-statistics##
Describe the bug
The statistics that are given in the Editorial Activity section are inaccurate.
Taking by example SciELO Preprints, this is what is shown today as overall Editorial Activity:
What application are you using?
OPS 3.3.0.8
PRs
stable-3_3_0
main
The text was updated successfully, but these errors were encountered: