Coder Social home page Coder Social logo

junzhengca / ifcat-ia Goto Github PK

View Code? Open in Web Editor NEW

This project forked from neeilan/ifcat

4.0 0.0 2.0 14.42 MB

Immediate-Feedback Collaborative Assessment Tool. A quiz application for any classroom. This fork has full integration with Identity Atheneum to support enterprise logins.

Home Page: https://uoft.me/ifcat-w19

License: MIT License

Makefile 0.01% JavaScript 92.19% CSS 2.76% HTML 5.04% Batchfile 0.01%
quiz websocket node-js express react ejs

ifcat-ia's Introduction

IMPORTANT NOTICE

This repository is deprecated, new repository resides in cms-urg organization. You can find it here: https://github.com/cms-urg/IFCAT-IA

IFCAT-IA

Immediate-Feedback Collaborative Assessment Tool is a collaborative quiz application for the classroom, based on immediate feedback assessment technique.

Quick Start

First make sure you read the configuration part, and have a config.json ready.

Then simply run npm install && npm start to start the server.

Configuration

Application configuration is stored within config.json, and is in the following format:

  • name: String - Application name, usually just use ifcat.
  • baseDir: String - Application base directory, for example, if you want to host IFCAT under domain.local/ifcat, then base directory would be /ifcat.
  • database: Object
    • url: String - Mongoose connection URL.
  • session: Object
    • secret: String - Session secret, used to encrypt sessions.
  • ia: Object
    • applicationId: String - Your application ID.
    • secretKey: String - Your application secret key.
    • root: String - Server root.
    • publicRoot: String - Optional. You can optionally set this, and set root as a LAN url, this will make
  • log: Object
    • path: String - Path to store logs.

Want to Contribute?

Please head over to CONTRIBUTING for details.

Built by students at the University of Toronto Scarborough with ❤️

ifcat-ia's People

Contributors

mikey213 avatar junzhengca avatar neeilan avatar

Stargazers

 avatar Yifei Yin avatar  avatar Sakshaat Choyikandi avatar

ifcat-ia's Issues

Race condition in QuizSocketController.attemptAnswer

There is a race condition in attempt answer.

The detailed description of this race condition:

Student emit ANSWER_ATTEMPT        -       0
Server 1 Response.findOne          -       1
Server 1 got no response           -       2
Student emit ANSWER_ATTEMPT        -       3
Server 2 Response.findOne          -       4
Server 1 write new response        -       5
Server 2 got no response           -       6
Server 2 write new response        -       7

As illustrated above, the student just attempted the question twice and received double the score.

Groups should be able to switch drivers

Students groups should be able to switch drivers by emitting a RESET_DRIVER event.

Once the event is emitted to the server, it should immediately clear the driver and ask the group to elect a new one.

TypeErrorControllers.Admin:QuizSocketController in Socket.<anonymous> error Cannot set property 'driver' of null

Exception detail:

TypeError: Cannot set property 'driver' of null
  File "/home/zhengj69/IFCAT/Controllers/Admin/QuizSocketController.js", line 113, col 26, in Socket.<anonymous>
    group.driver = connection.getUser().getId();
  ?, in null.<anonymous>
  File "internal/process/next_tick.js", line 229, col 7, in process._tickDomainCallback [as _tickCallback]

Sentry: https://sentry.io/jun-zheng/server/issues/867891252/?query=is%3Aunresolved

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.