Problem: Grades not visible, while autograding CI passes fine and release grades #108906
Unanswered
agilebotanist
asked this question in
GitHub Education
Replies: 2 comments
-
I have tried this workaround. There method with Classroom updates as needed when sent with the numbers for grades. I hoped to use this as a workaround by combining with the official Autograding. Since currently my Classroom does not update grades labels :/ Here is my code to debug and pass the grades to the Classroom by this custom action. Unfortunately, this workaround does not work. name: GitHub Classroom Workflow
on: [push]
jobs:
build:
permissions: write-all
name: Autograding
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Auto
id: auto
uses: education/autograding@v1
- name: Out
id: out
env:
GRADES: ${{join(steps.auto.outputs.*, '\n')}}
run: |
echo "Auto print $GRADES"
points=$(echo "$GRADES" | awk -F'/' '{print $1}')
echo 'points<<EOF' >> $GITHUB_OUTPUT
echo $points >> $GITHUB_OUTPUT
echo EOF >> $GITHUB_OUTPUT
totalpoints=$(echo "$GRADES" | awk -F'/' '{print $2}')
echo 'totalpoints<<EOF' >> $GITHUB_OUTPUT
echo $totalpoints >> $GITHUB_OUTPUT
echo EOF >> $GITHUB_OUTPUT
- name: Get points
env:
POINTS: ${{ steps.out.outputs.points }}
TOTAL: ${{ steps.out.outputs.totalpoints }}
run: echo "Grades $POINTS / $TOTAL"
- name: mark
id: mark
env:
POINTS: ${{ steps.out.outputs.points }}
TOTAL: ${{ steps.out.outputs.totalpoints }}
# run: echo "points=7" >> "$GITHUB_OUTPUT" ; echo "total-points=9" >> "$GITHUB_OUTPUT"
uses: markpatterson27/autograding@dev-points-input-release
with:
points: ${{ steps.out.outputs.points }}
available-points: ${{ steps.out.outputs.totalpoints }}
# points: 8
# available-points: 15 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Managed to solve the issue ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
Dear experts,
We have a very simple assignment in python. The Autograding CI passes well. But the grades are not visible in the Classroom. We tried various combinations and simplifications of classroom.yaml and autograding.json. Nothing helps. Any clues?
Also, it appears that all worked fine couple of weeks ago, when we tested.
But the grades are not visible in Classroom.
Could you help please?
Thanks
PS
Sandbox student's project.
Scripts.
Beta Was this translation helpful? Give feedback.
All reactions