RunestoneInteractive / fopp

Foundations of Python Programming
https://runestone.academy/runestone/static/fopp/index.html
37 stars 120 forks source link

Duplicated exercises in 1.12.1 #316

Open danieljin47 opened 4 years ago

danieljin47 commented 4 years ago

Describe the bug Duplicates to exercises in section 1.12.1 at https://runestone.academy/runestone/books/published/fopp/GeneralIntro/Exercises.html

To Reproduce Steps to reproduce the behavior:

  1. Go to https://runestone.academy/runestone/books/published/fopp/GeneralIntro/Exercises.html
  2. Scroll down to Section 1.12.1
  3. See duplicated MC questions
schweinsbergs commented 2 years ago

Working on this for assignment A06.

bnmnetp commented 2 years ago

I think you will find that the duplicated questions are exercises added by other instructors. Often as practice for themselves to learn how to write/edit their own.

What would be nice is make a modification to the code in RunestoneServer that saves questions and if a question matches another question already in the database (except for the identifier) you could reject the question and not allow an instructor to save it.