gh-classroom icon indicating copy to clipboard operation
gh-classroom copied to clipboard

[Bug] Incorrect submission number in CLI.

Open ashwinexe opened this issue 2 years ago • 2 comments

Describe the bug Classroom CLI seems to show submission as zero while the Classroom webpage shows Non zero submissions.

Expected Behavior Classroom CLI should show the same number of submissions as displayed on the webpage dashboard

Additional Context

I was going through GitHub Octernships submission of our latest partner and used classroom cli to check stats. For some reason, submission shown in webpage (screenshot attached) shows 15 submissions while CLI shows 0 (screenshot attached) Upon further investigation, it seems every classroom shows up 0 submissions under cli while it has a number on the classroom page.

Screenshots

Webpage Screenshot 2023-12-01 at 3 59 22 PM

CLI Screenshot 2023-12-01 at 3 59 59 PM

ashwinexe avatar Dec 04 '23 18:12 ashwinexe

@ashwinexe 👋 thank you for submitting this issue! cc @RyanHecht for visibility and prioritization.

nixpad avatar Feb 23 '24 15:02 nixpad

I've investigated and I have the same issue. I think it's more a server problem with the endpoint more than a problem with the extension it self.

I did a GET request to https://api.github.com/assignments/353859 and received "submissions: 0" when the assignment have 9 submissions.

Captura de pantalla 2024-04-01 a las 20 22 53 Captura de pantalla 2024-04-01 a las 20 25 05

DiegoPerezGarcia avatar Apr 01 '24 19:04 DiegoPerezGarcia