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

Implementing the Question Generator #35

Closed
uo289267 opened this issue Mar 1, 2024 · 1 comment · Fixed by #47
Closed

Implementing the Question Generator #35

uo289267 opened this issue Mar 1, 2024 · 1 comment · Fixed by #47
Labels
enhancement New feature or request

Comments

@uo289267
Copy link
Contributor

uo289267 commented Mar 1, 2024

We need to start implementing the question generator, or at least the most basic version of it. I remind you here that the question type that we will implement is the population.
I think that one aproach that we can follow is to split the module into different parts:

  • @ErdemYabaci, you will be in charge of creating the distractors (incorrect answers). Remember that the method that you will create receives a String as a parameter, even if it would make more sense to receive a number for this.
    • You will need to make sure that the set of instructions you generate are different from one another, and also different to the correct answer.
    • The algorithm you design for this should not be deterministic, in another words, the answer should have some degree of randomness (this is for the ideal case, if this gives you to much trouble we can definitely skip it for the first deliverable, and not actually use any randomness at all)
  • @sinne10, you will make the test. This is a complex module which includes lots of different possibilities and if we don't test it we will found ourselves in trouble. Some things that may be in the tests:
    • Check the distractors (no repeated values, no negative numbers, etc)
    • Check that the question are generated with the expected structure
    • Anything else that you or any other member of the team sees fit
  • @UO289845, you will create the actual generator. That means:
    • Controlling the accesses to wikidata.
    • Creating the question

For testing the wrong answers, more specifically, the reaction that the method has to receiving wrong parameters, both @ErdemYabaci and @sinne10 must work together and decide the best approach, but probably it must throw an exception of some sorts.

I will now create a branch, from which each of us should create our own branch in which we finally will develop the module. Don't worry, I'll post it here once everything is set.

If you have any question, doubt, problem, suggestion, idea or other feel free to post it here.

@uo289267 uo289267 added the enhancement New feature or request label Mar 1, 2024
@uo289267
Copy link
Contributor Author

uo289267 commented Mar 1, 2024

@UO289845 UO289845 closed this as not planned Won't fix, can't repro, duplicate, stale Mar 1, 2024
@UO289845 UO289845 linked a pull request Mar 6, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants