kobotoolbox / enketo-literacy-test-widget Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
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)
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
Message to show: ?
Show 3 values in human-readable format
However, if any word has been marked as in correct (stricken through), all the check boxes appear as expected.
Full details: https://community.kobotoolbox.org/t/literacy-widget-word-at-flash/14362/9?u=jnm
I assumed that 'word at flash' should be null
in that case.
A word can have these different states:
Is that right?
Hi @MartijnR,
In light of this change, do you have any advice on how to handle the following?
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:
Though this seems very unlikely to happen, we need to program a behavior in case it does happen. I am assuming:
Here are three scenarios in order of our preference:
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.
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
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.
After selecting “Finish”, there is no message, the enumerator selects the final word and the assessment is frozen.
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>
e.g. a required or constraint error
E.g. not when appearance=minimal, and not for any non 'select_multiple' type
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?
once Enketo Core 5.0 is released
Probably leave disabled until start button is clicked
to comply with general Enketo widget requirement
Also check: Are the relevant, constraint expressions copied correctly?
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.
Assumed that this includes both correct and incorrect words.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.