diff --git a/data/explorations/android_interactions/Test all android interactions.yaml b/data/explorations/android_interactions/Test all android interactions.yaml new file mode 100644 index 000000000000..abd4272f174c --- /dev/null +++ b/data/explorations/android_interactions/Test all android interactions.yaml @@ -0,0 +1,825 @@ +author_notes: '' +auto_tts_enabled: true +blurb: '' +category: Algorithms +correctness_feedback_enabled: false +init_state_name: Introduction +language_code: en +objective: test android specific interactions +param_changes: [] +param_specs: {} +schema_version: 50 +states: + Fraction: + card_is_checkpoint: false + classifier_model_id: null + content: + content_id: content + html:
What fraction represents half of something?
+ interaction: + answer_groups: + - outcome: + dest: radio button + feedback: + content_id: feedback_1 + html:Correct!
+ labelled_as_correct: false + missing_prerequisite_skill_id: null + param_changes: [] + refresher_exploration_id: null + rule_specs: + - inputs: + f: + denominator: 2 + isNegative: false + numerator: 1 + wholeNumber: 0 + rule_type: IsExactlyEqualTo + tagged_skill_misconception_id: null + training_data: [] + confirmed_unclassified_answers: [] + customization_args: + allowImproperFraction: + value: true + allowNonzeroIntegerPart: + value: true + customPlaceholder: + value: + content_id: ca_customPlaceholder_0 + unicode_str: '' + requireSimplestForm: + value: false + default_outcome: + dest: Fraction + feedback: + content_id: default_outcome + html:That answer isn't correct. Try again.
+ labelled_as_correct: false + missing_prerequisite_skill_id: null + param_changes: [] + refresher_exploration_id: null + hints: + - hint_content: + content_id: hint_2 + html:Remember that two halves, when added together, make one whole.
+ - hint_content: + content_id: hint_3 + html:One half is a fraction resulting from dividing one by two.
+ - hint_content: + content_id: hint_4 + html:Half in fraction is represented by 1 in the numerator and + 2 in the denominator.
+ id: FractionInput + solution: + answer_is_exclusive: true + correct_answer: + denominator: 2 + isNegative: false + numerator: 1 + wholeNumber: 0 + explanation: + content_id: solution + html:Half of something has one part in the numerator for every two parts + in the denominator.
+ linked_skill_id: null + next_content_id_index: 5 + param_changes: [] + recorded_voiceovers: + voiceovers_mapping: + ca_customPlaceholder_0: {} + content: {} + default_outcome: {} + feedback_1: {} + hint_2: {} + hint_3: {} + hint_4: {} + solution: {} + solicit_answer_details: false + written_translations: + translations_mapping: + ca_customPlaceholder_0: {} + content: {} + default_outcome: {} + feedback_1: {} + hint_2: {} + hint_3: {} + hint_4: {} + solution: {} + Introduction: + card_is_checkpoint: true + classifier_model_id: null + content: + content_id: content + html:Test exploration with all android specific interactions
In which language does Oppia mean 'to learn'?
+ interaction: + answer_groups: + - outcome: + dest: drag and drop + feedback: + content_id: feedback_1 + html:Correct!
+ labelled_as_correct: false + missing_prerequisite_skill_id: null + param_changes: [] + refresher_exploration_id: null + rule_specs: + - inputs: + x: + contentId: rule_input_2 + normalizedStrSet: + - finnish + rule_type: Equals + tagged_skill_misconception_id: null + training_data: [] + confirmed_unclassified_answers: [] + customization_args: + placeholder: + value: + content_id: ca_placeholder_0 + unicode_str: '' + rows: + value: 1 + default_outcome: + dest: Text + feedback: + content_id: default_outcome + html:Not quite. Try again (or maybe use a search engine).
+ labelled_as_correct: false + missing_prerequisite_skill_id: null + param_changes: [] + refresher_exploration_id: null + hints: [] + id: TextInput + solution: null + linked_skill_id: null + next_content_id_index: 3 + param_changes: [] + recorded_voiceovers: + voiceovers_mapping: + ca_placeholder_0: {} + content: {} + default_outcome: {} + feedback_1: {} + rule_input_2: {} + solicit_answer_details: false + written_translations: + translations_mapping: + ca_placeholder_0: {} + content: {} + default_outcome: {} + feedback_1: {} + rule_input_2: {} + check box: + card_is_checkpoint: false + classifier_model_id: null + content: + content_id: content + html:What are the primary colors of light?
+ interaction: + answer_groups: + - outcome: + dest: integer input + feedback: + content_id: feedback_6 + html:Correct!
+ labelled_as_correct: false + missing_prerequisite_skill_id: null + param_changes: [] + refresher_exploration_id: null + rule_specs: + - inputs: + x: + - ca_choices_0 + - ca_choices_2 + - ca_choices_3 + rule_type: Equals + tagged_skill_misconception_id: null + training_data: [] + - outcome: + dest: check box + feedback: + content_id: feedback_7 + html:'Yellow' is considered a primary color in the RYB spectrum, but + that doesn't correspond to light. Try again!
+ labelled_as_correct: false + missing_prerequisite_skill_id: null + param_changes: [] + refresher_exploration_id: null + rule_specs: + - inputs: + x: + - ca_choices_1 + rule_type: ContainsAtLeastOneOf + tagged_skill_misconception_id: null + training_data: [] + confirmed_unclassified_answers: [] + customization_args: + choices: + value: + - content_id: ca_choices_0 + html:Red
+ - content_id: ca_choices_1 + html:Yellow
+ - content_id: ca_choices_2 + html:Green
+ - content_id: ca_choices_3 + html:Blue
+ - content_id: ca_choices_4 + html:Orange
+ - content_id: ca_choices_5 + html:Purple
+ maxAllowableSelectionCount: + value: 3 + minAllowableSelectionCount: + value: 1 + default_outcome: + dest: check box + feedback: + content_id: default_outcome + html:That's not quite right. Try again.
+ labelled_as_correct: false + missing_prerequisite_skill_id: null + param_changes: [] + refresher_exploration_id: null + hints: [] + id: ItemSelectionInput + solution: null + linked_skill_id: null + next_content_id_index: 8 + param_changes: [] + recorded_voiceovers: + voiceovers_mapping: + ca_choices_0: {} + ca_choices_1: {} + ca_choices_2: {} + ca_choices_3: {} + ca_choices_4: {} + ca_choices_5: {} + content: {} + default_outcome: {} + feedback_6: {} + feedback_7: {} + solicit_answer_details: false + written_translations: + translations_mapping: + ca_choices_0: {} + ca_choices_1: {} + ca_choices_2: {} + ca_choices_3: {} + ca_choices_4: {} + ca_choices_5: {} + content: {} + default_outcome: {} + feedback_6: {} + feedback_7: {} + drag and drop: + card_is_checkpoint: false + classifier_model_id: null + content: + content_id: content + html:Sort the following in descending order.
+ interaction: + answer_groups: + - outcome: + dest: drag and drop sort + feedback: + content_id: feedback_4 + html:That's correct
+ labelled_as_correct: false + missing_prerequisite_skill_id: null + param_changes: [] + refresher_exploration_id: null + rule_specs: + - inputs: + x: + - - ca_choices_1 + - - ca_choices_2 + - - ca_choices_3 + - - ca_choices_0 + rule_type: IsEqualToOrdering + tagged_skill_misconception_id: null + training_data: [] + confirmed_unclassified_answers: [] + customization_args: + allowMultipleItemsInSamePosition: + value: false + choices: + value: + - content_id: ca_choices_0 + html:0.35
+ - content_id: ca_choices_1 + html:3/5
+ - content_id: ca_choices_2 + html:0.5
+ - content_id: ca_choices_3 + html:0.46
+ default_outcome: + dest: drag and drop + feedback: + content_id: default_outcome + html:Not quite. Try again.
+ labelled_as_correct: false + missing_prerequisite_skill_id: null + param_changes: [] + refresher_exploration_id: null + hints: [] + id: DragAndDropSortInput + solution: null + linked_skill_id: null + next_content_id_index: 5 + param_changes: [] + recorded_voiceovers: + voiceovers_mapping: + ca_choices_0: {} + ca_choices_1: {} + ca_choices_2: {} + ca_choices_3: {} + content: {} + default_outcome: {} + feedback_4: {} + solicit_answer_details: false + written_translations: + translations_mapping: + ca_choices_0: {} + ca_choices_1: {} + ca_choices_2: {} + ca_choices_3: {} + content: {} + default_outcome: {} + feedback_4: {} + drag and drop sort: + card_is_checkpoint: false + classifier_model_id: null + content: + content_id: content + html:Sort the following in descending order, putting equal items in the + same position.
+ interaction: + answer_groups: + - outcome: + dest: image region + feedback: + content_id: feedback_4 + html:That's correct
+ labelled_as_correct: false + missing_prerequisite_skill_id: null + param_changes: [] + refresher_exploration_id: null + rule_specs: + - inputs: + x: + - - ca_choices_0 + - ca_choices_1 + - - ca_choices_3 + - - ca_choices_2 + rule_type: IsEqualToOrdering + tagged_skill_misconception_id: null + training_data: [] + - outcome: + dest: drag and drop sort + feedback: + content_id: feedback_5 + html:Seems like you did the ascending order
+ labelled_as_correct: false + missing_prerequisite_skill_id: null + param_changes: [] + refresher_exploration_id: null + rule_specs: + - inputs: + x: ca_choices_0 + y: 2 + rule_type: HasElementXAtPositionY + tagged_skill_misconception_id: null + training_data: [] + confirmed_unclassified_answers: [] + customization_args: + allowMultipleItemsInSamePosition: + value: true + choices: + value: + - content_id: ca_choices_0 + html:3/5
+ - content_id: ca_choices_1 + html:6.0
+ - content_id: ca_choices_2 + html:0.35
+ - content_id: ca_choices_3 + html:0.46
+ default_outcome: + dest: drag and drop sort + feedback: + content_id: default_outcome + html:Not quite. Try again.
+ labelled_as_correct: false + missing_prerequisite_skill_id: null + param_changes: [] + refresher_exploration_id: null + hints: [] + id: DragAndDropSortInput + solution: null + linked_skill_id: null + next_content_id_index: 6 + param_changes: [] + recorded_voiceovers: + voiceovers_mapping: + ca_choices_0: {} + ca_choices_1: {} + ca_choices_2: {} + ca_choices_3: {} + content: {} + default_outcome: {} + feedback_4: {} + feedback_5: {} + solicit_answer_details: false + written_translations: + translations_mapping: + ca_choices_0: {} + ca_choices_1: {} + ca_choices_2: {} + ca_choices_3: {} + content: {} + default_outcome: {} + feedback_4: {} + feedback_5: {} + end: + card_is_checkpoint: false + classifier_model_id: null + content: + content_id: content + html: Congratulations, you have finished! + interaction: + answer_groups: [] + confirmed_unclassified_answers: [] + customization_args: + recommendedExplorationIds: + value: [] + default_outcome: null + hints: [] + id: EndExploration + solution: null + linked_skill_id: null + next_content_id_index: 0 + param_changes: [] + recorded_voiceovers: + voiceovers_mapping: + content: {} + solicit_answer_details: false + written_translations: + translations_mapping: + content: {} + image region: + card_is_checkpoint: false + classifier_model_id: null + content: + content_id: content + html:Click on the "O" letter in the below image.
+ interaction: + answer_groups: + - outcome: + dest: end + feedback: + content_id: feedback_1 + html:Continue
+ labelled_as_correct: false + missing_prerequisite_skill_id: null + param_changes: [] + refresher_exploration_id: null + rule_specs: + - inputs: + x: O + rule_type: IsInRegion + tagged_skill_misconception_id: null + training_data: [] + confirmed_unclassified_answers: [] + customization_args: + highlightRegionsOnHover: + value: false + imageAndRegions: + value: + imagePath: img_20210622_123420_m5o3l7p665_height_288_width_288.png + labeledRegions: + - label: O + region: + area: + - - 0.10069444444444445 + - 0.3285590277777778 + - - 0.3506944444444444 + - 0.5959201388888888 + regionType: Rectangle + - label: P + region: + area: + - - 0.3541666666666667 + - 0.4084201388888889 + - - 0.4930555555555556 + - 0.64453125 + regionType: Rectangle + - label: p2 + region: + area: + - - 0.4965277777777778 + - 0.3980034722222222 + - - 0.65625 + - 0.6584201388888888 + regionType: Rectangle + - label: I + region: + area: + - - 0.6423611111111112 + - 0.3389756944444444 + - - 0.7395833333333334 + - 0.6028645833333334 + regionType: Rectangle + - label: a + region: + area: + - - 0.7256944444444444 + - 0.4188368055555556 + - - 0.8715277777777778 + - 0.5855034722222222 + regionType: Rectangle + default_outcome: + dest: image region + feedback: + content_id: default_outcome + html:Select the left most letter
+ labelled_as_correct: false + missing_prerequisite_skill_id: null + param_changes: [] + refresher_exploration_id: null + hints: [] + id: ImageClickInput + solution: null + linked_skill_id: null + next_content_id_index: 2 + param_changes: [] + recorded_voiceovers: + voiceovers_mapping: + content: {} + default_outcome: {} + feedback_1: {} + solicit_answer_details: false + written_translations: + translations_mapping: + content: {} + default_outcome: {} + feedback_1: {} + integer input: + card_is_checkpoint: false + classifier_model_id: null + content: + content_id: content + html:What is 11 times 11?
+ interaction: + answer_groups: + - outcome: + dest: ratio + feedback: + content_id: feedback_0 + html:Correct!
+ labelled_as_correct: false + missing_prerequisite_skill_id: null + param_changes: [] + refresher_exploration_id: null + rule_specs: + - inputs: + x: 121.0 + rule_type: Equals + tagged_skill_misconception_id: null + training_data: [] + - outcome: + dest: integer input + feedback: + content_id: feedback_1 + html:Not quite. It's actually larger than that. Try again.
+ labelled_as_correct: false + missing_prerequisite_skill_id: null + param_changes: [] + refresher_exploration_id: null + rule_specs: + - inputs: + x: 121.0 + rule_type: IsLessThan + tagged_skill_misconception_id: null + training_data: [] + - outcome: + dest: integer input + feedback: + content_id: feedback_2 + html:Not quite. It's less than that.
+ labelled_as_correct: false + missing_prerequisite_skill_id: null + param_changes: [] + refresher_exploration_id: null + rule_specs: + - inputs: + x: 121.0 + rule_type: IsGreaterThan + tagged_skill_misconception_id: null + training_data: [] + confirmed_unclassified_answers: [] + customization_args: {} + default_outcome: + dest: integer input + feedback: + content_id: default_outcome + html:Try again
+ labelled_as_correct: false + missing_prerequisite_skill_id: null + param_changes: [] + refresher_exploration_id: null + hints: [] + id: NumericInput + solution: null + linked_skill_id: null + next_content_id_index: 3 + param_changes: [] + recorded_voiceovers: + voiceovers_mapping: + content: {} + default_outcome: {} + feedback_0: {} + feedback_1: {} + feedback_2: {} + solicit_answer_details: false + written_translations: + translations_mapping: + content: {} + default_outcome: {} + feedback_0: {} + feedback_1: {} + feedback_2: {} + radio button: + card_is_checkpoint: false + classifier_model_id: null + content: + content_id: content + html:Which bird can sustain flight for long periods of time?
+ interaction: + answer_groups: + - outcome: + dest: check box + feedback: + content_id: feedback_3 + html:Correct! Eagles can sustain flight.
+ labelled_as_correct: false + missing_prerequisite_skill_id: null + param_changes: [] + refresher_exploration_id: null + rule_specs: + - inputs: + x: 2 + rule_type: Equals + tagged_skill_misconception_id: null + training_data: [] + confirmed_unclassified_answers: [] + customization_args: + choices: + value: + - content_id: ca_choices_0 + html:Penguin
+ - content_id: ca_choices_1 + html:Chicken
+ - content_id: ca_choices_2 + html:Eagle
+ showChoicesInShuffledOrder: + value: false + default_outcome: + dest: radio button + feedback: + content_id: default_outcome + html:Try again.
+ labelled_as_correct: false + missing_prerequisite_skill_id: null + param_changes: [] + refresher_exploration_id: null + hints: [] + id: MultipleChoiceInput + solution: null + linked_skill_id: null + next_content_id_index: 4 + param_changes: [] + recorded_voiceovers: + voiceovers_mapping: + ca_choices_0: {} + ca_choices_1: {} + ca_choices_2: {} + content: {} + default_outcome: {} + feedback_3: {} + solicit_answer_details: false + written_translations: + translations_mapping: + ca_choices_0: {} + ca_choices_1: {} + ca_choices_2: {} + content: {} + default_outcome: {} + feedback_3: {} + ratio: + card_is_checkpoint: false + classifier_model_id: null + content: + content_id: content + html:Two numbers are respectively 20% and 50% more than a third number. + The ratio of the two numbers is:
+ interaction: + answer_groups: + - outcome: + dest: Text + feedback: + content_id: feedback_1 + html:Correct
+ labelled_as_correct: false + missing_prerequisite_skill_id: null + param_changes: [] + refresher_exploration_id: null + rule_specs: + - inputs: + x: + - 4 + - 5 + rule_type: Equals + tagged_skill_misconception_id: null + training_data: [] + confirmed_unclassified_answers: [] + customization_args: + numberOfTerms: + value: 0 + placeholder: + value: + content_id: ca_placeholder_0 + unicode_str: '' + default_outcome: + dest: ratio + feedback: + content_id: default_outcome + html:Not correct
+ labelled_as_correct: false + missing_prerequisite_skill_id: null + param_changes: [] + refresher_exploration_id: null + hints: [] + id: RatioExpressionInput + solution: null + linked_skill_id: null + next_content_id_index: 2 + param_changes: [] + recorded_voiceovers: + voiceovers_mapping: + ca_placeholder_0: {} + content: {} + default_outcome: {} + feedback_1: {} + solicit_answer_details: false + written_translations: + translations_mapping: + ca_placeholder_0: {} + content: {} + default_outcome: {} + feedback_1: {} +states_schema_version: 45 +tags: [] +title: Test all android interactions diff --git a/data/explorations/android_interactions/assets/image/img_20210622_122920_8n5m3axv8p_height_130_width_289.png b/data/explorations/android_interactions/assets/image/img_20210622_122920_8n5m3axv8p_height_130_width_289.png new file mode 100644 index 000000000000..3212d4e50363 Binary files /dev/null and b/data/explorations/android_interactions/assets/image/img_20210622_122920_8n5m3axv8p_height_130_width_289.png differ diff --git a/data/explorations/android_interactions/assets/image/img_20210622_122920_8n5m3axv8p_height_130_width_289_compressed.png b/data/explorations/android_interactions/assets/image/img_20210622_122920_8n5m3axv8p_height_130_width_289_compressed.png new file mode 100644 index 000000000000..7a488cd8412f Binary files /dev/null and b/data/explorations/android_interactions/assets/image/img_20210622_122920_8n5m3axv8p_height_130_width_289_compressed.png differ diff --git a/data/explorations/android_interactions/assets/image/img_20210622_122920_8n5m3axv8p_height_130_width_289_micro.png b/data/explorations/android_interactions/assets/image/img_20210622_122920_8n5m3axv8p_height_130_width_289_micro.png new file mode 100644 index 000000000000..a952b9762a4e Binary files /dev/null and b/data/explorations/android_interactions/assets/image/img_20210622_122920_8n5m3axv8p_height_130_width_289_micro.png differ diff --git a/data/explorations/android_interactions/assets/image/img_20210622_123005_efcgi87dk2_height_130_width_289.png b/data/explorations/android_interactions/assets/image/img_20210622_123005_efcgi87dk2_height_130_width_289.png new file mode 100644 index 000000000000..3212d4e50363 Binary files /dev/null and b/data/explorations/android_interactions/assets/image/img_20210622_123005_efcgi87dk2_height_130_width_289.png differ diff --git a/data/explorations/android_interactions/assets/image/img_20210622_123005_efcgi87dk2_height_130_width_289_compressed.png b/data/explorations/android_interactions/assets/image/img_20210622_123005_efcgi87dk2_height_130_width_289_compressed.png new file mode 100644 index 000000000000..7a488cd8412f Binary files /dev/null and b/data/explorations/android_interactions/assets/image/img_20210622_123005_efcgi87dk2_height_130_width_289_compressed.png differ diff --git a/data/explorations/android_interactions/assets/image/img_20210622_123005_efcgi87dk2_height_130_width_289_micro.png b/data/explorations/android_interactions/assets/image/img_20210622_123005_efcgi87dk2_height_130_width_289_micro.png new file mode 100644 index 000000000000..a952b9762a4e Binary files /dev/null and b/data/explorations/android_interactions/assets/image/img_20210622_123005_efcgi87dk2_height_130_width_289_micro.png differ diff --git a/data/explorations/android_interactions/assets/image/img_20210622_123420_m5o3l7p665_height_288_width_288.png b/data/explorations/android_interactions/assets/image/img_20210622_123420_m5o3l7p665_height_288_width_288.png new file mode 100644 index 000000000000..88d1d6b0a20d Binary files /dev/null and b/data/explorations/android_interactions/assets/image/img_20210622_123420_m5o3l7p665_height_288_width_288.png differ diff --git a/data/explorations/android_interactions/assets/image/img_20210622_123420_m5o3l7p665_height_288_width_288_compressed.png b/data/explorations/android_interactions/assets/image/img_20210622_123420_m5o3l7p665_height_288_width_288_compressed.png new file mode 100644 index 000000000000..2c538d2188c0 Binary files /dev/null and b/data/explorations/android_interactions/assets/image/img_20210622_123420_m5o3l7p665_height_288_width_288_compressed.png differ diff --git a/feconf.py b/feconf.py index 90918c41afc0..f98a32c72a0a 100644 --- a/feconf.py +++ b/feconf.py @@ -725,6 +725,7 @@ def get_empty_ratings(): u'23': 'rating_test.yaml', u'24': 'learner_flow_test.yaml', u'25': 'exploration_player_test.yaml', + u'26': 'android_interactions', } DEMO_COLLECTIONS = {