The "Expected" and "Actual" labels on autograded assertions for ActiveCode exercises are backwards
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- python
- Ambito
- frontend, testing-qa
Direzione di ricerca
Start by reproducing an ActiveCode exercise using self.assertIn and inspect the grader's "Expanding Differences" output. Trace the assertion-result display entry point and add or update a regression test if one exists; done means the expected and actual labels match the operands shown in the grader.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Please check the current issues Many bug reports are duplicates, this just creates more work for us. Searching the issues first may give you your answer or a workaround! If not adding new information to an existing report is much more helpful than a new report.
What Course are you in
Knowing the course will help us a lot
hhtlacs
What Page were you on
What is your username
norkish
Describe the bug
A clear and concise description of what what you were trying to accomplish and what went wrong. Vague statements like X does not work are not helpful. Imagine if one of your students sent you an email that said, "My program doesn't work, whats wrong with it?" Could you help them with only that to go on?
When I create ActiveCode exercises and use the self.assertIn, the order of operands seems to want "expected" first and then "actual" second. But when the grader reports the test results and allows "Expanding Differences", these two labels are swapped (i.e., it shows the submission derived from the student's solution as the "expected" and the part that my test checks should be "in" as the "actual")
Traceback
If you got here through the Bug Report page and there was a stack trace, please paste it here
Javascript Errors
Many many errors can be quickly diagnosed from the Javascript Console error log. On Chrome this is View --> Developer --> Javascript Console, on Safari ⌥⌘i or Develop --> Show Web Inspector on Firefox Tools --> Web Developer --> Toggle Tools
- Lingua principale
- HTML
- Stelle
- 136
- Fork
- 199
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di RunestoneInteractive/thinkcspy
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
RunestoneInteractive/thinkcspy#281 · 1 commento ·
-
PythonTutor / CodeLens does not allow "import test"Forse già presa @dandrake l’ha presa 253 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
RunestoneInteractive/thinkcspy#279 · 4 commenti ·
-
bug help wanted
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
RunestoneInteractive/thinkcspy#278 · 6 commenti ·
-
Hidden prefix visible to students in Active Code Exercises via Code LensForse di nuovo libera @morozov-av l’ha presa 275 giorni fa e non c’è nessuna pull request aperta. Apertaenhancement
RunestoneInteractive/thinkcspy#277 · 1 commento · 1 assegnatario ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 38/100
Tutte le issue di RunestoneInteractive/thinkcspy
Issue simili
-
area:curator enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
CassioDalla/Scrinalia#150 ·
I maintainer di solito rispondono entro 1 giorno
-
status: needs-triage v1-bug-bash
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
a2ui-project/a2ui#3533 ·
I maintainer di solito rispondono entro 1 giorno
-
Unsorted
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
AdguardTeam/AdguardFilters#245105 ·
I maintainer di solito rispondono entro 1 giorno
-
help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
🤖 fix: a Daytona connection test started before a settings save can show the old key as connectedAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
I maintainer di solito rispondono entro 1 giorno