Skip to content

Commit

Permalink
Aumented the number of entites generated to reduce the number of errors
Browse files Browse the repository at this point in the history
  • Loading branch information
UO289845 committed Apr 18, 2024
1 parent 5281b9c commit b59fe08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public List<Question> generateQuestions(QuestionType type, int amount){
List<Question> questions = new ArrayList<>();
List<String> entites = new ArrayList<>();
try {
entites = EntityGenerator.getEntities(type, 100, generator.getPropertyId());
entites = EntityGenerator.getEntities(type, 1000, generator.getPropertyId());
} catch (IOException e) {
e.printStackTrace();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ private String getAnswer(String id) throws Exception{
public List<String> getWrongAnswers(String rightAnswer) throws Exception {
List<String> entites = new ArrayList<>();
try {
entites = EntityGenerator.getEntities(type, 100, getPropertyId());
entites = EntityGenerator.getEntities(type, 1000, getPropertyId());
} catch (IOException e) {
e.printStackTrace();
}
Expand Down

0 comments on commit b59fe08

Please sign in to comment.