javascript-quiz-project's People
Forkers
doncarlo5 samaralimads zevinos michaelrasolo 1travelintexan tinyjoytw maximkooo dcilingir2801 juanisolis1111 boocodequest jydvfg noahp80 wence88 alejandromjs blasdelezo1 jeroolea28 tere1102 franpazos veronicavez vituin alaslong chyvacheck gummiz sicawu melschiffner alinahavriushenko maridivi arisar86 ruiduram lmcoliveira99 barbaralan pourgosh karkelo1 malumoya senayasikoglu haripriya2327 pedrocardoso110 dfbamaral thomas-deblay miguel-a-henriques filipeteixeira09 fernandacarv tiagosilvina plopes86 dannielcosta kyd-42 dianasdramos mateuscto gabys17 tom4sb4stos aleta-wb-rmt-11-2022 german-alvarez-dev luisjunco luis-prs zomgbat busrakocer123 meritxellavila fraestgue purplepath19 lerodriguezreyes jv-pv dustinhurtt jdoportfolio celicasti9 luiz-eltlaloc daltonb25 luisfaxas emelygomezio adriandoonan memoryman2022 bendfriedman marianagod aliakbar-torbati nwaigba66 shaza-kashlan brenni1 unidrelyn hemyulin paulinaww mmisurell soranclock87 onurcangulpak ivston alexpedr78 gwenlgd yakgalaxy rafa3399 fatma2090 mikkelng adrianmoliva marcel-llorens felipecalderero ftmgr jinishakheni saeideh-bahadoran tiagosarmentonogueira fabioniglio codewithmirko jmylesmusic dieegoolimaajavascript-quiz-project's Issues
Tests for shuffleChoices() and shuffleQuestions() have relatively high chances of false positives
Current Behavior
The way tests are currently implemented, there's some chances of students getting a positive (ie. a student has implemented the logic correctly but the test fails).
- shuffleChoices(): test is implemented with an array of 5 elements (0.83% chances of a false positive)
- shuffleQuestions(): test is implemented with an array of 3 elements (16.67% chances of a false positive)
This seemed to create some frustration and uncertainty in students ("it keeps saying that I've done something wrong and it's not working when in reality is the test that isn't functioning").
Suggested Solution
We can keep the tests implemented as they are (code is easy to understand for any student that wants to read the tests) but use a bigger array.
For example, using an array of 7 elements, chances of a false positive become 0.02%.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.