GithubHelp home page GithubHelp logo

surenderharsha / funwithflags Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 1.0 4.58 MB

User model's app for Fun with Flags

License: GNU General Public License v3.0

Dockerfile 0.01% CSS 1.11% HTML 23.05% JavaScript 75.78% PHP 0.05%

funwithflags's Introduction

jsrl - FUN WITH FLAGS

Javascript implementation of RUGged Learning for studying the names of flags, including the implementation of continuous correctness scores and extensive, color-based feedback.

Here follows a short description of the most important files:

JSRL css This folder contains all styling and layout scripts data In this folder, participant data will be stored in .csv file format js This folder contains all scripts that are used in the program. The most important ones are: - index.html, which contains all timeline components of the experiment - rl-model.js, which contains the python code for the rugged learning model. In this file, the reaction time is updated using the continous correctness score. - jspsych-html-keyboard-word-response, which is a plugin that is used to create each trial (listen to the keyboard, etc.) In this plugin, the correctness of the trials are estimated and the feedback prompts are prepared.

To run the experiment:

  1. run the following line in your terminal:

    cd jsrl && php -S localhost:8080

  2. enter the follwing link in a web browser:

    localhost:8080/index.html

Or run in Docker:

Docker needs to be given ownership of the data folder (only once) (details):

sudo chown -R 33:33 jsrl/data

(Depending on the system's permissions setup, read access may also need to be given for the whole directory.)

Launch the server:

sudo docker-compose up

Troubleshooting

Setup options can be changed at the top of the index.html file.

funwithflags's People

Contributors

jorgeantongarcia avatar surenderharsha avatar thomaswilschut avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

thomaswilschut

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.