insper-education / active-handout-plugins-py

1 stars 0 forks source link

Add distractors to parsons problems #22

Open igordsm opened 2 years ago

igordsm commented 2 years ago

Proposal:

!!! exercise parsons description ˋˋˋpython correct code ˋˋˋ

ˋˋˋpython these lines are distractors ˋˋˋ

@toshikurauchi thoughts on this?

toshikurauchi commented 2 years ago

I think it would be nice to support multiple solutions. How about:

!!! exercise parsons
    Description

    ```python
    Solution 1
    Solution 2
!!! distractor
    ```python
    Distractors
    ```
igordsm commented 2 years ago

It seems reasonable to mark distractors explicitly inside the exercise. I wouldn't implement alternative solutions yet on the same PR as this one. For me these are two different things and I would rather create more parsons problems before committing to multiple solutions.

toshikurauchi commented 2 years ago

Agreed. If we have the explicit marker for distractors the syntax won't break when/if we decide to support alternative solutions.

rafaelcorsi commented 2 years ago

I got distracted reading the issue