diff options
Diffstat (limited to 'yaksh/fixtures')
-rw-r--r-- | yaksh/fixtures/invalid_yaml.yaml | 8 | ||||
-rw-r--r-- | yaksh/fixtures/marks_correct.csv | 4 | ||||
-rw-r--r-- | yaksh/fixtures/marks_header_missing.csv | 3 | ||||
-rw-r--r-- | yaksh/fixtures/marks_header_modified.csv | 3 | ||||
-rw-r--r-- | yaksh/fixtures/marks_invalid_data.csv | 3 | ||||
-rw-r--r-- | yaksh/fixtures/marks_invalid_question_id.csv | 3 | ||||
-rw-r--r-- | yaksh/fixtures/marks_invalid_user.csv | 3 | ||||
-rw-r--r-- | yaksh/fixtures/marks_not_attempted_question.csv | 3 | ||||
-rw-r--r-- | yaksh/fixtures/marks_single_question.csv | 3 | ||||
-rw-r--r-- | yaksh/fixtures/sample_lesson_toc.yaml | 66 |
10 files changed, 99 insertions, 0 deletions
diff --git a/yaksh/fixtures/invalid_yaml.yaml b/yaksh/fixtures/invalid_yaml.yaml new file mode 100644 index 0000000..bcc153c --- /dev/null +++ b/yaksh/fixtures/invalid_yaml.yaml @@ -0,0 +1,8 @@ +--- +name: 'Sample lesson topic 1' +description: 'Topic 1 description' +--- +name: 'Sample lesson topic 1' +description: 'Topic 1 description' +content_type: 1 +time: '000000'
\ No newline at end of file diff --git a/yaksh/fixtures/marks_correct.csv b/yaksh/fixtures/marks_correct.csv new file mode 100644 index 0000000..9134da5 --- /dev/null +++ b/yaksh/fixtures/marks_correct.csv @@ -0,0 +1,4 @@ +username,Q-1212-Dummy1-1.0-marks,Q-1212-Dummy1-comments,Q-1213-Dummy2-1.0-marks,Q-1213-Dummy2-comments +student1,1,good work,1,nice +student2,1,good work,0,bad + diff --git a/yaksh/fixtures/marks_header_missing.csv b/yaksh/fixtures/marks_header_missing.csv new file mode 100644 index 0000000..8c3a747 --- /dev/null +++ b/yaksh/fixtures/marks_header_missing.csv @@ -0,0 +1,3 @@ +username,Q-1212-Dummy1-1.0-marks +student1,0.9 +student2,1 diff --git a/yaksh/fixtures/marks_header_modified.csv b/yaksh/fixtures/marks_header_modified.csv new file mode 100644 index 0000000..08ba31d --- /dev/null +++ b/yaksh/fixtures/marks_header_modified.csv @@ -0,0 +1,3 @@ +username,Q-1212-Dummmy1-1.0-marks,Q-1212-Dummy1-comments,Q-1213-Dummy2-1.0-marks,Q-1213-Dummy2-comments +student1,0.75,fine work,1,not nice +student2,1,good work,0,not okay diff --git a/yaksh/fixtures/marks_invalid_data.csv b/yaksh/fixtures/marks_invalid_data.csv new file mode 100644 index 0000000..44fb2bb --- /dev/null +++ b/yaksh/fixtures/marks_invalid_data.csv @@ -0,0 +1,3 @@ +username,Q-1212-Dummy1-1.0-marks,Q-1212-Dummy1-comments,Q-1213-Dummy2-1.0-marks,Q-1213-Dummy2-comments +student1,NA,good work,1,nice +student2,1,good work,0,bad diff --git a/yaksh/fixtures/marks_invalid_question_id.csv b/yaksh/fixtures/marks_invalid_question_id.csv new file mode 100644 index 0000000..eb1d921 --- /dev/null +++ b/yaksh/fixtures/marks_invalid_question_id.csv @@ -0,0 +1,3 @@ +username,Q-12112-Dummy1-1.0-marks,Q-1212-Dummy1-comments,Q-1213-Dummy2-1.0-marks,Q-1213-Dummy2-comments +student1,1,good work,1,nice +student2,1,good work,0,bad diff --git a/yaksh/fixtures/marks_invalid_user.csv b/yaksh/fixtures/marks_invalid_user.csv new file mode 100644 index 0000000..bd31071 --- /dev/null +++ b/yaksh/fixtures/marks_invalid_user.csv @@ -0,0 +1,3 @@ +username,Q-1212-Dummy1-1.0-marks,Q-1212-Dummy1-comments,Q-1213-Dummy2-1.0-marks,Q-1213-Dummy2-comments +student1,1,good work,1,nice +student452,1,good work,0,bad diff --git a/yaksh/fixtures/marks_not_attempted_question.csv b/yaksh/fixtures/marks_not_attempted_question.csv new file mode 100644 index 0000000..3c3e2e7 --- /dev/null +++ b/yaksh/fixtures/marks_not_attempted_question.csv @@ -0,0 +1,3 @@ +username,Q-1212-Dummy1-1.0-marks,Q-1212-Dummy1-comments,Q-1213-Dummy2-1.0-marks,Q-1213-Dummy2-comments +student1,1,good work,1,nice +student2,0.3,very good,1,good diff --git a/yaksh/fixtures/marks_single_question.csv b/yaksh/fixtures/marks_single_question.csv new file mode 100644 index 0000000..9677730 --- /dev/null +++ b/yaksh/fixtures/marks_single_question.csv @@ -0,0 +1,3 @@ +username,Q-1212-Dummy1-1.0-marks,Q-1212-Dummy1-comments +student1,0.5,okay work +student2,1,good work diff --git a/yaksh/fixtures/sample_lesson_toc.yaml b/yaksh/fixtures/sample_lesson_toc.yaml new file mode 100644 index 0000000..8030d5e --- /dev/null +++ b/yaksh/fixtures/sample_lesson_toc.yaml @@ -0,0 +1,66 @@ +# content_type 1: Topic, 2: Grading quiz, 3: Exercise, 4: Poll +--- +summary: |- + Sample lesson quiz 1 +type: |- + mcq +language: |- + other +description: |- + Choose the letter from the following +points: 1.0 +testcase: +- test_case_type: |- + mcqtestcase + options: |- + A + correct: false +- test_case_type: |- + mcqtestcase + options: |- + B + correct: true +- test_case_type: |- + mcqtestcase + options: |- + C + correct: false +- test_case_type: |- + mcqtestcase + options: |- + D + correct: false +active: true +topic: 'Dummy1' +content_type: 2 +time: '00:02:00' +--- +summary: |- + Sample lesson quiz 2 +type: |- + mcq +language: |- + python +description: |- + What will be the output of the statement + <br> + print(1+2) +points: 1.0 +testcase: +- test_case_type: |- + integertestcase + correct: '3' +active: true +topic: 'Dummy2' +content_type: 2 +time: '00:05:00' +--- +name: 'Sample lesson topic 1' +description: 'Topic 1 description' +content_type: 1 +time: '00:00:00' +--- +name: 'Sample lesson topic 2' +description: 'Topic 2 description' +content_type: 1 +time: '00:01:00' |