avantifellows / quiz-frontend

A generic player for playing different types of content (questions, etc.) in a mobile-friendly webapp
GNU General Public License v3.0
4 stars 23 forks source link

Adds support for matrix match #142

Closed suryabulusu closed 8 months ago

suryabulusu commented 8 months ago

Fixes #119

Related notion note: https://www.notion.so/avantifellows/JEE-Advanced-New-Question-Types-a315a0fdace547069bccd41d13fe3f62 (see for screenshots and staging test links)

Summary

Adds a new question type for advanced matrix matching in assessment and omr-assessment modes. I explain major updates and files changed below:

Test Plan

codecov[bot] commented 8 months ago

Codecov Report

Attention: 32 lines in your changes are missing coverage. Please review.

Comparison is base (2c8062b) 78.75% compared to head (3554e86) 79.40%.

Files Patch % Lines
src/components/Omr/OmrItem.vue 68.33% 19 Missing :warning:
src/components/Questions/Body.vue 70.45% 13 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #142 +/- ## ========================================== + Coverage 78.75% 79.40% +0.64% ========================================== Files 17 17 Lines 1370 1408 +38 Branches 404 409 +5 ========================================== + Hits 1079 1118 +39 - Misses 255 290 +35 + Partials 36 0 -36 ``` | [Flag](https://app.codecov.io/gh/avantifellows/quiz-frontend/pull/142/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=avantifellows) | Coverage Δ | | |---|---|---| | [chrome](https://app.codecov.io/gh/avantifellows/quiz-frontend/pull/142/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=avantifellows) | `79.40% <71.17%> (+0.64%)` | :arrow_up: | | [ui](https://app.codecov.io/gh/avantifellows/quiz-frontend/pull/142/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=avantifellows) | `79.40% <71.17%> (+0.64%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=avantifellows#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.