Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[C4GT Community]: Jumble questions displayed in UI #156

Open
1 task
suryabulusu opened this issue Jul 4, 2024 · 13 comments · May be fixed by #174
Open
1 task

[C4GT Community]: Jumble questions displayed in UI #156

suryabulusu opened this issue Jul 4, 2024 · 13 comments · May be fixed by #174
Assignees

Comments

@suryabulusu
Copy link
Collaborator

suryabulusu commented Jul 4, 2024

Ticket Contents

Description

Currently, questions are displayed in linear order.

Task: Use the linear key in Quiz type to jumble questions received from API request.

Goals

Goals

  • Jumble order of questions when required.

Expected Outcome

Questions are displayed in jumble order when key in Quiz JSON is tweaked.

Acceptance Criteria

No response

Implementation Details

Caveat: Subset pattern picks first 10 questions from question set. It means, we can only jumble first ten questions. This is not fully random.
See Quiz Backend (https://github.com/avantifellows/quiz-backend/) router/quizzes.py for subset pattern.

Mockups/Wireframes

No response

Product Name

Quiz Frontend

Organisation Name

Avanti Fellows

Domain

Education

Tech Skills Needed

Vue.js

Mentor(s)

@suryabulusu

Complexity

Medium

Category

Frontend

@hardik-pratap-singh
Copy link

Hey @suryabulusu !
I want to work on this issue under Augtoberfest (C4GT)
Please assign this to me..

@SanjanaSogimatt
Copy link

Can I work on this?

@hlukare
Copy link

hlukare commented Aug 10, 2024

Hello @suryabulusu , I'm Harish Lukare and I want to work on this project can you please assign this issue to me under Augtoberfest24 C4GT

@VedantKhairnar
Copy link

Hello @hardik-pratap-singh @SanjanaSogimatt @hlukare,
Pls directly raise the PR. Do give an indication here that you have started working on the issue.
Thanks.

@SanjanaSogimatt
Copy link

Okay I'm on it then!

@VedantKhairnar
Copy link

Hello @SanjanaSogimatt
Any update on the contribution? Feel free to let us know if you need any assistance.
Thanks.

@Ampplex
Copy link

Ampplex commented Nov 11, 2024

Hey @suryabulusu !
I would like to work on this issue.
Please assign this to me...

@suryabulusu
Copy link
Collaborator Author

Hello @Ampplex -- thanks for submitting the PR! Your code makes partial sense, but I don't think your code captures the logic correctly. For this, you'll have to look at quiz-backend too. https://github.com/avantifellows/quiz-backend/

Note that there is already a linear key in Quiz model.
Also, you'll have to handle session_answers array, set-wise question ordering, subset pattern, etc.

It's a bit challenging but I think you are quite close to cracking it!

@Saanvi26
Copy link

Hey @suryabulusu Please assign this issue .

@Deep5Varshney
Copy link

Hi @suryabulusu
I hope you're doing well. I came across issue in your repository and would like to contribute by working on it. Please assign the issue to me, and I will ensure all necessary details are implemented effectively.

@sau1606
Copy link

sau1606 commented Nov 21, 2024

@suryabulusu i would like to work on this if it is still available to work

@tanishk2907
Copy link

@Ampplex @Asp-Codes have you been able to make any progress on this?

@Asp-Codes
Copy link
Collaborator

@tanishk2907 Hey! I was working on another issue but got sidetracked by some personal tasks. I left it unfinished, but I’ll be working on it from today and will complete it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.