Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added multiple flags to moodle #20

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Added multiple flags to moodle #20

wants to merge 5 commits into from

Conversation

PootisHunter
Copy link
Collaborator

Closes #17

-Added multiple flag support for answers and a test that shows functionality (test_multiple_flags)

  • Current separator for flags: ";"

  • Using itertools crate to implement combinations and permutations for flags

Generating answers for 3 flags currently adds total 6+12+12 = 30 answers

  • 6 answers for 33 fraction ( 3 flag_string and 3 encase_flag answers)
  • 12 answers for 67 fraction ( 6 flag_string and 6 encase_flag answers)
  • 12 answers for 100 fraction ( 6 flag_string and 6 encase_flag answers)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Moodle exam generation should support multiple flags in a single exam question
1 participant