Coder Social home page Coder Social logo

quiz-backend's People

Contributors

dalmia avatar deepansh96 avatar pritamps avatar salonichoudhary07 avatar sudheshna-donthineni avatar suryabulusu avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

quiz-backend's Issues

Wrong scorecard shown when users do not go through all questions

Wrong scorecard shown when users do not go through all questions. This happens because scorecard is computed based on marking_scheme field of question. And not all questions have marking_scheme.

When preparing subset without details, we do not project marking scheme.

Fix will be to project it -- so that all questions (whether subset is fetched or not) -- will contain marking scheme

Move the backend from us-east-1 to ap-south-1

Currently the cloudformation stack (API Gateway + Lambda function running FastAPI + S3 function to store changeset files) are all based in us-east-1.

To reduce latency as much as possible, we should move all of this infra to ap-south-1.
Luckily, it's just a one liner change as AWS SAM handles all of that for us

New Matrix Match Question Type

Make changes in backend for a new question type. The question looks like the image below
image

The task is to match A,B,C,D in colA with P,Q,R,S,T in colB

Options would look like the image below:
image

  • Backend code should also incorporate marking scheme changes for this question format.

Note that this is effectively like 4 multi-answer-questions put under one question.

Marking scheme for question set

Add feature to have a marking scheme for each question set.

This allows for different sets with different scores / weightages.

Sync all answers at once

Currently, we update session answer whenever a patch request is made.
It would be useful to provide a way to update all session answers at once. For example, when a test ends, we could sync all answers at once to be doubly sure of saving answers that users picked.

Unnecessary dummy events stored in `events` array

Currently, we are storing a dummy-event object everytime frontend sends a dummy event.
We just need the timestamp of the new dummy events that frontend sends.

This will also reduce events array size.

Add test and coverage report in CI

Make the tests run when a PR is created and also calculate the coverage for the same so that we can get a report of how much of the code is covered by tests,

Add countdown timer to quiz

This helps in increasing the stakes of quiz completion. Making it much closer to real-world testing scenarios.

Caveat: keep the countdown on server / backend instead of frontend -- since user browsers may have different clocks and definitions of datetime

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.