Coder Social home page Coder Social logo

enketo-literacy-test-widget's People

Contributors

jnm avatar joshuaberetta avatar martijnr avatar noliveleger avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

enketo-literacy-test-widget's Issues

Edge Case: finish at flash

Either exactly at the flash point the finish button is clicked, or during the flash state the finish button is clicked (without selecting a flash word)

data format

first 10 items are custom or null. The remainder are the incorrectly-read word (values)

12 23 23 343 null null null null null null 1 3 4 5 6 7 8 10

UI of words

A word can have these different states:

  • unread
  • read, correct
  • read, incorrect

Is that right?

`TypeError: Cannot set property readonly of #<Object> which has only a getter`

Hi @MartijnR,

In light of this change, do you have any advice on how to handle the following?

props.readonly = i.readOnly;

Right now, it's throwing a

TypeError: Cannot set property readonly of #<Object> which has only a getter
    at LiteracyWidget.get props [as props] (enketo-webform-bundle.min.js:1)
    at LiteracyWidget._getCurrentModelValue (enketo-webform-bundle.min.js:1)
    at LiteracyWidget._init (enketo-webform-bundle.min.js:1)
    at new Widget (enketo-webform-bundle.min.js:1)
    at new LiteracyWidget (enketo-webform-bundle.min.js:1)
    at Collection._instantiateSingleWidget (enketo-webform-bundle.min.js:1)
    at enketo-webform-bundle.min.js:1
    at Array.forEach (<anonymous>)
    at Collection.instantiate (enketo-webform-bundle.min.js:1)
    at enketo-webform-bundle.min.js:1

P.S.: The <Object> part of the exception message isn't getting escaped when presented to the user:
image

Edge case: time exceeded

Though this seems very unlikely to happen, we need to program a behavior in case it does happen. I am assuming:

  • the second ticked word indicates where the user was stuck at 600 seconds
  • if second ticked word exists, we can make the calculations for the 3 (or 4) values
  • if second ticked word does not exist submit something like "null null 5"

Remove end report

  • When is the exercise completely finished and 'frozen'. When last word is clicked?

Here are three scenarios in order of our preference:

  1.  After selecting “Finish”, the “correct/incorrect” and “word at n seconds” are frozen, but the “final word attempted” is not frozen and can be changed if the assessor marks the incorrect word.
    
  2.  After selecting “Finish”, the enumerator is prompted with a message that says “Are you sure? If so, click ‘yes’ and then select the final word attempted“. Enumerator selects the final word and the assessment is frozen
    
  3.  After selecting “Finish”, the enumerator is prompted with a message that says “Select the final word attempted“. Enumerator selects the final word and the assessment is frozen.
    
  4.  After selecting “Finish”, there is no message, the enumerator selects the final word and the assessment is frozen.
    

The core functionality:

  1. click start to show words
  2. click checkbox to mark as read at flash timer (e.g. 30 seconds)
  3. click word to mark as incorrectly read
  4. record (name of) last-read-word at 30 seconds (name is likely an index in practice, see this doc)
  5. stop the exercise, without a possibility to re-do or resume
  6. or auto-stop at 500 seconds?

At the end calculate:

a. words per minute (both correct and incorrect words? - excluding skipped words?)
b. number of incorrectly read words

The value stored in Enketo has 3 space-separated components:
e.g.

<lit1>5 45 4</lit1>
  • number of words read incorrectly (5 in example) - value required
  • words per minute, (45 in example) - value required
  • word at 30 seconds (4 in example)s - value optional?

Mark a line of words as incorrect

Is that a required feature?

Is there a rule for how many words should be shown on a line or is can this be dynamic based on screen and word size?

Loading existing value

This has not been implemented yet. Normally any Enketo widget should be able to load an earlier submitted/saved value. In this particular case, this would always be a completed test and show the end screen.

words-per-minute

Assumed that this includes both correct and incorrect words.

  • verify

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.