diff --git a/ref-test/app/tools/data.py b/ref-test/app/tools/data.py index af41acc..3085b21 100644 --- a/ref-test/app/tools/data.py +++ b/ref-test/app/tools/data.py @@ -117,7 +117,6 @@ def analyse(subject:Union[Dataset,Test]) -> dict: } } scores_raw = [] - dataset = subject if isinstance(subject, Dataset) else subject.dataset if isinstance(subject, Test): for entry in subject.entries: if entry.answers: @@ -131,7 +130,6 @@ def analyse(subject:Union[Dataset,Test]) -> dict: scores_raw.append(int(entry.result['score'])) else: for test in subject.tests: - output['entries'] += len(test.entries) for entry in test.entries: if entry.answers: for question, answer in entry.answers.items():