From 7335ba7fa4dbc349b3cb3f9ac1f37af219a3b3ba Mon Sep 17 00:00:00 2001 From: yennyelizabeth Date: Wed, 29 Nov 2017 14:01:04 -0500 Subject: [PATCH 01/21] =?UTF-8?q?a=C3=B1adiendo=20submenu-initial?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 35 +++++++++++++++++++++++------------ menu-main.html | 25 +++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 12 deletions(-) create mode 100644 menu-main.html diff --git a/index.html b/index.html index 8930fa03..dc992442 100644 --- a/index.html +++ b/index.html @@ -1,14 +1,25 @@ - - - - Data Dashboard - - + + + + + + Document + + + + - - - - - - + + + + + + \ No newline at end of file diff --git a/menu-main.html b/menu-main.html new file mode 100644 index 00000000..8e188872 --- /dev/null +++ b/menu-main.html @@ -0,0 +1,25 @@ + + + + + + + Document + + + + + + + + + + + \ No newline at end of file From d88668459ab57cd2f55dbbf7ed884894ddb0fdea Mon Sep 17 00:00:00 2001 From: yennyelizabeth Date: Wed, 29 Nov 2017 14:32:27 -0500 Subject: [PATCH 02/21] =?UTF-8?q?a=C3=B1adiendo=20estilo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/main.css | 206 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 206 insertions(+) diff --git a/css/main.css b/css/main.css index 6355c827..22e1d202 100644 --- a/css/main.css +++ b/css/main.css @@ -1,3 +1,209 @@ /* * Estilos de tu proyecto */ + * { + box-sizing: border-box ; + font-family: 'Montserrat', sans-serif; + color: "#2b2b2b"; + background-color: #f4f6f7; + } + + #submenu-1{ + background-color: #0000101e ; + width : 100%; + height: 100px; + font-weight: bold; + padding-left: 60px; + } + + #sede-generation { + margin-top:100px; + padding-top: 20px; + } + + #container-submenu-2 { + display: inline-block ; + font-size: 85%; + } + + #overview , #students, #teachers { + float: left; + margin-top: 20px; + } + + + #students, #teachers { + margin-left: 20px; + } + + + + #sede-generation { + font-size: 130% ; + } + + #container-students { + margin-top: 150px; + } + + #especialization { + left: 15px; + /*height: 100%;*/ + height: 2000px; + width: 20%; + background-color: white; + display: inline-block; + margin-left: 350px; + } + + li { + text-decoration-style: none; + } + + + #visualization { + height: 100%; + width: 50% ; + background-color: white ; + display: inline-block; + margin-left: 20px; + /*float: right;*/ + } + + ul, li{ + background-color: white ; + } + + li input { + background-color: white ; + } + + li label { + background-color: white ; + } + + #content-search { + display: inline-block; + } + + #input-student { + display: inline-block; + } + + #photo , #date-student , #tech-skills , #life-skills, english-skill , .date , #english-skills { + display: inline-block; + } + #name , #especialization-student , #skills-details { + margin-left: 20px; + } + + #photo { + margin-left: 20px; + } + #tech-skills { + margin-left: 40px; + } + #date-student , #name , #especialization-student { + background-color: white; + } + + #tech-skills , #life-skills , #english-skills{ + border: 1px solid black; + text-align: center; + } + + /* clases de tamaños de letra - student */ + .little-letter { + font-size: 60%; + text-align: center; + background-color: white; + } + + .big-letter { + font-size: 120%; + font-weight: bold; + text-align: center; + background-color: white; + } + + .medium-letter { + font-size: 80%; + font-weight: bold; + background-color: white; + } + + .stardart-letter { + font-size: 100%; + background-color: white; + } + + + + #skill-1 , #skill-2 , #skill-3 { + display: inline-block; + background-color: white; + } + + #photo, .date { + padding-top: 15px; + background-color: white; + } + + #student { + background-color: white; + } + + #nuevo { + height: 20px; + width: 100px; + background-color: red; + } + + + /* menu principal navegador */ + + + /* Dropdown Button */ + .dropbtn { + background-color: #4CAF50; + color: white; + padding: 16px; + font-size: 16px; + border: none; + cursor: pointer; + } + + /* Dropdown button on hover & focus */ + .dropbtn:hover, .dropbtn:focus { + background-color: #3e8e41; + } + + /* The container
- needed to position the dropdown content */ + .dropdown { + position: relative; + display: inline-block; + } + + /* Dropdown Content (Hidden by Default) */ + .dropdown-content { + display: none; + position: absolute; + background-color: #f9f9f9; + min-width: 160px; + box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); + z-index: 1; + } + + /* Links inside the dropdown */ + .dropdown-content a { + color: black; + padding: 12px 16px; + text-decoration: none; + display: block; + } + + /* Change color of dropdown links on hover */ + .dropdown-content a:hover {background-color: #f1f1f1} + + /* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */ + .show {display:block;} From ea53972155f123a33a391c91d1e612f0f7051ff2 Mon Sep 17 00:00:00 2001 From: yennyelizabeth Date: Wed, 29 Nov 2017 14:42:55 -0500 Subject: [PATCH 03/21] actualiza estilo vista student --- css/main.css | 154 ------------------------------------------------- menu-main.html | 25 -------- 2 files changed, 179 deletions(-) delete mode 100644 menu-main.html diff --git a/css/main.css b/css/main.css index 22e1d202..72c000f3 100644 --- a/css/main.css +++ b/css/main.css @@ -7,111 +7,6 @@ color: "#2b2b2b"; background-color: #f4f6f7; } - - #submenu-1{ - background-color: #0000101e ; - width : 100%; - height: 100px; - font-weight: bold; - padding-left: 60px; - } - - #sede-generation { - margin-top:100px; - padding-top: 20px; - } - - #container-submenu-2 { - display: inline-block ; - font-size: 85%; - } - - #overview , #students, #teachers { - float: left; - margin-top: 20px; - } - - - #students, #teachers { - margin-left: 20px; - } - - - - #sede-generation { - font-size: 130% ; - } - - #container-students { - margin-top: 150px; - } - - #especialization { - left: 15px; - /*height: 100%;*/ - height: 2000px; - width: 20%; - background-color: white; - display: inline-block; - margin-left: 350px; - } - - li { - text-decoration-style: none; - } - - - #visualization { - height: 100%; - width: 50% ; - background-color: white ; - display: inline-block; - margin-left: 20px; - /*float: right;*/ - } - - ul, li{ - background-color: white ; - } - - li input { - background-color: white ; - } - - li label { - background-color: white ; - } - - #content-search { - display: inline-block; - } - - #input-student { - display: inline-block; - } - - #photo , #date-student , #tech-skills , #life-skills, english-skill , .date , #english-skills { - display: inline-block; - } - #name , #especialization-student , #skills-details { - margin-left: 20px; - } - - #photo { - margin-left: 20px; - } - #tech-skills { - margin-left: 40px; - } - #date-student , #name , #especialization-student { - background-color: white; - } - - #tech-skills , #life-skills , #english-skills{ - border: 1px solid black; - text-align: center; - } - /* clases de tamaños de letra - student */ .little-letter { font-size: 60%; @@ -158,52 +53,3 @@ width: 100px; background-color: red; } - - - /* menu principal navegador */ - - - /* Dropdown Button */ - .dropbtn { - background-color: #4CAF50; - color: white; - padding: 16px; - font-size: 16px; - border: none; - cursor: pointer; - } - - /* Dropdown button on hover & focus */ - .dropbtn:hover, .dropbtn:focus { - background-color: #3e8e41; - } - - /* The container
- needed to position the dropdown content */ - .dropdown { - position: relative; - display: inline-block; - } - - /* Dropdown Content (Hidden by Default) */ - .dropdown-content { - display: none; - position: absolute; - background-color: #f9f9f9; - min-width: 160px; - box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); - z-index: 1; - } - - /* Links inside the dropdown */ - .dropdown-content a { - color: black; - padding: 12px 16px; - text-decoration: none; - display: block; - } - - /* Change color of dropdown links on hover */ - .dropdown-content a:hover {background-color: #f1f1f1} - - /* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */ - .show {display:block;} diff --git a/menu-main.html b/menu-main.html deleted file mode 100644 index 8e188872..00000000 --- a/menu-main.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - Document - - - - - - - - - - - \ No newline at end of file From dcbdda13ea37cd1b3d841854d2ef05b81da5f1f7 Mon Sep 17 00:00:00 2001 From: yennyelizabeth Date: Wed, 29 Nov 2017 14:58:24 -0500 Subject: [PATCH 04/21] actualizando estilo --- assets/images/photos/maria.jpg | Bin 0 -> 34886 bytes css/main.css | 175 ++++++++++++++++++++++----------- index.html | 2 +- student.html | 100 +++++++++++++++++++ 4 files changed, 221 insertions(+), 56 deletions(-) create mode 100644 assets/images/photos/maria.jpg create mode 100644 student.html diff --git a/assets/images/photos/maria.jpg b/assets/images/photos/maria.jpg new file mode 100644 index 0000000000000000000000000000000000000000..1ab1ce212f97cecbe7d73ca24c87ffac21faa38c GIT binary patch literal 34886 zcmV)wK$O3UP)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){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 zttj%zSK1f@Gl<{;1~f3l1PKOR8)ekTn2m7=lOdLgcyeB&k682oG2~BMXr5 z<|_e;E|gfr&v_zW!b9pONVL1^AKrY4bkqzafI+J%!h^OQR48}w3S?c`shki z(dGJr%eD6|-v^ICj&Msbk>@WSEYW69j#|fq|9{~j@>5HLjbiW!(1}?lg}@FTN`{A6 zU`4)ScsO-(n`%7|WrRi*MUh|-(UIs;fHGw$NZ@2A%d6lDnn)DKlmx&q!Q>fe3#FPW z5`O_(r94cnjHEm$A#A-!zyqz1agB#Y;qvm($in1YD|@RX_%|;1cbtfXhX^MqPQf)E zD0bKL5N<=3UgP1*Pq4ab3$FJyAYT<>xO?kJfy>y&18gY_FOrvyh5tX~1Yeu~1*~QO O0000 - \ No newline at end of file + diff --git a/student.html b/student.html new file mode 100644 index 00000000..7c13f977 --- /dev/null +++ b/student.html @@ -0,0 +1,100 @@ + + + + + + + Document + + + + + +
+ +
+
    +
  • +
  • +
  • +
  • +
  • +
  • +
+
+
+
+
+ + +
+ + + +
+ +
+ +
+ +
+ +
+
DIANA NAVARRO
+
Fronted Developer
+
+ +
+
+ +
+ +
+
+ +
+
+ +
+ +
+
+ +
+
+ +
+ +
+
+
+
+ +
+
Javascript
+
APIs
+
JQuery
+
+
+
+ + i + +
+
+
+
+
ssssss +
+
+
+
+ + + From bd9e62b3bada809a0e5df25afff5640445a470de Mon Sep 17 00:00:00 2001 From: yennyelizabeth Date: Wed, 29 Nov 2017 18:15:10 -0500 Subject: [PATCH 05/21] iniciando consulta de data --- index.html | 6 ++++-- js/app.js | 45 +++++++++++++++++++++++++++++++++++++++++++++ student.html | 22 +++++++++++++++++----- 3 files changed, 66 insertions(+), 7 deletions(-) diff --git a/index.html b/index.html index c57d18f0..333600a3 100644 --- a/index.html +++ b/index.html @@ -10,7 +10,6 @@ - - + + + + diff --git a/js/app.js b/js/app.js index 895ae2dd..9b7a7aa1 100644 --- a/js/app.js +++ b/js/app.js @@ -3,4 +3,49 @@ */ // Puedes hacer uso de la base de datos a través de la variable `data` +/* +//console.log(data); +*/ + +/* evento check */ +/* +var checkJavascript = document.getElementById('javascript'); + checkJavascript.addEventListener('CheckStateChanged', function(event) { + alert('hola mundo') ; + }); + + var checkLabel = document.getElementById('checkLabel-id'); + checkLabel.addEventListener('click', function(event) { + alert('hola dos mundo') ; + }); +*/ console.log(data); + +window.addEventListener('load', function(event) { +/* evento para botón de especialización javascript */ + var javascriptButton = document.getElementById('javascript-button'); + javascriptButton.addEventListener('click', function(event) { + alert('es click'); + /* creando un arreglo con las sedes de laboratoria*/ + var sedes = Object.keys(data); + console.log('sedes', sedes); + alert(sedes); + + /* creando un arreglo con las generaciones */ + var generations = Object.values(data); + console.log('generations', generations); + + var generationsSedes = Object.values(generations[0]); + console.log('generaciones-sedes', generationsSedes[0]); + }); + /* evento para botón de especialización uxdesing */ + var uxdesignButton = document.getElementById('uxdesign-button'); + uxdesignButton.addEventListener('click', function(event) { + alert('es click en uxdesing'); + }); + /* evento para botón de especialización front end designer */ + var frontEndDesignerButton = document.getElementById('front-end-designer-button'); + frontEndDesignerButton.addEventListener('click', function(event) { + alert('es click en front end desing'); + }); +}); diff --git a/student.html b/student.html index 7c13f977..e9f21600 100644 --- a/student.html +++ b/student.html @@ -14,18 +14,26 @@
    -
  • -
  • -
  • +
  • +
  • +
  • -
  • +



+ + + +
+ +
+
+
@@ -95,6 +103,10 @@
- + + + + + From 3ac1da916d5725a2f0ab6a32ff5c62fdcce70d43 Mon Sep 17 00:00:00 2001 From: yennyelizabeth Date: Thu, 30 Nov 2017 12:03:51 -0500 Subject: [PATCH 06/21] iniciando estructura de datos de sede arequipa --- js/app.js | 86 +++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 61 insertions(+), 25 deletions(-) diff --git a/js/app.js b/js/app.js index 9b7a7aa1..ea105770 100644 --- a/js/app.js +++ b/js/app.js @@ -3,22 +3,7 @@ */ // Puedes hacer uso de la base de datos a través de la variable `data` -/* -//console.log(data); -*/ - -/* evento check */ -/* -var checkJavascript = document.getElementById('javascript'); - checkJavascript.addEventListener('CheckStateChanged', function(event) { - alert('hola mundo') ; - }); - - var checkLabel = document.getElementById('checkLabel-id'); - checkLabel.addEventListener('click', function(event) { - alert('hola dos mundo') ; - }); -*/ +/* console.log(data); */ console.log(data); window.addEventListener('load', function(event) { @@ -26,18 +11,69 @@ window.addEventListener('load', function(event) { var javascriptButton = document.getElementById('javascript-button'); javascriptButton.addEventListener('click', function(event) { alert('es click'); - /* creando un arreglo con las sedes de laboratoria*/ - var sedes = Object.keys(data); - console.log('sedes', sedes); - alert(sedes); - /* creando un arreglo con las generaciones */ + var students= []; + var studentsData = []; + var baseTech = 1800; + var baseHse = 1200; + + /* Sedes - Array */ + var sedes = Object.keys(data); + var sedesArray=[]; + var studentGeneratiosArray=[]; + for ( var i=0 ; i< 4 ; i++) { + sedesArray[i] = sedes[i]; + } + + /*Generaciones- Array */ var generations = Object.values(data); - console.log('generations', generations); + var generationsArray= Object.keys(generations[0]); /* AQP-GEN-POS 0 , hacer for para 2 */ + + /*encuentro lista de alumnos*/ + var generationsValues = Object.values(generations[0]); + var generationsValuesStudents= generationsValues[0]; + var generationsValuesStudentsData = Object.values(generationsValuesStudents); + var gen= generationsValuesStudentsData[0]; + + studentsData = Object.values(gen[0]); /* hacer for para 15*/ + /* console.log('students data', studentsData); */ + + /* Estudiantes- Array */ + /*estudiantes de arequipa-position 0***/ + students[[0,0]] = sedesArray[0]; + students[[0,1]] = generationsArray[0]; + students[[0,2]] = studentsData[0]; + students[[0,3]] = studentsData[1]; + students[[0,4]] = studentsData[2]; + students[[0,5]] = studentsData[3]; + + var tech =Object.values(studentsData[3]); + var tec = Object.values(tech[0]); + console.log('tech', tech); /*hacer for para 4 */ + console.log('tech', tech[0]); /*primer sprint*/ + /*console.log('tec', tec);*/ + console.log('tec', tec[1]); + + var tePoint= Object.values(tec[1]); + console.log('tepoint' , tePoint ); + + /*sprint 1*/ + students[[0,6]] =(tePoint[0]/1800)*100 ; + students[[0,7]] =(tePoint[1]/1200)*100 ; + /*sprint 2*/ + students[[0,8]] =(tePoint[0]/1800)*100 ; + students[[0,9]] =(tePoint[1]/1200)*100 ; + /*sprint 3*/ + students[[0,10]]=(tePoint[0]/1800)*100 ; + students[[0,11]]=(tePoint[1]/1200)*100 ; + /*sprint 4*/ + students[[0,12]]=(tePoint[0]/1800)*100 ; + students[[0,13]]=(tePoint[1]/1200)*100 ; + + console.log('students', students); + + }) - var generationsSedes = Object.values(generations[0]); - console.log('generaciones-sedes', generationsSedes[0]); - }); /* evento para botón de especialización uxdesing */ var uxdesignButton = document.getElementById('uxdesign-button'); uxdesignButton.addEventListener('click', function(event) { From ca5959d8c83595239e2df8807dad61cf0384d790 Mon Sep 17 00:00:00 2001 From: yennyelizabeth Date: Thu, 30 Nov 2017 14:56:02 -0500 Subject: [PATCH 07/21] arreglo completo de alumnas sede arequipa --- js/app-1.js | 98 ++++++++++++++++++++++++++++++++++++++++++++++++++++ student.html | 2 +- 2 files changed, 99 insertions(+), 1 deletion(-) create mode 100644 js/app-1.js diff --git a/js/app-1.js b/js/app-1.js new file mode 100644 index 00000000..00719569 --- /dev/null +++ b/js/app-1.js @@ -0,0 +1,98 @@ +/* + * Funcionalidad de tu producto + */ + +// Puedes hacer uso de la base de datos a través de la variable `data` +/* console.log(data); */ +console.log(data); + +window.addEventListener('load', function(event) { +/* evento para botón de especialización javascript */ + var javascriptButton = document.getElementById('javascript-button'); + javascriptButton.addEventListener('click', function(event) { + alert('es click'); + + + var students= []; + var studentsData = []; + var baseTech = 1800; + var baseHse = 1200; + var acumTech = 0; + var acumHse = 0; + + /* Sedes - Array */ + var sedes = Object.keys(data); + var sedesArray=[]; + var studentGeneratiosArray=[]; + for ( var i=0 ; i< 4 ; i++) { + sedesArray[i] = sedes[i]; + } + + + /*Generaciones- Array */ + var generations = Object.values(data); + + /* sede */ + + var generationsArray= Object.keys(generations[0]); /* AQP-GEN-POS 0 , hacer for para 2 */ + + /*encuentro lista de alumnos*/ + var generationsValues = Object.values(generations[0]); + var generationsValuesStudents= generationsValues[0]; + var generationsValuesStudentsData = Object.values(generationsValuesStudents); + var gen= generationsValuesStudentsData[0]; + + /* extrayendo alumnas de sede arequipa */ + for( var a= 0; a<15 ; a++){ + studentsData = Object.values(gen[a]); /*extrae alumnos*/ + students[[a,0]] = sedesArray[0]; /*asigna sede arequipa */ + students[[a,1]] = generationsArray[0]; /*asigna generation 1 */ + students[[a,2]] = studentsData[0]; + students[[a,3]] = studentsData[1]; + students[[a,4]] = studentsData[2]; + students[[a,5]] = studentsData[3]; + console.log(students[a]) ; + + /* extrayendo puntaje de sprints */ + for (var b= 0; b <4 ; b++) { + var tech =Object.values(studentsData[3]); + var tec = Object.values(tech[b]); + /*console.log('array tec' , tec); imprime notas alumnas sprint */ + var tePoint= Object.values(tec[1]); + /*console.log('tepoint' , tePoint );*/ + + /* recorre las notas por print 4 por alumna */ + /*sprint 1*/ + for (var c=0; c<2 ;c++) { + students[[a,6]] =((tePoint[c]/1800)*100).toFixed(1) ; /*tech*/ + acumTech = acumTech + tePoint[0] ; + students[[a,7]] =((tePoint[c]/1200)*100).toFixed(1) ; /*hse*/ + console.log('nota sprint1',students[[a,2]], students[[a,6]],students[[a,7]]); + } + } + } + + /* console.log('tech', tech); /*hacer for para 4 */ + /* console.log('tech', tech[0]); /*primer sprint*/ + /*console.log('tec', tec);*/ + /*console.log('tec', tec[1]);*/ + /* console.log('students', students); */ + + var acumTech = 0; + var acumHse = 0; + + + + }) + + /* evento para botón de especialización uxdesing */ + var uxdesignButton = document.getElementById('uxdesign-button'); + uxdesignButton.addEventListener('click', function(event) { + alert('es click en uxdesing'); + }); + /* evento para botón de especialización front end designer */ + var frontEndDesignerButton = document.getElementById('front-end-designer-button'); + frontEndDesignerButton.addEventListener('click', function(event) { + alert('es click en front end desing'); + }); +}); diff --git a/student.html b/student.html index e9f21600..caff3cd5 100644 --- a/student.html +++ b/student.html @@ -106,7 +106,7 @@ - + From 063d06d550815991f06daf2d2ba5ce9139b2a95b Mon Sep 17 00:00:00 2001 From: yennyelizabeth Date: Thu, 30 Nov 2017 16:01:44 -0500 Subject: [PATCH 08/21] mejorando for de data de alumnas --- css/{main.css => main-1.css} | 5 ++++ js/app-1.js | 53 ++++++++++++++++-------------------- student.html | 24 ++++++++-------- 3 files changed, 41 insertions(+), 41 deletions(-) rename css/{main.css => main-1.css} (97%) diff --git a/css/main.css b/css/main-1.css similarity index 97% rename from css/main.css rename to css/main-1.css index 97a12b47..11756e48 100644 --- a/css/main.css +++ b/css/main-1.css @@ -118,3 +118,8 @@ li label { width: 100px; background-color: red; } + +button { + width: 250px; + height:45px; +} \ No newline at end of file diff --git a/js/app-1.js b/js/app-1.js index 00719569..3f107398 100644 --- a/js/app-1.js +++ b/js/app-1.js @@ -7,18 +7,33 @@ console.log(data); window.addEventListener('load', function(event) { + /* evento para botón de especialización javascript */ var javascriptButton = document.getElementById('javascript-button'); javascriptButton.addEventListener('click', function(event) { - alert('es click'); + alert('es click'); + button.classList.add('desactive'); + }) + + /* evento para botón de especialización uxdesing */ + var uxdesignButton = document.getElementById('uxdesign-button'); + uxdesignButton.addEventListener('click', function(event) { + alert('es click en uxdesing'); + }); + /* evento para botón de especialización front end designer */ + var frontEndDesignerButton = document.getElementById('front-end-designer-button'); + frontEndDesignerButton.addEventListener('click', function(event) { + alert('es click en front end desing'); + var students= []; var studentsData = []; var baseTech = 1800; var baseHse = 1200; var acumTech = 0; var acumHse = 0; + var ind = 0; /* Sedes - Array */ var sedes = Object.keys(data); @@ -51,48 +66,26 @@ window.addEventListener('load', function(event) { students[[a,3]] = studentsData[1]; students[[a,4]] = studentsData[2]; students[[a,5]] = studentsData[3]; - console.log(students[a]) ; - + ind = 0; + /* extrayendo puntaje de sprints */ for (var b= 0; b <4 ; b++) { var tech =Object.values(studentsData[3]); var tec = Object.values(tech[b]); /*console.log('array tec' , tec); imprime notas alumnas sprint */ var tePoint= Object.values(tec[1]); - /*console.log('tepoint' , tePoint );*/ - /* recorre las notas por print 4 por alumna */ + /* recorre las notas por print 4 por alumna */ /*sprint 1*/ + ind = 0; for (var c=0; c<2 ;c++) { - students[[a,6]] =((tePoint[c]/1800)*100).toFixed(1) ; /*tech*/ - acumTech = acumTech + tePoint[0] ; - students[[a,7]] =((tePoint[c]/1200)*100).toFixed(1) ; /*hse*/ - console.log('nota sprint1',students[[a,2]], students[[a,6]],students[[a,7]]); + students[[a,6+b+ind]] =((tePoint[c]/1800)*100).toFixed(1) ; /*tech*/ + students[[a,7+b]] =((tePoint[c]/1200)*100).toFixed(1) ; /*hse*/ + ind = ind+1; } } } - - /* console.log('tech', tech); /*hacer for para 4 */ - /* console.log('tech', tech[0]); /*primer sprint*/ - /*console.log('tec', tec);*/ - /*console.log('tec', tec[1]);*/ - /* console.log('students', students); */ - var acumTech = 0; var acumHse = 0; - - - - }) - - /* evento para botón de especialización uxdesing */ - var uxdesignButton = document.getElementById('uxdesign-button'); - uxdesignButton.addEventListener('click', function(event) { - alert('es click en uxdesing'); - }); - /* evento para botón de especialización front end designer */ - var frontEndDesignerButton = document.getElementById('front-end-designer-button'); - frontEndDesignerButton.addEventListener('click', function(event) { - alert('es click en front end desing'); }); }); diff --git a/student.html b/student.html index caff3cd5..db868d20 100644 --- a/student.html +++ b/student.html @@ -5,14 +5,16 @@ Document - +
+
+ - -
- -
- +
+
+
+



@@ -44,7 +41,9 @@
+ +
@@ -98,9 +97,12 @@

+ +
ssssss
+
From 0a6d5d33ab17a80a7dea7647e219153631239147 Mon Sep 17 00:00:00 2001 From: yennyelizabeth Date: Thu, 30 Nov 2017 16:58:15 -0500 Subject: [PATCH 09/21] mostrando fotos alumnas y fijando menu especialization --- README.md | 35 +++++++------ css/main-1.css | 24 ++++++++- js/app-1.js | 127 +++++++++++++++++++++++++++--------------------- js/app.js | 32 +++++++++++- js/student.html | 114 +++++++++++++++++++++++++++++++++++++++++++ student.html | 1 - 6 files changed, 256 insertions(+), 77 deletions(-) create mode 100644 js/student.html diff --git a/README.md b/README.md index e9b59c4c..f7ba1252 100644 --- a/README.md +++ b/README.md @@ -1,25 +1,28 @@ # Data Dashboard -* **Track:** _Common Core_ -* **Curso:** _Creando tu primer sitio web interactivo_ -* **Unidad:** _Producto final_ +* **DataDashboard de Laboratoria** -*** -## Flujo de trabajo +## Integrantes +- Araceli +- Yenny Quiñones Jáuregui -1. Debes realizar un [**fork**](https://gist.github.com/ivandevp/1de47ae69a5e139a6622d78c882e1f74) - de este repositorio. +## Objetivos +- -2. Luego deberás **clonar** tu fork en tu máquina. Recuerda que el comando a usar - es `git clone` y su estructura normalmente se ve así: +## Vistas +1. Overview - ```bash - git clone https://github.com//freelancer.git - ``` -3. Cuando hayas terminado tu producto, envía un Pull Request a este repositorio - (puedes solicitar apoyo de tus profes para este paso). +2. Students -> Nota: No olvides que es una buena práctica describir tu proyecto en este -> archivo `README.md` y también desplegar tu web a Github Pages :smiley:. +- Maquetación + + + +## Herramientas Utilizadas +- Html 5 para la estructura +- Css para el estilo +- Javascript para la funcionalidad + +### \ No newline at end of file diff --git a/css/main-1.css b/css/main-1.css index 11756e48..108d6286 100644 --- a/css/main-1.css +++ b/css/main-1.css @@ -5,6 +5,9 @@ background-color: #f4f6f7; } +div #especialization { + position: fixed; +} #especialization { left: 15px; @@ -26,8 +29,9 @@ li { width: 50% ; background-color: white ; display: inline-block; - margin-left: 20px; + margin-left: 650px; /*float: right;*/ + } ul, li{ @@ -122,4 +126,20 @@ li label { button { width: 250px; height:45px; -} \ No newline at end of file +} + +/* clases de visualización para aplicarse a botón */ +button.desactive { + background-color: #e0e0e0; + color: #757575; + } + + button.active { + background-color: #faf281; + color: white; + } + + .photo-standart { + height: 100px; + width: 100px; + } \ No newline at end of file diff --git a/js/app-1.js b/js/app-1.js index 3f107398..ce5f77f3 100644 --- a/js/app-1.js +++ b/js/app-1.js @@ -27,65 +27,80 @@ window.addEventListener('load', function(event) { frontEndDesignerButton.addEventListener('click', function(event) { alert('es click en front end desing'); - var students= []; - var studentsData = []; - var baseTech = 1800; - var baseHse = 1200; - var acumTech = 0; - var acumHse = 0; - var ind = 0; - - /* Sedes - Array */ - var sedes = Object.keys(data); - var sedesArray=[]; - var studentGeneratiosArray=[]; - for ( var i=0 ; i< 4 ; i++) { + var students= []; + var studentsData = []; + var baseTech = 1800; + var baseHse = 1200; + var acumTech = 0; + var acumHse = 0; + var ind = 0; + + /* Sedes - Array */ + var sedes = Object.keys(data); + var sedesArray=[]; + var studentGeneratiosArray=[]; + for ( var i=0 ; i< 4 ; i++) { sedesArray[i] = sedes[i]; - } - - - /*Generaciones- Array */ - var generations = Object.values(data); - - /* sede */ - - var generationsArray= Object.keys(generations[0]); /* AQP-GEN-POS 0 , hacer for para 2 */ - - /*encuentro lista de alumnos*/ - var generationsValues = Object.values(generations[0]); - var generationsValuesStudents= generationsValues[0]; - var generationsValuesStudentsData = Object.values(generationsValuesStudents); - var gen= generationsValuesStudentsData[0]; + } + + /* Generaciones- Array */ + var generations = Object.values(data); + + /* sede */ + var generationsArray= Object.keys(generations[0]); /* AQP-GEN-POS 0 , hacer for para 2 */ + + /*encuentro lista de alumnos*/ + var generationsValues = Object.values(generations[0]); + var generationsValuesStudents= generationsValues[0]; + var generationsValuesStudentsData = Object.values(generationsValuesStudents); + var gen= generationsValuesStudentsData[0]; - /* extrayendo alumnas de sede arequipa */ - for( var a= 0; a<15 ; a++){ - studentsData = Object.values(gen[a]); /*extrae alumnos*/ - students[[a,0]] = sedesArray[0]; /*asigna sede arequipa */ - students[[a,1]] = generationsArray[0]; /*asigna generation 1 */ - students[[a,2]] = studentsData[0]; - students[[a,3]] = studentsData[1]; - students[[a,4]] = studentsData[2]; - students[[a,5]] = studentsData[3]; - ind = 0; + /* extrayendo alumnas de sede arequipa */ + for( var a= 0; a<15 ; a++){ + studentsData = Object.values(gen[a]); /*extrae alumnos*/ + students[[a,0]] = sedesArray[0]; /*asigna sede arequipa */ + students[[a,1]] = generationsArray[0]; /*asigna generation 1 */ + students[[a,2]] = studentsData[0]; /*asigna nombre*/ + students[[a,3]] = studentsData[1]; /*asigna foto*/ + students[[a,4]] = studentsData[2]; /*asigna active*/ + students[[a,5]] = studentsData[3]; /*asigna score objeto*/ + ind = 0; - /* extrayendo puntaje de sprints */ - for (var b= 0; b <4 ; b++) { - var tech =Object.values(studentsData[3]); - var tec = Object.values(tech[b]); - /*console.log('array tec' , tec); imprime notas alumnas sprint */ - var tePoint= Object.values(tec[1]); - - /* recorre las notas por print 4 por alumna */ - /*sprint 1*/ - ind = 0; - for (var c=0; c<2 ;c++) { - students[[a,6+b+ind]] =((tePoint[c]/1800)*100).toFixed(1) ; /*tech*/ - students[[a,7+b]] =((tePoint[c]/1200)*100).toFixed(1) ; /*hse*/ - ind = ind+1; - } - } + /* extrayendo puntaje de sprints */ + for (var b= 0; b <4 ; b++) { + var tech =Object.values(studentsData[3]); + var tec = Object.values(tech[b]); + /*console.log('array tec' , tec); imprime notas alumnas sprint */ + var tePoint= Object.values(tec[1]); + + /* recorre las notas por print 4 por alumna */ + /*sprint 1*/ + ind = 0; + for (var c=0; c<2 ;c++) { + students[[a,6+b+ind]] =((tePoint[c]/1800)*100).toFixed(1) ; /*tech*/ + students[[a,7+b]] =((tePoint[c]/1200)*100).toFixed(1) ; /*hse*/ + ind = ind+1; } - var acumTech = 0; - var acumHse = 0; + } + } + + var acumTech = 0; + var acumHse = 0; + + for (var i= 0 ; i<15 ; i++){ + /* ubico área para crear elementos */ + var visualizationSection = document.getElementById('visualization'); + + /* creaación de elementos divs */ + var divStudent = document.createElement('div');/* div con id-student */ + var imgPhoto = document.createElement('img'); /* img con propiedad src*/ + imgPhoto.setAttribute('src',students[[i,3]]); + imgPhoto.classList.add('photo-standart'); + + /* asignación de hijos a padres */ + visualizationSection.appendChild(divStudent); + divStudent.appendChild(imgPhoto); + } + }); }); diff --git a/js/app.js b/js/app.js index ea105770..462b9ccf 100644 --- a/js/app.js +++ b/js/app.js @@ -79,9 +79,37 @@ window.addEventListener('load', function(event) { uxdesignButton.addEventListener('click', function(event) { alert('es click en uxdesing'); }); + + /* evento para botón de especialización front end designer */ - var frontEndDesignerButton = document.getElementById('front-end-designer-button'); - frontEndDesignerButton.addEventListener('click', function(event) { + var frontEndDesignerButton = document.getElementById('front-end-designer-button'); + frontEndDesignerButton.addEventListener('click', function(event) { alert('es click en front end desing'); + + /* ubico área para crear elementos */ + var visualizationSection = document.getElementById('visualization'); + + /* creaación de elementos y nodo */ + var divStudent = document.createElement('div');/* div con id-student */ + var imgPhoto = document.createElement('img'); /* img con propiedad src*/ + + /* var text = document.createTextNode(textAreaText);*/ + + /* asignación de hijos a padres */ + visualizationSection.appendChild(divStudent); + divStudent.appendChild(imgPhoto); + + + pVar.appendChild(text); + + /* inicializando cuenta de caracteres*/ + textarea.value = '' ; + regressive = 140 ; + label.textContent = regressive ; + + + + + }); }); diff --git a/js/student.html b/js/student.html new file mode 100644 index 00000000..db868d20 --- /dev/null +++ b/js/student.html @@ -0,0 +1,114 @@ + + + + + + + Document + + + + + +
+ + +
+ + +
+
+
+



+
+ + + +
+ + + + + +
+ +
+ +
+ +
+ +
+
DIANA NAVARRO
+
Fronted Developer
+
+ +
+
+ +
+ +
+
+ +
+
+ +
+ +
+
+ +
+
+ +
+ +
+
+
+
+ +
+
Javascript
+
APIs
+
JQuery
+
+
+
+ + i + +
+
+
+
+ + +
ssssss +
+
+ +
+
+ + + + + + + diff --git a/student.html b/student.html index db868d20..337b1fb9 100644 --- a/student.html +++ b/student.html @@ -49,7 +49,6 @@
-
From 5f12a3a1e1a6d3d16d31122c19bdb92f32be800c Mon Sep 17 00:00:00 2001 From: yennyelizabeth Date: Thu, 30 Nov 2017 17:40:56 -0500 Subject: [PATCH 10/21] =?UTF-8?q?a=C3=B1adiendo=20nombres=20de=20alumnas?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/main-1.css | 5 +++-- js/app-1.js | 26 +++++++++++++++++++------- student.html | 7 +------ 3 files changed, 23 insertions(+), 15 deletions(-) diff --git a/css/main-1.css b/css/main-1.css index 108d6286..336f7ab5 100644 --- a/css/main-1.css +++ b/css/main-1.css @@ -139,7 +139,8 @@ button.desactive { color: white; } + /* clases para foto standart */ .photo-standart { - height: 100px; - width: 100px; + height: 130px; + width: 140px; } \ No newline at end of file diff --git a/js/app-1.js b/js/app-1.js index ce5f77f3..1a96a7ea 100644 --- a/js/app-1.js +++ b/js/app-1.js @@ -87,20 +87,32 @@ window.addEventListener('load', function(event) { var acumTech = 0; var acumHse = 0; - for (var i= 0 ; i<15 ; i++){ + /* para recorrer el array students */ + for (var z= 0 ; z<15 ; z++){ /* ubico área para crear elementos */ var visualizationSection = document.getElementById('visualization'); - + /* creaación de elementos divs */ - var divStudent = document.createElement('div');/* div con id-student */ - var imgPhoto = document.createElement('img'); /* img con propiedad src*/ - imgPhoto.setAttribute('src',students[[i,3]]); - imgPhoto.classList.add('photo-standart'); + var divStudent = document.createElement('div'); /* div con id-student */ + var imgPhoto = document.createElement('img'); /* img con propiedad src*/ + imgPhoto.setAttribute('src',students[[z,3]]); + imgPhoto.classList.add('photo-standart'); /* asignación de hijos a padres */ visualizationSection.appendChild(divStudent); divStudent.appendChild(imgPhoto); - } + var divDate = document.createElement('div'); /* div con id-date */ + var divDateStudent = document.createElement('div'); /* div con id-name */ + var divName = document.createElement('div'); /* div con id-date */ + var divEspecializationStudent = document.createElement('div'); /* div con id-name */ + + + divStudent.appendChild(divDate); + divDate.appendChild(divName); + divDate.textContent = students[[z,2]]; + divDate.appendChild(divEspecializationStudent); + + }; }); }); diff --git a/student.html b/student.html index 337b1fb9..4c7c877e 100644 --- a/student.html +++ b/student.html @@ -27,7 +27,7 @@


-



+



@@ -97,11 +97,6 @@
- -
ssssss -
-
- From 4f96ef5323913f9faa5784b63362b5181a29fbe6 Mon Sep 17 00:00:00 2001 From: yennyelizabeth Date: Thu, 30 Nov 2017 17:53:48 -0500 Subject: [PATCH 11/21] atualizando estilo --- css/main-1.css | 4 ++++ js/app-1.js | 10 +++++----- student.html | 4 ++-- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/css/main-1.css b/css/main-1.css index 336f7ab5..6413fc86 100644 --- a/css/main-1.css +++ b/css/main-1.css @@ -9,6 +9,10 @@ div #especialization { position: fixed; } +div #container-students { + bottom:100px; +} + #especialization { left: 15px; /*height: 100%;*/ diff --git a/js/app-1.js b/js/app-1.js index 1a96a7ea..e88cf44d 100644 --- a/js/app-1.js +++ b/js/app-1.js @@ -93,26 +93,26 @@ window.addEventListener('load', function(event) { var visualizationSection = document.getElementById('visualization'); /* creaación de elementos divs */ + + /* photo del estudiante */ var divStudent = document.createElement('div'); /* div con id-student */ var imgPhoto = document.createElement('img'); /* img con propiedad src*/ imgPhoto.setAttribute('src',students[[z,3]]); imgPhoto.classList.add('photo-standart'); - - /* asignación de hijos a padres */ visualizationSection.appendChild(divStudent); divStudent.appendChild(imgPhoto); + /*datos de estudiante */ var divDate = document.createElement('div'); /* div con id-date */ var divDateStudent = document.createElement('div'); /* div con id-name */ var divName = document.createElement('div'); /* div con id-date */ + divName.classList.add('big-letter'); var divEspecializationStudent = document.createElement('div'); /* div con id-name */ - - divStudent.appendChild(divDate); divDate.appendChild(divName); divDate.textContent = students[[z,2]]; divDate.appendChild(divEspecializationStudent); - + }; }); }); diff --git a/student.html b/student.html index 4c7c877e..1529ffe1 100644 --- a/student.html +++ b/student.html @@ -23,11 +23,11 @@



  • --> - +

    Especialización




    -



    +


    From 2d5f6cae9c5dbbb489002d42eb4635c9215c4d30 Mon Sep 17 00:00:00 2001 From: yennyelizabeth Date: Thu, 30 Nov 2017 18:05:58 -0500 Subject: [PATCH 12/21] =?UTF-8?q?a=C3=B1adiendo=20rama=20student=20initial?= =?UTF-8?q?=20al=20master?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 27 ------------ js/app.js | 115 ------------------------------------------------ js/student.html | 13 +----- 3 files changed, 1 insertion(+), 154 deletions(-) delete mode 100644 index.html delete mode 100644 js/app.js diff --git a/index.html b/index.html deleted file mode 100644 index 333600a3..00000000 --- a/index.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - Document - - - - - - - - - - - - - diff --git a/js/app.js b/js/app.js deleted file mode 100644 index 462b9ccf..00000000 --- a/js/app.js +++ /dev/null @@ -1,115 +0,0 @@ -/* - * Funcionalidad de tu producto - */ - -// Puedes hacer uso de la base de datos a través de la variable `data` -/* console.log(data); */ -console.log(data); - -window.addEventListener('load', function(event) { -/* evento para botón de especialización javascript */ - var javascriptButton = document.getElementById('javascript-button'); - javascriptButton.addEventListener('click', function(event) { - alert('es click'); - - var students= []; - var studentsData = []; - var baseTech = 1800; - var baseHse = 1200; - - /* Sedes - Array */ - var sedes = Object.keys(data); - var sedesArray=[]; - var studentGeneratiosArray=[]; - for ( var i=0 ; i< 4 ; i++) { - sedesArray[i] = sedes[i]; - } - - /*Generaciones- Array */ - var generations = Object.values(data); - var generationsArray= Object.keys(generations[0]); /* AQP-GEN-POS 0 , hacer for para 2 */ - - /*encuentro lista de alumnos*/ - var generationsValues = Object.values(generations[0]); - var generationsValuesStudents= generationsValues[0]; - var generationsValuesStudentsData = Object.values(generationsValuesStudents); - var gen= generationsValuesStudentsData[0]; - - studentsData = Object.values(gen[0]); /* hacer for para 15*/ - /* console.log('students data', studentsData); */ - - /* Estudiantes- Array */ - /*estudiantes de arequipa-position 0***/ - students[[0,0]] = sedesArray[0]; - students[[0,1]] = generationsArray[0]; - students[[0,2]] = studentsData[0]; - students[[0,3]] = studentsData[1]; - students[[0,4]] = studentsData[2]; - students[[0,5]] = studentsData[3]; - - var tech =Object.values(studentsData[3]); - var tec = Object.values(tech[0]); - console.log('tech', tech); /*hacer for para 4 */ - console.log('tech', tech[0]); /*primer sprint*/ - /*console.log('tec', tec);*/ - console.log('tec', tec[1]); - - var tePoint= Object.values(tec[1]); - console.log('tepoint' , tePoint ); - - /*sprint 1*/ - students[[0,6]] =(tePoint[0]/1800)*100 ; - students[[0,7]] =(tePoint[1]/1200)*100 ; - /*sprint 2*/ - students[[0,8]] =(tePoint[0]/1800)*100 ; - students[[0,9]] =(tePoint[1]/1200)*100 ; - /*sprint 3*/ - students[[0,10]]=(tePoint[0]/1800)*100 ; - students[[0,11]]=(tePoint[1]/1200)*100 ; - /*sprint 4*/ - students[[0,12]]=(tePoint[0]/1800)*100 ; - students[[0,13]]=(tePoint[1]/1200)*100 ; - - console.log('students', students); - - }) - - /* evento para botón de especialización uxdesing */ - var uxdesignButton = document.getElementById('uxdesign-button'); - uxdesignButton.addEventListener('click', function(event) { - alert('es click en uxdesing'); - }); - - - /* evento para botón de especialización front end designer */ - var frontEndDesignerButton = document.getElementById('front-end-designer-button'); - frontEndDesignerButton.addEventListener('click', function(event) { - alert('es click en front end desing'); - - /* ubico área para crear elementos */ - var visualizationSection = document.getElementById('visualization'); - - /* creaación de elementos y nodo */ - var divStudent = document.createElement('div');/* div con id-student */ - var imgPhoto = document.createElement('img'); /* img con propiedad src*/ - - /* var text = document.createTextNode(textAreaText);*/ - - /* asignación de hijos a padres */ - visualizationSection.appendChild(divStudent); - divStudent.appendChild(imgPhoto); - - - pVar.appendChild(text); - - /* inicializando cuenta de caracteres*/ - textarea.value = '' ; - regressive = 140 ; - label.textContent = regressive ; - - - - - - }); -}); diff --git a/js/student.html b/js/student.html index db868d20..431cdd18 100644 --- a/js/student.html +++ b/js/student.html @@ -14,23 +14,12 @@
    - -






    -
    @@ -46,7 +35,7 @@
    -
    +
    From 6e747bab47e4ffbea2c9e018427f97d649a04baf Mon Sep 17 00:00:00 2001 From: yennyelizabeth Date: Fri, 1 Dec 2017 12:08:02 -0500 Subject: [PATCH 13/21] =?UTF-8?q?a=C3=B1adiendo=20funcionalidad=20a=20stud?= =?UTF-8?q?ent?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/app-1.js | 31 ++++++++++++++++++++++++------- 1 file changed, 24 insertions(+), 7 deletions(-) diff --git a/js/app-1.js b/js/app-1.js index e88cf44d..a9bd51bf 100644 --- a/js/app-1.js +++ b/js/app-1.js @@ -25,7 +25,7 @@ window.addEventListener('load', function(event) { /* evento para botón de especialización front end designer */ var frontEndDesignerButton = document.getElementById('front-end-designer-button'); frontEndDesignerButton.addEventListener('click', function(event) { - alert('es click en front end desing'); + alert('es click en front end desing'); var students= []; var studentsData = []; @@ -70,7 +70,6 @@ window.addEventListener('load', function(event) { for (var b= 0; b <4 ; b++) { var tech =Object.values(studentsData[3]); var tec = Object.values(tech[b]); - /*console.log('array tec' , tec); imprime notas alumnas sprint */ var tePoint= Object.values(tec[1]); /* recorre las notas por print 4 por alumna */ @@ -108,11 +107,29 @@ window.addEventListener('load', function(event) { var divName = document.createElement('div'); /* div con id-date */ divName.classList.add('big-letter'); var divEspecializationStudent = document.createElement('div'); /* div con id-name */ + divStudent.appendChild(divDate); - divDate.appendChild(divName); - divDate.textContent = students[[z,2]]; - divDate.appendChild(divEspecializationStudent); - - }; + divDate.appendChild(divDateStudent); + + divDateStudent.appendChild(divName); + divName.textContent = students[[z,2]]; + divDateStudent.appendChild(divEspecializationStudent); + divEspecializationStudent.textContent = 'Front End Developer'; + + /* evaluación técnica */ + var divTechSkills = document.createElement('div'); + var divTech = document.createElement('div'); + var labelPercentTech= document.createElement('label'); + var labelNumberTech= document.createElement('label'); + var brUp1 = document.createElement('br') + + divDate.appendChild(divTechSkills); + divTechSkills.appendChild(divTech); + divTech.appendChild(labelPercentTech); + labelPercentTech.textContent = students[[z,6]]; + divTech.appendChild(brUp1); + divTech.appendChild(labelNumberTech); + labelNumberTech.textContent = students[[z,7]]; + }; }); }); From a36f6b2a2e7b1837b2654646dee043fc338335e5 Mon Sep 17 00:00:00 2001 From: yennyelizabeth <31896385+yennyelizabeth@users.noreply.github.com> Date: Fri, 1 Dec 2017 22:39:53 -0500 Subject: [PATCH 14/21] sv --- README.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index f7ba1252..492f7ead 100644 --- a/README.md +++ b/README.md @@ -4,11 +4,8 @@ ## Integrantes -- Araceli -- Yenny Quiñones Jáuregui - -## Objetivos -- +- Araceli Gutarra +- Yenny Quiñones ## Vistas 1. Overview @@ -25,4 +22,4 @@ - Css para el estilo - Javascript para la funcionalidad -### \ No newline at end of file +### From c013ab15e815693599e7b0c5d81bc1e06a66e750 Mon Sep 17 00:00:00 2001 From: yennyelizabeth <31896385+yennyelizabeth@users.noreply.github.com> Date: Sat, 2 Dec 2017 10:51:30 -0500 Subject: [PATCH 15/21] cambiando de nombre a index.html MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit para buscar la visualización en la pages --- student.html => index.html | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename student.html => index.html (100%) diff --git a/student.html b/index.html similarity index 100% rename from student.html rename to index.html From b34df8f5e0e7ebb2edd81d91d66004461c62f9b3 Mon Sep 17 00:00:00 2001 From: yennyelizabeth Date: Sat, 2 Dec 2017 11:16:36 -0500 Subject: [PATCH 16/21] =?UTF-8?q?a=C3=B1adiendo=20vista=20overview=20y=20e?= =?UTF-8?q?nlace=20de=20vistas?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/main-1.css | 10 +- css/main.css | 428 +++++++++++++++++++++++++ index.html | 11 +- js/app.js | 824 ++++++++++++++++++++++++++++++++++++++++++++++++ js/student.html | 7 +- over-view.html | 182 +++++++++++ 6 files changed, 1457 insertions(+), 5 deletions(-) create mode 100644 css/main.css create mode 100644 js/app.js create mode 100644 over-view.html diff --git a/css/main-1.css b/css/main-1.css index 6413fc86..6a5d976f 100644 --- a/css/main-1.css +++ b/css/main-1.css @@ -5,6 +5,10 @@ background-color: #f4f6f7; } +div .view-student { + text-align: center ; +} + div #especialization { position: fixed; } @@ -35,7 +39,7 @@ li { display: inline-block; margin-left: 650px; /*float: right;*/ - + } ul, li{ @@ -137,7 +141,7 @@ button.desactive { background-color: #e0e0e0; color: #757575; } - + button.active { background-color: #faf281; color: white; @@ -147,4 +151,4 @@ button.desactive { .photo-standart { height: 130px; width: 140px; - } \ No newline at end of file + } diff --git a/css/main.css b/css/main.css new file mode 100644 index 00000000..0782db38 --- /dev/null +++ b/css/main.css @@ -0,0 +1,428 @@ +/* + * Estilos de tu proyecto + */ + +/* Estilos generales */ + +* { + box-sizing: border-box; + margin: 0; + padding: 0; + font-family: 'Montserrat', sans-serif; +} + +body { + background-color: #f4f6f7; + color: #2b2b2b; + width: 1366px; +} + +main { + width: 100%; + margin: 0 auto; +} + +/* Estilos a la sección principal, contenedores generales o que sus elementos comparten ciertas propiedades de estilo */ + +.container { + width: 100%; + height: 100%; +} + +div .view-overview { + text-align: center; +} + +h2 { + text-transform: uppercase; +} + +.section-1, .section-4 { + width: 100%; +} + +.section-2, .section-3 { + width: 82.8%; + margin: 0 auto; +} + +.section-2 h2, .section-3 h2 { + display: inline-block; + margin-left: 2.3%; +} + +.section-1, .section-2, .section-3, .section-4 { + height: 25%; + font-size: 0.9em; +} + + +.div-1, .div-2, .div-3, .section-2, .section-3, .div-6, .div-7, .div-8 { + background-color: #fff; +} + +.div-1, .div-2, .div-3, .div-6, .div-7, .div-8 { + display: inline-block; +} + +.div-1, .div-2, .div-3, .div-6, .div-7, .div-8 { + width: 25%; + height: 300px; +} + +.little-div-1, .little-div-2, .little-div-3, .little-div-4, .little-div-5, .little-div-6, .little-div-7, .little-div-8, .little-div-10, .little-div-11, .little-div-13, .little-div-14, .little-div-15 { + background-color: #e5e7e9; /*#F8F9F9;*/ + display: inline-block; +} + +/* Estilos generales a la 1ra subsección*/ + +.section-1 { + padding-top: 4%; + padding-bottom: 7%; +} + +.div-1, .div-2, .div-3 { + padding: 2%; +} + +.section-1 h2 { + padding-bottom: 5%; +} + +.section-1 img { + display: inline-block; +} + +/* Estilos al contenedor general nº1 */ + +.div-1 { + margin-left: 9%; + position: relative; + top: 16px; +} +/* Estilos al contenedor general nº2 */ +.div-2 { + margin-left: 3.7%; +} + +.div-2 img { + position: relative; + top: 17px; +} + +/* Estilos al contenedor general nº3 */ +.div-3 { + margin-left: 3.3%; + position: relative; + bottom: 12px; +} + +.div-3 img { + position: relative; + top: 11px; +} + +/* Estilos generales a los pequeños contenedores dentro todas las secciones */ + +.little-div-1, .little-div-2, .little-div-3, .little-div-4, .little-div-5, .little-div-6 { + height: 25%; + font-size: 0.69em; + text-align: center; +} + +.little-div-1, .little-div-2, .little-div-3, .little-div-4, .little-div-5 { + width: 45%; +} + +.little-div-1, .little-div-2 { + margin-top: 2%; +} + +.little-div-3, .little-div-4 { + margin-top: 2.7%; +} + + +.little-div-2, .little-div-4 { + position: relative; + bottom: 12px; +} + +.little-div-9, .little-div-12 { + display: inline-block; +} +/* Estilos para cada uno de los pequeños contenedores dentro de la primera sección*/ + +.little-div-1 { + position: relative; + bottom: 1px; +} + +.little-div-5 { + position: relative; + bottom: 4px; +} + +.little-div-6 { + font-size: 0.94em; + position: relative; + top: 5px; + width: 48%; +} + +.little-div-6 ul { + list-style: none; + text-align: left; + padding-top: 3%; + margin-left: 7%; +} + +/* Estilos a la 2da subsección */ + +.section-2 { + font-size: 0.69em; + margin-bottom: 5%; +} + +.section-2 h2 { + font-size: 2em; + position: relative; + top: 3px; +} + +.section-2 select { + display: inline-block; + margin-top: 2.5%; + margin-left: 2.8%; +} + +.div-4 { + width: 100%; + margin-top: 2%; +} + +.little-div-7, .little-div-8 { + width: 18%; + height: 70px; + text-align: center; +} + +.little-div-7 { + margin-left: 2.3%; +} + +.little-div-8 { + margin-left: 0.6%; + position: relative; + bottom: 14px; +} + +.little-div-9 { + width: 41.7%; + height: 350px; + position: relative; + bottom: 19px; +} + + +/* Estilos a las 3era subsección */ + +.section-3 { + font-size: 0.69em; + margin-bottom: 5%; +} + +.section-3 h2 { + font-size: 2em; + position: relative; + top: 3px; +} + +.section-3 select { + display: inline-block; + margin-top: 2.5%; + margin-left: 2.8%; +} + +.div-5 { + width: 100%; + margin-top: 2%; +} + +.little-div-10, .little-div-11 { + width: 18%; + height: 70px; + text-align: center; +} + +.little-div-10 { + margin-left: 2.3%; + position: relative; + bottom: 14px; +} + +.little-div-11 { + margin-left: 0.6%; +} + +.little-div-12 { + width: 41.7%; + height: 350px; + position: relative; + bottom: 19px; +} + +/* Estilos generales a la 4ta subsección */ + +.section-4 { + margin-bottom: 10%; +} + +.div-6, .div-7, .div-8 { + padding: 2%; +} + +.section-4 h2 { + padding-bottom: 5%; +} + +.section-4 img { + display: inline-block; +} + +/* Estilos al contenedor general nº6 */ + +.div-6 { + margin-left: 9%; +} + +.div-6 img { + position: relative; + top: 7px; +} + +/* Estilos al contenedor general nº7 */ + +.div-7 { + margin-left: 3.7%; +} + +.div-7 img { + position: relative; + top: 6px; +} + +/* Estilos al contenedor general nº8 */ + +.div-8 { + margin-left: 3.3%; +} + +.div-8 img { + position: relative; + top: 3px; +} + + +/* Estilos generales a los pequeños contenedores dentro de los contenedores generales de section */ + +.little-div-13, .little-div-14, .little-div-15 { + width: 60%; + height: 25%; + font-size: 0.69em; + text-align: center; + background-color: #e5e7e9; + margin-left: 1%; +} + +/* Estilos para cada uno de los contenedores generales de la cuarta sección */ + +.little-div-13 { + margin-top: 2%; +} + +.little-div-14 { + margin-top: 2%; +} + +.little-div-15 { + margin-top: 2%; + position: relative; + bottom: 2px; +} + +/*Clases especiales*/ + +.big-number { + font-weight: 700; + font-size: 2.5em; + margin: 2% 0 2%; +} + +.fifty { + display: inline-block; + color: #64dd17; + font-weight: 700; + font-size: 2.5em; + margin: 2% 0 2%; +} + +.mini-div-1 { + font-size: 2em; + font-weight: 700; + margin: 2% 0 3%; +} + +.red { + color: #e74c3c; + font-size: 2em; + font-weight: 700; + margin: 2% 0 4%; +} + +.green { + color: #64dd17; + font-size: 2em; + font-weight: 700; + margin: 2% 0 3%; +} + +.color-green { + width: 20px; + height: 12px; + display: inline-block; + background-color: #64dd17; +} + +.color-red { + width: 20px; + height: 12px; + display: inline-block; + background-color: #ff0000; +} + +.student { + display: inline-block; +} + +.rectangular-graphic { + margin-left: 2.3%; + margin-top: 2%; + width: 55%; + height: 350px; +} + +.circle-graphic { + width: 70%; + position: relative; + left: 58px; + padding-top: 2%; + padding-bottom: 7% +} + +.color-container { + padding-bottom: 2%; + padding-left: 8%; + letter-spacing: 0.4px; +} diff --git a/index.html b/index.html index 1529ffe1..44e488e8 100644 --- a/index.html +++ b/index.html @@ -10,6 +10,15 @@ + + + +
    +

    STUDENTS

    +
    +
    @@ -27,7 +36,7 @@

    Especialización




    -


    +


    diff --git a/js/app.js b/js/app.js new file mode 100644 index 00000000..10e64f04 --- /dev/null +++ b/js/app.js @@ -0,0 +1,824 @@ +/* + * Funcionalidad de tu producto + */ + +// Puedes hacer uso de la base de datos a través de la variable `data` +console.log(data); + +window.addEventListener('load', function(event) { + var select = document.getElementById('navbar'); + var hseSelect = document.getElementById('hse-select-element'); + var hseNumberOfStudentsContainer = document.getElementById('hse-number-of-students-container'); + var sedes = Object.keys(data); + var generations = Object.values(data); + var score5 = document.getElementById('nps'); + var promotersContainer = document.getElementById('promoters'); + var passiveContainer = document.getElementById('passive'); + var detractorsContainer = document.getElementById('detractors'); + var score1 = document.getElementById('total-students-container'); + var score2 = document.getElementById('percent-no-students-container'); + var score8 = document.getElementById('satisfied-students'); + var score9 = document.getElementById('average-score-for-teachers'); + var score10 = document.getElementById('average-score-for-jedi'); + select.addEventListener('click', function(event) { + var office; + var arrayOfGenerations; + var specificGeneration; + if (true) { + if (select.value === 'aq-2016-2') { + var sentence = select.value; + var generation = sentence.slice(3, 9); + office = Object.keys(data)[0]; + arrayOfGenerations = Object.values(data)[0]; + specificGeneration = arrayOfGenerations[generation]; + var arrayOfStudents = specificGeneration['students']; + var activeStudents = 0; + var noActiveStudents = 0; + for (var i = 0; i < 15; i++) { + if (arrayOfStudents[i]['active'] === true) { + activeStudents += 1; + } else { + noActiveStudents += 1; + } + } + var totalStudents = activeStudents + noActiveStudents; + score1.textContent = activeStudents; + var percentNoActiveStudents = (noActiveStudents / totalStudents) * 100; + score2.textContent = percentNoActiveStudents.toFixed(2) + '%'; + /* Evento click al select del HSE */ + hseSelect.addEventListener('click', function() { + var yourOption; // Sprint 1, Sprint 2, ... + var hsePassingStudents = 0; + var noHsePassingStudents = 0; + for (var i = 0; i < 15; i++) { + if (arrayOfStudents[i]['active'] === true) { + var sprint = arrayOfStudents[i]['sprint']; + // Cantidad de estudiantes que superan HSE por sprint + for (var i = 0; i < sprint.length; i++) { + if (select.value === 'hse-sprint-1') { + if (sprint[i]['number'] === 1) { + if (840 <= sprint[i]['score']['hse'] <= 1200) { + hsePassingStudents += 1; + } else { + noHsePassingStudents += 1; + } + } + hseNumberOfStudentsContainer.textContent = hsePassingStudents; + } + if (select.value === 'hse-sprint-2') { + if (sprint[i]['number'] === 2) { + if (840 <= sprint[i]['score']['hse'] <= 1200) { + hsePassingStudents += 1; + } else { + noHsePassingStudents += 1; + } + } + hseNumberOfStudentsContainer.textContent = hsePassingStudents; + } + if (select.value === 'hse-sprint-3') { + if (sprint[i]['number'] === 3) { + if (840 <= sprint[i]['score']['hse'] <= 1200) { + hsePassingStudents += 1; + } else { + noHsePassingStudents += 1; + } + } + hseNumberOfStudentsContainer.textContent = hsePassingStudents; + } + if (select.value === 'hse-sprint-4') { + if (sprint[i]['number'] === 4) { + if (840 <= sprint[i]['score']['hse'] <= 1200) { + hsePassingStudents += 1; + } else { + noHsePassingStudents += 1; + } + } + hseNumberOfStudentsContainer.textContent = hsePassingStudents; + } + } + } + } + }); + /* Los puntos indicados en el LMS relacionados con el rating */ + var ratings = specificGeneration['ratings']; + /* Variables*/ + /* Para el punto 5 */ + var totalPromoters = 0; + var totalPassive = 0; + var totalDetractors = 0; + /* Para el punto 8 */ + var dontMeet = 0; + var meet = 0; + var exceed = 0; + /* Para el punto 9 */ + var averageScoreForTeachers = 0; + /* Para el punto 10 */ + var averageScoreForJedi = 0; + /* Recorriendo con un for el object ratings */ + for (var i = 0; i < ratings.length; i++) { + /* Obteniendo el Net Promoter Score (NPS) promedio de los sprints cursados. */ + totalPromoters += ratings[i]['nps']['promoters']; + totalPassive += ratings[i]['nps']['passive']; + totalDetractors += ratings[i]['nps']['detractors']; + /* Obteniendo el porcentaje de estudiantes satisfechas con la experiencia de Laboratoria. */ + dontMeet += ratings[i]['student']['no-cumple']; + meet += ratings[i]['student']['cumple']; + exceed += ratings[i]['student']['supera']; + /* Obteniendo la puntuación de los jedi */ + var jediScore = ratings[i]['jedi']; + averageScoreForJedi += jediScore; + /* Obteniendo la puntuación de los teachers*/ + var teacherScore = ratings[i]['teacher']; + averageScoreForTeachers += teacherScore; + } + /* El Net Promoter Score (NPS) promedio de los sprints cursados */ + var totalScore = totalPromoters + totalPassive + totalDetractors; + var promoters = (totalPromoters / totalScore) * 100; + var passive = (totalPassive / totalScore) * 100; + var detractors = (totalDetractors / totalScore) * 100; + var nps = promoters - detractors; + promotersContainer.textContent = promoters.toFixed(2) + ' %' + ' Promoters'; + passiveContainer.textContent = passive.toFixed(2) + ' %' + ' Passive'; + detractorsContainer.textContent = detractors.toFixed(2) + ' %' + ' Detractors'; + score5.textContent = nps.toFixed(2) + '%'; + /* Porcentaje de estudiantes satisfechas */ + var total = dontMeet + meet + exceed; + var happyStudents = meet + exceed; + var satisfiedStudents = (happyStudents * 100) / total; + score8.textContent = satisfiedStudents.toFixed(2); + /* Puntuación promedio de los teachers */ + var averageScore2 = Math.round(averageScoreForTeachers / 4); + score9.textContent = averageScore2; + /* Puntuación promedio de los jedi */ + var averageScore = Math.round(averageScoreForJedi / 4); + score10.textContent = averageScore; + } + if (select.value === 'aq-2017-1') { + var sentence = select.value; + var generation = sentence.slice(3, 9); + office = Object.keys(data)[0]; + arrayOfGenerations = Object.values(data)[0]; + specificGeneration = arrayOfGenerations[generation]; + var arrayOfStudents = specificGeneration['students']; + var activeStudents = 0; + var noActiveStudents = 0; + for (var i = 0; i < 15; i++) { + if (arrayOfStudents[i]['active'] === true) { + activeStudents += 1; + } else { + noActiveStudents += 1; + } + } + var totalStudents = activeStudents + noActiveStudents; + score1.textContent = activeStudents; + var percentNoActiveStudents = (noActiveStudents / totalStudents) * 100; + score2.textContent = percentNoActiveStudents.toFixed(2) + '%'; + /* Los puntos indicados en el LMS relacionados con el rating */ + var ratings = specificGeneration['ratings']; + /* Variables*/ + /* Para el punto 5 */ + var totalPromoters = 0; + var totalPassive = 0; + var totalDetractors = 0; + /* Para el punto 8 */ + var dontMeet = 0; + var meet = 0; + var exceed = 0; + /* Para el punto 9 */ + var averageScoreForTeachers = 0; + /* Para el punto 10 */ + var averageScoreForJedi = 0; + /* Recorriendo con un for el object ratings */ + for (var i = 0; i < ratings.length; i++) { + /* Obteniendo el Net Promoter Score (NPS) promedio de los sprints cursados. */ + totalPromoters += ratings[i]['nps']['promoters']; + totalPassive += ratings[i]['nps']['passive']; + totalDetractors += ratings[i]['nps']['detractors']; + /* Obteniendo el porcentaje de estudiantes satisfechas con la experiencia de Laboratoria. */ + dontMeet += ratings[i]['student']['no-cumple']; + meet += ratings[i]['student']['cumple']; + exceed += ratings[i]['student']['supera']; + /* Obteniendo la puntuación de los jedi */ + var jediScore = ratings[i]['jedi']; + averageScoreForJedi += jediScore; + /* Obteniendo la puntuación de los teachers*/ + var teacherScore = ratings[i]['teacher']; + averageScoreForTeachers += teacherScore; + } + /* El Net Promoter Score (NPS) promedio de los sprints cursados */ + var totalScore = totalPromoters + totalPassive + totalDetractors; + var promoters = (totalPromoters / totalScore) * 100; + var passive = (totalPassive / totalScore) * 100; + var detractors = (totalDetractors / totalScore) * 100; + var nps = promoters - detractors; + promotersContainer.textContent = promoters.toFixed(2) + ' %' + ' Promoters'; + passiveContainer.textContent = passive.toFixed(2) + ' %' + ' Passive'; + detractorsContainer.textContent = detractors.toFixed(2) + ' %' + ' Detractors'; + score5.textContent = nps.toFixed(2) + '%'; + /* Porcentaje de estudiantes satisfechas */ + var total = dontMeet + meet + exceed; + var happyStudents = meet + exceed; + var satisfiedStudents = (happyStudents * 100) / total; + score8.textContent = satisfiedStudents.toFixed(2); + /* Puntuación promedio de los teachers */ + var averageScore2 = Math.round(averageScoreForTeachers / 4); + score9.textContent = averageScore2; + /* Puntuación promedio de los jedi */ + var averageScore = Math.round(averageScoreForJedi / 4); + score10.textContent = averageScore; + } + if (select.value === 'cm-2017-1') { + var sentence = select.value; + var generation = sentence.slice(3, 9); + office = Object.keys(data)[1]; + arrayOfGenerations = Object.values(data)[1]; + specificGeneration = arrayOfGenerations[generation]; + var arrayOfStudents = specificGeneration['students']; + var activeStudents = 0; + var noActiveStudents = 0; + for (var i = 0; i < 24; i++) { + if (arrayOfStudents[i]['active'] === true) { + activeStudents += 1; + } else { + noActiveStudents += 1; + } + } + var totalStudents = activeStudents + noActiveStudents; + score1.textContent = activeStudents; + var percentNoActiveStudents = (noActiveStudents / totalStudents) * 100; + score2.textContent = percentNoActiveStudents.toFixed(2) + '%'; + /* Los puntos indicados en el LMS relacionados con el rating */ + var ratings = specificGeneration['ratings']; + /* Variables*/ + /* Para el punto 5 */ + var totalPromoters = 0; + var totalPassive = 0; + var totalDetractors = 0; + /* Para el punto 8 */ + var dontMeet = 0; + var meet = 0; + var exceed = 0; + /* Para el punto 9 */ + var averageScoreForTeachers = 0; + /* Para el punto 10 */ + var averageScoreForJedi = 0; + /* Recorriendo con un for el object ratings */ + for (var i = 0; i < ratings.length; i++) { + /* Obteniendo el Net Promoter Score (NPS) promedio de los sprints cursados. */ + totalPromoters += ratings[i]['nps']['promoters']; + totalPassive += ratings[i]['nps']['passive']; + totalDetractors += ratings[i]['nps']['detractors']; + /* Obteniendo el porcentaje de estudiantes satisfechas con la experiencia de Laboratoria. */ + dontMeet += ratings[i]['student']['no-cumple']; + meet += ratings[i]['student']['cumple']; + exceed += ratings[i]['student']['supera']; + /* Obteniendo la puntuación de los jedi */ + var jediScore = ratings[i]['jedi']; + averageScoreForJedi += jediScore; + /* Obteniendo la puntuación de los teachers*/ + var teacherScore = ratings[i]['teacher']; + averageScoreForTeachers += teacherScore; + } + /* El Net Promoter Score (NPS) promedio de los sprints cursados */ + var totalScore = totalPromoters + totalPassive + totalDetractors; + var promoters = (totalPromoters / totalScore) * 100; + var passive = (totalPassive / totalScore) * 100; + var detractors = (totalDetractors / totalScore) * 100; + var nps = promoters - detractors; + promotersContainer.textContent = promoters.toFixed(2) + ' %' + ' Promoters'; + passiveContainer.textContent = passive.toFixed(2) + ' %' + ' Passive'; + detractorsContainer.textContent = detractors.toFixed(2) + ' %' + ' Detractors'; + score5.textContent = nps.toFixed(2) + '%'; + /* Porcentaje de estudiantes satisfechas */ + var total = dontMeet + meet + exceed; + var happyStudents = meet + exceed; + var satisfiedStudents = (happyStudents * 100) / total; + score8.textContent = satisfiedStudents.toFixed(2); + /* Puntuación promedio de los teachers */ + var averageScore2 = Math.round(averageScoreForTeachers / 4); + score9.textContent = averageScore2; + /* Puntuación promedio de los jedi */ + var averageScore = Math.round(averageScoreForJedi / 4); + score10.textContent = averageScore; + } + if (select.value === 'cm-2017-2') { + var sentence = select.value; + var generation = sentence.slice(3, 9); + office = Object.keys(data)[1]; + arrayOfGenerations = Object.values(data)[1]; + specificGeneration = arrayOfGenerations[generation]; + var arrayOfStudents = specificGeneration['students']; + var activeStudents = 0; + var noActiveStudents = 0; + for (var i = 0; i < 46; i++) { + if (arrayOfStudents[i]['active'] === true) { + activeStudents += 1; + } else { + noActiveStudents += 1; + } + } + var totalStudents = activeStudents + noActiveStudents; + score1.textContent = activeStudents; + var percentNoActiveStudents = (noActiveStudents / totalStudents) * 100; + score2.textContent = percentNoActiveStudents.toFixed(2) + '%'; + /* Los puntos indicados en el LMS relacionados con el rating */ + var ratings = specificGeneration['ratings']; + /* Variables*/ + /* Para el punto 5 */ + var totalPromoters = 0; + var totalPassive = 0; + var totalDetractors = 0; + /* Para el punto 8 */ + var dontMeet = 0; + var meet = 0; + var exceed = 0; + /* Para el punto 9 */ + var averageScoreForTeachers = 0; + /* Para el punto 10 */ + var averageScoreForJedi = 0; + /* Recorriendo con un for el object ratings */ + for (var i = 0; i < ratings.length; i++) { + /* Obteniendo el Net Promoter Score (NPS) promedio de los sprints cursados. */ + totalPromoters += ratings[i]['nps']['promoters']; + totalPassive += ratings[i]['nps']['passive']; + totalDetractors += ratings[i]['nps']['detractors']; + /* Obteniendo el porcentaje de estudiantes satisfechas con la experiencia de Laboratoria. */ + dontMeet += ratings[i]['student']['no-cumple']; + meet += ratings[i]['student']['cumple']; + exceed += ratings[i]['student']['supera']; + /* Obteniendo la puntuación de los jedi */ + var jediScore = ratings[i]['jedi']; + averageScoreForJedi += jediScore; + /* Obteniendo la puntuación de los teachers*/ + var teacherScore = ratings[i]['teacher']; + averageScoreForTeachers += teacherScore; + } + /* El Net Promoter Score (NPS) promedio de los sprints cursados */ + var totalScore = totalPromoters + totalPassive + totalDetractors; + var promoters = (totalPromoters / totalScore) * 100; + var passive = (totalPassive / totalScore) * 100; + var detractors = (totalDetractors / totalScore) * 100; + var nps = promoters - detractors; + promotersContainer.textContent = promoters.toFixed(2) + ' %' + ' Promoters'; + passiveContainer.textContent = passive.toFixed(2) + ' %' + ' Passive'; + detractorsContainer.textContent = detractors.toFixed(2) + ' %' + ' Detractors'; + score5.textContent = nps.toFixed(2) + '%'; + /* Porcentaje de estudiantes satisfechas */ + var total = dontMeet + meet + exceed; + var happyStudents = meet + exceed; + var satisfiedStudents = (happyStudents * 100) / total; + score8.textContent = satisfiedStudents; + /* Puntuación promedio de los teachers */ + var averageScore2 = Math.round(averageScoreForTeachers / 4); + score9.textContent = averageScore2; + /* Puntuación promedio de los jedi */ + var averageScore = Math.round(averageScoreForJedi / 4); + score10.textContent = averageScore; + } + if (select.value === 'lm-2016-2') { + var sentence = select.value; + var generation = sentence.slice(3, 9); + office = Object.keys(data)[2]; + arrayOfGenerations = Object.values(data)[2]; + specificGeneration = arrayOfGenerations[generation]; + var arrayOfStudents = specificGeneration['students']; + var activeStudents = 0; + var noActiveStudents = 0; + for (var i = 0; i < 35; i++) { + if (arrayOfStudents[i]['active'] === true) { + activeStudents += 1; + } else { + noActiveStudents += 1; + } + } + var totalStudents = activeStudents + noActiveStudents; + score1.textContent = activeStudents; + var percentNoActiveStudents = (noActiveStudents / totalStudents) * 100; + score2.textContent = percentNoActiveStudents.toFixed(2) + '%'; + /* Los puntos indicados en el LMS relacionados con el rating */ + var ratings = specificGeneration['ratings']; + /* Variables*/ + /* Para el punto 5 */ + var totalPromoters = 0; + var totalPassive = 0; + var totalDetractors = 0; + /* Para el punto 8 */ + var dontMeet = 0; + var meet = 0; + var exceed = 0; + /* Para el punto 9 */ + var averageScoreForTeachers = 0; + /* Para el punto 10 */ + var averageScoreForJedi = 0; + /* Recorriendo con un for el object ratings */ + for (var i = 0; i < ratings.length; i++) { + /* Obteniendo el Net Promoter Score (NPS) promedio de los sprints cursados. */ + totalPromoters += ratings[i]['nps']['promoters']; + totalPassive += ratings[i]['nps']['passive']; + totalDetractors += ratings[i]['nps']['detractors']; + /* Obteniendo el porcentaje de estudiantes satisfechas con la experiencia de Laboratoria. */ + dontMeet += ratings[i]['student']['no-cumple']; + meet += ratings[i]['student']['cumple']; + exceed += ratings[i]['student']['supera']; + /* Obteniendo la puntuación de los jedi */ + var jediScore = ratings[i]['jedi']; + averageScoreForJedi += jediScore; + /* Obteniendo la puntuación de los teachers*/ + var teacherScore = ratings[i]['teacher']; + averageScoreForTeachers += teacherScore; + } + /* El Net Promoter Score (NPS) promedio de los sprints cursados */ + var totalScore = totalPromoters + totalPassive + totalDetractors; + var promoters = (totalPromoters / totalScore) * 100; + var passive = (totalPassive / totalScore) * 100; + var detractors = (totalDetractors / totalScore) * 100; + var nps = promoters - detractors; + promotersContainer.textContent = promoters.toFixed(2) + ' %' + ' Promoters'; + passiveContainer.textContent = passive.toFixed(2) + ' %' + ' Passive'; + detractorsContainer.textContent = detractors.toFixed(2) + ' %' + ' Detractors'; + score5.textContent = nps.toFixed(2) + '%'; + /* Porcentaje de estudiantes satisfechas */ + var total = dontMeet + meet + exceed; + var happyStudents = meet + exceed; + var satisfiedStudents = (happyStudents * 100) / total; + score8.textContent = satisfiedStudents.toFixed(2); + /* Puntuación promedio de los teachers */ + var averageScore2 = Math.round(averageScoreForTeachers / 4); + score9.textContent = averageScore2; + /* Puntuación promedio de los jedi */ + var averageScore = Math.round(averageScoreForJedi / 4); + score10.textContent = averageScore; + } + if (select.value === 'lm-2017-1') { + var sentence = select.value; + var generation = sentence.slice(3, 9); + office = Object.keys(data)[2]; + arrayOfGenerations = Object.values(data)[2]; + specificGeneration = arrayOfGenerations[generation]; + var arrayOfStudents = specificGeneration['students']; + var activeStudents = 0; + var noActiveStudents = 0; + for (var i = 0; i < 17; i++) { + if (arrayOfStudents[i]['active'] === true) { + activeStudents += 1; + } else { + noActiveStudents += 1; + } + } + var totalStudents = activeStudents + noActiveStudents; + score1.textContent = activeStudents; + var percentNoActiveStudents = (noActiveStudents / totalStudents) * 100; + score2.textContent = percentNoActiveStudents.toFixed(2) + '%'; + /* Los puntos indicados en el LMS relacionados con el rating */ + var ratings = specificGeneration['ratings']; + /* Variables*/ + /* Para el punto 5 */ + var totalPromoters = 0; + var totalPassive = 0; + var totalDetractors = 0; + /* Para el punto 8 */ + var dontMeet = 0; + var meet = 0; + var exceed = 0; + /* Para el punto 9 */ + var averageScoreForTeachers = 0; + /* Para el punto 10 */ + var averageScoreForJedi = 0; + /* Recorriendo con un for el object ratings */ + for (var i = 0; i < ratings.length; i++) { + /* Obteniendo el Net Promoter Score (NPS) promedio de los sprints cursados. */ + totalPromoters += ratings[i]['nps']['promoters']; + totalPassive += ratings[i]['nps']['passive']; + totalDetractors += ratings[i]['nps']['detractors']; + /* Obteniendo el porcentaje de estudiantes satisfechas con la experiencia de Laboratoria. */ + dontMeet += ratings[i]['student']['no-cumple']; + meet += ratings[i]['student']['cumple']; + exceed += ratings[i]['student']['supera']; + /* Obteniendo la puntuación de los jedi */ + var jediScore = ratings[i]['jedi']; + averageScoreForJedi += jediScore; + /* Obteniendo la puntuación de los teachers*/ + var teacherScore = ratings[i]['teacher']; + averageScoreForTeachers += teacherScore; + } + /* El Net Promoter Score (NPS) promedio de los sprints cursados */ + var totalScore = totalPromoters + totalPassive + totalDetractors; + var promoters = (totalPromoters / totalScore) * 100; + var passive = (totalPassive / totalScore) * 100; + var detractors = (totalDetractors / totalScore) * 100; + var nps = promoters - detractors; + promotersContainer.textContent = promoters.toFixed(2) + ' %' + ' Promoters'; + passiveContainer.textContent = passive.toFixed(2) + ' %' + ' Passive'; + detractorsContainer.textContent = detractors.toFixed(2) + ' %' + ' Detractors'; + score5.textContent = nps.toFixed(2) + '%'; + /* Porcentaje de estudiantes satisfechas */ + var total = dontMeet + meet + exceed; + var happyStudents = meet + exceed; + var satisfiedStudents = (happyStudents * 100) / total; + score8.textContent = satisfiedStudents.toFixed(2); + /* Puntuación promedio de los teachers */ + var averageScore2 = Math.round(averageScoreForTeachers / 4); + score9.textContent = averageScore2; + /* Puntuación promedio de los jedi */ + var averageScore = Math.round(averageScoreForJedi / 4); + score10.textContent = averageScore; + } + if (select.value === 'lm-2017-2') { + var sentence = select.value; + var generation = sentence.slice(3, 9); + office = Object.keys(data)[2]; + arrayOfGenerations = Object.values(data)[2]; + specificGeneration = arrayOfGenerations[generation]; + var arrayOfStudents = specificGeneration['students']; + var activeStudents = 0; + var noActiveStudents = 0; + for (var i = 0; i < 14; i++) { + if (arrayOfStudents[i]['active'] === true) { + activeStudents += 1; + } else { + noActiveStudents += 1; + } + } + var totalStudents = activeStudents + noActiveStudents; + score1.textContent = activeStudents; + var percentNoActiveStudents = (noActiveStudents / totalStudents) * 100; + score2.textContent = percentNoActiveStudents.toFixed(2) + '%'; + /* Los puntos indicados en el LMS relacionados con el rating */ + var ratings = specificGeneration['ratings']; + /* Variables*/ + /* Para el punto 5 */ + var totalPromoters = 0; + var totalPassive = 0; + var totalDetractors = 0; + /* Para el punto 8 */ + var dontMeet = 0; + var meet = 0; + var exceed = 0; + /* Para el punto 9 */ + var averageScoreForTeachers = 0; + /* Para el punto 10 */ + var averageScoreForJedi = 0; + /* Recorriendo con un for el object ratings */ + for (var i = 0; i < ratings.length; i++) { + /* Obteniendo el Net Promoter Score (NPS) promedio de los sprints cursados. */ + totalPromoters += ratings[i]['nps']['promoters']; + totalPassive += ratings[i]['nps']['passive']; + totalDetractors += ratings[i]['nps']['detractors']; + /* Obteniendo el porcentaje de estudiantes satisfechas con la experiencia de Laboratoria. */ + dontMeet += ratings[i]['student']['no-cumple']; + meet += ratings[i]['student']['cumple']; + exceed += ratings[i]['student']['supera']; + /* Obteniendo la puntuación de los jedi */ + var jediScore = ratings[i]['jedi']; + averageScoreForJedi += jediScore; + /* Obteniendo la puntuación de los teachers*/ + var teacherScore = ratings[i]['teacher']; + averageScoreForTeachers += teacherScore; + } + /* El Net Promoter Score (NPS) promedio de los sprints cursados */ + var totalScore = totalPromoters + totalPassive + totalDetractors; + var promoters = (totalPromoters / totalScore) * 100; + var passive = (totalPassive / totalScore) * 100; + var detractors = (totalDetractors / totalScore) * 100; + var nps = promoters - detractors; + promotersContainer.textContent = promoters.toFixed(2) + ' %' + ' Promoters'; + passiveContainer.textContent = passive.toFixed(2) + ' %' + ' Passive'; + detractorsContainer.textContent = detractors.toFixed(2) + ' %' + ' Detractors'; + score5.textContent = nps.toFixed(2) + '%'; + /* Porcentaje de estudiantes satisfechas */ + var total = dontMeet + meet + exceed; + var happyStudents = meet + exceed; + var satisfiedStudents = (happyStudents * 100) / total; + score8.textContent = satisfiedStudents.toFixed(2); + /* Puntuación promedio de los teachers */ + var averageScore2 = Math.round(averageScoreForTeachers / 4); + score9.textContent = averageScore2; + /* Puntuación promedio de los jedi */ + var averageScore = Math.round(averageScoreForJedi / 4); + score10.textContent = averageScore; + } + if (select.value === 'ch-2016-2') { + var sentence = select.value; + var generation = sentence.slice(3, 9); + office = Object.keys(data)[3]; + arrayOfGenerations = Object.values(data)[3]; + specificGeneration = arrayOfGenerations[generation]; + var arrayOfStudents = specificGeneration['students']; + var activeStudents = 0; + var noActiveStudents = 0; + for (var i = 0; i < 11; i++) { + if (arrayOfStudents[i]['active'] === true) { + activeStudents += 1; + } else { + noActiveStudents += 1; + } + } + var totalStudents = activeStudents + noActiveStudents; + score1.textContent = activeStudents; + var percentNoActiveStudents = (noActiveStudents / totalStudents) * 100; + score2.textContent = percentNoActiveStudents.toFixed(2) + '%'; + /* Los puntos indicados en el LMS relacionados con el rating */ + var ratings = specificGeneration['ratings']; + /* Variables*/ + /* Para el punto 5 */ + var totalPromoters = 0; + var totalPassive = 0; + var totalDetractors = 0; + /* Para el punto 8 */ + var dontMeet = 0; + var meet = 0; + var exceed = 0; + /* Para el punto 9 */ + var averageScoreForTeachers = 0; + /* Para el punto 10 */ + var averageScoreForJedi = 0; + /* Recorriendo con un for el object ratings */ + for (var i = 0; i < ratings.length; i++) { + /* Obteniendo el Net Promoter Score (NPS) promedio de los sprints cursados. */ + totalPromoters += ratings[i]['nps']['promoters']; + totalPassive += ratings[i]['nps']['passive']; + totalDetractors += ratings[i]['nps']['detractors']; + /* Obteniendo el porcentaje de estudiantes satisfechas con la experiencia de Laboratoria. */ + dontMeet += ratings[i]['student']['no-cumple']; + meet += ratings[i]['student']['cumple']; + exceed += ratings[i]['student']['supera']; + /* Obteniendo la puntuación de los jedi */ + var jediScore = ratings[i]['jedi']; + averageScoreForJedi += jediScore; + /* Obteniendo la puntuación de los teachers*/ + var teacherScore = ratings[i]['teacher']; + averageScoreForTeachers += teacherScore; + } + /* El Net Promoter Score (NPS) promedio de los sprints cursados */ + var totalScore = totalPromoters + totalPassive + totalDetractors; + var promoters = (totalPromoters / totalScore) * 100; + var passive = (totalPassive / totalScore) * 100; + var detractors = (totalDetractors / totalScore) * 100; + var nps = promoters - detractors; + promotersContainer.textContent = promoters.toFixed(2) + ' %' + ' Promoters'; + passiveContainer.textContent = passive.toFixed(2) + ' %' + ' Passive'; + detractorsContainer.textContent = detractors.toFixed(2) + ' %' + ' Detractors'; + score5.textContent = nps.toFixed(2) + '%'; + /* Porcentaje de estudiantes satisfechas */ + var total = dontMeet + meet + exceed; + var happyStudents = meet + exceed; + var satisfiedStudents = (happyStudents * 100) / total; + score8.textContent = satisfiedStudents.toFixed(2); + /* Puntuación promedio de los teachers */ + var averageScore2 = Math.round(averageScoreForTeachers / 4); + score9.textContent = averageScore2; + /* Puntuación promedio de los jedi */ + var averageScore = Math.round(averageScoreForJedi / 4); + score10.textContent = averageScore; + } + if (select.value === 'ch-2017-1') { + var sentence = select.value; + var generation = sentence.slice(3, 9); + office = Object.keys(data)[3]; + arrayOfGenerations = Object.values(data)[3]; + specificGeneration = arrayOfGenerations[generation]; + var arrayOfStudents = specificGeneration['students']; + var activeStudents = 0; + var noActiveStudents = 0; + for (var i = 0; i < 23; i++) { + if (arrayOfStudents[i]['active'] === true) { + activeStudents += 1; + } else { + noActiveStudents += 1; + } + } + var totalStudents = activeStudents + noActiveStudents; + score1.textContent = activeStudents; + var percentNoActiveStudents = (noActiveStudents / totalStudents) * 100; + score2.textContent = percentNoActiveStudents.toFixed(2) + '%'; + /* Los puntos indicados en el LMS relacionados con el rating */ + var ratings = specificGeneration['ratings']; + /* Variables*/ + /* Para el punto 5 */ + var totalPromoters = 0; + var totalPassive = 0; + var totalDetractors = 0; + /* Para el punto 8 */ + var dontMeet = 0; + var meet = 0; + var exceed = 0; + /* Para el punto 9 */ + var averageScoreForTeachers = 0; + /* Para el punto 10 */ + var averageScoreForJedi = 0; + /* Recorriendo con un for el object ratings */ + for (var i = 0; i < ratings.length; i++) { + /* Obteniendo el Net Promoter Score (NPS) promedio de los sprints cursados. */ + totalPromoters += ratings[i]['nps']['promoters']; + totalPassive += ratings[i]['nps']['passive']; + totalDetractors += ratings[i]['nps']['detractors']; + /* Obteniendo el porcentaje de estudiantes satisfechas con la experiencia de Laboratoria. */ + dontMeet += ratings[i]['student']['no-cumple']; + meet += ratings[i]['student']['cumple']; + exceed += ratings[i]['student']['supera']; + /* Obteniendo la puntuación de los jedi */ + var jediScore = ratings[i]['jedi']; + averageScoreForJedi += jediScore; + /* Obteniendo la puntuación de los teachers*/ + var teacherScore = ratings[i]['teacher']; + averageScoreForTeachers += teacherScore; + } + /* El Net Promoter Score (NPS) promedio de los sprints cursados */ + var totalScore = totalPromoters + totalPassive + totalDetractors; + var promoters = (totalPromoters / totalScore) * 100; + var passive = (totalPassive / totalScore) * 100; + var detractors = (totalDetractors / totalScore) * 100; + var nps = promoters - detractors; + promotersContainer.textContent = promoters.toFixed(2) + ' %' + ' Promoters'; + passiveContainer.textContent = passive.toFixed(2) + ' %' + ' Passive'; + detractorsContainer.textContent = detractors.toFixed(2) + ' %' + ' Detractors'; + score5.textContent = nps.toFixed(2) + '%'; + /* Porcentaje de estudiantes satisfechas */ + var total = dontMeet + meet + exceed; + var happyStudents = meet + exceed; + var satisfiedStudents = (happyStudents * 100) / total; + score8.textContent = satisfiedStudents.toFixed(2); + /* Puntuación promedio de los teachers */ + var averageScore2 = Math.round(averageScoreForTeachers / 4); + score9.textContent = averageScore2; + /* Puntuación promedio de los jedi */ + var averageScore = Math.round(averageScoreForJedi / 4); + score10.textContent = averageScore; + } + if (select.value === 'ch-2017-2') { + var sentence = select.value; + var generation = sentence.slice(3, 9); + office = Object.keys(data)[3]; + arrayOfGenerations = Object.values(data)[3]; + specificGeneration = arrayOfGenerations[generation]; + var arrayOfStudents = specificGeneration['students']; + var activeStudents = 0; + var noActiveStudents = 0; + for (var i = 0; i < 61; i++) { + if (arrayOfStudents[i]['active'] === true) { + activeStudents += 1; + } else { + noActiveStudents += 1; + } + } + var totalStudents = activeStudents + noActiveStudents; + score1.textContent = activeStudents; + var percentNoActiveStudents = (noActiveStudents / totalStudents) * 100; + score2.textContent = percentNoActiveStudents.toFixed(2) + '%'; + /* Los puntos indicados en el LMS relacionados con el rating */ + var ratings = specificGeneration['ratings']; + /* Variables*/ + /* Para el punto 5 */ + var totalPromoters = 0; + var totalPassive = 0; + var totalDetractors = 0; + /* Para el punto 8 */ + var dontMeet = 0; + var meet = 0; + var exceed = 0; + /* Para el punto 9 */ + var averageScoreForTeachers = 0; + /* Para el punto 10 */ + var averageScoreForJedi = 0; + /* Recorriendo con un for el object ratings */ + for (var i = 0; i < ratings.length; i++) { + /* Obteniendo el Net Promoter Score (NPS) promedio de los sprints cursados. */ + totalPromoters += ratings[i]['nps']['promoters']; + totalPassive += ratings[i]['nps']['passive']; + totalDetractors += ratings[i]['nps']['detractors']; + /* Obteniendo el porcentaje de estudiantes satisfechas con la experiencia de Laboratoria. */ + dontMeet += ratings[i]['student']['no-cumple']; + meet += ratings[i]['student']['cumple']; + exceed += ratings[i]['student']['supera']; + /* Obteniendo la puntuación de los jedi */ + var jediScore = ratings[i]['jedi']; + averageScoreForJedi += jediScore; + /* Obteniendo la puntuación de los teachers*/ + var teacherScore = ratings[i]['teacher']; + averageScoreForTeachers += teacherScore; + } + /* El Net Promoter Score (NPS) promedio de los sprints cursados */ + var totalScore = totalPromoters + totalPassive + totalDetractors; + var promoters = (totalPromoters / totalScore) * 100; + var passive = (totalPassive / totalScore) * 100; + var detractors = (totalDetractors / totalScore) * 100; + var nps = promoters - detractors; + promotersContainer.textContent = promoters.toFixed(2) + ' %' + ' Promoters'; + passiveContainer.textContent = passive.toFixed(2) + ' %' + ' Passive'; + detractorsContainer.textContent = detractors.toFixed(2) + ' %' + ' Detractors'; + score5.textContent = nps.toFixed(2) + '%'; + /* Porcentaje de estudiantes satisfechas */ + var total = dontMeet + meet + exceed; + var happyStudents = meet + exceed; + var satisfiedStudents = (happyStudents * 100) / total; + score8.textContent = satisfiedStudents.toFixed(2); + /* Puntuación promedio de los teachers */ + var averageScore2 = Math.round(averageScoreForTeachers / 4); + score9.textContent = averageScore2; + /* Puntuación promedio de los jedi */ + var averageScore = Math.round(averageScoreForJedi / 4); + score10.textContent = averageScore; + } + } + }); +}); diff --git a/js/student.html b/js/student.html index 431cdd18..3f894682 100644 --- a/js/student.html +++ b/js/student.html @@ -10,6 +10,11 @@ + +
    @@ -17,7 +22,7 @@


    -



    +



    diff --git a/over-view.html b/over-view.html new file mode 100644 index 00000000..33dfd65c --- /dev/null +++ b/over-view.html @@ -0,0 +1,182 @@ + + + + + Data Dashboard + + + + + + + +
    +

    OVERVIEW

    +
    + + + + +
    + +
    +
    +
    +

    enrollment

    +
    +
    120
    +
    # STUDENTS CURRENTLY ENROLLED
    +
    +
    +
    20%
    +
    % DROPOUT
    +
    + Gráfico de columnas +
    +
    +

    achievement

    +
    +
    105
    +
    # STUDENTS THAT MEET THE TARGET
    +
    +
    +
    + 78% + +
    +
    % OF TOTAL (135)
    +
    + Gráfico de líneas +
    +
    +

    net promoter score

    +
    +
    + 78% + +
    +
    % CUMULATIVE NPS
    +
    +
    +
      +
    • 60 % Promoters
    • +
    • 30 % Passive
    • +
    • 10 % Detractors
    • +
    +
    + Gráfico de líneas +
    +
    +
    +

    tech skills

    + +
    +
    +
    90
    +
    # STUDENTS THAT MEET THE TARGET
    +
    +
    +
    62
    +
    % OF TOTAL (135)
    +
    +
    + Gráfico de Columnas Rectangular +
    + Gráfico Circular +
    +
    +
    # STUDENTS THAT MEET THE TARGET
    +
    +
    +
    +
    # STUDENTS THAT DON'T MEET THE TARGET
    +
    +
    +
    +
    +

    life skills

    + +
    +
    +
    80
    +
    # OVERALL CLASS AVERAGE
    +
    +
    +
    62
    +
    # OF STUDENTS THAT MEET THE TARGET
    +
    +
    + Gráfico de Columnas Rectangular +
    + Gráfico Circular +
    +
    +
    # STUDENTS THAT MEET THE TARGET
    +
    +
    +
    +
    # STUDENTS THAT DON'T MEET THE TARGET
    +
    +
    +
    +
    +
    +

    student satisfaction

    +
    +
    140
    +
    % MEETING OR EXCEEDING EXPECTATIONS (CUMULATIVE)
    +
    + Gráfico de líneas +
    +
    +

    teacher rating

    +
    +
    4.2
    +
    OVERALL TEACHER RATING
    (CUMULATIVE)
    +
    + Gráfico de líneas +
    +
    +

    jedi master rating

    +
    +
    + 50 + +
    +
    OVERALL JEDI RATING (CUMULATIVE)
    +
    + Gráfico de líneas +
    +
    +
    +
    + + + + + + From e29db78aaefb044a14d964f7231d209c6734c762 Mon Sep 17 00:00:00 2001 From: yennyelizabeth Date: Sat, 2 Dec 2017 13:26:36 -0500 Subject: [PATCH 17/21] =?UTF-8?q?a=C3=B1adiendo=20comentarios=20al=20index?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/index.html b/index.html index 44e488e8..43dff341 100644 --- a/index.html +++ b/index.html @@ -11,6 +11,7 @@ + @@ -23,15 +24,6 @@

    STUDENTS

    -

    Especialización



    From 5ec09ad75bb182c6076f7e711872182692dbf2fb Mon Sep 17 00:00:00 2001 From: AraceliGS Date: Sun, 3 Dec 2017 12:59:40 -0500 Subject: [PATCH 18/21] =?UTF-8?q?a=C3=B1adiendo=20archivo=20app.js=20comen?= =?UTF-8?q?tado?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/app-1.js | 179 ++++++++++++++++---------------- js/app.js | 91 +++++++++------- js/student.html => student.html | 0 3 files changed, 143 insertions(+), 127 deletions(-) rename js/student.html => student.html (100%) diff --git a/js/app-1.js b/js/app-1.js index a9bd51bf..b5ef7621 100644 --- a/js/app-1.js +++ b/js/app-1.js @@ -7,13 +7,12 @@ console.log(data); window.addEventListener('load', function(event) { - /* evento para botón de especialización javascript */ var javascriptButton = document.getElementById('javascript-button'); javascriptButton.addEventListener('click', function(event) { - alert('es click'); - button.classList.add('desactive'); - }) + alert('es click'); + button.classList.add('desactive'); + }); /* evento para botón de especialización uxdesing */ var uxdesignButton = document.getElementById('uxdesign-button'); @@ -25,111 +24,111 @@ window.addEventListener('load', function(event) { /* evento para botón de especialización front end designer */ var frontEndDesignerButton = document.getElementById('front-end-designer-button'); frontEndDesignerButton.addEventListener('click', function(event) { - alert('es click en front end desing'); - - var students= []; - var studentsData = []; - var baseTech = 1800; - var baseHse = 1200; - var acumTech = 0; - var acumHse = 0; - var ind = 0; - - /* Sedes - Array */ - var sedes = Object.keys(data); - var sedesArray=[]; - var studentGeneratiosArray=[]; - for ( var i=0 ; i< 4 ; i++) { - sedesArray[i] = sedes[i]; + alert('es click en front end desing'); + + var students = []; + var studentsData = []; + var baseTech = 1800; + var baseHse = 1200; + var acumTech = 0; + var acumHse = 0; + var ind = 0; + + /* Sedes - Array */ + var sedes = Object.keys(data); + var sedesArray = []; + var studentGeneratiosArray = []; + for (var i = 0 ; i < 4 ; i++) { + sedesArray[i] = sedes[i]; } /* Generaciones- Array */ var generations = Object.values(data); /* sede */ - var generationsArray= Object.keys(generations[0]); /* AQP-GEN-POS 0 , hacer for para 2 */ - - /*encuentro lista de alumnos*/ - var generationsValues = Object.values(generations[0]); - var generationsValuesStudents= generationsValues[0]; + var generationsArray = Object.keys(generations[0]); /* AQP-GEN-POS 0 , hacer for para 2 */ + + /* encuentro lista de alumnos */ + var generationsValues = Object.values(generations[0]); + var generationsValuesStudents = generationsValues[0]; var generationsValuesStudentsData = Object.values(generationsValuesStudents); - var gen= generationsValuesStudentsData[0]; - + var gen = generationsValuesStudentsData[0]; + /* extrayendo alumnas de sede arequipa */ - for( var a= 0; a<15 ; a++){ - studentsData = Object.values(gen[a]); /*extrae alumnos*/ - students[[a,0]] = sedesArray[0]; /*asigna sede arequipa */ - students[[a,1]] = generationsArray[0]; /*asigna generation 1 */ - students[[a,2]] = studentsData[0]; /*asigna nombre*/ - students[[a,3]] = studentsData[1]; /*asigna foto*/ - students[[a,4]] = studentsData[2]; /*asigna active*/ - students[[a,5]] = studentsData[3]; /*asigna score objeto*/ - ind = 0; - - /* extrayendo puntaje de sprints */ - for (var b= 0; b <4 ; b++) { - var tech =Object.values(studentsData[3]); + for (var a = 0; a < 15 ; a++) { + studentsData = Object.values(gen[a]); /* extrae alumnos */ + students[[a, 0]] = sedesArray[0]; /* asigna sede arequipa */ + students[[a, 1]] = generationsArray[0]; /* asigna generation 1 */ + students[[a, 2]] = studentsData[0]; /* asigna nombre */ + students[[a, 3]] = studentsData[1]; /* asigna foto */ + students[[a, 4]] = studentsData[2]; /* asigna active */ + students[[a, 5]] = studentsData[3]; /* asigna score objeto */ + ind = 0; + + /* extrayendo puntaje de sprints */ + for (var b = 0; b < 4 ; b++) { + var tech = Object.values(studentsData[3]); var tec = Object.values(tech[b]); - var tePoint= Object.values(tec[1]); - + var tePoint = Object.values(tec[1]); + /* recorre las notas por print 4 por alumna */ - /*sprint 1*/ + /* sprint 1 */ ind = 0; - for (var c=0; c<2 ;c++) { - students[[a,6+b+ind]] =((tePoint[c]/1800)*100).toFixed(1) ; /*tech*/ - students[[a,7+b]] =((tePoint[c]/1200)*100).toFixed(1) ; /*hse*/ - ind = ind+1; + for (var c = 0; c < 2 ;c++) { + students[[a, 6 + b + ind]] = ((tePoint[c] / 1800) * 100).toFixed(1) ; /* tech */ + students[[a, 7 + b]] = ((tePoint[c] / 1200) * 100).toFixed(1) ; /* hse */ + ind = ind + 1; } } } - + var acumTech = 0; var acumHse = 0; /* para recorrer el array students */ - for (var z= 0 ; z<15 ; z++){ + for (var z = 0 ; z < 15 ; z++) { /* ubico área para crear elementos */ var visualizationSection = document.getElementById('visualization'); - - /* creaación de elementos divs */ - - /* photo del estudiante */ - var divStudent = document.createElement('div'); /* div con id-student */ - var imgPhoto = document.createElement('img'); /* img con propiedad src*/ - imgPhoto.setAttribute('src',students[[z,3]]); - imgPhoto.classList.add('photo-standart'); - visualizationSection.appendChild(divStudent); - divStudent.appendChild(imgPhoto); - - /*datos de estudiante */ - var divDate = document.createElement('div'); /* div con id-date */ - var divDateStudent = document.createElement('div'); /* div con id-name */ - var divName = document.createElement('div'); /* div con id-date */ - divName.classList.add('big-letter'); - var divEspecializationStudent = document.createElement('div'); /* div con id-name */ - - divStudent.appendChild(divDate); - divDate.appendChild(divDateStudent); - - divDateStudent.appendChild(divName); - divName.textContent = students[[z,2]]; - divDateStudent.appendChild(divEspecializationStudent); - divEspecializationStudent.textContent = 'Front End Developer'; - - /* evaluación técnica */ - var divTechSkills = document.createElement('div'); - var divTech = document.createElement('div'); - var labelPercentTech= document.createElement('label'); - var labelNumberTech= document.createElement('label'); - var brUp1 = document.createElement('br') - - divDate.appendChild(divTechSkills); - divTechSkills.appendChild(divTech); - divTech.appendChild(labelPercentTech); - labelPercentTech.textContent = students[[z,6]]; - divTech.appendChild(brUp1); - divTech.appendChild(labelNumberTech); - labelNumberTech.textContent = students[[z,7]]; - }; + + /* creaación de elementos divs */ + + /* photo del estudiante */ + var divStudent = document.createElement('div'); /* div con id-student */ + var imgPhoto = document.createElement('img'); /* img con propiedad src */ + imgPhoto.setAttribute('src', students[[z, 3]]); + imgPhoto.classList.add('photo-standart'); + visualizationSection.appendChild(divStudent); + divStudent.appendChild(imgPhoto); + + /* datos de estudiante */ + var divDate = document.createElement('div'); /* div con id-date */ + var divDateStudent = document.createElement('div'); /* div con id-name */ + var divName = document.createElement('div'); /* div con id-date */ + divName.classList.add('big-letter'); + var divEspecializationStudent = document.createElement('div'); /* div con id-name */ + + divStudent.appendChild(divDate); + divDate.appendChild(divDateStudent); + + divDateStudent.appendChild(divName); + divName.textContent = students[[z, 2]]; + divDateStudent.appendChild(divEspecializationStudent); + divEspecializationStudent.textContent = 'Front End Developer'; + + /* evaluación técnica */ + var divTechSkills = document.createElement('div'); + var divTech = document.createElement('div'); + var labelPercentTech = document.createElement('label'); + var labelNumberTech = document.createElement('label'); + var brUp1 = document.createElement('br') + + divDate.appendChild(divTechSkills); + divTechSkills.appendChild(divTech); + divTech.appendChild(labelPercentTech); + labelPercentTech.textContent = students[[z, 6]]; + divTech.appendChild(brUp1); + divTech.appendChild(labelNumberTech); + labelNumberTech.textContent = students[[z, 7]]; + }; }); }); diff --git a/js/app.js b/js/app.js index 10e64f04..9c0ffcf6 100644 --- a/js/app.js +++ b/js/app.js @@ -4,70 +4,87 @@ // Puedes hacer uso de la base de datos a través de la variable `data` console.log(data); - +// Evento load window.addEventListener('load', function(event) { + // Variables que contienen elementos a utilizar + // Variable que almacena al elemento select cuyo id es navbar var select = document.getElementById('navbar'); + // Variable que almacena al elemento select de la sección de life skills cuyo id es hse-select-element var hseSelect = document.getElementById('hse-select-element'); + // // Variable que almacena al elemento div de la sección de life skills que contiene los datos del número de estudiantes que pasaron la meta en esta área var hseNumberOfStudentsContainer = document.getElementById('hse-number-of-students-container'); + // Variable que almacena el array con las keys del objeto data --> Las sedes en sí: Arequipa --> index: 0, Ciudad de México --> index: 1, Lima --> index: 2 y Chile --> index: 3 var sedes = Object.keys(data); + // Variable que almacena el array que contiene los objetos, que a su vez, contienen a las generaciones --> Las generaciones de Arequipa --> index: 0, las de Ciudad de México --> index: 1, las de Lima --> index: 2 y las de Chile --> index: 3 var generations = Object.values(data); - var score5 = document.getElementById('nps'); + // Estas 3 variables almacenan elementos li que contienen el porcentaje de promoters, passive y detractors var promotersContainer = document.getElementById('promoters'); var passiveContainer = document.getElementById('passive'); var detractorsContainer = document.getElementById('detractors'); + // Variables que almacenan elementos span o div que contienen datos como el promedio de jedis, porcentaje de estudiantes satisfechos, total de estudiantes, etc. (ver ID's) var score1 = document.getElementById('total-students-container'); var score2 = document.getElementById('percent-no-students-container'); + var score5 = document.getElementById('nps'); var score8 = document.getElementById('satisfied-students'); var score9 = document.getElementById('average-score-for-teachers'); var score10 = document.getElementById('average-score-for-jedi'); + // Evento click al select donde se encuentran las sedes select.addEventListener('click', function(event) { + // Variables vuyos valores cambian segun la sede y generación var office; var arrayOfGenerations; var specificGeneration; - if (true) { - if (select.value === 'aq-2016-2') { - var sentence = select.value; - var generation = sentence.slice(3, 9); - office = Object.keys(data)[0]; - arrayOfGenerations = Object.values(data)[0]; - specificGeneration = arrayOfGenerations[generation]; + if (true) { // Puse true para que me asegure que funcione que reciba algo (un click en este caso) + if (select.value === 'aq-2016-2') { // Primero, el select.value me sacará todos los valores que tengan los atributos value del select, por eso es que hago esta comparacion, para que me arroje el que quiero. Segundo, en el atributo value de cada option aparecen estos valores que indican la sede y generacion (aq --> Arequipa, cm --> Ciudad de Mexico, lm y ch --> Lima y Chile respectivamente + var sentence = select.value; // Aquí encierro el valo de select que es un string para aplicarle el método splice después + var generation = sentence.slice(3, 9); // slice para que del valor almacenado en sentence (en este caso : aq-2016-2) me saque solo la generacion para 'invocarla' luego --> ver màs abajo + office = Object.keys(data)[0]; // Arequipa --> index: 0, Ciudad de México --> index: 1, Lima --> index: 2 y Chile --> index: 3 + arrayOfGenerations = Object.values(data)[0]; // Las generaciones de Arequipa --> index: 0, las de Ciudad de México --> index: 1, las de Lima --> index: 2 y las de Chile --> index: 3 + specificGeneration = arrayOfGenerations[generation]; // Para obtener la generación segun la sede escogida, no necesito un for ya que con el método splice la puedo sacar del valor del value + /* Esta variable me permite obtenr el key / array con todas las estudiantes de esa generacion y sus datos*/ var arrayOfStudents = specificGeneration['students']; + // Variables contadoras que me permitiran almacenar la cantidad de estudiantes activos e inactivos var activeStudents = 0; var noActiveStudents = 0; - for (var i = 0; i < 15; i++) { + // for para recorrer el array students + for (var i = 0; i < 15; i++) { // La cantidad de valores que puede tomar i depende de la generacion y sede --> En Arequipa ambas generaciones tienen 15 estudiantes(la ultima estudiante de cada generacion tiene como index 14) por lo que i no puede pasar de 15 (i < 15) pero en Ciudad de Mexico, por ejemplo, i es menor a 24 (i < 24) en la generación del 2017-I que tiene 24 estudiantes(la estudiante 24 aparece en este array con un índex/índice 23), pero en la del 2017-II son 46 estudiantes (la estudiante 46 aparece en este array con un índex/índice 45), por lo que i es menor a 46(i < 46) + // Aquí accedemos al key active cuyos valores pueden ser true (activa) o false (desertó). En este caso si es true sumara 1 a la variable activeStudents if (arrayOfStudents[i]['active'] === true) { activeStudents += 1; - } else { + } else { // Sino sumara 1 a la variable noActiveStudents. Por qué uno? Por cada vuelta el for recoge un estudiante, y como es solo uno y no son 2 o 3, entonces le suma 1 a una variable segun la condicion que cumpla --> activo e inactivo noActiveStudents += 1; } } - var totalStudents = activeStudents + noActiveStudents; - score1.textContent = activeStudents; - var percentNoActiveStudents = (noActiveStudents / totalStudents) * 100; - score2.textContent = percentNoActiveStudents.toFixed(2) + '%'; - /* Evento click al select del HSE */ + var totalStudents = activeStudents + noActiveStudents; // SUma la cantidad de estudiantes activos e inactivos para obtener el total de estudiantes que utilizare más adelante + score1.textContent = activeStudents; // Agrego la cantidad de estudiantes activos como contenido para el div almacenado en la variable score1 + var percentNoActiveStudents = (noActiveStudents / totalStudents) * 100; // Me pedian el porcentaje de alumnas que desertaron, asi que por eso dividí la cantidad de estudiantes inactivas entre el total de estudiantes por cien + score2.textContent = percentNoActiveStudents.toFixed(2) + '%'; // toFixed.(n) Permite que se muestre la cantidad de decimales que quieres. n toma el valor de esta cantidad --> En este caso solo quero que se me muestren 2 decimales, asi que n = 2 --> toFixed(2) + /* Evento click al select del HSE ---> Esto solo se encuentra en esta generacion porque estabab probando y no me salio :( */ hseSelect.addEventListener('click', function() { - var yourOption; // Sprint 1, Sprint 2, ... - var hsePassingStudents = 0; - var noHsePassingStudents = 0; + var yourOption; // Sprint 1, Sprint 2, ... ---> No me acuerdo bien para qe era esta varuable, les aviso cuando me acuerde, por mientras solo ignorenla + var hsePassingStudents = 0; // Estudiantes que pasaron + var noHsePassingStudents = 0; // Estudiantes que no pasaron + // Bucle for para recorrer el array de las estudiantes de esta generacion for (var i = 0; i < 15; i++) { if (arrayOfStudents[i]['active'] === true) { - var sprint = arrayOfStudents[i]['sprint']; + var sprint = arrayOfStudents[i]['sprints']; // Accediendo al array sprints --> esto solo sucederá si la estudiante está activa, ya que las estudiantes inactivas no contienen nada dentro de sprints(Array(0). // Cantidad de estudiantes que superan HSE por sprint + // Bucle for para recorrer el array que contienen a los sprints(este array contiene objetos --> La cantidad varía según el número de sprints) --> Hay generaciones que tienen solo 2 sprints, otras tienen 3 y otras 4 for (var i = 0; i < sprint.length; i++) { - if (select.value === 'hse-sprint-1') { - if (sprint[i]['number'] === 1) { - if (840 <= sprint[i]['score']['hse'] <= 1200) { + if (hseSelect.value === 'hse-sprint-1') { // Este select es el que encuentra en el área de HSE --> Life Skills + if (sprints[i]['number'] === 1) { // El key number indica que sprint es (sprint 1, 2, 3 o 4) + if (840 <= sprints[i]['score']['hse'] <= 1200) { // Dentro del key / objeto score hay 2 keys: tech y el que queremos en este ocasión --> hse hsePassingStudents += 1; } else { noHsePassingStudents += 1; } } - hseNumberOfStudentsContainer.textContent = hsePassingStudents; + hseNumberOfStudentsContainer.textContent = hsePassingStudents; // En el div cuyo atributo id es hseNumberOfStudentsContainer tendrá como contenido el número de estudiantes que alacanzaron o pasaron la meta de los 840 puntos(70% (1200)) } + // Lo mismo con el resto de los sprints if (select.value === 'hse-sprint-2') { - if (sprint[i]['number'] === 2) { - if (840 <= sprint[i]['score']['hse'] <= 1200) { + if (sprints[i]['number'] === 2) { + if (840 <= sprints[i]['score']['hse'] <= 1200) { hsePassingStudents += 1; } else { noHsePassingStudents += 1; @@ -76,8 +93,8 @@ window.addEventListener('load', function(event) { hseNumberOfStudentsContainer.textContent = hsePassingStudents; } if (select.value === 'hse-sprint-3') { - if (sprint[i]['number'] === 3) { - if (840 <= sprint[i]['score']['hse'] <= 1200) { + if (sprints[i]['number'] === 3) { + if (840 <= sprints[i]['score']['hse'] <= 1200) { hsePassingStudents += 1; } else { noHsePassingStudents += 1; @@ -86,8 +103,8 @@ window.addEventListener('load', function(event) { hseNumberOfStudentsContainer.textContent = hsePassingStudents; } if (select.value === 'hse-sprint-4') { - if (sprint[i]['number'] === 4) { - if (840 <= sprint[i]['score']['hse'] <= 1200) { + if (sprints[i]['number'] === 4) { + if (840 <= sprints[i]['score']['hse'] <= 1200) { hsePassingStudents += 1; } else { noHsePassingStudents += 1; @@ -99,10 +116,10 @@ window.addEventListener('load', function(event) { } } }); - /* Los puntos indicados en el LMS relacionados con el rating */ + /* Esta variable que almacena este key y objeto a la vez me permitirá resolver los puntos indicados en el LMS relacionados con el rating */ var ratings = specificGeneration['ratings']; - /* Variables*/ - /* Para el punto 5 */ + /* Variables */ + /* Para el punto 5 --> ver LMS(no aparecen enumerados, asi que tienen que contarlos)*/ var totalPromoters = 0; var totalPassive = 0; var totalDetractors = 0; @@ -137,8 +154,8 @@ window.addEventListener('load', function(event) { var passive = (totalPassive / totalScore) * 100; var detractors = (totalDetractors / totalScore) * 100; var nps = promoters - detractors; - promotersContainer.textContent = promoters.toFixed(2) + ' %' + ' Promoters'; - passiveContainer.textContent = passive.toFixed(2) + ' %' + ' Passive'; + promotersContainer.textContent = promoters.toFixed(2) + ' %' + ' Promoters'; // toFixed.(n) Permite que se muestre la cantidad de decimales que quieres. n toma el valor de esta cantidad --> En este caso solo quero que se me muestren 2 decimales, asi que n = 2 --> toFixed(2) + passiveContainer.textContent = passive.toFixed(2) + ' %' + ' Passive'; // Concateno un % ya que el valor es númerico no me aparece con ese simbolo detractorsContainer.textContent = detractors.toFixed(2) + ' %' + ' Detractors'; score5.textContent = nps.toFixed(2) + '%'; /* Porcentaje de estudiantes satisfechas */ @@ -147,10 +164,10 @@ window.addEventListener('load', function(event) { var satisfiedStudents = (happyStudents * 100) / total; score8.textContent = satisfiedStudents.toFixed(2); /* Puntuación promedio de los teachers */ - var averageScore2 = Math.round(averageScoreForTeachers / 4); + var averageScore2 = Math.round(averageScoreForTeachers / 4); // Math.round redondea, en este caso lo considere necesario ya que habalamos de un promedio score9.textContent = averageScore2; /* Puntuación promedio de los jedi */ - var averageScore = Math.round(averageScoreForJedi / 4); + var averageScore = Math.round(averageScoreForJedi / 4); // Math.round redondea, en este caso lo considere necesario ya que habalamos de un promedio score10.textContent = averageScore; } if (select.value === 'aq-2017-1') { diff --git a/js/student.html b/student.html similarity index 100% rename from js/student.html rename to student.html From 28db3d48e5d4d99b278489a044d1627ac4037350 Mon Sep 17 00:00:00 2001 From: yennyelizabeth Date: Sun, 3 Dec 2017 13:59:37 -0500 Subject: [PATCH 19/21] actualizando cumplimiento de reglas de identado --- css/main-1.css | 16 ++++++---------- js/app-1.js | 38 +++++++++++++++++++------------------- 2 files changed, 25 insertions(+), 29 deletions(-) diff --git a/css/main-1.css b/css/main-1.css index 6a5d976f..8f9dff02 100644 --- a/css/main-1.css +++ b/css/main-1.css @@ -1,3 +1,4 @@ +/* reglas universales de estilo */ * { box-sizing: border-box ; font-family: 'Montserrat', sans-serif; @@ -5,6 +6,7 @@ background-color: #f4f6f7; } +/* reglas específicas de estilo*/ div .view-student { text-align: center ; } @@ -19,7 +21,6 @@ div #container-students { #especialization { left: 15px; - /*height: 100%;*/ height: 2000px; width: 20%; background-color: white; @@ -31,15 +32,12 @@ li { text-decoration-style: none; } - #visualization { height: 100%; width: 50% ; background-color: white ; display: inline-block; margin-left: 650px; - /*float: right;*/ - } ul, li{ @@ -62,7 +60,7 @@ li label { display: inline-block; } -#photo , #date-student , #tech-skills , #life-skills, english-skill , .date , #english-skills { +#photo , #date-student , #tech-skills , #life-skills, #english-skill , .date , #english-skills { display: inline-block; } #name , #especialization-student , #skills-details { @@ -109,8 +107,6 @@ li label { background-color: white; } - - #skill-1 , #skill-2 , #skill-3 { display: inline-block; background-color: white; @@ -142,13 +138,13 @@ button.desactive { color: #757575; } - button.active { +button.active { background-color: #faf281; color: white; } - /* clases para foto standart */ - .photo-standart { +/* clases para foto standart */ +.photo-standart { height: 130px; width: 140px; } diff --git a/js/app-1.js b/js/app-1.js index b5ef7621..87429fbd 100644 --- a/js/app-1.js +++ b/js/app-1.js @@ -55,28 +55,28 @@ window.addEventListener('load', function(event) { var gen = generationsValuesStudentsData[0]; /* extrayendo alumnas de sede arequipa */ - for (var a = 0; a < 15 ; a++) { - studentsData = Object.values(gen[a]); /* extrae alumnos */ - students[[a, 0]] = sedesArray[0]; /* asigna sede arequipa */ - students[[a, 1]] = generationsArray[0]; /* asigna generation 1 */ - students[[a, 2]] = studentsData[0]; /* asigna nombre */ - students[[a, 3]] = studentsData[1]; /* asigna foto */ - students[[a, 4]] = studentsData[2]; /* asigna active */ - students[[a, 5]] = studentsData[3]; /* asigna score objeto */ + for (var aa = 0; aa < 15 ; aa++) { + studentsData = Object.values(gen[aa]); /* extrae alumnos */ + students[[aa, 0]] = sedesArray[0]; /* asigna sede arequipa */ + students[[aa, 1]] = generationsArray[0]; /* asigna generation 1 */ + students[[aa, 2]] = studentsData[0]; /* asigna nombre */ + students[[aa, 3]] = studentsData[1]; /* asigna foto */ + students[[aa, 4]] = studentsData[2]; /* asigna active */ + students[[aa, 5]] = studentsData[3]; /* asigna score objeto */ ind = 0; /* extrayendo puntaje de sprints */ - for (var b = 0; b < 4 ; b++) { + for (var bb = 0; bb < 4 ; bb++) { var tech = Object.values(studentsData[3]); - var tec = Object.values(tech[b]); + var tec = Object.values(tech[bb]); var tePoint = Object.values(tec[1]); /* recorre las notas por print 4 por alumna */ /* sprint 1 */ ind = 0; - for (var c = 0; c < 2 ;c++) { - students[[a, 6 + b + ind]] = ((tePoint[c] / 1800) * 100).toFixed(1) ; /* tech */ - students[[a, 7 + b]] = ((tePoint[c] / 1200) * 100).toFixed(1) ; /* hse */ + for (var cc = 0; cc < 2 ;cc++) { + students[[aa, 6 + bb + ind]] = ((tePoint[cc] / 1800) * 100).toFixed(1) ; /* tech */ + students[[aa, 7 + bb]] = ((tePoint[cc] / 1200) * 100).toFixed(1) ; /* hse */ ind = ind + 1; } } @@ -86,7 +86,7 @@ window.addEventListener('load', function(event) { var acumHse = 0; /* para recorrer el array students */ - for (var z = 0 ; z < 15 ; z++) { + for (var zz = 0 ; zz < 15 ; zz++) { /* ubico área para crear elementos */ var visualizationSection = document.getElementById('visualization'); @@ -95,7 +95,7 @@ window.addEventListener('load', function(event) { /* photo del estudiante */ var divStudent = document.createElement('div'); /* div con id-student */ var imgPhoto = document.createElement('img'); /* img con propiedad src */ - imgPhoto.setAttribute('src', students[[z, 3]]); + imgPhoto.setAttribute('src', students[[zz, 3]]); imgPhoto.classList.add('photo-standart'); visualizationSection.appendChild(divStudent); divStudent.appendChild(imgPhoto); @@ -111,7 +111,7 @@ window.addEventListener('load', function(event) { divDate.appendChild(divDateStudent); divDateStudent.appendChild(divName); - divName.textContent = students[[z, 2]]; + divName.textContent = students[[zz, 2]]; divDateStudent.appendChild(divEspecializationStudent); divEspecializationStudent.textContent = 'Front End Developer'; @@ -120,15 +120,15 @@ window.addEventListener('load', function(event) { var divTech = document.createElement('div'); var labelPercentTech = document.createElement('label'); var labelNumberTech = document.createElement('label'); - var brUp1 = document.createElement('br') + var brUp1 = document.createElement('br'); divDate.appendChild(divTechSkills); divTechSkills.appendChild(divTech); divTech.appendChild(labelPercentTech); - labelPercentTech.textContent = students[[z, 6]]; + labelPercentTech.textContent = students[[zz, 6]]; divTech.appendChild(brUp1); divTech.appendChild(labelNumberTech); - labelNumberTech.textContent = students[[z, 7]]; + labelNumberTech.textContent = students[[zz, 7]]; }; }); }); From d6f38029e21cafd26ecd85d980e7c8799dd8a87a Mon Sep 17 00:00:00 2001 From: yennyelizabeth Date: Mon, 4 Dec 2017 09:12:04 -0500 Subject: [PATCH 20/21] =?UTF-8?q?a=C3=B1adiendo=20funcionalidad=20a=20stud?= =?UTF-8?q?ent.html?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/main-1.css | 38 +- js/.eslintrc | 29 + js/app-1.js | 115 +- js/array-student-data.js | 56 + js/data.js | 7540 +++++++++++++++++++------------------- student.html | 47 +- 6 files changed, 3986 insertions(+), 3839 deletions(-) create mode 100644 js/.eslintrc create mode 100644 js/array-student-data.js diff --git a/css/main-1.css b/css/main-1.css index 8f9dff02..3d978c97 100644 --- a/css/main-1.css +++ b/css/main-1.css @@ -1,4 +1,3 @@ -/* reglas universales de estilo */ * { box-sizing: border-box ; font-family: 'Montserrat', sans-serif; @@ -6,7 +5,6 @@ background-color: #f4f6f7; } -/* reglas específicas de estilo*/ div .view-student { text-align: center ; } @@ -21,6 +19,7 @@ div #container-students { #especialization { left: 15px; + /*height: 100%;*/ height: 2000px; width: 20%; background-color: white; @@ -32,12 +31,15 @@ li { text-decoration-style: none; } + #visualization { height: 100%; width: 50% ; background-color: white ; display: inline-block; margin-left: 650px; + /*float: right;*/ + } ul, li{ @@ -60,24 +62,28 @@ li label { display: inline-block; } -#photo , #date-student , #tech-skills , #life-skills, #english-skill , .date , #english-skills { +.photo , .date-student , .tech-skills , .life-skills, .english-skills , .date { display: inline-block; } -#name , #especialization-student , #skills-details { - margin-left: 20px; + +.life-skills, .english-skills { + margin-left: 10px; } -#photo { +.name , .especialization-student , .skills-details { + margin-left: 20px; +} +.photo { margin-left: 20px; } -#tech-skills { +.tech-skills { margin-left: 40px; } -#date-student , #name , #especialization-student { +.date-student , .name , #especialization-student { background-color: white; } -#tech-skills , #life-skills , #english-skills{ +.tech-skills , .life-skills , .english-skills{ border: 1px solid black; text-align: center; } @@ -107,17 +113,19 @@ li label { background-color: white; } -#skill-1 , #skill-2 , #skill-3 { +.skill-1 , .skill-2 , .skill-3 { display: inline-block; background-color: white; + border: 1px solid gray; + background-color: #BDBDBD; } -#photo, .date { +.photo, .date { padding-top: 15px; background-color: white; } -#student { +.student { background-color: white; } @@ -138,13 +146,13 @@ button.desactive { color: #757575; } -button.active { + button.active { background-color: #faf281; color: white; } -/* clases para foto standart */ -.photo-standart { + /* clases para foto standart */ + .photo-standart { height: 130px; width: 140px; } diff --git a/js/.eslintrc b/js/.eslintrc new file mode 100644 index 00000000..a2f4c549 --- /dev/null +++ b/js/.eslintrc @@ -0,0 +1,29 @@ +{ + "parserOptions": { + "ecmaVersion": 6 + }, + "rules": { + "keyword-spacing": 1, + "space-before-function-paren": [1, "never"], + "eqeqeq": 1, + "space-infix-ops": 1, + "comma-spacing": 1, + "brace-style": 1, + "no-multiple-empty-lines": 1, + "camelcase": 1, + "func-call-spacing": 1, + "key-spacing": 1, + "semi": 1, + "no-floating-decimal": 1, + "no-multi-spaces": 1, + "object-property-newline": 1, + "padded-blocks": [1, "never"], + "space-before-blocks": 1, + "space-in-parens": 1, + "spaced-comment": 1, + "quotes": [1, "single"], + "id-length": [1, { "exceptions": ["i", "j", "x"] }], + "indent": [1, 2], + "no-array-constructor": 1 + } +} \ No newline at end of file diff --git a/js/app-1.js b/js/app-1.js index 87429fbd..ce75ae9c 100644 --- a/js/app-1.js +++ b/js/app-1.js @@ -1,11 +1,5 @@ -/* - * Funcionalidad de tu producto - */ - -// Puedes hacer uso de la base de datos a través de la variable `data` /* console.log(data); */ console.log(data); - window.addEventListener('load', function(event) { /* evento para botón de especialización javascript */ var javascriptButton = document.getElementById('javascript-button'); @@ -13,19 +7,15 @@ window.addEventListener('load', function(event) { alert('es click'); button.classList.add('desactive'); }); - /* evento para botón de especialización uxdesing */ var uxdesignButton = document.getElementById('uxdesign-button'); uxdesignButton.addEventListener('click', function(event) { alert('es click en uxdesing'); }); - - /* evento para botón de especialización front end designer */ var frontEndDesignerButton = document.getElementById('front-end-designer-button'); frontEndDesignerButton.addEventListener('click', function(event) { alert('es click en front end desing'); - var students = []; var studentsData = []; var baseTech = 1800; @@ -33,7 +23,6 @@ window.addEventListener('load', function(event) { var acumTech = 0; var acumHse = 0; var ind = 0; - /* Sedes - Array */ var sedes = Object.keys(data); var sedesArray = []; @@ -41,19 +30,15 @@ window.addEventListener('load', function(event) { for (var i = 0 ; i < 4 ; i++) { sedesArray[i] = sedes[i]; } - /* Generaciones- Array */ var generations = Object.values(data); - /* sede */ var generationsArray = Object.keys(generations[0]); /* AQP-GEN-POS 0 , hacer for para 2 */ - /* encuentro lista de alumnos */ var generationsValues = Object.values(generations[0]); var generationsValuesStudents = generationsValues[0]; var generationsValuesStudentsData = Object.values(generationsValuesStudents); var gen = generationsValuesStudentsData[0]; - /* extrayendo alumnas de sede arequipa */ for (var aa = 0; aa < 15 ; aa++) { studentsData = Object.values(gen[aa]); /* extrae alumnos */ @@ -64,13 +49,11 @@ window.addEventListener('load', function(event) { students[[aa, 4]] = studentsData[2]; /* asigna active */ students[[aa, 5]] = studentsData[3]; /* asigna score objeto */ ind = 0; - /* extrayendo puntaje de sprints */ for (var bb = 0; bb < 4 ; bb++) { var tech = Object.values(studentsData[3]); var tec = Object.values(tech[bb]); var tePoint = Object.values(tec[1]); - /* recorre las notas por print 4 por alumna */ /* sprint 1 */ ind = 0; @@ -81,54 +64,124 @@ window.addEventListener('load', function(event) { } } } - var acumTech = 0; var acumHse = 0; - /* para recorrer el array students */ for (var zz = 0 ; zz < 15 ; zz++) { /* ubico área para crear elementos */ var visualizationSection = document.getElementById('visualization'); - /* creaación de elementos divs */ - /* photo del estudiante */ var divStudent = document.createElement('div'); /* div con id-student */ + var divPhoto = document.createElement('div'); /* div photo */ var imgPhoto = document.createElement('img'); /* img con propiedad src */ + divStudent.classList.add('student'); + divPhoto.classList.add('photo'); imgPhoto.setAttribute('src', students[[zz, 3]]); imgPhoto.classList.add('photo-standart'); visualizationSection.appendChild(divStudent); - divStudent.appendChild(imgPhoto); - + divStudent.appendChild(divPhoto); + divPhoto.appendChild(imgPhoto); /* datos de estudiante */ var divDate = document.createElement('div'); /* div con id-date */ var divDateStudent = document.createElement('div'); /* div con id-name */ var divName = document.createElement('div'); /* div con id-date */ - divName.classList.add('big-letter'); var divEspecializationStudent = document.createElement('div'); /* div con id-name */ - + divDate.classList.add('date'); + divDateStudent.classList.add('date-student'); + divName.classList.add('big-letter'); + divName.classList.add('name'); + divName.classList.add('especialization-student'); divStudent.appendChild(divDate); divDate.appendChild(divDateStudent); - divDateStudent.appendChild(divName); - divName.textContent = students[[zz, 2]]; divDateStudent.appendChild(divEspecializationStudent); + divName.textContent = students[[zz, 2]]; divEspecializationStudent.textContent = 'Front End Developer'; - /* evaluación técnica */ var divTechSkills = document.createElement('div'); var divTech = document.createElement('div'); var labelPercentTech = document.createElement('label'); var labelNumberTech = document.createElement('label'); var brUp1 = document.createElement('br'); - + divTechSkills.classList.add('tech-skills'); + labelPercentTech.classList.add('big-letter'); + labelNumberTech.classList.add('little-letter'); divDate.appendChild(divTechSkills); divTechSkills.appendChild(divTech); divTech.appendChild(labelPercentTech); - labelPercentTech.textContent = students[[zz, 6]]; divTech.appendChild(brUp1); divTech.appendChild(labelNumberTech); - labelNumberTech.textContent = students[[zz, 7]]; + labelPercentTech.textContent = students[[zz, 6]] + ' % ' ; + labelNumberTech.textContent = ' TECH SKILLS '; + /* evaluación habilidades blandas */ + var divLifeSkills = document.createElement('div'); + var divLife = document.createElement('div'); + var labelPercentHse = document.createElement('label'); + var brUp2 = document.createElement('br'); + var labelNumberHse = document.createElement('label'); + divLifeSkills.classList.add('life-skills'); + labelPercentHse.classList.add('big-letter'); + labelNumberHse.classList.add('little-letter'); + divDate.appendChild(divLifeSkills); + divLifeSkills.appendChild(divLife); + divLife.appendChild(labelPercentHse); + divLife.appendChild(brUp2); + divLife.appendChild(labelNumberHse); + labelPercentHse.textContent = students[[zz, 7]] + ' % '; + labelNumberHse.textContent = ' LIFE SKILLS '; + /* evaluación habilidades blandas */ + var divEnglishSkills = document.createElement('div'); + var divEnglish = document.createElement('div'); + var labelIntern = document.createElement('label'); + var brUp3 = document.createElement('br'); + var labelEnglishSkills = document.createElement('label'); + var brUp4 = document.createElement('br'); + var brUp5 = document.createElement('br'); + var brUp6 = document.createElement('br'); + divDate.appendChild(divEnglishSkills); + divEnglishSkills.appendChild(divEnglish); + divEnglish.appendChild(labelIntern); + divEnglish.appendChild(brUp4); + divEnglish.appendChild(labelEnglishSkills); + divDate.appendChild(brUp5); + divDate.appendChild(brUp6); + divEnglishSkills.classList.add('english-skills'); + labelIntern.classList.add('big-letter'); + labelEnglishSkills.classList.add('little-letter'); + labelIntern.textContent = 'INTERN'; + labelEnglishSkills.textContent = 'ENGLISH SKILLS'; + /* descripción de habilidades técnicas */ + var divSkillsDetails = document.createElement('div'); + var divSkills1 = document.createElement('div'); + var divSkills2 = document.createElement('div'); + var divSkills3 = document.createElement('div'); + var brUp7 = document.createElement('br'); + var brUp8 = document.createElement('br'); + var labelViewPerfil = document.createElement('label'); + var spanI = document.createElement('span'); + var brUp9 = document.createElement('br'); + var brUp10 = document.createElement('br'); + divSkillsDetails.classList.add('skills-details'); + divSkillsDetails.classList.add('little-letter'); + divSkills1.classList.add('skill-1'); + divSkills2.classList.add('skill-2'); + divSkills3.classList.add('skill-3'); + divDate.appendChild(divSkillsDetails); + divSkillsDetails.appendChild(divSkills1) ; + divSkillsDetails.appendChild(divSkills2) ; + divSkillsDetails.appendChild(divSkills3) ; + divDate.appendChild(brUp7); + divDate.appendChild(brUp8); + divDate.appendChild(labelViewPerfil); + divDate.appendChild(spanI); + divStudent.appendChild(brUp9); + divStudent.appendChild(brUp10); + divSkills1.textContent = ' Javascript '; + divSkills2.textContent = ' APIs '; + divSkills3.textContent = ' JQuery '; + labelViewPerfil.textContent = ' Ver Perfil '; + spanI.textContent = 'i' ; }; }); }); diff --git a/js/array-student-data.js b/js/array-student-data.js new file mode 100644 index 00000000..86bf15a7 --- /dev/null +++ b/js/array-student-data.js @@ -0,0 +1,56 @@ + +var students = []; /* array de estudiantes */ +var baseTech = 1800; /* parámetro de base skill tech */ +var baseHse = 1200; /* parámetro de base skill hse */ +var acumTech = 0; /* acumulador de skill tech por alumna total sprints */ +var acumHse = 0; /* acumulador de skill hse por alumna total sprints */ +var indSt = 0; /* indice correlativo de nro de estudiante */ +var ind = 0; /* índice para aumentar la posición Y de array student en la asignación de valores segun if */ +var bases = Object.values(data); /* bases de laboratoria */ + +for (var indB = 0 ; indB < bases.length ; indB ++) { + var basesGenerations = Object.values(bases[indB]); /* generaciones por bases */ + for (var indG = 0 ; indG < basesGenerations.length ; indG++) { /* nro de generaciones por base */ + var arrayTemp1 = Object.values(basesGenerations[indG]); /* alumnas y ranting por generación */ + var arrayTemp2 = Object.values(arrayTemp1[0]); /* alumnas por generación */ + for (var i = 0 ; i < arrayTemp2.length ; i ++) { /* alumnas x generación */ + var aStudentBaseGeneration = Object.values(arrayTemp2[i]); /* una de alumna */ + students[[indSt, 0]] = aStudentBaseGeneration[0]; /* name */ + students[[indSt, 1]] = aStudentBaseGeneration[1]; /* photo */ + students[[indSt, 2]] = aStudentBaseGeneration[2]; /* active */ + students[[indSt, 3]] = aStudentBaseGeneration[3]; /* score */ + var countSprintsAlumna = aStudentBaseGeneration[3]; + ind = 0; + if (countSprintsAlumna.length >= 1) { + students[[indSt, 4]] = countSprintsAlumna.length; /* # sprints x alumna */ + for (var indSprint = 0 ; indSprint < countSprintsAlumna.length ; indSprint ++) { /* # sprints x alumna */ + var arrayTemp3 = Object.values(countSprintsAlumna[indSprint]); /* contiene objeto */ + var arrayTemp4 = Object.values(arrayTemp3[1]) ; /* posicion 1 - array con tech hse por sprint */ + for (var indSkill = 0 ; indSkill < arrayTemp4.length ; indSkill++) { /* recorre por skill: tech y hse */ + ind = ind + 1; + if (indSkill === 0) { + students[[indSt, 4 + ind]] = ((arrayTemp4[indSkill] / 1800) * 100).toFixed(1); + acumTech = acumTech + parseInt(students[[indSt, 4 + ind]]) ; + } else { + students[[indSt, 4 + ind]] = ((arrayTemp4[indSkill] / 1200) * 100).toFixed(1); + acumHse = acumHse + parseInt(students[[indSt, 4 + ind]]); /* hse */ + } + } + } + students[[indSt, 13]] = (acumTech / countSprintsAlumna.length).toFixed(1) ; + students[[indSt, 14]] = (acumHse / countSprintsAlumna.length).toFixed(1) ; + acumTech = 0 ; + acumHse = 0; + } else { + students[[indSt, 4]] = 0; /* cero sprints */ + students[[indSt, 5]] = 0; /* sin nota */ + students[[indSt, 6]] = 0; /* sin nota */ + students[[indSt, 7]] = 0; /* sin nota */ + students[[indSt, 8]] = 0; /* sin nota */ + students[[indSt, 9]] = 0; /* sin nota */ + students[[indSt, 10]] = 0; /* sin nota */ + } + indSt = indSt + 1 ; + } + } +} diff --git a/js/data.js b/js/data.js index afa0bb63..3fd5c713 100644 --- a/js/data.js +++ b/js/data.js @@ -1,5132 +1,5132 @@ var data = { - 'AQP': { + AQP: { '2016-2': { - 'students': [ + students: [ { - 'name': 'Donna Sloper', - 'photo': 'http://dummyimage.com/162x148.png/ff4444/ffffff', - 'active': true, - 'sprints': [ + name: 'Donna Sloper', + photo: 'http://dummyimage.com/162x148.png/ff4444/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1213, - 'hse': 854 - } + number: 1, + score: { + tech: 1213, + hse: 854, + }, }, { - 'number': 2, - 'score': { - 'tech': 1286, - 'hse': 918 - } + number: 2, + score: { + tech: 1286, + hse: 918, + }, }, { - 'number': 3, - 'score': { - 'tech': 1629, - 'hse': 670 - } + number: 3, + score: { + tech: 1629, + hse: 670, + }, }, { - 'number': 4, - 'score': { - 'tech': 1140, - 'hse': 1017 - } - } - ] + number: 4, + score: { + tech: 1140, + hse: 1017, + }, + }, + ], }, { - 'name': 'Roana Menego', - 'photo': 'http://dummyimage.com/102x187.png/dddddd/000000', - 'active': false, - 'sprints': [ + name: 'Roana Menego', + photo: 'http://dummyimage.com/102x187.png/dddddd/000000', + active: false, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1114, - 'hse': 894 - } + number: 1, + score: { + tech: 1114, + hse: 894, + }, }, { - 'number': 2, - 'score': { - 'tech': 1724, - 'hse': 984 - } + number: 2, + score: { + tech: 1724, + hse: 984, + }, }, { - 'number': 3, - 'score': { - 'tech': 1034, - 'hse': 632 - } + number: 3, + score: { + tech: 1034, + hse: 632, + }, }, { - 'number': 4, - 'score': { - 'tech': 1575, - 'hse': 927 - } - } - ] + number: 4, + score: { + tech: 1575, + hse: 927, + }, + }, + ], }, { - 'name': 'Ofella Weakley', - 'photo': 'http://dummyimage.com/190x155.png/dddddd/000000', - 'active': false, - 'sprints': [ + name: 'Ofella Weakley', + photo: 'http://dummyimage.com/190x155.png/dddddd/000000', + active: false, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 913, - 'hse': 884 - } + number: 1, + score: { + tech: 913, + hse: 884, + }, }, { - 'number': 2, - 'score': { - 'tech': 1021, - 'hse': 887 - } + number: 2, + score: { + tech: 1021, + hse: 887, + }, }, { - 'number': 3, - 'score': { - 'tech': 1153, - 'hse': 945 - } + number: 3, + score: { + tech: 1153, + hse: 945, + }, }, { - 'number': 4, - 'score': { - 'tech': 1701, - 'hse': 950 - } - } - ] + number: 4, + score: { + tech: 1701, + hse: 950, + }, + }, + ], }, { - 'name': 'Gretchen Gerhts', - 'photo': 'http://dummyimage.com/147x166.png/5fa2dd/ffffff', - 'active': false, - 'sprints': [ + name: 'Gretchen Gerhts', + photo: 'http://dummyimage.com/147x166.png/5fa2dd/ffffff', + active: false, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1740, - 'hse': 672 - } + number: 1, + score: { + tech: 1740, + hse: 672, + }, }, { - 'number': 2, - 'score': { - 'tech': 1784, - 'hse': 1194 - } + number: 2, + score: { + tech: 1784, + hse: 1194, + }, }, { - 'number': 3, - 'score': { - 'tech': 1516, - 'hse': 649 - } + number: 3, + score: { + tech: 1516, + hse: 649, + }, }, { - 'number': 4, - 'score': { - 'tech': 1316, - 'hse': 1072 - } - } - ] + number: 4, + score: { + tech: 1316, + hse: 1072, + }, + }, + ], }, { - 'name': 'Judy Meindl', - 'photo': 'http://dummyimage.com/220x128.png/5fa2dd/ffffff', - 'active': true, - 'sprints': [ + name: 'Judy Meindl', + photo: 'http://dummyimage.com/220x128.png/5fa2dd/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1004, - 'hse': 631 - } + number: 1, + score: { + tech: 1004, + hse: 631, + }, }, { - 'number': 2, - 'score': { - 'tech': 1102, - 'hse': 1050 - } + number: 2, + score: { + tech: 1102, + hse: 1050, + }, }, { - 'number': 3, - 'score': { - 'tech': 1138, - 'hse': 969 - } + number: 3, + score: { + tech: 1138, + hse: 969, + }, }, { - 'number': 4, - 'score': { - 'tech': 1638, - 'hse': 871 - } - } - ] + number: 4, + score: { + tech: 1638, + hse: 871, + }, + }, + ], }, { - 'name': 'Jillene Porch', - 'photo': 'http://dummyimage.com/132x125.png/5fa2dd/ffffff', - 'active': true, - 'sprints': [ + name: 'Jillene Porch', + photo: 'http://dummyimage.com/132x125.png/5fa2dd/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 976, - 'hse': 979 - } + number: 1, + score: { + tech: 976, + hse: 979, + }, }, { - 'number': 2, - 'score': { - 'tech': 1404, - 'hse': 678 - } + number: 2, + score: { + tech: 1404, + hse: 678, + }, }, { - 'number': 3, - 'score': { - 'tech': 1427, - 'hse': 825 - } + number: 3, + score: { + tech: 1427, + hse: 825, + }, }, { - 'number': 4, - 'score': { - 'tech': 1604, - 'hse': 1198 - } - } - ] + number: 4, + score: { + tech: 1604, + hse: 1198, + }, + }, + ], }, { - 'name': 'Sydney Burlingham', - 'photo': 'http://dummyimage.com/100x167.png/ff4444/ffffff', - 'active': true, - 'sprints': [ + name: 'Sydney Burlingham', + photo: 'http://dummyimage.com/100x167.png/ff4444/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1371, - 'hse': 712 - } + number: 1, + score: { + tech: 1371, + hse: 712, + }, }, { - 'number': 2, - 'score': { - 'tech': 936, - 'hse': 1142 - } + number: 2, + score: { + tech: 936, + hse: 1142, + }, }, { - 'number': 3, - 'score': { - 'tech': 1227, - 'hse': 800 - } + number: 3, + score: { + tech: 1227, + hse: 800, + }, }, { - 'number': 4, - 'score': { - 'tech': 1791, - 'hse': 1030 - } - } - ] + number: 4, + score: { + tech: 1791, + hse: 1030, + }, + }, + ], }, { - 'name': 'Alexi Gindghill', - 'photo': 'http://dummyimage.com/113x215.png/ff4444/ffffff', - 'active': true, - 'sprints': [ + name: 'Alexi Gindghill', + photo: 'http://dummyimage.com/113x215.png/ff4444/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1649, - 'hse': 1094 - } + number: 1, + score: { + tech: 1649, + hse: 1094, + }, }, { - 'number': 2, - 'score': { - 'tech': 1590, - 'hse': 1036 - } + number: 2, + score: { + tech: 1590, + hse: 1036, + }, }, { - 'number': 3, - 'score': { - 'tech': 1438, - 'hse': 1015 - } + number: 3, + score: { + tech: 1438, + hse: 1015, + }, }, { - 'number': 4, - 'score': { - 'tech': 1105, - 'hse': 819 - } - } - ] + number: 4, + score: { + tech: 1105, + hse: 819, + }, + }, + ], }, { - 'name': 'Donna Fearnill', - 'photo': 'http://dummyimage.com/221x239.png/ff4444/ffffff', - 'active': false, - 'sprints': [ + name: 'Donna Fearnill', + photo: 'http://dummyimage.com/221x239.png/ff4444/ffffff', + active: false, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1280, - 'hse': 743 - } + number: 1, + score: { + tech: 1280, + hse: 743, + }, }, { - 'number': 2, - 'score': { - 'tech': 928, - 'hse': 851 - } + number: 2, + score: { + tech: 928, + hse: 851, + }, }, { - 'number': 3, - 'score': { - 'tech': 1431, - 'hse': 894 - } + number: 3, + score: { + tech: 1431, + hse: 894, + }, }, { - 'number': 4, - 'score': { - 'tech': 948, - 'hse': 983 - } - } - ] + number: 4, + score: { + tech: 948, + hse: 983, + }, + }, + ], }, { - 'name': 'Chiarra Dutton', - 'photo': 'http://dummyimage.com/163x246.png/ff4444/ffffff', - 'active': true, - 'sprints': [ + name: 'Chiarra Dutton', + photo: 'http://dummyimage.com/163x246.png/ff4444/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1448, - 'hse': 875 - } + number: 1, + score: { + tech: 1448, + hse: 875, + }, }, { - 'number': 2, - 'score': { - 'tech': 1296, - 'hse': 786 - } + number: 2, + score: { + tech: 1296, + hse: 786, + }, }, { - 'number': 3, - 'score': { - 'tech': 966, - 'hse': 708 - } + number: 3, + score: { + tech: 966, + hse: 708, + }, }, { - 'number': 4, - 'score': { - 'tech': 1439, - 'hse': 1198 - } - } - ] + number: 4, + score: { + tech: 1439, + hse: 1198, + }, + }, + ], }, { - 'name': 'Drusilla Terron', - 'photo': 'http://dummyimage.com/165x131.png/ff4444/ffffff', - 'active': false, - 'sprints': [ + name: 'Drusilla Terron', + photo: 'http://dummyimage.com/165x131.png/ff4444/ffffff', + active: false, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1599, - 'hse': 1000 - } + number: 1, + score: { + tech: 1599, + hse: 1000, + }, }, { - 'number': 2, - 'score': { - 'tech': 1225, - 'hse': 834 - } + number: 2, + score: { + tech: 1225, + hse: 834, + }, }, { - 'number': 3, - 'score': { - 'tech': 1657, - 'hse': 873 - } + number: 3, + score: { + tech: 1657, + hse: 873, + }, }, { - 'number': 4, - 'score': { - 'tech': 1420, - 'hse': 965 - } - } - ] + number: 4, + score: { + tech: 1420, + hse: 965, + }, + }, + ], }, { - 'name': 'Karola Leathart', - 'photo': 'http://dummyimage.com/154x140.png/ff4444/ffffff', - 'active': false, - 'sprints': [ + name: 'Karola Leathart', + photo: 'http://dummyimage.com/154x140.png/ff4444/ffffff', + active: false, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1556, - 'hse': 766 - } + number: 1, + score: { + tech: 1556, + hse: 766, + }, }, { - 'number': 2, - 'score': { - 'tech': 1730, - 'hse': 658 - } + number: 2, + score: { + tech: 1730, + hse: 658, + }, }, { - 'number': 3, - 'score': { - 'tech': 1199, - 'hse': 715 - } + number: 3, + score: { + tech: 1199, + hse: 715, + }, }, { - 'number': 4, - 'score': { - 'tech': 935, - 'hse': 687 - } - } - ] + number: 4, + score: { + tech: 935, + hse: 687, + }, + }, + ], }, { - 'name': 'Jacquelin Beglin', - 'photo': 'http://dummyimage.com/184x226.png/cc0000/ffffff', - 'active': true, - 'sprints': [ + name: 'Jacquelin Beglin', + photo: 'http://dummyimage.com/184x226.png/cc0000/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1385, - 'hse': 1098 - } + number: 1, + score: { + tech: 1385, + hse: 1098, + }, }, { - 'number': 2, - 'score': { - 'tech': 1643, - 'hse': 909 - } + number: 2, + score: { + tech: 1643, + hse: 909, + }, }, { - 'number': 3, - 'score': { - 'tech': 1766, - 'hse': 653 - } + number: 3, + score: { + tech: 1766, + hse: 653, + }, }, { - 'number': 4, - 'score': { - 'tech': 1611, - 'hse': 1104 - } - } - ] + number: 4, + score: { + tech: 1611, + hse: 1104, + }, + }, + ], }, { - 'name': 'Dorella Simants', - 'photo': 'http://dummyimage.com/189x105.png/dddddd/000000', - 'active': false, - 'sprints': [ + name: 'Dorella Simants', + photo: 'http://dummyimage.com/189x105.png/dddddd/000000', + active: false, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1767, - 'hse': 972 - } + number: 1, + score: { + tech: 1767, + hse: 972, + }, }, { - 'number': 2, - 'score': { - 'tech': 1130, - 'hse': 1003 - } + number: 2, + score: { + tech: 1130, + hse: 1003, + }, }, { - 'number': 3, - 'score': { - 'tech': 1566, - 'hse': 742 - } + number: 3, + score: { + tech: 1566, + hse: 742, + }, }, { - 'number': 4, - 'score': { - 'tech': 1020, - 'hse': 1153 - } - } - ] + number: 4, + score: { + tech: 1020, + hse: 1153, + }, + }, + ], }, { - 'name': 'Lynnett Roughley', - 'photo': 'http://dummyimage.com/240x189.png/cc0000/ffffff', - 'active': false, - 'sprints': [ + name: 'Lynnett Roughley', + photo: 'http://dummyimage.com/240x189.png/cc0000/ffffff', + active: false, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1729, - 'hse': 1028 - } + number: 1, + score: { + tech: 1729, + hse: 1028, + }, }, { - 'number': 2, - 'score': { - 'tech': 1724, - 'hse': 1043 - } + number: 2, + score: { + tech: 1724, + hse: 1043, + }, }, { - 'number': 3, - 'score': { - 'tech': 1537, - 'hse': 1051 - } + number: 3, + score: { + tech: 1537, + hse: 1051, + }, }, { - 'number': 4, - 'score': { - 'tech': 1679, - 'hse': 1119 - } - } - ] - } + number: 4, + score: { + tech: 1679, + hse: 1119, + }, + }, + ], + }, ], - 'ratings': [ + ratings: [ { - 'sprint': 1, - 'nps': { - 'promoters': 70, - 'passive': 15, - 'detractors': 15 + sprint: 1, + nps: { + promoters: 70, + passive: 15, + detractors: 15, }, - 'student': { + student: { 'no-cumple': 14, - 'cumple': 80, - 'supera': 6 + cumple: 80, + supera: 6, }, - 'teacher': 3.6, - 'jedi': 3.6 + teacher: 3.6, + jedi: 3.6, }, { - 'sprint': 2, - 'nps': { - 'promoters': 74, - 'passive': 16, - 'detractors': 10 + sprint: 2, + nps: { + promoters: 74, + passive: 16, + detractors: 10, }, - 'student': { + student: { 'no-cumple': 8, - 'cumple': 82, - 'supera': 10 + cumple: 82, + supera: 10, }, - 'teacher': 3.8, - 'jedi': 3.4 + teacher: 3.8, + jedi: 3.4, }, { - 'sprint': 3, - 'nps': { - 'promoters': 78, - 'passive': 13, - 'detractors': 9 + sprint: 3, + nps: { + promoters: 78, + passive: 13, + detractors: 9, }, - 'student': { + student: { 'no-cumple': 17, - 'cumple': 63, - 'supera': 20 + cumple: 63, + supera: 20, }, - 'teacher': 3.8, - 'jedi': 4.3 + teacher: 3.8, + jedi: 4.3, }, { - 'sprint': 4, - 'nps': { - 'promoters': 78, - 'passive': 15, - 'detractors': 7 + sprint: 4, + nps: { + promoters: 78, + passive: 15, + detractors: 7, }, - 'student': { + student: { 'no-cumple': 10, - 'cumple': 70, - 'supera': 20 + cumple: 70, + supera: 20, }, - 'teacher': 3.2, - 'jedi': 4.8 - } - ] + teacher: 3.2, + jedi: 4.8, + }, + ], }, '2017-1': { - 'students': [ + students: [ { - 'name': 'Collette Tubby', - 'photo': 'http://dummyimage.com/203x162.png/5fa2dd/ffffff', - 'active': true, - 'sprints': [ + name: 'Collette Tubby', + photo: 'http://dummyimage.com/203x162.png/5fa2dd/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1146, - 'hse': 1057 - } + number: 1, + score: { + tech: 1146, + hse: 1057, + }, }, { - 'number': 2, - 'score': { - 'tech': 1745, - 'hse': 1059 - } + number: 2, + score: { + tech: 1745, + hse: 1059, + }, }, { - 'number': 3, - 'score': { - 'tech': 1424, - 'hse': 745 - } - } - ] + number: 3, + score: { + tech: 1424, + hse: 745, + }, + }, + ], }, { - 'name': 'Dacey Bullers', - 'photo': 'http://dummyimage.com/214x148.png/5fa2dd/ffffff', - 'active': true, - 'sprints': [ + name: 'Dacey Bullers', + photo: 'http://dummyimage.com/214x148.png/5fa2dd/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1443, - 'hse': 643 + number: 1, + score: { + tech: 1443, + hse: 643, }, }, { - 'number': 2, - 'score': { - 'tech': 1769, - 'hse': 612 + number: 2, + score: { + tech: 1769, + hse: 612, }, }, { - 'number': 3, - 'score': { - 'tech': 1049, - 'hse': 922 + number: 3, + score: { + tech: 1049, + hse: 922, }, - } - ] + }, + ], }, { - 'name': 'Leta Cuel', - 'photo': 'http://dummyimage.com/214x104.png/ff4444/ffffff', - 'active': true, - 'sprints': [ + name: 'Leta Cuel', + photo: 'http://dummyimage.com/214x104.png/ff4444/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1695, - 'hse': 1020 + number: 1, + score: { + tech: 1695, + hse: 1020, }, }, { - 'number': 2, - 'score': { - 'tech': 1769, - 'hse': 1036 + number: 2, + score: { + tech: 1769, + hse: 1036, }, }, { - 'number': 3, - 'score': { - 'tech': 1185, - 'hse': 903 + number: 3, + score: { + tech: 1185, + hse: 903, }, - } - ] + }, + ], }, { - 'name': 'Anita Lucock', - 'photo': 'http://dummyimage.com/180x236.png/cc0000/ffffff', - 'active': false, - 'sprints': [ + name: 'Anita Lucock', + photo: 'http://dummyimage.com/180x236.png/cc0000/ffffff', + active: false, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1087, - 'hse': 1141 + number: 1, + score: { + tech: 1087, + hse: 1141, }, }, { - 'number': 2, - 'score': { - 'tech': 1066, - 'hse': 878 + number: 2, + score: { + tech: 1066, + hse: 878, }, }, { - 'number': 3, - 'score': { - 'tech': 1049, - 'hse': 933 - } - } - ] + number: 3, + score: { + tech: 1049, + hse: 933, + }, + }, + ], }, { - 'name': 'Henrieta Osman', - 'photo': 'http://dummyimage.com/146x182.png/dddddd/000000', - 'active': true, - 'sprints': [ + name: 'Henrieta Osman', + photo: 'http://dummyimage.com/146x182.png/dddddd/000000', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1125, - 'hse': 1187 + number: 1, + score: { + tech: 1125, + hse: 1187, }, }, { - 'number': 2, - 'score': { - 'tech': 1466, - 'hse': 1067 + number: 2, + score: { + tech: 1466, + hse: 1067, }, }, { - 'number': 3, - 'score': { - 'tech': 1701, - 'hse': 679 + number: 3, + score: { + tech: 1701, + hse: 679, }, - } - ] + }, + ], }, { - 'name': 'Ariella Itzhaki', - 'photo': 'http://dummyimage.com/151x102.png/5fa2dd/ffffff', - 'active': false, - 'sprints': [ + name: 'Ariella Itzhaki', + photo: 'http://dummyimage.com/151x102.png/5fa2dd/ffffff', + active: false, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1094, - 'hse': 725 + number: 1, + score: { + tech: 1094, + hse: 725, }, }, { - 'number': 2, - 'score': { - 'tech': 1044, - 'hse': 1139 + number: 2, + score: { + tech: 1044, + hse: 1139, }, }, { - 'number': 3, - 'score': { - 'tech': 1412, - 'hse': 713 + number: 3, + score: { + tech: 1412, + hse: 713, }, - } - ] + }, + ], }, { - 'name': 'Wilie Dunkinson', - 'photo': 'http://dummyimage.com/244x133.png/ff4444/ffffff', - 'active': true, - 'sprints': [ + name: 'Wilie Dunkinson', + photo: 'http://dummyimage.com/244x133.png/ff4444/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1343, - 'hse': 1129 + number: 1, + score: { + tech: 1343, + hse: 1129, }, }, { - 'number': 2, - 'score': { - 'tech': 1348, - 'hse': 958 + number: 2, + score: { + tech: 1348, + hse: 958, }, }, { - 'number': 3, - 'score': { - 'tech': 1068, - 'hse': 640 + number: 3, + score: { + tech: 1068, + hse: 640, }, - } - ] + }, + ], }, { - 'name': 'Marisa Tumber', - 'photo': 'http://dummyimage.com/127x179.png/dddddd/000000', - 'active': true, - 'sprints': [ + name: 'Marisa Tumber', + photo: 'http://dummyimage.com/127x179.png/dddddd/000000', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1683, - 'hse': 1185 + number: 1, + score: { + tech: 1683, + hse: 1185, }, }, { - 'number': 2, - 'score': { - 'tech': 1621, - 'hse': 1053 + number: 2, + score: { + tech: 1621, + hse: 1053, }, }, { - 'number': 3, - 'score': { - 'tech': 930, - 'hse': 951 + number: 3, + score: { + tech: 930, + hse: 951, }, - } - ] + }, + ], }, { - 'name': 'Arlina Flacke', - 'photo': 'http://dummyimage.com/162x147.png/ff4444/ffffff', - 'active': true, - 'sprints': [ + name: 'Arlina Flacke', + photo: 'http://dummyimage.com/162x147.png/ff4444/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1797, - 'hse': 655 + number: 1, + score: { + tech: 1797, + hse: 655, }, }, { - 'number': 2, - 'score': { - 'tech': 1396, - 'hse': 772 + number: 2, + score: { + tech: 1396, + hse: 772, }, }, { - 'number': 3, - 'score': { - 'tech': 1427, - 'hse': 673 + number: 3, + score: { + tech: 1427, + hse: 673, }, - } - ] + }, + ], }, { - 'name': 'Wilow Linzey', - 'photo': 'http://dummyimage.com/135x107.png/5fa2dd/ffffff', - 'active': false, - 'sprints': [ + name: 'Wilow Linzey', + photo: 'http://dummyimage.com/135x107.png/5fa2dd/ffffff', + active: false, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1244, - 'hse': 690 + number: 1, + score: { + tech: 1244, + hse: 690, }, }, { - 'number': 2, - 'score': { - 'tech': 1748, - 'hse': 717 + number: 2, + score: { + tech: 1748, + hse: 717, }, }, { - 'number': 3, - 'score': { - 'tech': 1622, - 'hse': 1047 + number: 3, + score: { + tech: 1622, + hse: 1047, }, - } - ] + }, + ], }, { - 'name': 'Modesta Donnison', - 'photo': 'http://dummyimage.com/247x228.png/5fa2dd/ffffff', - 'active': true, - 'sprints': [ + name: 'Modesta Donnison', + photo: 'http://dummyimage.com/247x228.png/5fa2dd/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1630, - 'hse': 949 - } + number: 1, + score: { + tech: 1630, + hse: 949, + }, }, { - 'number': 2, - 'score': { - 'tech': 1065, - 'hse': 774 - } + number: 2, + score: { + tech: 1065, + hse: 774, + }, }, { - 'number': 3, - 'score': { - 'tech': 1125, - 'hse': 945 - } - } - ] + number: 3, + score: { + tech: 1125, + hse: 945, + }, + }, + ], }, { - 'name': 'Stepha Cotesford', - 'photo': 'http://dummyimage.com/109x210.png/cc0000/ffffff', - 'active': false, - 'sprints': [ + name: 'Stepha Cotesford', + photo: 'http://dummyimage.com/109x210.png/cc0000/ffffff', + active: false, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1562, - 'hse': 979 + number: 1, + score: { + tech: 1562, + hse: 979, }, }, { - 'number': 2, - 'score': { - 'tech': 994, - 'hse': 901 + number: 2, + score: { + tech: 994, + hse: 901, }, }, { - 'number': 3, - 'score': { - 'tech': 1363, - 'hse': 774 + number: 3, + score: { + tech: 1363, + hse: 774, }, - } - ] + }, + ], }, { - 'name': 'Adele Eyre', - 'photo': 'http://dummyimage.com/171x191.png/dddddd/000000', - 'active': false, - 'sprints': [ + name: 'Adele Eyre', + photo: 'http://dummyimage.com/171x191.png/dddddd/000000', + active: false, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1109, - 'hse': 1096 + number: 1, + score: { + tech: 1109, + hse: 1096, }, }, { - 'number': 2, - 'score': { - 'tech': 1731, - 'hse': 640 + number: 2, + score: { + tech: 1731, + hse: 640, }, }, { - 'number': 3, - 'score': { - 'tech': 1557, - 'hse': 926 + number: 3, + score: { + tech: 1557, + hse: 926, }, - } - ] + }, + ], }, { - 'name': 'Kelcey Taig', - 'photo': 'http://dummyimage.com/214x193.png/cc0000/ffffff', - 'active': false, - 'sprints': [ + name: 'Kelcey Taig', + photo: 'http://dummyimage.com/214x193.png/cc0000/ffffff', + active: false, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1264, - 'hse': 880 - } + number: 1, + score: { + tech: 1264, + hse: 880, + }, }, { - 'number': 2, - 'score': { - 'tech': 1641, - 'hse': 660 - } + number: 2, + score: { + tech: 1641, + hse: 660, + }, }, { - 'number': 3, - 'score': { - 'tech': 1179, - 'hse': 1080 - } - } - ] + number: 3, + score: { + tech: 1179, + hse: 1080, + }, + }, + ], }, { - 'name': 'Lynelle Capin', - 'photo': 'http://dummyimage.com/104x164.png/5fa2dd/ffffff', - 'active': false, - 'sprints': [ + name: 'Lynelle Capin', + photo: 'http://dummyimage.com/104x164.png/5fa2dd/ffffff', + active: false, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 994, - 'hse': 994 - } + number: 1, + score: { + tech: 994, + hse: 994, + }, }, { - 'number': 2, - 'score': { - 'tech': 1795, - 'hse': 842 - } + number: 2, + score: { + tech: 1795, + hse: 842, + }, }, { - 'number': 3, - 'score': { - 'tech': 1799, - 'hse': 1173 - } - } - ] - } + number: 3, + score: { + tech: 1799, + hse: 1173, + }, + }, + ], + }, ], - 'ratings': [ + ratings: [ { - 'sprint': 1, - 'nps': { - 'promoters': 97, - 'passive': 3, - 'detractors': 0 + sprint: 1, + nps: { + promoters: 97, + passive: 3, + detractors: 0, }, - 'student': { + student: { 'no-cumple': 0, - 'cumple': 80, - 'supera': 20 + cumple: 80, + supera: 20, }, - 'teacher': 4.7, - 'jedi': 4.9 + teacher: 4.7, + jedi: 4.9, }, { - 'sprint': 2, - 'nps': { - 'promoters': 81, - 'passive': 17, - 'detractors': 2 + sprint: 2, + nps: { + promoters: 81, + passive: 17, + detractors: 2, }, - 'student': { + student: { 'no-cumple': 14, - 'cumple': 83, - 'supera': 3 + cumple: 83, + supera: 3, }, - 'teacher': 4.4, - 'jedi': 4.3 + teacher: 4.4, + jedi: 4.3, }, { - 'sprint': 3, - 'nps': { - 'promoters': 87, - 'passive': 15, - 'detractors': 8 + sprint: 3, + nps: { + promoters: 87, + passive: 15, + detractors: 8, }, - 'student': { + student: { 'no-cumple': 9, - 'cumple': 72, - 'supera': 19 + cumple: 72, + supera: 19, }, - 'teacher': 3.4, - 'jedi': 4.1 - } - ] - } + teacher: 3.4, + jedi: 4.1, + }, + ], + }, }, - 'CDMX': { + CDMX: { '2017-1': { - 'students': [ + students: [ { - 'name': 'Jada Curgenuer', - 'photo': 'http://dummyimage.com/133x195.png/cc0000/ffffff', - 'active': false, - 'sprints': [ + name: 'Jada Curgenuer', + photo: 'http://dummyimage.com/133x195.png/cc0000/ffffff', + active: false, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1483, - 'hse': 1154 - } + number: 1, + score: { + tech: 1483, + hse: 1154, + }, }, { - 'number': 2, - 'score': { - 'tech': 1335, - 'hse': 1009 - } + number: 2, + score: { + tech: 1335, + hse: 1009, + }, }, { - 'number': 3, - 'score': { - 'tech': 1069, - 'hse': 749 - } - } - ] + number: 3, + score: { + tech: 1069, + hse: 749, + }, + }, + ], }, { - 'name': 'Arleyne Olding', - 'photo': 'http://dummyimage.com/133x232.png/ff4444/ffffff', - 'active': true, - 'sprints': [ + name: 'Arleyne Olding', + photo: 'http://dummyimage.com/133x232.png/ff4444/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1702, - 'hse': 1155 - } + number: 1, + score: { + tech: 1702, + hse: 1155, + }, }, { - 'number': 2, - 'score': { - 'tech': 1436, - 'hse': 1048 - } + number: 2, + score: { + tech: 1436, + hse: 1048, + }, }, { - 'number': 3, - 'score': { - 'tech': 1002, - 'hse': 1148 - } - } - ] + number: 3, + score: { + tech: 1002, + hse: 1148, + }, + }, + ], }, { - 'name': 'Wendy Jillions', - 'photo': 'http://dummyimage.com/120x167.png/ff4444/ffffff', - 'active': false, - 'sprints': [ + name: 'Wendy Jillions', + photo: 'http://dummyimage.com/120x167.png/ff4444/ffffff', + active: false, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1660, - 'hse': 1165 - } + number: 1, + score: { + tech: 1660, + hse: 1165, + }, }, { - 'number': 2, - 'score': { - 'tech': 1704, - 'hse': 1059 - } + number: 2, + score: { + tech: 1704, + hse: 1059, + }, }, { - 'number': 3, - 'score': { - 'tech': 1674, - 'hse': 1194 - } - } - ] + number: 3, + score: { + tech: 1674, + hse: 1194, + }, + }, + ], }, { - 'name': 'Anabella Saurat', - 'photo': 'http://dummyimage.com/236x238.png/dddddd/000000', - 'active': false, - 'sprints': [ + name: 'Anabella Saurat', + photo: 'http://dummyimage.com/236x238.png/dddddd/000000', + active: false, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1720, - 'hse': 755 - } + number: 1, + score: { + tech: 1720, + hse: 755, + }, }, { - 'number': 2, - 'score': { - 'tech': 1795, - 'hse': 683 - } + number: 2, + score: { + tech: 1795, + hse: 683, + }, }, { - 'number': 3, - 'score': { - 'tech': 1203, - 'hse': 1171 - } - } - ] + number: 3, + score: { + tech: 1203, + hse: 1171, + }, + }, + ], }, { - 'name': 'Concordia Rook', - 'photo': 'http://dummyimage.com/172x117.png/ff4444/ffffff', - 'active': false, - 'sprints': [ + name: 'Concordia Rook', + photo: 'http://dummyimage.com/172x117.png/ff4444/ffffff', + active: false, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1529, - 'hse': 779 - } + number: 1, + score: { + tech: 1529, + hse: 779, + }, }, { - 'number': 2, - 'score': { - 'tech': 1285, - 'hse': 730 - } + number: 2, + score: { + tech: 1285, + hse: 730, + }, }, { - 'number': 3, - 'score': { - 'tech': 1508, - 'hse': 741 - } - } - ] + number: 3, + score: { + tech: 1508, + hse: 741, + }, + }, + ], }, { - 'name': 'Adelice Lantiffe', - 'photo': 'http://dummyimage.com/125x155.png/cc0000/ffffff', - 'active': true, - 'sprints': [ + name: 'Adelice Lantiffe', + photo: 'http://dummyimage.com/125x155.png/cc0000/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 980, - 'hse': 933 - } + number: 1, + score: { + tech: 980, + hse: 933, + }, }, { - 'number': 2, - 'score': { - 'tech': 1352, - 'hse': 781 - } + number: 2, + score: { + tech: 1352, + hse: 781, + }, }, { - 'number': 3, - 'score': { - 'tech': 1751, - 'hse': 874 - } - } - ] + number: 3, + score: { + tech: 1751, + hse: 874, + }, + }, + ], }, { - 'name': 'Jacintha Richen', - 'photo': 'http://dummyimage.com/166x195.png/cc0000/ffffff', - 'active': true, - 'sprints': [ + name: 'Jacintha Richen', + photo: 'http://dummyimage.com/166x195.png/cc0000/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1472, - 'hse': 1068 - } + number: 1, + score: { + tech: 1472, + hse: 1068, + }, }, { - 'number': 2, - 'score': { - 'tech': 1726, - 'hse': 849 - } + number: 2, + score: { + tech: 1726, + hse: 849, + }, }, { - 'number': 3, - 'score': { - 'tech': 1337, - 'hse': 661 - } - } - ] + number: 3, + score: { + tech: 1337, + hse: 661, + }, + }, + ], }, { - 'name': 'Layne Airds', - 'photo': 'http://dummyimage.com/106x124.png/dddddd/000000', - 'active': false, - 'sprints': [ + name: 'Layne Airds', + photo: 'http://dummyimage.com/106x124.png/dddddd/000000', + active: false, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 930, - 'hse': 1148 - } + number: 1, + score: { + tech: 930, + hse: 1148, + }, }, { - 'number': 2, - 'score': { - 'tech': 1799, - 'hse': 865 - } + number: 2, + score: { + tech: 1799, + hse: 865, + }, }, { - 'number': 3, - 'score': { - 'tech': 1265, - 'hse': 726 - } - } - ] + number: 3, + score: { + tech: 1265, + hse: 726, + }, + }, + ], }, { - 'name': 'Cammi Sowray', - 'photo': 'http://dummyimage.com/110x192.png/cc0000/ffffff', - 'active': false, - 'sprints': [ + name: 'Cammi Sowray', + photo: 'http://dummyimage.com/110x192.png/cc0000/ffffff', + active: false, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 934, - 'hse': 1100 - } + number: 1, + score: { + tech: 934, + hse: 1100, + }, }, { - 'number': 2, - 'score': { - 'tech': 1226, - 'hse': 633 - } + number: 2, + score: { + tech: 1226, + hse: 633, + }, }, { - 'number': 3, - 'score': { - 'tech': 1554, - 'hse': 944 - } - } - ] + number: 3, + score: { + tech: 1554, + hse: 944, + }, + }, + ], }, { - 'name': 'Nanice Ackeroyd', - 'photo': 'http://dummyimage.com/213x108.png/cc0000/ffffff', - 'active': true, - 'sprints': [ + name: 'Nanice Ackeroyd', + photo: 'http://dummyimage.com/213x108.png/cc0000/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1475, - 'hse': 672 - } + number: 1, + score: { + tech: 1475, + hse: 672, + }, }, { - 'number': 2, - 'score': { - 'tech': 1387, - 'hse': 1186 - } + number: 2, + score: { + tech: 1387, + hse: 1186, + }, }, { - 'number': 3, - 'score': { - 'tech': 912, - 'hse': 656 - } - } - ] + number: 3, + score: { + tech: 912, + hse: 656, + }, + }, + ], }, { - 'name': 'Darla Zorn', - 'photo': 'http://dummyimage.com/233x192.png/cc0000/ffffff', - 'active': false, - 'sprints': [ + name: 'Darla Zorn', + photo: 'http://dummyimage.com/233x192.png/cc0000/ffffff', + active: false, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1532, - 'hse': 662 - } + number: 1, + score: { + tech: 1532, + hse: 662, + }, }, { - 'number': 2, - 'score': { - 'tech': 1424, - 'hse': 631 - } + number: 2, + score: { + tech: 1424, + hse: 631, + }, }, { - 'number': 3, - 'score': { - 'tech': 975, - 'hse': 687 - } - } - ] + number: 3, + score: { + tech: 975, + hse: 687, + }, + }, + ], }, { - 'name': 'Darya De la Perrelle', - 'photo': 'http://dummyimage.com/196x198.png/5fa2dd/ffffff', - 'active': false, - 'sprints': [ + name: 'Darya De la Perrelle', + photo: 'http://dummyimage.com/196x198.png/5fa2dd/ffffff', + active: false, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1628, - 'hse': 939 - } + number: 1, + score: { + tech: 1628, + hse: 939, + }, }, { - 'number': 2, - 'score': { - 'tech': 1282, - 'hse': 727 - } + number: 2, + score: { + tech: 1282, + hse: 727, + }, }, { - 'number': 3, - 'score': { - 'tech': 1722, - 'hse': 1138 - } - } - ] + number: 3, + score: { + tech: 1722, + hse: 1138, + }, + }, + ], }, { - 'name': 'Michaeline Shuker', - 'photo': 'http://dummyimage.com/133x220.png/cc0000/ffffff', - 'active': false, - 'sprints': [ + name: 'Michaeline Shuker', + photo: 'http://dummyimage.com/133x220.png/cc0000/ffffff', + active: false, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1301, - 'hse': 660 - } + number: 1, + score: { + tech: 1301, + hse: 660, + }, }, { - 'number': 2, - 'score': { - 'tech': 1347, - 'hse': 784 - } + number: 2, + score: { + tech: 1347, + hse: 784, + }, }, { - 'number': 3, - 'score': { - 'tech': 1480, - 'hse': 969 - } - } - ] + number: 3, + score: { + tech: 1480, + hse: 969, + }, + }, + ], }, { - 'name': 'Jacinthe Dennitts', - 'photo': 'http://dummyimage.com/137x132.png/ff4444/ffffff', - 'active': false, - 'sprints': [ + name: 'Jacinthe Dennitts', + photo: 'http://dummyimage.com/137x132.png/ff4444/ffffff', + active: false, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1255, - 'hse': 1116 - } + number: 1, + score: { + tech: 1255, + hse: 1116, + }, }, { - 'number': 2, - 'score': { - 'tech': 1056, - 'hse': 648 - } + number: 2, + score: { + tech: 1056, + hse: 648, + }, }, { - 'number': 3, - 'score': { - 'tech': 982, - 'hse': 919 - } - } - ] + number: 3, + score: { + tech: 982, + hse: 919, + }, + }, + ], }, { - 'name': 'Lynde Buer', - 'photo': 'http://dummyimage.com/166x203.png/ff4444/ffffff', - 'active': false, - 'sprints': [ + name: 'Lynde Buer', + photo: 'http://dummyimage.com/166x203.png/ff4444/ffffff', + active: false, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 973, - 'hse': 678 - } + number: 1, + score: { + tech: 973, + hse: 678, + }, }, { - 'number': 2, - 'score': { - 'tech': 1411, - 'hse': 1192 - } + number: 2, + score: { + tech: 1411, + hse: 1192, + }, }, { - 'number': 3, - 'score': { - 'tech': 1749, - 'hse': 689 - } - } - ] + number: 3, + score: { + tech: 1749, + hse: 689, + }, + }, + ], }, { - 'name': 'Annnora Beste', - 'photo': 'http://dummyimage.com/187x107.png/ff4444/ffffff', - 'active': false, - 'sprints': [ + name: 'Annnora Beste', + photo: 'http://dummyimage.com/187x107.png/ff4444/ffffff', + active: false, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 970, - 'hse': 702 - } + number: 1, + score: { + tech: 970, + hse: 702, + }, }, { - 'number': 2, - 'score': { - 'tech': 1331, - 'hse': 986 - } + number: 2, + score: { + tech: 1331, + hse: 986, + }, }, { - 'number': 3, - 'score': { - 'tech': 950, - 'hse': 1129 - } - } - ] + number: 3, + score: { + tech: 950, + hse: 1129, + }, + }, + ], }, { - 'name': 'Tricia Meyer', - 'photo': 'http://dummyimage.com/167x153.png/5fa2dd/ffffff', - 'active': true, - 'sprints': [ + name: 'Tricia Meyer', + photo: 'http://dummyimage.com/167x153.png/5fa2dd/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1601, - 'hse': 912 - } + number: 1, + score: { + tech: 1601, + hse: 912, + }, }, { - 'number': 2, - 'score': { - 'tech': 1586, - 'hse': 830 - } + number: 2, + score: { + tech: 1586, + hse: 830, + }, }, { - 'number': 3, - 'score': { - 'tech': 1489, - 'hse': 1161 - } - } - ] + number: 3, + score: { + tech: 1489, + hse: 1161, + }, + }, + ], }, { - 'name': 'Katrine Dinneen', - 'photo': 'http://dummyimage.com/128x137.png/5fa2dd/ffffff', - 'active': false, - 'sprints': [ + name: 'Katrine Dinneen', + photo: 'http://dummyimage.com/128x137.png/5fa2dd/ffffff', + active: false, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1136, - 'hse': 1025 - } + number: 1, + score: { + tech: 1136, + hse: 1025, + }, }, { - 'number': 2, - 'score': { - 'tech': 1119, - 'hse': 976 - } + number: 2, + score: { + tech: 1119, + hse: 976, + }, }, { - 'number': 3, - 'score': { - 'tech': 1526, - 'hse': 676 - } - } - ] + number: 3, + score: { + tech: 1526, + hse: 676, + }, + }, + ], }, { - 'name': 'Helena Linneman', - 'photo': 'http://dummyimage.com/148x137.png/cc0000/ffffff', - 'active': false, - 'sprints': [ + name: 'Helena Linneman', + photo: 'http://dummyimage.com/148x137.png/cc0000/ffffff', + active: false, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1250, - 'hse': 985 - } + number: 1, + score: { + tech: 1250, + hse: 985, + }, }, { - 'number': 2, - 'score': { - 'tech': 1106, - 'hse': 1065 - } + number: 2, + score: { + tech: 1106, + hse: 1065, + }, }, { - 'number': 3, - 'score': { - 'tech': 1635, - 'hse': 648 - } - } - ] + number: 3, + score: { + tech: 1635, + hse: 648, + }, + }, + ], }, { - 'name': 'Ellynn Shilleto', - 'photo': 'http://dummyimage.com/135x173.png/5fa2dd/ffffff', - 'active': true, - 'sprints': [ + name: 'Ellynn Shilleto', + photo: 'http://dummyimage.com/135x173.png/5fa2dd/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1756, - 'hse': 672 - } + number: 1, + score: { + tech: 1756, + hse: 672, + }, }, { - 'number': 2, - 'score': { - 'tech': 1556, - 'hse': 919 - } + number: 2, + score: { + tech: 1556, + hse: 919, + }, }, { - 'number': 3, - 'score': { - 'tech': 1471, - 'hse': 1096 - } - } - ] + number: 3, + score: { + tech: 1471, + hse: 1096, + }, + }, + ], }, { - 'name': 'Sherri Wotherspoon', - 'photo': 'http://dummyimage.com/157x187.png/5fa2dd/ffffff', - 'active': false, - 'sprints': [ + name: 'Sherri Wotherspoon', + photo: 'http://dummyimage.com/157x187.png/5fa2dd/ffffff', + active: false, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1149, - 'hse': 876 - } - }, - { - 'number': 2, - 'score': { - 'tech': 1745, - 'hse': 781 - } - }, - { - 'number': 3, - 'score': { - 'tech': 1383, - 'hse': 699 - } - } - ] + number: 1, + score: { + tech: 1149, + hse: 876, + }, + }, + { + number: 2, + score: { + tech: 1745, + hse: 781, + }, + }, + { + number: 3, + score: { + tech: 1383, + hse: 699, + }, + }, + ], }, - { - 'name': 'Josie Southorn', - 'photo': 'http://dummyimage.com/118x201.png/5fa2dd/ffffff', - 'active': true, - 'sprints': [ + { + name: 'Josie Southorn', + photo: 'http://dummyimage.com/118x201.png/5fa2dd/ffffff', + active: true, + sprints: [ + { + number: 1, + score: { + tech: 1240, + hse: 682, + }, + }, + { + number: 2, + score: { + tech: 1395, + hse: 980, + }, + }, { - 'number': 1, - 'score': { - 'tech': 1240, - 'hse': 682 - } - }, - { - 'number': 2, - 'score': { - 'tech': 1395, - 'hse': 980 - } - }, - { - 'number': 3, - 'score': { - 'tech': 1604, - 'hse': 868 - } - } - ] + number: 3, + score: { + tech: 1604, + hse: 868, + }, + }, + ], }, - { - 'name': 'Carlynne Yo', - 'photo': 'http://dummyimage.com/240x147.png/dddddd/000000', - 'active': true, - 'sprints': [ + { + name: 'Carlynne Yo', + photo: 'http://dummyimage.com/240x147.png/dddddd/000000', + active: true, + sprints: [ + { + number: 1, + score: { + tech: 1551, + hse: 619, + }, + }, { - 'number': 1, - 'score': { - 'tech': 1551, - 'hse': 619 - } - }, - { - 'number': 2, - 'score': { - 'tech': 1694, - 'hse': 959 - } - }, - { - 'number': 3, - 'score': { - 'tech': 989, - 'hse': 976 - } - } - ] + number: 2, + score: { + tech: 1694, + hse: 959, + }, + }, + { + number: 3, + score: { + tech: 989, + hse: 976, + }, + }, + ], }, - { - 'name': 'Estrellita Llewhellin', - 'photo': 'http://dummyimage.com/167x140.png/dddddd/000000', - 'active': true, - 'sprints': [ + { + name: 'Estrellita Llewhellin', + photo: 'http://dummyimage.com/167x140.png/dddddd/000000', + active: true, + sprints: [ + { + number: 1, + score: { + tech: 1286, + hse: 662, + }, + }, { - 'number': 1, - 'score': { - 'tech': 1286, - 'hse': 662 - } - }, - { - 'number': 2, - 'score': { - 'tech': 1592, - 'hse': 891 - } - }, - { - 'number': 3, - 'score': { - 'tech': 969, - 'hse': 886 - } - } - ] - } + number: 2, + score: { + tech: 1592, + hse: 891, + }, + }, + { + number: 3, + score: { + tech: 969, + hse: 886, + }, + }, + ], + }, ], - 'ratings': [ + ratings: [ { - 'sprint': 1, - 'nps': { - 'promoters': 90, - 'passive': 7, - 'detractors': 3 + sprint: 1, + nps: { + promoters: 90, + passive: 7, + detractors: 3, }, - 'student': { + student: { 'no-cumple': 3, - 'cumple': 80, - 'supera': 17 + cumple: 80, + supera: 17, }, - 'teacher': 3.7, - 'jedi': 4.1 + teacher: 3.7, + jedi: 4.1, }, { - 'sprint': 2, - 'nps': { - 'promoters': 72, - 'passive': 18, - 'detractors': 10 + sprint: 2, + nps: { + promoters: 72, + passive: 18, + detractors: 10, }, - 'student': { + student: { 'no-cumple': 14, - 'cumple': 80, - 'supera': 6 + cumple: 80, + supera: 6, }, - 'teacher': 3.6, - 'jedi': 3.7 + teacher: 3.6, + jedi: 3.7, }, { - 'sprint': 3, - 'nps': { - 'promoters': 84, - 'passive': 16, - 'detractors': 0 + sprint: 3, + nps: { + promoters: 84, + passive: 16, + detractors: 0, }, - 'student': { + student: { 'no-cumple': 13, - 'cumple': 69, - 'supera': 18 + cumple: 69, + supera: 18, }, - 'teacher': 4.1, - 'jedi': 3.8 - } - ] + teacher: 4.1, + jedi: 3.8, + }, + ], }, '2017-2': { - 'students': [ + students: [ { - 'name': 'Julieta Readhead', - 'photo': 'http://dummyimage.com/119x227.png/ff4444/ffffff', - 'active': false, - 'sprints': [] + name: 'Julieta Readhead', + photo: 'http://dummyimage.com/119x227.png/ff4444/ffffff', + active: false, + sprints: [], }, { - 'name': 'Meg Bachellier', - 'photo': 'http://dummyimage.com/241x165.png/dddddd/000000', - 'active': false, - 'sprints': [] + name: 'Meg Bachellier', + photo: 'http://dummyimage.com/241x165.png/dddddd/000000', + active: false, + sprints: [], }, { - 'name': 'Katharina Ponton', - 'photo': 'http://dummyimage.com/206x204.png/dddddd/000000', - 'active': true, - 'sprints': [ + name: 'Katharina Ponton', + photo: 'http://dummyimage.com/206x204.png/dddddd/000000', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1006, - 'hse': 730 - } + number: 1, + score: { + tech: 1006, + hse: 730, + }, }, { - 'number': 2, - 'score': { - 'tech': 1015, - 'hse': 1145 - } - } - ] + number: 2, + score: { + tech: 1015, + hse: 1145, + }, + }, + ], }, { - 'name': 'Hephzibah Poschel', - 'photo': 'http://dummyimage.com/171x236.png/cc0000/ffffff', - 'active': true, - 'sprints': [ + name: 'Hephzibah Poschel', + photo: 'http://dummyimage.com/171x236.png/cc0000/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1326, - 'hse': 839 - } + number: 1, + score: { + tech: 1326, + hse: 839, + }, }, { - 'number': 2, - 'score': { - 'tech': 1503, - 'hse': 1007 - } - } - ] + number: 2, + score: { + tech: 1503, + hse: 1007, + }, + }, + ], }, { - 'name': 'Brigit Wildsmith', - 'photo': 'http://dummyimage.com/232x187.png/5fa2dd/ffffff', - 'active': false, - 'sprints': [] + name: 'Brigit Wildsmith', + photo: 'http://dummyimage.com/232x187.png/5fa2dd/ffffff', + active: false, + sprints: [], }, { - 'name': 'Kim Sacase', - 'photo': 'http://dummyimage.com/155x169.png/cc0000/ffffff', - 'active': false, - 'sprints': [] + name: 'Kim Sacase', + photo: 'http://dummyimage.com/155x169.png/cc0000/ffffff', + active: false, + sprints: [], }, { - 'name': 'Ericka Carnilian', - 'photo': 'http://dummyimage.com/106x168.png/5fa2dd/ffffff', - 'active': true, - 'sprints': [ + name: 'Ericka Carnilian', + photo: 'http://dummyimage.com/106x168.png/5fa2dd/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1218, - 'hse': 756 - } + number: 1, + score: { + tech: 1218, + hse: 756, + }, }, { - 'number': 2, - 'score': { - 'tech': 1261, - 'hse': 849 - } - } - ] + number: 2, + score: { + tech: 1261, + hse: 849, + }, + }, + ], }, { - 'name': 'Juieta Doghartie', - 'photo': 'http://dummyimage.com/194x195.png/dddddd/000000', - 'active': false, - 'sprints': [] + name: 'Juieta Doghartie', + photo: 'http://dummyimage.com/194x195.png/dddddd/000000', + active: false, + sprints: [], }, { - 'name': 'Selene Graysmark', - 'photo': 'http://dummyimage.com/133x235.png/cc0000/ffffff', - 'active': false, - 'sprints': [] + name: 'Selene Graysmark', + photo: 'http://dummyimage.com/133x235.png/cc0000/ffffff', + active: false, + sprints: [], }, { - 'name': 'Chantal Biernacki', - 'photo': 'http://dummyimage.com/124x200.png/5fa2dd/ffffff', - 'active': true, - 'sprints': [ + name: 'Chantal Biernacki', + photo: 'http://dummyimage.com/124x200.png/5fa2dd/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1035, - 'hse': 622 - } + number: 1, + score: { + tech: 1035, + hse: 622, + }, }, { - 'number': 2, - 'score': { - 'tech': 1067, - 'hse': 1097 - } - } - ] + number: 2, + score: { + tech: 1067, + hse: 1097, + }, + }, + ], }, { - 'name': 'Chelsey Crackett', - 'photo': 'http://dummyimage.com/212x115.png/5fa2dd/ffffff', - 'active': false, - 'sprints': [] + name: 'Chelsey Crackett', + photo: 'http://dummyimage.com/212x115.png/5fa2dd/ffffff', + active: false, + sprints: [], }, { - 'name': 'Bernadene Van Der Straaten', - 'photo': 'http://dummyimage.com/229x246.png/dddddd/000000', - 'active': true, - 'sprints': [ + name: 'Bernadene Van Der Straaten', + photo: 'http://dummyimage.com/229x246.png/dddddd/000000', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1401, - 'hse': 754 - } + number: 1, + score: { + tech: 1401, + hse: 754, + }, }, { - 'number': 2, - 'score': { - 'tech': 1501, - 'hse': 871 - } - } - ] + number: 2, + score: { + tech: 1501, + hse: 871, + }, + }, + ], }, { - 'name': 'Merry Seleway', - 'photo': 'http://dummyimage.com/235x163.png/5fa2dd/ffffff', - 'active': false, - 'sprints': [] + name: 'Merry Seleway', + photo: 'http://dummyimage.com/235x163.png/5fa2dd/ffffff', + active: false, + sprints: [], }, { - 'name': 'Tana Dodding', - 'photo': 'http://dummyimage.com/109x141.png/dddddd/000000', - 'active': false, - 'sprints': [] + name: 'Tana Dodding', + photo: 'http://dummyimage.com/109x141.png/dddddd/000000', + active: false, + sprints: [], }, { - 'name': 'Guendolen Kuhnwald', - 'photo': 'http://dummyimage.com/157x176.png/cc0000/ffffff', - 'active': true, - 'sprints': [ + name: 'Guendolen Kuhnwald', + photo: 'http://dummyimage.com/157x176.png/cc0000/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1206, - 'hse': 849 - } + number: 1, + score: { + tech: 1206, + hse: 849, + }, }, { - 'number': 2, - 'score': { - 'tech': 1378, - 'hse': 942 - } - } - ] + number: 2, + score: { + tech: 1378, + hse: 942, + }, + }, + ], }, { - 'name': 'Henriette Graddon', - 'photo': 'http://dummyimage.com/223x206.png/ff4444/ffffff', - 'active': false, - 'sprints': [] + name: 'Henriette Graddon', + photo: 'http://dummyimage.com/223x206.png/ff4444/ffffff', + active: false, + sprints: [], }, { - 'name': 'Odille Moncaster', - 'photo': 'http://dummyimage.com/133x126.png/dddddd/000000', - 'active': false, - 'sprints': [] + name: 'Odille Moncaster', + photo: 'http://dummyimage.com/133x126.png/dddddd/000000', + active: false, + sprints: [], }, { - 'name': 'Babs Bartoli', - 'photo': 'http://dummyimage.com/209x164.png/dddddd/000000', - 'active': false, - 'sprints': [] + name: 'Babs Bartoli', + photo: 'http://dummyimage.com/209x164.png/dddddd/000000', + active: false, + sprints: [], }, { - 'name': 'Janeva Archibald', - 'photo': 'http://dummyimage.com/110x173.png/dddddd/000000', - 'active': false, - 'sprints': [] + name: 'Janeva Archibald', + photo: 'http://dummyimage.com/110x173.png/dddddd/000000', + active: false, + sprints: [], }, { - 'name': 'Starla Wibrew', - 'photo': 'http://dummyimage.com/243x189.png/dddddd/000000', - 'active': false, - 'sprints': [] + name: 'Starla Wibrew', + photo: 'http://dummyimage.com/243x189.png/dddddd/000000', + active: false, + sprints: [], }, { - 'name': 'Petra Berceros', - 'photo': 'http://dummyimage.com/179x193.png/ff4444/ffffff', - 'active': false, - 'sprints': [] + name: 'Petra Berceros', + photo: 'http://dummyimage.com/179x193.png/ff4444/ffffff', + active: false, + sprints: [], }, { - 'name': 'Anitra Degoe', - 'photo': 'http://dummyimage.com/144x220.png/dddddd/000000', - 'active': true, - 'sprints': [ + name: 'Anitra Degoe', + photo: 'http://dummyimage.com/144x220.png/dddddd/000000', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 952, - 'hse': 878 - } + number: 1, + score: { + tech: 952, + hse: 878, + }, }, { - 'number': 2, - 'score': { - 'tech': 1465, - 'hse': 637 - } - } - ] + number: 2, + score: { + tech: 1465, + hse: 637, + }, + }, + ], }, { - 'name': 'Jo ann Kniveton', - 'photo': 'http://dummyimage.com/180x223.png/5fa2dd/ffffff', - 'active': true, - 'sprints': [ + name: 'Jo ann Kniveton', + photo: 'http://dummyimage.com/180x223.png/5fa2dd/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1197, - 'hse': 1122 - } + number: 1, + score: { + tech: 1197, + hse: 1122, + }, }, { - 'number': 2, - 'score': { - 'tech': 1579, - 'hse': 1083 - } - } - ] + number: 2, + score: { + tech: 1579, + hse: 1083, + }, + }, + ], }, { - 'name': 'Alice Gerg', - 'photo': 'http://dummyimage.com/190x244.png/cc0000/ffffff', - 'active': true, - 'sprints': [ + name: 'Alice Gerg', + photo: 'http://dummyimage.com/190x244.png/cc0000/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1378, - 'hse': 698 - } + number: 1, + score: { + tech: 1378, + hse: 698, + }, }, { - 'number': 2, - 'score': { - 'tech': 1561, - 'hse': 1031 - } - } - ] + number: 2, + score: { + tech: 1561, + hse: 1031, + }, + }, + ], }, { - 'name': 'Dawn Lathee', - 'photo': 'http://dummyimage.com/112x169.png/ff4444/ffffff', - 'active': true, - 'sprints': [ + name: 'Dawn Lathee', + photo: 'http://dummyimage.com/112x169.png/ff4444/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1575, - 'hse': 1194 - } + number: 1, + score: { + tech: 1575, + hse: 1194, + }, }, { - 'number': 2, - 'score': { - 'tech': 1529, - 'hse': 856 - } - } - ] + number: 2, + score: { + tech: 1529, + hse: 856, + }, + }, + ], }, { - 'name': 'Nixie Baskeyfield', - 'photo': 'http://dummyimage.com/220x118.png/cc0000/ffffff', - 'active': true, - 'sprints': [ + name: 'Nixie Baskeyfield', + photo: 'http://dummyimage.com/220x118.png/cc0000/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1246, - 'hse': 841 - } + number: 1, + score: { + tech: 1246, + hse: 841, + }, }, { - 'number': 2, - 'score': { - 'tech': 1619, - 'hse': 957 - } - } - ] + number: 2, + score: { + tech: 1619, + hse: 957, + }, + }, + ], }, { - 'name': 'Aveline Buckie', - 'photo': 'http://dummyimage.com/178x133.png/cc0000/ffffff', - 'active': false, - 'sprints': [] + name: 'Aveline Buckie', + photo: 'http://dummyimage.com/178x133.png/cc0000/ffffff', + active: false, + sprints: [], }, { - 'name': 'Annalee Zoren', - 'photo': 'http://dummyimage.com/227x207.png/ff4444/ffffff', - 'active': true, - 'sprints': [ + name: 'Annalee Zoren', + photo: 'http://dummyimage.com/227x207.png/ff4444/ffffff', + active: true, + sprints: [ + { + number: 1, + score: { + tech: 1050, + hse: 764, + }, + }, { - 'number': 1, - 'score': { - 'tech': 1050, - 'hse': 764 - } - }, - { - 'number': 2, - 'score': { - 'tech': 1561, - 'hse': 624 - } - } - ] + number: 2, + score: { + tech: 1561, + hse: 624, + }, + }, + ], }, { - 'name': 'Tandi Pering', - 'photo': 'http://dummyimage.com/216x211.png/ff4444/ffffff', - 'active': false, - 'sprints': [] + name: 'Tandi Pering', + photo: 'http://dummyimage.com/216x211.png/ff4444/ffffff', + active: false, + sprints: [], }, { - 'name': 'Cris Stoakes', - 'photo': 'http://dummyimage.com/172x105.png/dddddd/000000', - 'active': true, - 'sprints': [ + name: 'Cris Stoakes', + photo: 'http://dummyimage.com/172x105.png/dddddd/000000', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1078, - 'hse': 736 - } + number: 1, + score: { + tech: 1078, + hse: 736, + }, }, { - 'number': 2, - 'score': { - 'tech': 1076, - 'hse': 1069 - } - } - ] + number: 2, + score: { + tech: 1076, + hse: 1069, + }, + }, + ], }, { - 'name': 'Idell Matchett', - 'photo': 'http://dummyimage.com/247x229.png/dddddd/000000', - 'active': false, - 'sprints': [] + name: 'Idell Matchett', + photo: 'http://dummyimage.com/247x229.png/dddddd/000000', + active: false, + sprints: [], }, { - 'name': 'Janeta Windous', - 'photo': 'http://dummyimage.com/135x205.png/cc0000/ffffff', - 'active': false, - 'sprints': [] + name: 'Janeta Windous', + photo: 'http://dummyimage.com/135x205.png/cc0000/ffffff', + active: false, + sprints: [], }, { - 'name': 'Lacie Dakers', - 'photo': 'http://dummyimage.com/227x232.png/dddddd/000000', - 'active': true, - 'sprints': [ + name: 'Lacie Dakers', + photo: 'http://dummyimage.com/227x232.png/dddddd/000000', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1782, - 'hse': 1113 - } + number: 1, + score: { + tech: 1782, + hse: 1113, + }, }, { - 'number': 2, - 'score': { - 'tech': 996, - 'hse': 932 - } - } - ] + number: 2, + score: { + tech: 996, + hse: 932, + }, + }, + ], }, { - 'name': 'Fifi Youd', - 'photo': 'http://dummyimage.com/208x182.png/dddddd/000000', - 'active': true, - 'sprints': [ + name: 'Fifi Youd', + photo: 'http://dummyimage.com/208x182.png/dddddd/000000', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1213, - 'hse': 875 - } + number: 1, + score: { + tech: 1213, + hse: 875, + }, }, { - 'number': 2, - 'score': { - 'tech': 901, - 'hse': 747 - } - } - ] + number: 2, + score: { + tech: 901, + hse: 747, + }, + }, + ], }, { - 'name': 'Vera Bigg', - 'photo': 'http://dummyimage.com/128x196.png/ff4444/ffffff', - 'active': true, - 'sprints': [ + name: 'Vera Bigg', + photo: 'http://dummyimage.com/128x196.png/ff4444/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 968, - 'hse': 879 - } + number: 1, + score: { + tech: 968, + hse: 879, + }, }, { - 'number': 2, - 'score': { - 'tech': 1137, - 'hse': 718 - } - } - ] + number: 2, + score: { + tech: 1137, + hse: 718, + }, + }, + ], }, { - 'name': 'Ranice Denisovo', - 'photo': 'http://dummyimage.com/192x145.png/ff4444/ffffff', - 'active': false, - 'sprints': [] + name: 'Ranice Denisovo', + photo: 'http://dummyimage.com/192x145.png/ff4444/ffffff', + active: false, + sprints: [], }, { - 'name': 'Leland O\'Dunniom', - 'photo': 'http://dummyimage.com/209x199.png/cc0000/ffffff', - 'active': true, - 'sprints': [ + name: "Leland O'Dunniom", + photo: 'http://dummyimage.com/209x199.png/cc0000/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1533, - 'hse': 932 - } + number: 1, + score: { + tech: 1533, + hse: 932, + }, }, { - 'number': 2, - 'score': { - 'tech': 1349, - 'hse': 904 - } - } - ] + number: 2, + score: { + tech: 1349, + hse: 904, + }, + }, + ], }, { - 'name': 'Andy Warlowe', - 'photo': 'http://dummyimage.com/127x244.png/dddddd/000000', - 'active': true, - 'sprints': [ + name: 'Andy Warlowe', + photo: 'http://dummyimage.com/127x244.png/dddddd/000000', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1274, - 'hse': 824 - } + number: 1, + score: { + tech: 1274, + hse: 824, + }, }, { - 'number': 2, - 'score': { - 'tech': 1064, - 'hse': 698 - } - } - ] + number: 2, + score: { + tech: 1064, + hse: 698, + }, + }, + ], }, { - 'name': 'Fredrika Camosso', - 'photo': 'http://dummyimage.com/240x172.png/cc0000/ffffff', - 'active': false, - 'sprints': [] + name: 'Fredrika Camosso', + photo: 'http://dummyimage.com/240x172.png/cc0000/ffffff', + active: false, + sprints: [], }, { - 'name': 'Hetty McAlindon', - 'photo': 'http://dummyimage.com/165x184.png/5fa2dd/ffffff', - 'active': true, - 'sprints': [ + name: 'Hetty McAlindon', + photo: 'http://dummyimage.com/165x184.png/5fa2dd/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1297, - 'hse': 805 - } + number: 1, + score: { + tech: 1297, + hse: 805, + }, }, { - 'number': 2, - 'score': { - 'tech': 1534, - 'hse': 605 - } - } - ] + number: 2, + score: { + tech: 1534, + hse: 605, + }, + }, + ], }, { - 'name': 'Francisca Gibke', - 'photo': 'http://dummyimage.com/103x204.png/ff4444/ffffff', - 'active': false, - 'sprints': [] + name: 'Francisca Gibke', + photo: 'http://dummyimage.com/103x204.png/ff4444/ffffff', + active: false, + sprints: [], }, { - 'name': 'Bliss Gligoraci', - 'photo': 'http://dummyimage.com/122x125.png/dddddd/000000', - 'active': true, - 'sprints': [ + name: 'Bliss Gligoraci', + photo: 'http://dummyimage.com/122x125.png/dddddd/000000', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1122, - 'hse': 870 - } + number: 1, + score: { + tech: 1122, + hse: 870, + }, }, { - 'number': 2, - 'score': { - 'tech': 1427, - 'hse': 763 - } - } - ] + number: 2, + score: { + tech: 1427, + hse: 763, + }, + }, + ], }, { - 'name': 'Rochelle Quarlis', - 'photo': 'http://dummyimage.com/151x164.png/dddddd/000000', - 'active': false, - 'sprints': [] + name: 'Rochelle Quarlis', + photo: 'http://dummyimage.com/151x164.png/dddddd/000000', + active: false, + sprints: [], }, { - 'name': 'Dorthea Ricoald', - 'photo': 'http://dummyimage.com/203x178.png/cc0000/ffffff', - 'active': false, - 'sprints': [] + name: 'Dorthea Ricoald', + photo: 'http://dummyimage.com/203x178.png/cc0000/ffffff', + active: false, + sprints: [], }, { - 'name': 'Sadye Buller', - 'photo': 'http://dummyimage.com/185x164.png/ff4444/ffffff', - 'active': true, - 'sprints': [ + name: 'Sadye Buller', + photo: 'http://dummyimage.com/185x164.png/ff4444/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 942, - 'hse': 770 - } + number: 1, + score: { + tech: 942, + hse: 770, + }, }, { - 'number': 2, - 'score': { - 'tech': 1542, - 'hse': 801 - } - } - ] + number: 2, + score: { + tech: 1542, + hse: 801, + }, + }, + ], }, { - 'name': 'Lilly Nabarro', - 'photo': 'http://dummyimage.com/175x173.png/cc0000/ffffff', - 'active': false, - 'sprints': [] - } + name: 'Lilly Nabarro', + photo: 'http://dummyimage.com/175x173.png/cc0000/ffffff', + active: false, + sprints: [], + }, ], - 'ratings': [ + ratings: [ { - 'sprint': 1, - 'nps': { - 'promoters': 87, - 'passive': 8, - 'detractors': 5 + sprint: 1, + nps: { + promoters: 87, + passive: 8, + detractors: 5, }, - 'student': { + student: { 'no-cumple': 9, - 'cumple': 82, - 'supera': 9 + cumple: 82, + supera: 9, }, - 'teacher': 4.4, - 'jedi': 4.7 + teacher: 4.4, + jedi: 4.7, }, { - 'sprint': 2, - 'nps': { - 'promoters': 97, - 'passive': 3, - 'detractors': 0 + sprint: 2, + nps: { + promoters: 97, + passive: 3, + detractors: 0, }, - 'student': { + student: { 'no-cumple': 6, - 'cumple': 75, - 'supera': 19 + cumple: 75, + supera: 19, }, - 'teacher': 4.1, - 'jedi': 4.2 - } - ] - } + teacher: 4.1, + jedi: 4.2, + }, + ], + }, }, - 'LIM': { + LIM: { '2016-2': { - 'students': [ + students: [ { - 'name': 'Shalna Peddersen', - 'photo': 'http://dummyimage.com/194x213.png/dddddd/000000', - 'active': true, - 'sprints': [ + name: 'Shalna Peddersen', + photo: 'http://dummyimage.com/194x213.png/dddddd/000000', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1127, - 'hse': 615 - } + number: 1, + score: { + tech: 1127, + hse: 615, + }, }, { - 'number': 2, - 'score': { - 'tech': 1611, - 'hse': 1157 - } - } - ] + number: 2, + score: { + tech: 1611, + hse: 1157, + }, + }, + ], }, { - 'name': 'Mari Colin', - 'photo': 'http://dummyimage.com/112x168.png/ff4444/ffffff', - 'active': false, - 'sprints': [] + name: 'Mari Colin', + photo: 'http://dummyimage.com/112x168.png/ff4444/ffffff', + active: false, + sprints: [], }, { - 'name': 'Darlene von Grollmann', - 'photo': 'http://dummyimage.com/128x172.png/dddddd/000000', - 'active': false, - 'sprints': [] + name: 'Darlene von Grollmann', + photo: 'http://dummyimage.com/128x172.png/dddddd/000000', + active: false, + sprints: [], }, { - 'name': 'Aloysia Pioch', - 'photo': 'http://dummyimage.com/168x210.png/dddddd/000000', - 'active': false, - 'sprints': [] + name: 'Aloysia Pioch', + photo: 'http://dummyimage.com/168x210.png/dddddd/000000', + active: false, + sprints: [], }, { - 'name': 'Libby Wincer', - 'photo': 'http://dummyimage.com/211x147.png/ff4444/ffffff', - 'active': false, - 'sprints': [] + name: 'Libby Wincer', + photo: 'http://dummyimage.com/211x147.png/ff4444/ffffff', + active: false, + sprints: [], }, { - 'name': 'Rhoda Brew', - 'photo': 'http://dummyimage.com/118x104.png/dddddd/000000', - 'active': true, - 'sprints': [ + name: 'Rhoda Brew', + photo: 'http://dummyimage.com/118x104.png/dddddd/000000', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 908, - 'hse': 1068 - } + number: 1, + score: { + tech: 908, + hse: 1068, + }, }, { - 'number': 2, - 'score': { - 'tech': 1782, - 'hse': 1174 - } - } - ] + number: 2, + score: { + tech: 1782, + hse: 1174, + }, + }, + ], }, { - 'name': 'Lezlie Rentoul', - 'photo': 'http://dummyimage.com/138x122.png/cc0000/ffffff', - 'active': true, - 'sprints': [ + name: 'Lezlie Rentoul', + photo: 'http://dummyimage.com/138x122.png/cc0000/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1599, - 'hse': 1194 - } + number: 1, + score: { + tech: 1599, + hse: 1194, + }, }, { - 'number': 2, - 'score': { - 'tech': 1611, - 'hse': 1104 - } - } - ] + number: 2, + score: { + tech: 1611, + hse: 1104, + }, + }, + ], }, { - 'name': 'Ulrikaumeko Batchelor', - 'photo': 'http://dummyimage.com/244x172.png/5fa2dd/ffffff', - 'active': true, - 'sprints': [ + name: 'Ulrikaumeko Batchelor', + photo: 'http://dummyimage.com/244x172.png/5fa2dd/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 915, - 'hse': 862 - } + number: 1, + score: { + tech: 915, + hse: 862, + }, }, { - 'number': 2, - 'score': { - 'tech': 1235, - 'hse': 1132 - } - } - ] + number: 2, + score: { + tech: 1235, + hse: 1132, + }, + }, + ], }, { - 'name': 'Selene Rylands', - 'photo': 'http://dummyimage.com/199x152.png/5fa2dd/ffffff', - 'active': false, - 'sprints': [] + name: 'Selene Rylands', + photo: 'http://dummyimage.com/199x152.png/5fa2dd/ffffff', + active: false, + sprints: [], }, { - 'name': 'Sibilla Sames', - 'photo': 'http://dummyimage.com/241x162.png/5fa2dd/ffffff', - 'active': true, - 'sprints': [ + name: 'Sibilla Sames', + photo: 'http://dummyimage.com/241x162.png/5fa2dd/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1349, - 'hse': 1126 - } + number: 1, + score: { + tech: 1349, + hse: 1126, + }, }, { - 'number': 2, - 'score': { - 'tech': 1043, - 'hse': 1054 - } - } - ] + number: 2, + score: { + tech: 1043, + hse: 1054, + }, + }, + ], }, { - 'name': 'Hilde Reddoch', - 'photo': 'http://dummyimage.com/247x224.png/dddddd/000000', - 'active': true, - 'sprints': [ + name: 'Hilde Reddoch', + photo: 'http://dummyimage.com/247x224.png/dddddd/000000', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1728, - 'hse': 980 - } + number: 1, + score: { + tech: 1728, + hse: 980, + }, }, { - 'number': 2, - 'score': { - 'tech': 1526, - 'hse': 1028 - } - } - ] + number: 2, + score: { + tech: 1526, + hse: 1028, + }, + }, + ], }, { - 'name': 'Doro Tesimon', - 'photo': 'http://dummyimage.com/205x245.png/5fa2dd/ffffff', - 'active': false, - 'sprints': [] + name: 'Doro Tesimon', + photo: 'http://dummyimage.com/205x245.png/5fa2dd/ffffff', + active: false, + sprints: [], }, { - 'name': 'Nadean Chastney', - 'photo': 'http://dummyimage.com/194x250.png/cc0000/ffffff', - 'active': false, - 'sprints': [] + name: 'Nadean Chastney', + photo: 'http://dummyimage.com/194x250.png/cc0000/ffffff', + active: false, + sprints: [], }, { - 'name': 'Lorrie Phythian', - 'photo': 'http://dummyimage.com/122x121.png/ff4444/ffffff', - 'active': false, - 'sprints': [] + name: 'Lorrie Phythian', + photo: 'http://dummyimage.com/122x121.png/ff4444/ffffff', + active: false, + sprints: [], }, { - 'name': 'Katey Calliss', - 'photo': 'http://dummyimage.com/148x137.png/5fa2dd/ffffff', - 'active': true, - 'sprints': [ + name: 'Katey Calliss', + photo: 'http://dummyimage.com/148x137.png/5fa2dd/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1084, - 'hse': 755 - } + number: 1, + score: { + tech: 1084, + hse: 755, + }, }, { - 'number': 2, - 'score': { - 'tech': 982, - 'hse': 604 - } - } - ] + number: 2, + score: { + tech: 982, + hse: 604, + }, + }, + ], }, { - 'name': 'Doralin Raittie', - 'photo': 'http://dummyimage.com/204x223.png/cc0000/ffffff', - 'active': true, - 'sprints': [ + name: 'Doralin Raittie', + photo: 'http://dummyimage.com/204x223.png/cc0000/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1237, - 'hse': 838 - } + number: 1, + score: { + tech: 1237, + hse: 838, + }, }, { - 'number': 2, - 'score': { - 'tech': 1514, - 'hse': 739 - } - } - ] + number: 2, + score: { + tech: 1514, + hse: 739, + }, + }, + ], }, { - 'name': 'Dorise Dury', - 'photo': 'http://dummyimage.com/117x203.png/ff4444/ffffff', - 'active': false, - 'sprints': [] + name: 'Dorise Dury', + photo: 'http://dummyimage.com/117x203.png/ff4444/ffffff', + active: false, + sprints: [], }, { - 'name': 'Moyna Rosgen', - 'photo': 'http://dummyimage.com/204x208.png/5fa2dd/ffffff', - 'active': false, - 'sprints': [] + name: 'Moyna Rosgen', + photo: 'http://dummyimage.com/204x208.png/5fa2dd/ffffff', + active: false, + sprints: [], }, { - 'name': 'Bathsheba Nowak', - 'photo': 'http://dummyimage.com/163x188.png/cc0000/ffffff', - 'active': true, - 'sprints': [ + name: 'Bathsheba Nowak', + photo: 'http://dummyimage.com/163x188.png/cc0000/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 970, - 'hse': 925 - } + number: 1, + score: { + tech: 970, + hse: 925, + }, }, { - 'number': 2, - 'score': { - 'tech': 1117, - 'hse': 936 - } - } - ] + number: 2, + score: { + tech: 1117, + hse: 936, + }, + }, + ], }, { - 'name': 'Camille Trude', - 'photo': 'http://dummyimage.com/158x245.png/ff4444/ffffff', - 'active': false, - 'sprints': [] + name: 'Camille Trude', + photo: 'http://dummyimage.com/158x245.png/ff4444/ffffff', + active: false, + sprints: [], }, { - 'name': 'Hettie Downie', - 'photo': 'http://dummyimage.com/203x182.png/cc0000/ffffff', - 'active': false, - 'sprints': [] + name: 'Hettie Downie', + photo: 'http://dummyimage.com/203x182.png/cc0000/ffffff', + active: false, + sprints: [], }, { - 'name': 'Lynne Rennix', - 'photo': 'http://dummyimage.com/249x231.png/cc0000/ffffff', - 'active': false, - 'sprints': [] + name: 'Lynne Rennix', + photo: 'http://dummyimage.com/249x231.png/cc0000/ffffff', + active: false, + sprints: [], }, { - 'name': 'Aurelie Snelgrove', - 'photo': 'http://dummyimage.com/232x210.png/dddddd/000000', - 'active': true, - 'sprints': [ + name: 'Aurelie Snelgrove', + photo: 'http://dummyimage.com/232x210.png/dddddd/000000', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1482, - 'hse': 610 - } + number: 1, + score: { + tech: 1482, + hse: 610, + }, }, { - 'number': 2, - 'score': { - 'tech': 1758, - 'hse': 1061 - } - } - ] + number: 2, + score: { + tech: 1758, + hse: 1061, + }, + }, + ], }, { - 'name': 'Denice Paskerful', - 'photo': 'http://dummyimage.com/192x140.png/cc0000/ffffff', - 'active': true, - 'sprints': [ + name: 'Denice Paskerful', + photo: 'http://dummyimage.com/192x140.png/cc0000/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1670, - 'hse': 1038 - } + number: 1, + score: { + tech: 1670, + hse: 1038, + }, }, { - 'number': 2, - 'score': { - 'tech': 1425, - 'hse': 776 - } - } - ] + number: 2, + score: { + tech: 1425, + hse: 776, + }, + }, + ], }, { - 'name': 'Kelsi Pashan', - 'photo': 'http://dummyimage.com/171x100.png/cc0000/ffffff', - 'active': true, - 'sprints': [ + name: 'Kelsi Pashan', + photo: 'http://dummyimage.com/171x100.png/cc0000/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1776, - 'hse': 1075 - } + number: 1, + score: { + tech: 1776, + hse: 1075, + }, }, { - 'number': 2, - 'score': { - 'tech': 1034, - 'hse': 953 - } - } - ] + number: 2, + score: { + tech: 1034, + hse: 953, + }, + }, + ], }, { - 'name': 'Ceil Robertsson', - 'photo': 'http://dummyimage.com/169x244.png/ff4444/ffffff', - 'active': false, - 'sprints': [] + name: 'Ceil Robertsson', + photo: 'http://dummyimage.com/169x244.png/ff4444/ffffff', + active: false, + sprints: [], }, { - 'name': 'Sandye Mallaby', - 'photo': 'http://dummyimage.com/218x123.png/dddddd/000000', - 'active': false, - 'sprints': [] + name: 'Sandye Mallaby', + photo: 'http://dummyimage.com/218x123.png/dddddd/000000', + active: false, + sprints: [], }, { - 'name': 'Essy Teresa', - 'photo': 'http://dummyimage.com/177x112.png/5fa2dd/ffffff', - 'active': true, - 'sprints': [ + name: 'Essy Teresa', + photo: 'http://dummyimage.com/177x112.png/5fa2dd/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 903, - 'hse': 801 - } + number: 1, + score: { + tech: 903, + hse: 801, + }, }, { - 'number': 2, - 'score': { - 'tech': 1123, - 'hse': 600 - } - } - ] + number: 2, + score: { + tech: 1123, + hse: 600, + }, + }, + ], }, { - 'name': 'Michele Rupp', - 'photo': 'http://dummyimage.com/102x178.png/ff4444/ffffff', - 'active': true, - 'sprints': [ + name: 'Michele Rupp', + photo: 'http://dummyimage.com/102x178.png/ff4444/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1213, - 'hse': 1068 - } + number: 1, + score: { + tech: 1213, + hse: 1068, + }, }, { - 'number': 2, - 'score': { - 'tech': 1560, - 'hse': 1180 - } - } - ] + number: 2, + score: { + tech: 1560, + hse: 1180, + }, + }, + ], }, { - 'name': 'Angeline Winning', - 'photo': 'http://dummyimage.com/242x230.png/ff4444/ffffff', - 'active': false, - 'sprints': [] + name: 'Angeline Winning', + photo: 'http://dummyimage.com/242x230.png/ff4444/ffffff', + active: false, + sprints: [], }, { - 'name': 'Elissa Thinn', - 'photo': 'http://dummyimage.com/174x225.png/dddddd/000000', - 'active': false, - 'sprints': [] + name: 'Elissa Thinn', + photo: 'http://dummyimage.com/174x225.png/dddddd/000000', + active: false, + sprints: [], }, { - 'name': 'Elga Chitham', - 'photo': 'http://dummyimage.com/133x134.png/ff4444/ffffff', - 'active': true, - 'sprints': [ + name: 'Elga Chitham', + photo: 'http://dummyimage.com/133x134.png/ff4444/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1740, - 'hse': 708 - } + number: 1, + score: { + tech: 1740, + hse: 708, + }, + }, + { + number: 2, + score: { + tech: 1406, + hse: 846, + }, }, - { - 'number': 2, - 'score': { - 'tech': 1406, - 'hse': 846 - } - } - ] + ], }, { - 'name': 'Gale Styan', - 'photo': 'http://dummyimage.com/181x177.png/cc0000/ffffff', - 'active': false, - 'sprints': [] + name: 'Gale Styan', + photo: 'http://dummyimage.com/181x177.png/cc0000/ffffff', + active: false, + sprints: [], }, { - 'name': 'Adelice Labden', - 'photo': 'http://dummyimage.com/131x197.png/dddddd/000000', - 'active': true, - 'sprints': [ + name: 'Adelice Labden', + photo: 'http://dummyimage.com/131x197.png/dddddd/000000', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1766, - 'hse': 652 - } + number: 1, + score: { + tech: 1766, + hse: 652, + }, }, { - 'number': 2, - 'score': { - 'tech': 1377, - 'hse': 790 - } - } - ] + number: 2, + score: { + tech: 1377, + hse: 790, + }, + }, + ], }, { - 'name': 'Hollyanne Nestor', - 'photo': 'http://dummyimage.com/160x129.png/cc0000/ffffff', - 'active': false, - 'sprints': [] - } + name: 'Hollyanne Nestor', + photo: 'http://dummyimage.com/160x129.png/cc0000/ffffff', + active: false, + sprints: [], + }, ], - 'ratings': [ + ratings: [ { - 'sprint': 1, - 'nps': { - 'promoters': 88, - 'passive': 6, - 'detractors': 6 + sprint: 1, + nps: { + promoters: 88, + passive: 6, + detractors: 6, }, - 'student': { + student: { 'no-cumple': 15, - 'cumple': 80, - 'supera': 5 + cumple: 80, + supera: 5, }, - 'teacher': 4.0, - 'jedi': 4.6 + teacher: 4.0, + jedi: 4.6, }, { - 'sprint': 2, - 'nps': { - 'promoters': 84, - 'passive': 8, - 'detractors': 8 + sprint: 2, + nps: { + promoters: 84, + passive: 8, + detractors: 8, }, - 'student': { + student: { 'no-cumple': 16, - 'cumple': 67, - 'supera': 17 + cumple: 67, + supera: 17, }, - 'teacher': 4.2, - 'jedi': 4.8 - } - ] + teacher: 4.2, + jedi: 4.8, + }, + ], }, '2017-1': { - 'students': [ + students: [ { - 'name': 'Marie-jeanne Bardwall', - 'photo': 'http://dummyimage.com/237x134.png/5fa2dd/ffffff', - 'active': true, - 'sprints': [ + name: 'Marie-jeanne Bardwall', + photo: 'http://dummyimage.com/237x134.png/5fa2dd/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1175, - 'hse': 623 - } + number: 1, + score: { + tech: 1175, + hse: 623, + }, }, { - 'number': 2, - 'score': { - 'tech': 1316, - 'hse': 1056 - } + number: 2, + score: { + tech: 1316, + hse: 1056, + }, }, { - 'number': 3, - 'score': { - 'tech': 1719, - 'hse': 819 - } + number: 3, + score: { + tech: 1719, + hse: 819, + }, }, { - 'number': 4, - 'score': { - 'tech': 1667, - 'hse': 810 - } - } - ] + number: 4, + score: { + tech: 1667, + hse: 810, + }, + }, + ], }, { - 'name': 'Pattie Gregoriou', - 'photo': 'http://dummyimage.com/176x195.png/ff4444/ffffff', - 'active': false, - 'sprints': [] + name: 'Pattie Gregoriou', + photo: 'http://dummyimage.com/176x195.png/ff4444/ffffff', + active: false, + sprints: [], }, { - 'name': 'Shir Harridge', - 'photo': 'http://dummyimage.com/180x120.png/ff4444/ffffff', - 'active': true, - 'sprints': [ + name: 'Shir Harridge', + photo: 'http://dummyimage.com/180x120.png/ff4444/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1288, - 'hse': 735 - } + number: 1, + score: { + tech: 1288, + hse: 735, + }, }, { - 'number': 2, - 'score': { - 'tech': 1101, - 'hse': 915 - } + number: 2, + score: { + tech: 1101, + hse: 915, + }, }, { - 'number': 3, - 'score': { - 'tech': 1676, - 'hse': 866 - } + number: 3, + score: { + tech: 1676, + hse: 866, + }, }, { - 'number': 4, - 'score': { - 'tech': 1535, - 'hse': 1066 - } - } - ] + number: 4, + score: { + tech: 1535, + hse: 1066, + }, + }, + ], }, { - 'name': 'Debora Gallen', - 'photo': 'http://dummyimage.com/123x243.png/5fa2dd/ffffff', - 'active': false, - 'sprints': [] + name: 'Debora Gallen', + photo: 'http://dummyimage.com/123x243.png/5fa2dd/ffffff', + active: false, + sprints: [], }, { - 'name': 'Margarethe Trippett', - 'photo': 'http://dummyimage.com/147x141.png/5fa2dd/ffffff', - 'active': true, - 'sprints': [ + name: 'Margarethe Trippett', + photo: 'http://dummyimage.com/147x141.png/5fa2dd/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1712, - 'hse': 683 - } + number: 1, + score: { + tech: 1712, + hse: 683, + }, }, { - 'number': 2, - 'score': { - 'tech': 966, - 'hse': 990 - } + number: 2, + score: { + tech: 966, + hse: 990, + }, }, { - 'number': 3, - 'score': { - 'tech': 1198, - 'hse': 1041 - } + number: 3, + score: { + tech: 1198, + hse: 1041, + }, }, { - 'number': 4, - 'score': { - 'tech': 1408, - 'hse': 693 - } - } - ] + number: 4, + score: { + tech: 1408, + hse: 693, + }, + }, + ], }, { - 'name': 'Milissent Iacovone', - 'photo': 'http://dummyimage.com/186x164.png/cc0000/ffffff', - 'active': true, - 'sprints': [ + name: 'Milissent Iacovone', + photo: 'http://dummyimage.com/186x164.png/cc0000/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1157, - 'hse': 1007 - } + number: 1, + score: { + tech: 1157, + hse: 1007, + }, }, { - 'number': 2, - 'score': { - 'tech': 1686, - 'hse': 875 - } + number: 2, + score: { + tech: 1686, + hse: 875, + }, }, { - 'number': 3, - 'score': { - 'tech': 1215, - 'hse': 988 - } + number: 3, + score: { + tech: 1215, + hse: 988, + }, }, { - 'number': 4, - 'score': { - 'tech': 1022, - 'hse': 978 - } - } - ] + number: 4, + score: { + tech: 1022, + hse: 978, + }, + }, + ], }, { - 'name': 'Cicely MacMeekan', - 'photo': 'http://dummyimage.com/177x116.png/ff4444/ffffff', - 'active': true, - 'sprints': [ + name: 'Cicely MacMeekan', + photo: 'http://dummyimage.com/177x116.png/ff4444/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1139, - 'hse': 714 - } + number: 1, + score: { + tech: 1139, + hse: 714, + }, }, { - 'number': 2, - 'score': { - 'tech': 968, - 'hse': 1060 - } + number: 2, + score: { + tech: 968, + hse: 1060, + }, }, { - 'number': 3, - 'score': { - 'tech': 1008, - 'hse': 919 - } + number: 3, + score: { + tech: 1008, + hse: 919, + }, }, { - 'number': 4, - 'score': { - 'tech': 1497, - 'hse': 703 - } - } - ] + number: 4, + score: { + tech: 1497, + hse: 703, + }, + }, + ], }, { - 'name': 'Milissent Blaycock', - 'photo': 'http://dummyimage.com/164x215.png/cc0000/ffffff', - 'active': true, - 'sprints': [ + name: 'Milissent Blaycock', + photo: 'http://dummyimage.com/164x215.png/cc0000/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1290, - 'hse': 1117 - } + number: 1, + score: { + tech: 1290, + hse: 1117, + }, }, { - 'number': 2, - 'score': { - 'tech': 1223, - 'hse': 1181 - } + number: 2, + score: { + tech: 1223, + hse: 1181, + }, }, { - 'number': 3, - 'score': { - 'tech': 1735, - 'hse': 1031 - } + number: 3, + score: { + tech: 1735, + hse: 1031, + }, }, { - 'number': 4, - 'score': { - 'tech': 984, - 'hse': 1038 - } - } - ] + number: 4, + score: { + tech: 984, + hse: 1038, + }, + }, + ], }, { - 'name': 'Lenette Berkowitz', - 'photo': 'http://dummyimage.com/117x143.png/cc0000/ffffff', - 'active': true, - 'sprints': [ + name: 'Lenette Berkowitz', + photo: 'http://dummyimage.com/117x143.png/cc0000/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1076, - 'hse': 995 - } + number: 1, + score: { + tech: 1076, + hse: 995, + }, }, { - 'number': 2, - 'score': { - 'tech': 1695, - 'hse': 682 - } + number: 2, + score: { + tech: 1695, + hse: 682, + }, }, { - 'number': 3, - 'score': { - 'tech': 906, - 'hse': 706 - } + number: 3, + score: { + tech: 906, + hse: 706, + }, }, { - 'number': 4, - 'score': { - 'tech': 1179, - 'hse': 1173 - } - } - ] + number: 4, + score: { + tech: 1179, + hse: 1173, + }, + }, + ], }, { - 'name': 'Raquela Lummis', - 'photo': 'http://dummyimage.com/188x108.png/5fa2dd/ffffff', - 'active': true, - 'sprints': [ + name: 'Raquela Lummis', + photo: 'http://dummyimage.com/188x108.png/5fa2dd/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1403, - 'hse': 662 - } + number: 1, + score: { + tech: 1403, + hse: 662, + }, }, { - 'number': 2, - 'score': { - 'tech': 943, - 'hse': 948 - } + number: 2, + score: { + tech: 943, + hse: 948, + }, }, { - 'number': 3, - 'score': { - 'tech': 1191, - 'hse': 721 - } + number: 3, + score: { + tech: 1191, + hse: 721, + }, }, { - 'number': 4, - 'score': { - 'tech': 1243, - 'hse': 618 - } - } - ] + number: 4, + score: { + tech: 1243, + hse: 618, + }, + }, + ], }, { - 'name': 'Lina Handscomb', - 'photo': 'http://dummyimage.com/188x247.png/dddddd/000000', - 'active': true, - 'sprints': [ + name: 'Lina Handscomb', + photo: 'http://dummyimage.com/188x247.png/dddddd/000000', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1480, - 'hse': 1000 - } + number: 1, + score: { + tech: 1480, + hse: 1000, + }, }, { - 'number': 2, - 'score': { - 'tech': 1297, - 'hse': 1185 - } + number: 2, + score: { + tech: 1297, + hse: 1185, + }, }, { - 'number': 3, - 'score': { - 'tech': 1678, - 'hse': 825 - } + number: 3, + score: { + tech: 1678, + hse: 825, + }, }, { - 'number': 4, - 'score': { - 'tech': 1226, - 'hse': 1014 - } - } - ] + number: 4, + score: { + tech: 1226, + hse: 1014, + }, + }, + ], }, { - 'name': 'Corrina Fahrenbach', - 'photo': 'http://dummyimage.com/169x187.png/5fa2dd/ffffff', - 'active': true, - 'sprints': [ + name: 'Corrina Fahrenbach', + photo: 'http://dummyimage.com/169x187.png/5fa2dd/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 997, - 'hse': 631 - } + number: 1, + score: { + tech: 997, + hse: 631, + }, }, { - 'number': 2, - 'score': { - 'tech': 1034, - 'hse': 712 - } + number: 2, + score: { + tech: 1034, + hse: 712, + }, }, { - 'number': 3, - 'score': { - 'tech': 1370, - 'hse': 711 - } + number: 3, + score: { + tech: 1370, + hse: 711, + }, }, { - 'number': 4, - 'score': { - 'tech': 1607, - 'hse': 911 - } - } - ] + number: 4, + score: { + tech: 1607, + hse: 911, + }, + }, + ], }, { - 'name': 'Jere Andre', - 'photo': 'http://dummyimage.com/237x131.png/dddddd/000000', - 'active': true, - 'sprints': [ + name: 'Jere Andre', + photo: 'http://dummyimage.com/237x131.png/dddddd/000000', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1648, - 'hse': 959 - } + number: 1, + score: { + tech: 1648, + hse: 959, + }, }, { - 'number': 2, - 'score': { - 'tech': 1351, - 'hse': 1059 - } + number: 2, + score: { + tech: 1351, + hse: 1059, + }, }, { - 'number': 3, - 'score': { - 'tech': 1103, - 'hse': 945 - } + number: 3, + score: { + tech: 1103, + hse: 945, + }, }, { - 'number': 4, - 'score': { - 'tech': 1274, - 'hse': 814 - } - } - ] + number: 4, + score: { + tech: 1274, + hse: 814, + }, + }, + ], }, { - 'name': 'Kaye Heningham', - 'photo': 'http://dummyimage.com/186x194.png/dddddd/000000', - 'active': false, - 'sprints': [] + name: 'Kaye Heningham', + photo: 'http://dummyimage.com/186x194.png/dddddd/000000', + active: false, + sprints: [], }, { - 'name': 'Aubine Briston', - 'photo': 'http://dummyimage.com/211x113.png/ff4444/ffffff', - 'active': false, - 'sprints': [] + name: 'Aubine Briston', + photo: 'http://dummyimage.com/211x113.png/ff4444/ffffff', + active: false, + sprints: [], }, { - 'name': 'Delores Naseby', - 'photo': 'http://dummyimage.com/170x210.png/dddddd/000000', - 'active': true, - 'sprints': [ + name: 'Delores Naseby', + photo: 'http://dummyimage.com/170x210.png/dddddd/000000', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1713, - 'hse': 918 - } + number: 1, + score: { + tech: 1713, + hse: 918, + }, }, { - 'number': 2, - 'score': { - 'tech': 1023, - 'hse': 949 - } + number: 2, + score: { + tech: 1023, + hse: 949, + }, }, { - 'number': 3, - 'score': { - 'tech': 1160, - 'hse': 1021 - } + number: 3, + score: { + tech: 1160, + hse: 1021, + }, }, { - 'number': 4, - 'score': { - 'tech': 1788, - 'hse': 1170 - } - } - ] + number: 4, + score: { + tech: 1788, + hse: 1170, + }, + }, + ], }, { - 'name': 'Mag Mayberry', - 'photo': 'http://dummyimage.com/116x203.png/ff4444/ffffff', - 'active': false, - 'sprints': [] - } + name: 'Mag Mayberry', + photo: 'http://dummyimage.com/116x203.png/ff4444/ffffff', + active: false, + sprints: [], + }, ], - 'ratings': [ + ratings: [ { - 'sprint': 1, - 'nps': { - 'promoters': 74, - 'passive': 16, - 'detractors': 10 + sprint: 1, + nps: { + promoters: 74, + passive: 16, + detractors: 10, }, - 'student': { + student: { 'no-cumple': 13, - 'cumple': 78, - 'supera': 9 + cumple: 78, + supera: 9, }, - 'teacher': 4.0, - 'jedi': 4.6 + teacher: 4.0, + jedi: 4.6, }, { - 'sprint': 2, - 'nps': { - 'promoters': 78, - 'passive': 14, - 'detractors': 8 + sprint: 2, + nps: { + promoters: 78, + passive: 14, + detractors: 8, }, - 'student': { + student: { 'no-cumple': 13, - 'cumple': 81, - 'supera': 6 + cumple: 81, + supera: 6, }, - 'teacher': 3.7, - 'jedi': 3.5 + teacher: 3.7, + jedi: 3.5, }, { - 'sprint': 3, - 'nps': { - 'promoters': 79, - 'passive': 15, - 'detractors': 6 + sprint: 3, + nps: { + promoters: 79, + passive: 15, + detractors: 6, }, - 'student': { + student: { 'no-cumple': 9, - 'cumple': 83, - 'supera': 8 + cumple: 83, + supera: 8, }, - 'teacher': 4.0, - 'jedi': 4.3 + teacher: 4.0, + jedi: 4.3, }, { - 'sprint': 4, - 'nps': { - 'promoters': 70, - 'passive': 25, - 'detractors': 5 + sprint: 4, + nps: { + promoters: 70, + passive: 25, + detractors: 5, }, - 'student': { + student: { 'no-cumple': 20, - 'cumple': 70, - 'supera': 10 + cumple: 70, + supera: 10, }, - 'teacher': 3.5, - 'jedi': 4.2 - } - ] + teacher: 3.5, + jedi: 4.2, + }, + ], }, '2017-2': { - 'students': [ + students: [ { - 'name': 'Melany Brougham', - 'photo': 'http://dummyimage.com/224x136.png/ff4444/ffffff', - 'active': false, - 'sprints': [] + name: 'Melany Brougham', + photo: 'http://dummyimage.com/224x136.png/ff4444/ffffff', + active: false, + sprints: [], }, { - 'name': 'Ede Dreye', - 'photo': 'http://dummyimage.com/164x230.png/5fa2dd/ffffff', - 'active': true, - 'sprints': [ + name: 'Ede Dreye', + photo: 'http://dummyimage.com/164x230.png/5fa2dd/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1131, - 'hse': 651 - } + number: 1, + score: { + tech: 1131, + hse: 651, + }, }, { - 'number': 2, - 'score': { - 'tech': 1750, - 'hse': 989 - } - } - ] + number: 2, + score: { + tech: 1750, + hse: 989, + }, + }, + ], }, { - 'name': 'Amalea Clausius', - 'photo': 'http://dummyimage.com/175x135.png/cc0000/ffffff', - 'active': false, - 'sprints': [] + name: 'Amalea Clausius', + photo: 'http://dummyimage.com/175x135.png/cc0000/ffffff', + active: false, + sprints: [], }, { - 'name': 'Janina Robshaw', - 'photo': 'http://dummyimage.com/144x237.png/dddddd/000000', - 'active': false, - 'sprints': [] + name: 'Janina Robshaw', + photo: 'http://dummyimage.com/144x237.png/dddddd/000000', + active: false, + sprints: [], }, { - 'name': 'Harmonia Gettone', - 'photo': 'http://dummyimage.com/150x178.png/cc0000/ffffff', - 'active': true, - 'sprints': [ + name: 'Harmonia Gettone', + photo: 'http://dummyimage.com/150x178.png/cc0000/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1359, - 'hse': 963 - } + number: 1, + score: { + tech: 1359, + hse: 963, + }, }, { - 'number': 2, - 'score': { - 'tech': 1398, - 'hse': 618 - } - } - ] + number: 2, + score: { + tech: 1398, + hse: 618, + }, + }, + ], }, { - 'name': 'Renate Featherston', - 'photo': 'http://dummyimage.com/167x202.png/ff4444/ffffff', - 'active': true, - 'sprints': [ + name: 'Renate Featherston', + photo: 'http://dummyimage.com/167x202.png/ff4444/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1282, - 'hse': 1014 - } + number: 1, + score: { + tech: 1282, + hse: 1014, + }, }, { - 'number': 2, - 'score': { - 'tech': 1627, - 'hse': 919 - } - } - ] + number: 2, + score: { + tech: 1627, + hse: 919, + }, + }, + ], }, { - 'name': 'Veradis Raunds', - 'photo': 'http://dummyimage.com/154x230.png/5fa2dd/ffffff', - 'active': false, - 'sprints': [] + name: 'Veradis Raunds', + photo: 'http://dummyimage.com/154x230.png/5fa2dd/ffffff', + active: false, + sprints: [], }, { - 'name': 'Elene Walduck', - 'photo': 'http://dummyimage.com/100x183.png/dddddd/000000', - 'active': false, - 'sprints': [] + name: 'Elene Walduck', + photo: 'http://dummyimage.com/100x183.png/dddddd/000000', + active: false, + sprints: [], }, { - 'name': 'Nikolia Flawith', - 'photo': 'http://dummyimage.com/200x192.png/cc0000/ffffff', - 'active': true, - 'sprints': [ + name: 'Nikolia Flawith', + photo: 'http://dummyimage.com/200x192.png/cc0000/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1692, - 'hse': 927 - } + number: 1, + score: { + tech: 1692, + hse: 927, + }, }, { - 'number': 2, - 'score': { - 'tech': 1214, - 'hse': 779 - } - } - ] + number: 2, + score: { + tech: 1214, + hse: 779, + }, + }, + ], }, { - 'name': 'Selinda Butterworth', - 'photo': 'http://dummyimage.com/103x240.png/ff4444/ffffff', - 'active': true, - 'sprints': [ + name: 'Selinda Butterworth', + photo: 'http://dummyimage.com/103x240.png/ff4444/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1080, - 'hse': 650 - } + number: 1, + score: { + tech: 1080, + hse: 650, + }, }, { - 'number': 2, - 'score': { - 'tech': 1241, - 'hse': 712 - } - } - ] + number: 2, + score: { + tech: 1241, + hse: 712, + }, + }, + ], }, { - 'name': 'Danna Galvan', - 'photo': 'http://dummyimage.com/154x180.png/5fa2dd/ffffff', - 'active': false, - 'sprints': [] + name: 'Danna Galvan', + photo: 'http://dummyimage.com/154x180.png/5fa2dd/ffffff', + active: false, + sprints: [], }, { - 'name': 'Stephine Sketcher', - 'photo': 'http://dummyimage.com/165x203.png/dddddd/000000', - 'active': false, - 'sprints': [] + name: 'Stephine Sketcher', + photo: 'http://dummyimage.com/165x203.png/dddddd/000000', + active: false, + sprints: [], }, { - 'name': 'Cari Thorold', - 'photo': 'http://dummyimage.com/176x119.png/ff4444/ffffff', - 'active': false, - 'sprints': [] + name: 'Cari Thorold', + photo: 'http://dummyimage.com/176x119.png/ff4444/ffffff', + active: false, + sprints: [], }, { - 'name': 'Bobbi Tick', - 'photo': 'http://dummyimage.com/171x104.png/5fa2dd/ffffff', - 'active': true, - 'sprints': [ + name: 'Bobbi Tick', + photo: 'http://dummyimage.com/171x104.png/5fa2dd/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1663, - 'hse': 975 - } + number: 1, + score: { + tech: 1663, + hse: 975, + }, }, { - 'number': 2, - 'score': { - 'tech': 1622, - 'hse': 754 - } - } - ] - } + number: 2, + score: { + tech: 1622, + hse: 754, + }, + }, + ], + }, ], - 'ratings': [ + ratings: [ { - 'sprint': 1, - 'nps': { - 'promoters': 94, - 'passive': 6, - 'detractors': 0 + sprint: 1, + nps: { + promoters: 94, + passive: 6, + detractors: 0, }, - 'student': { + student: { 'no-cumple': 15, - 'cumple': 70, - 'supera': 15 + cumple: 70, + supera: 15, }, - 'teacher': 4.8, - 'jedi': 4.3 + teacher: 4.8, + jedi: 4.3, }, { - 'sprint': 2, - 'nps': { - 'promoters': 71, - 'passive': 13, - 'detractors': 16 + sprint: 2, + nps: { + promoters: 71, + passive: 13, + detractors: 16, }, - 'student': { + student: { 'no-cumple': 6, - 'cumple': 90, - 'supera': 4 + cumple: 90, + supera: 4, }, - 'teacher': 3.2, - 'jedi': 4.7 - } - ] - } + teacher: 3.2, + jedi: 4.7, + }, + ], + }, }, - 'SCL': { + SCL: { '2016-2': { - 'students': [ + students: [ { - 'name': 'Leela Nunson', - 'photo': 'http://dummyimage.com/133x175.png/cc0000/ffffff', - 'active': false, - 'sprints': [] + name: 'Leela Nunson', + photo: 'http://dummyimage.com/133x175.png/cc0000/ffffff', + active: false, + sprints: [], }, { - 'name': 'Milzie Livzey', - 'photo': 'http://dummyimage.com/116x137.png/cc0000/ffffff', - 'active': false, - 'sprints': [] + name: 'Milzie Livzey', + photo: 'http://dummyimage.com/116x137.png/cc0000/ffffff', + active: false, + sprints: [], }, { - 'name': 'L;urette Shellum', - 'photo': 'http://dummyimage.com/162x183.png/5fa2dd/ffffff', - 'active': false, - 'sprints': [] + name: 'L;urette Shellum', + photo: 'http://dummyimage.com/162x183.png/5fa2dd/ffffff', + active: false, + sprints: [], }, { - 'name': 'Cami Cawker', - 'photo': 'http://dummyimage.com/148x201.png/5fa2dd/ffffff', - 'active': false, - 'sprints': [] + name: 'Cami Cawker', + photo: 'http://dummyimage.com/148x201.png/5fa2dd/ffffff', + active: false, + sprints: [], }, { - 'name': 'Moria Chevin', - 'photo': 'http://dummyimage.com/183x154.png/5fa2dd/ffffff', - 'active': false, - 'sprints': [] + name: 'Moria Chevin', + photo: 'http://dummyimage.com/183x154.png/5fa2dd/ffffff', + active: false, + sprints: [], }, { - 'name': 'Sada Halloran', - 'photo': 'http://dummyimage.com/191x102.png/cc0000/ffffff', - 'active': true, - 'sprints': [ + name: 'Sada Halloran', + photo: 'http://dummyimage.com/191x102.png/cc0000/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1548, - 'hse': 659 - } + number: 1, + score: { + tech: 1548, + hse: 659, + }, }, { - 'number': 2, - 'score': { - 'tech': 1466, - 'hse': 805 - } + number: 2, + score: { + tech: 1466, + hse: 805, + }, }, { - 'number': 3, - 'score': { - 'tech': 1059, - 'hse': 1134 - } + number: 3, + score: { + tech: 1059, + hse: 1134, + }, }, { - 'number': 4, - 'score': { - 'tech': 1581, - 'hse': 758 - } - } - ] + number: 4, + score: { + tech: 1581, + hse: 758, + }, + }, + ], }, { - 'name': 'Gladi Kleint', - 'photo': 'http://dummyimage.com/183x201.png/dddddd/000000', - 'active': false, - 'sprints': [] + name: 'Gladi Kleint', + photo: 'http://dummyimage.com/183x201.png/dddddd/000000', + active: false, + sprints: [], }, { - 'name': 'Clotilda Cathel', - 'photo': 'http://dummyimage.com/219x108.png/ff4444/ffffff', - 'active': true, - 'sprints': [ + name: 'Clotilda Cathel', + photo: 'http://dummyimage.com/219x108.png/ff4444/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1104, - 'hse': 1092 - } + number: 1, + score: { + tech: 1104, + hse: 1092, + }, }, { - 'number': 2, - 'score': { - 'tech': 1342, - 'hse': 637 - } + number: 2, + score: { + tech: 1342, + hse: 637, + }, }, { - 'number': 3, - 'score': { - 'tech': 1233, - 'hse': 1034 - } + number: 3, + score: { + tech: 1233, + hse: 1034, + }, }, { - 'number': 4, - 'score': { - 'tech': 1051, - 'hse': 967 - } - } - ] + number: 4, + score: { + tech: 1051, + hse: 967, + }, + }, + ], }, { - 'name': 'Jeanne Fitzsymons', - 'photo': 'http://dummyimage.com/174x231.png/dddddd/000000', - 'active': false, - 'sprints': [] + name: 'Jeanne Fitzsymons', + photo: 'http://dummyimage.com/174x231.png/dddddd/000000', + active: false, + sprints: [], }, { - 'name': 'Neila Bettaney', - 'photo': 'http://dummyimage.com/247x146.png/cc0000/ffffff', - 'active': false, - 'sprints': [] + name: 'Neila Bettaney', + photo: 'http://dummyimage.com/247x146.png/cc0000/ffffff', + active: false, + sprints: [], }, { - 'name': 'Shannen Junes', - 'photo': 'http://dummyimage.com/164x152.png/5fa2dd/ffffff', - 'active': true, - 'sprints': [ + name: 'Shannen Junes', + photo: 'http://dummyimage.com/164x152.png/5fa2dd/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 919, - 'hse': 833 - } + number: 1, + score: { + tech: 919, + hse: 833, + }, }, { - 'number': 2, - 'score': { - 'tech': 1774, - 'hse': 663 - } + number: 2, + score: { + tech: 1774, + hse: 663, + }, }, { - 'number': 3, - 'score': { - 'tech': 1116, - 'hse': 825 - } + number: 3, + score: { + tech: 1116, + hse: 825, + }, }, { - 'number': 4, - 'score': { - 'tech': 962, - 'hse': 823 - } - } - ] - } + number: 4, + score: { + tech: 962, + hse: 823, + }, + }, + ], + }, ], - 'ratings': [ + ratings: [ { - 'sprint': 1, - 'nps': { - 'promoters': 81, - 'passive': 10, - 'detractors': 9 + sprint: 1, + nps: { + promoters: 81, + passive: 10, + detractors: 9, }, - 'student': { + student: { 'no-cumple': 0, - 'cumple': 90, - 'supera': 10 + cumple: 90, + supera: 10, }, - 'teacher': 4.4, - 'jedi': 4.5 + teacher: 4.4, + jedi: 4.5, }, { - 'sprint': 2, - 'nps': { - 'promoters': 97, - 'passive': 3, - 'detractors': 0 + sprint: 2, + nps: { + promoters: 97, + passive: 3, + detractors: 0, }, - 'student': { + student: { 'no-cumple': 17, - 'cumple': 80, - 'supera': 3 + cumple: 80, + supera: 3, }, - 'teacher': 4.5, - 'jedi': 4.0 + teacher: 4.5, + jedi: 4.0, }, { - 'sprint': 3, - 'nps': { - 'promoters': 77, - 'passive': 12, - 'detractors': 1 + sprint: 3, + nps: { + promoters: 77, + passive: 12, + detractors: 1, }, - 'student': { + student: { 'no-cumple': 8, - 'cumple': 80, - 'supera': 2 + cumple: 80, + supera: 2, }, - 'teacher': 3.7, - 'jedi': 4.2 + teacher: 3.7, + jedi: 4.2, }, { - 'sprint': 4, - 'nps': { - 'promoters': 87, - 'passive': 8, - 'detractors': 5 + sprint: 4, + nps: { + promoters: 87, + passive: 8, + detractors: 5, }, - 'student': { + student: { 'no-cumple': 15, - 'cumple': 50, - 'supera': 35 + cumple: 50, + supera: 35, }, - 'teacher': 3.7, - 'jedi': 4.5 - } - ] + teacher: 3.7, + jedi: 4.5, + }, + ], }, '2017-1': { - 'students': [ + students: [ { - 'name': 'Emmalee Bowery', - 'photo': 'http://dummyimage.com/148x142.png/5fa2dd/ffffff', - 'active': false, - 'sprints': [] + name: 'Emmalee Bowery', + photo: 'http://dummyimage.com/148x142.png/5fa2dd/ffffff', + active: false, + sprints: [], }, { - 'name': 'Dianne Willingam', - 'photo': 'http://dummyimage.com/144x140.png/cc0000/ffffff', - 'active': true, - 'sprints': [ + name: 'Dianne Willingam', + photo: 'http://dummyimage.com/144x140.png/cc0000/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1555, - 'hse': 992 - } + number: 1, + score: { + tech: 1555, + hse: 992, + }, }, { - 'number': 2, - 'score': { - 'tech': 1207, - 'hse': 723 - } + number: 2, + score: { + tech: 1207, + hse: 723, + }, }, { - 'number': 3, - 'score': { - 'tech': 1482, - 'hse': 931 - } - } - ] + number: 3, + score: { + tech: 1482, + hse: 931, + }, + }, + ], }, { - 'name': 'Paula Burstow', - 'photo': 'http://dummyimage.com/224x173.png/5fa2dd/ffffff', - 'active': true, - 'sprints': [ + name: 'Paula Burstow', + photo: 'http://dummyimage.com/224x173.png/5fa2dd/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1207, - 'hse': 819 - } + number: 1, + score: { + tech: 1207, + hse: 819, + }, }, { - 'number': 2, - 'score': { - 'tech': 1353, - 'hse': 926 - } + number: 2, + score: { + tech: 1353, + hse: 926, + }, }, { - 'number': 3, - 'score': { - 'tech': 1761, - 'hse': 711 - } - } - ] + number: 3, + score: { + tech: 1761, + hse: 711, + }, + }, + ], }, { - 'name': 'Flore Ibbitt', - 'photo': 'http://dummyimage.com/244x155.png/cc0000/ffffff', - 'active': true, - 'sprints': [ + name: 'Flore Ibbitt', + photo: 'http://dummyimage.com/244x155.png/cc0000/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1114, - 'hse': 1054 - } + number: 1, + score: { + tech: 1114, + hse: 1054, + }, }, { - 'number': 2, - 'score': { - 'tech': 945, - 'hse': 957 - } + number: 2, + score: { + tech: 945, + hse: 957, + }, }, { - 'number': 3, - 'score': { - 'tech': 1345, - 'hse': 943 - } - } - ] + number: 3, + score: { + tech: 1345, + hse: 943, + }, + }, + ], }, { - 'name': 'Emilia Elldred', - 'photo': 'http://dummyimage.com/144x101.png/ff4444/ffffff', - 'active': true, - 'sprints': [ + name: 'Emilia Elldred', + photo: 'http://dummyimage.com/144x101.png/ff4444/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1750, - 'hse': 794 - } + number: 1, + score: { + tech: 1750, + hse: 794, + }, }, { - 'number': 2, - 'score': { - 'tech': 1263, - 'hse': 810 - } + number: 2, + score: { + tech: 1263, + hse: 810, + }, }, { - 'number': 3, - 'score': { - 'tech': 1498, - 'hse': 1090 - } - } - ] + number: 3, + score: { + tech: 1498, + hse: 1090, + }, + }, + ], }, { - 'name': 'Thomasin Dundridge', - 'photo': 'http://dummyimage.com/174x247.png/ff4444/ffffff', - 'active': false, - 'sprints': [] + name: 'Thomasin Dundridge', + photo: 'http://dummyimage.com/174x247.png/ff4444/ffffff', + active: false, + sprints: [], }, { - 'name': 'Gabriela Simonsen', - 'photo': 'http://dummyimage.com/202x191.png/5fa2dd/ffffff', - 'active': true, - 'sprints': [ + name: 'Gabriela Simonsen', + photo: 'http://dummyimage.com/202x191.png/5fa2dd/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1143, - 'hse': 863 - } + number: 1, + score: { + tech: 1143, + hse: 863, + }, }, { - 'number': 2, - 'score': { - 'tech': 1381, - 'hse': 994 - } + number: 2, + score: { + tech: 1381, + hse: 994, + }, }, { - 'number': 3, - 'score': { - 'tech': 1759, - 'hse': 884 - } - } - ] + number: 3, + score: { + tech: 1759, + hse: 884, + }, + }, + ], }, { - 'name': 'Lilia Wombwell', - 'photo': 'http://dummyimage.com/117x223.png/dddddd/000000', - 'active': false, - 'sprints': [] + name: 'Lilia Wombwell', + photo: 'http://dummyimage.com/117x223.png/dddddd/000000', + active: false, + sprints: [], }, { - 'name': 'Elinor Zavittieri', - 'photo': 'http://dummyimage.com/125x212.png/5fa2dd/ffffff', - 'active': false, - 'sprints': [] + name: 'Elinor Zavittieri', + photo: 'http://dummyimage.com/125x212.png/5fa2dd/ffffff', + active: false, + sprints: [], }, { - 'name': 'Alvina Peaker', - 'photo': 'http://dummyimage.com/107x166.png/cc0000/ffffff', - 'active': true, - 'sprints': [ + name: 'Alvina Peaker', + photo: 'http://dummyimage.com/107x166.png/cc0000/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1612, - 'hse': 1081 - } + number: 1, + score: { + tech: 1612, + hse: 1081, + }, }, { - 'number': 2, - 'score': { - 'tech': 1286, - 'hse': 755 - } + number: 2, + score: { + tech: 1286, + hse: 755, + }, }, { - 'number': 3, - 'score': { - 'tech': 1570, - 'hse': 1182 - } - } - ] + number: 3, + score: { + tech: 1570, + hse: 1182, + }, + }, + ], }, { - 'name': 'Virgina Streat', - 'photo': 'http://dummyimage.com/135x203.png/5fa2dd/ffffff', - 'active': true, - 'sprints': [ + name: 'Virgina Streat', + photo: 'http://dummyimage.com/135x203.png/5fa2dd/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1565, - 'hse': 818 - } + number: 1, + score: { + tech: 1565, + hse: 818, + }, }, { - 'number': 2, - 'score': { - 'tech': 928, - 'hse': 1113 - } + number: 2, + score: { + tech: 928, + hse: 1113, + }, }, { - 'number': 3, - 'score': { - 'tech': 1620, - 'hse': 633 - } - } - ] + number: 3, + score: { + tech: 1620, + hse: 633, + }, + }, + ], }, { - 'name': 'Emmye Baraclough', - 'photo': 'http://dummyimage.com/134x186.png/5fa2dd/ffffff', - 'active': true, - 'sprints': [ + name: 'Emmye Baraclough', + photo: 'http://dummyimage.com/134x186.png/5fa2dd/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1398, - 'hse': 675 - } + number: 1, + score: { + tech: 1398, + hse: 675, + }, }, { - 'number': 2, - 'score': { - 'tech': 975, - 'hse': 690 - } + number: 2, + score: { + tech: 975, + hse: 690, + }, }, { - 'number': 3, - 'score': { - 'tech': 1104, - 'hse': 694 - } - } - ] + number: 3, + score: { + tech: 1104, + hse: 694, + }, + }, + ], }, { - 'name': 'Glynda Prue', - 'photo': 'http://dummyimage.com/227x104.png/5fa2dd/ffffff', - 'active': false, - 'sprints': [] + name: 'Glynda Prue', + photo: 'http://dummyimage.com/227x104.png/5fa2dd/ffffff', + active: false, + sprints: [], }, { - 'name': 'Cynthea Idiens', - 'photo': 'http://dummyimage.com/100x162.png/cc0000/ffffff', - 'active': false, - 'sprints': [] + name: 'Cynthea Idiens', + photo: 'http://dummyimage.com/100x162.png/cc0000/ffffff', + active: false, + sprints: [], }, { - 'name': 'Justinn Leggatt', - 'photo': 'http://dummyimage.com/160x213.png/ff4444/ffffff', - 'active': true, - 'sprints': [ + name: 'Justinn Leggatt', + photo: 'http://dummyimage.com/160x213.png/ff4444/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1208, - 'hse': 794 - } + number: 1, + score: { + tech: 1208, + hse: 794, + }, }, { - 'number': 2, - 'score': { - 'tech': 905, - 'hse': 1128 - } + number: 2, + score: { + tech: 905, + hse: 1128, + }, }, { - 'number': 3, - 'score': { - 'tech': 1364, - 'hse': 839 - } - } - ] + number: 3, + score: { + tech: 1364, + hse: 839, + }, + }, + ], }, { - 'name': 'Veronika Minchenton', - 'photo': 'http://dummyimage.com/167x240.png/5fa2dd/ffffff', - 'active': true, - 'sprints': [ + name: 'Veronika Minchenton', + photo: 'http://dummyimage.com/167x240.png/5fa2dd/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1254, - 'hse': 858 - } + number: 1, + score: { + tech: 1254, + hse: 858, + }, }, { - 'number': 2, - 'score': { - 'tech': 1522, - 'hse': 967 - } + number: 2, + score: { + tech: 1522, + hse: 967, + }, }, { - 'number': 3, - 'score': { - 'tech': 1248, - 'hse': 685 - } - } - ] + number: 3, + score: { + tech: 1248, + hse: 685, + }, + }, + ], }, { - 'name': 'Ericka Pavolillo', - 'photo': 'http://dummyimage.com/236x133.png/5fa2dd/ffffff', - 'active': false, - 'sprints': [] + name: 'Ericka Pavolillo', + photo: 'http://dummyimage.com/236x133.png/5fa2dd/ffffff', + active: false, + sprints: [], }, { - 'name': 'Alene Pechacek', - 'photo': 'http://dummyimage.com/178x182.png/ff4444/ffffff', - 'active': false, - 'sprints': [] + name: 'Alene Pechacek', + photo: 'http://dummyimage.com/178x182.png/ff4444/ffffff', + active: false, + sprints: [], }, { - 'name': 'Anabal Baxill', - 'photo': 'http://dummyimage.com/110x224.png/cc0000/ffffff', - 'active': true, - 'sprints': [ + name: 'Anabal Baxill', + photo: 'http://dummyimage.com/110x224.png/cc0000/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1228, - 'hse': 837 - } + number: 1, + score: { + tech: 1228, + hse: 837, + }, }, { - 'number': 2, - 'score': { - 'tech': 1323, - 'hse': 602 - } + number: 2, + score: { + tech: 1323, + hse: 602, + }, }, { - 'number': 3, - 'score': { - 'tech': 1245, - 'hse': 1167 - } - } - ] + number: 3, + score: { + tech: 1245, + hse: 1167, + }, + }, + ], }, { - 'name': 'Mercedes Ivakhin', - 'photo': 'http://dummyimage.com/165x161.png/cc0000/ffffff', - 'active': true, - 'sprints': [ + name: 'Mercedes Ivakhin', + photo: 'http://dummyimage.com/165x161.png/cc0000/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1553, - 'hse': 626 - } + number: 1, + score: { + tech: 1553, + hse: 626, + }, }, { - 'number': 2, - 'score': { - 'tech': 1288, - 'hse': 1082 - } + number: 2, + score: { + tech: 1288, + hse: 1082, + }, }, { - 'number': 3, - 'score': { - 'tech': 1505, - 'hse': 779 - } - } - ] + number: 3, + score: { + tech: 1505, + hse: 779, + }, + }, + ], }, { - 'name': 'Ina Riddell', - 'photo': 'http://dummyimage.com/164x174.png/dddddd/000000', - 'active': true, - 'sprints': [ + name: 'Ina Riddell', + photo: 'http://dummyimage.com/164x174.png/dddddd/000000', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1039, - 'hse': 851 - } + number: 1, + score: { + tech: 1039, + hse: 851, + }, }, { - 'number': 2, - 'score': { - 'tech': 1783, - 'hse': 1083 - } + number: 2, + score: { + tech: 1783, + hse: 1083, + }, }, { - 'number': 3, - 'score': { - 'tech': 1517, - 'hse': 1051 - } - } - ] + number: 3, + score: { + tech: 1517, + hse: 1051, + }, + }, + ], }, { - 'name': 'Nelie Ghent', - 'photo': 'http://dummyimage.com/178x106.png/cc0000/ffffff', - 'active': false, - 'sprints': [] + name: 'Nelie Ghent', + photo: 'http://dummyimage.com/178x106.png/cc0000/ffffff', + active: false, + sprints: [], }, { - 'name': 'Vanessa Folger', - 'photo': 'http://dummyimage.com/140x224.png/5fa2dd/ffffff', - 'active': true, - 'sprints': [ + name: 'Vanessa Folger', + photo: 'http://dummyimage.com/140x224.png/5fa2dd/ffffff', + active: true, + sprints: [ + { + number: 1, + score: { + tech: 1510, + hse: 1046, + }, + }, { - 'number': 1, - 'score': { - 'tech': 1510, - 'hse': 1046 - } - }, - { - 'number': 2, - 'score': { - 'tech': 1269, - 'hse': 1134 - } + number: 2, + score: { + tech: 1269, + hse: 1134, + }, }, { - 'number': 3, - 'score': { - 'tech': 1368, - 'hse': 638 - } - } - ] - } + number: 3, + score: { + tech: 1368, + hse: 638, + }, + }, + ], + }, ], - 'ratings': [ + ratings: [ { - 'sprint': 1, - 'nps': { - 'promoters': 87, - 'passive': 13, - 'detractors': 0 + sprint: 1, + nps: { + promoters: 87, + passive: 13, + detractors: 0, }, - 'student': { + student: { 'no-cumple': 15, - 'cumple': 80, - 'supera': 5 + cumple: 80, + supera: 5, }, - 'teacher': 4.2, - 'jedi': 4.6 + teacher: 4.2, + jedi: 4.6, }, { - 'sprint': 2, - 'nps': { - 'promoters': 94, - 'passive': 5, - 'detractors': 1 + sprint: 2, + nps: { + promoters: 94, + passive: 5, + detractors: 1, }, - 'student': { + student: { 'no-cumple': 19, - 'cumple': 42, - 'supera': 39 + cumple: 42, + supera: 39, }, - 'teacher': 4.6, - 'jedi': 4.4 + teacher: 4.6, + jedi: 4.4, }, { - 'sprint': 3, - 'nps': { - 'promoters': 94, - 'passive': 4, - 'detractors': 2 + sprint: 3, + nps: { + promoters: 94, + passive: 4, + detractors: 2, }, - 'student': { + student: { 'no-cumple': 11, - 'cumple': 73, - 'supera': 16 + cumple: 73, + supera: 16, }, - 'teacher': 4.6, - 'jedi': 4.1 - } - ] + teacher: 4.6, + jedi: 4.1, + }, + ], }, '2017-2': { - 'students': [ + students: [ { - 'name': 'Donna Sloper', - 'photo': 'http://dummyimage.com/162x148.png/ff4444/ffffff', - 'active': true, - 'sprints': [ + name: 'Donna Sloper', + photo: 'http://dummyimage.com/162x148.png/ff4444/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1759, - 'hse': 1006 - } + number: 1, + score: { + tech: 1759, + hse: 1006, + }, }, { - 'number': 2, - 'score': { - 'tech': 1143, - 'hse': 764 - } - } - ] + number: 2, + score: { + tech: 1143, + hse: 764, + }, + }, + ], }, { - 'name': 'Roana Menego', - 'photo': 'http://dummyimage.com/102x187.png/dddddd/000000', - 'active': false, - 'sprints': [] + name: 'Roana Menego', + photo: 'http://dummyimage.com/102x187.png/dddddd/000000', + active: false, + sprints: [], }, { - 'name': 'Ofella Weakley', - 'photo': 'http://dummyimage.com/190x155.png/dddddd/000000', - 'active': false, - 'sprints': [] + name: 'Ofella Weakley', + photo: 'http://dummyimage.com/190x155.png/dddddd/000000', + active: false, + sprints: [], }, { - 'name': 'Gretchen Gerhts', - 'photo': 'http://dummyimage.com/147x166.png/5fa2dd/ffffff', - 'active': false, - 'sprints': [] + name: 'Gretchen Gerhts', + photo: 'http://dummyimage.com/147x166.png/5fa2dd/ffffff', + active: false, + sprints: [], }, { - 'name': 'Judy Meindl', - 'photo': 'http://dummyimage.com/220x128.png/5fa2dd/ffffff', - 'active': true, - 'sprints': [ + name: 'Judy Meindl', + photo: 'http://dummyimage.com/220x128.png/5fa2dd/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 905, - 'hse': 622 - } + number: 1, + score: { + tech: 905, + hse: 622, + }, }, { - 'number': 2, - 'score': { - 'tech': 1689, - 'hse': 1153 - } - } - ] + number: 2, + score: { + tech: 1689, + hse: 1153, + }, + }, + ], }, { - 'name': 'Jillene Porch', - 'photo': 'http://dummyimage.com/132x125.png/5fa2dd/ffffff', - 'active': true, - 'sprints': [ + name: 'Jillene Porch', + photo: 'http://dummyimage.com/132x125.png/5fa2dd/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1293, - 'hse': 1015 - } + number: 1, + score: { + tech: 1293, + hse: 1015, + }, }, { - 'number': 2, - 'score': { - 'tech': 1701, - 'hse': 1004 - } - } - ] + number: 2, + score: { + tech: 1701, + hse: 1004, + }, + }, + ], }, { - 'name': 'Sydney Burlingham', - 'photo': 'http://dummyimage.com/100x167.png/ff4444/ffffff', - 'active': true, - 'sprints': [ + name: 'Sydney Burlingham', + photo: 'http://dummyimage.com/100x167.png/ff4444/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1130, - 'hse': 914 - } + number: 1, + score: { + tech: 1130, + hse: 914, + }, }, { - 'number': 2, - 'score': { - 'tech': 1400, - 'hse': 648 - } - } - ] + number: 2, + score: { + tech: 1400, + hse: 648, + }, + }, + ], }, { - 'name': 'Alexi Gindghill', - 'photo': 'http://dummyimage.com/113x215.png/ff4444/ffffff', - 'active': true, - 'sprints': [ + name: 'Alexi Gindghill', + photo: 'http://dummyimage.com/113x215.png/ff4444/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1203, - 'hse': 742 - } + number: 1, + score: { + tech: 1203, + hse: 742, + }, }, { - 'number': 2, - 'score': { - 'tech': 1113, - 'hse': 1068 - } - } - ] + number: 2, + score: { + tech: 1113, + hse: 1068, + }, + }, + ], }, { - 'name': 'Donna Fearnill', - 'photo': 'http://dummyimage.com/221x239.png/ff4444/ffffff', - 'active': false, - 'sprints': [] + name: 'Donna Fearnill', + photo: 'http://dummyimage.com/221x239.png/ff4444/ffffff', + active: false, + sprints: [], }, { - 'name': 'Chiarra Dutton', - 'photo': 'http://dummyimage.com/163x246.png/ff4444/ffffff', - 'active': true, - 'sprints': [ + name: 'Chiarra Dutton', + photo: 'http://dummyimage.com/163x246.png/ff4444/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1157, - 'hse': 1146 - } + number: 1, + score: { + tech: 1157, + hse: 1146, + }, }, { - 'number': 2, - 'score': { - 'tech': 1030, - 'hse': 939 - } - } - ] + number: 2, + score: { + tech: 1030, + hse: 939, + }, + }, + ], }, { - 'name': 'Drusilla Terron', - 'photo': 'http://dummyimage.com/165x131.png/ff4444/ffffff', - 'active': false, - 'sprints': [] + name: 'Drusilla Terron', + photo: 'http://dummyimage.com/165x131.png/ff4444/ffffff', + active: false, + sprints: [], }, { - 'name': 'Karola Leathart', - 'photo': 'http://dummyimage.com/154x140.png/ff4444/ffffff', - 'active': false, - 'sprints': [] + name: 'Karola Leathart', + photo: 'http://dummyimage.com/154x140.png/ff4444/ffffff', + active: false, + sprints: [], }, { - 'name': 'Jacquelin Beglin', - 'photo': 'http://dummyimage.com/184x226.png/cc0000/ffffff', - 'active': true, - 'sprints': [ + name: 'Jacquelin Beglin', + photo: 'http://dummyimage.com/184x226.png/cc0000/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1578, - 'hse': 779 - } + number: 1, + score: { + tech: 1578, + hse: 779, + }, }, { - 'number': 2, - 'score': { - 'tech': 995, - 'hse': 823 - } - } - ] + number: 2, + score: { + tech: 995, + hse: 823, + }, + }, + ], }, { - 'name': 'Dorella Simants', - 'photo': 'http://dummyimage.com/189x105.png/dddddd/000000', - 'active': false, - 'sprints': [] + name: 'Dorella Simants', + photo: 'http://dummyimage.com/189x105.png/dddddd/000000', + active: false, + sprints: [], }, { - 'name': 'Lynnett Roughley', - 'photo': 'http://dummyimage.com/240x189.png/cc0000/ffffff', - 'active': false, - 'sprints': [] + name: 'Lynnett Roughley', + photo: 'http://dummyimage.com/240x189.png/cc0000/ffffff', + active: false, + sprints: [], }, { - 'name': 'Collette Tubby', - 'photo': 'http://dummyimage.com/203x162.png/5fa2dd/ffffff', - 'active': true, - 'sprints': [ + name: 'Collette Tubby', + photo: 'http://dummyimage.com/203x162.png/5fa2dd/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1617, - 'hse': 894 - } + number: 1, + score: { + tech: 1617, + hse: 894, + }, }, { - 'number': 2, - 'score': { - 'tech': 1409, - 'hse': 884 - } - } - ] + number: 2, + score: { + tech: 1409, + hse: 884, + }, + }, + ], }, { - 'name': 'Dacey Bullers', - 'photo': 'http://dummyimage.com/214x148.png/5fa2dd/ffffff', - 'active': true, - 'sprints': [ + name: 'Dacey Bullers', + photo: 'http://dummyimage.com/214x148.png/5fa2dd/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1695, - 'hse': 915 - } + number: 1, + score: { + tech: 1695, + hse: 915, + }, }, { - 'number': 2, - 'score': { - 'tech': 1204, - 'hse': 1099 - } - } - ] + number: 2, + score: { + tech: 1204, + hse: 1099, + }, + }, + ], }, { - 'name': 'Leta Cuel', - 'photo': 'http://dummyimage.com/214x104.png/ff4444/ffffff', - 'active': true, - 'sprints': [ + name: 'Leta Cuel', + photo: 'http://dummyimage.com/214x104.png/ff4444/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1533, - 'hse': 789 - } + number: 1, + score: { + tech: 1533, + hse: 789, + }, }, { - 'number': 2, - 'score': { - 'tech': 987, - 'hse': 671 - } - } - ] + number: 2, + score: { + tech: 987, + hse: 671, + }, + }, + ], }, { - 'name': 'Anita Lucock', - 'photo': 'http://dummyimage.com/180x236.png/cc0000/ffffff', - 'active': false, - 'sprints': [] + name: 'Anita Lucock', + photo: 'http://dummyimage.com/180x236.png/cc0000/ffffff', + active: false, + sprints: [], }, { - 'name': 'Henrieta Osman', - 'photo': 'http://dummyimage.com/146x182.png/dddddd/000000', - 'active': true, - 'sprints': [ + name: 'Henrieta Osman', + photo: 'http://dummyimage.com/146x182.png/dddddd/000000', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1519, - 'hse': 689 - } + number: 1, + score: { + tech: 1519, + hse: 689, + }, }, { - 'number': 2, - 'score': { - 'tech': 1640, - 'hse': 1036 - } - } - ] + number: 2, + score: { + tech: 1640, + hse: 1036, + }, + }, + ], }, { - 'name': 'Ariella Itzhaki', - 'photo': 'http://dummyimage.com/151x102.png/5fa2dd/ffffff', - 'active': false, - 'sprints': [] + name: 'Ariella Itzhaki', + photo: 'http://dummyimage.com/151x102.png/5fa2dd/ffffff', + active: false, + sprints: [], }, { - 'name': 'Wilie Dunkinson', - 'photo': 'http://dummyimage.com/244x133.png/ff4444/ffffff', - 'active': true, - 'sprints': [ + name: 'Wilie Dunkinson', + photo: 'http://dummyimage.com/244x133.png/ff4444/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 993, - 'hse': 1081 - } + number: 1, + score: { + tech: 993, + hse: 1081, + }, }, { - 'number': 2, - 'score': { - 'tech': 1790, - 'hse': 927 - } - } - ] + number: 2, + score: { + tech: 1790, + hse: 927, + }, + }, + ], }, { - 'name': 'Marisa Tumber', - 'photo': 'http://dummyimage.com/127x179.png/dddddd/000000', - 'active': true, - 'sprints': [ + name: 'Marisa Tumber', + photo: 'http://dummyimage.com/127x179.png/dddddd/000000', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1048, - 'hse': 930 - } + number: 1, + score: { + tech: 1048, + hse: 930, + }, }, { - 'number': 2, - 'score': { - 'tech': 1525, - 'hse': 1154 - } - } - ] + number: 2, + score: { + tech: 1525, + hse: 1154, + }, + }, + ], }, { - 'name': 'Arlina Flacke', - 'photo': 'http://dummyimage.com/162x147.png/ff4444/ffffff', - 'active': true, - 'sprints': [ + name: 'Arlina Flacke', + photo: 'http://dummyimage.com/162x147.png/ff4444/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1299, - 'hse': 966 - } + number: 1, + score: { + tech: 1299, + hse: 966, + }, }, { - 'number': 2, - 'score': { - 'tech': 1569, - 'hse': 1029 - } - } - ] + number: 2, + score: { + tech: 1569, + hse: 1029, + }, + }, + ], }, { - 'name': 'Wilow Linzey', - 'photo': 'http://dummyimage.com/135x107.png/5fa2dd/ffffff', - 'active': false, - 'sprints': [] + name: 'Wilow Linzey', + photo: 'http://dummyimage.com/135x107.png/5fa2dd/ffffff', + active: false, + sprints: [], }, { - 'name': 'Modesta Donnison', - 'photo': 'http://dummyimage.com/247x228.png/5fa2dd/ffffff', - 'active': true, - 'sprints': [ + name: 'Modesta Donnison', + photo: 'http://dummyimage.com/247x228.png/5fa2dd/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1347, - 'hse': 936 - } + number: 1, + score: { + tech: 1347, + hse: 936, + }, }, { - 'number': 2, - 'score': { - 'tech': 1436, - 'hse': 631 - } - } - ] + number: 2, + score: { + tech: 1436, + hse: 631, + }, + }, + ], }, { - 'name': 'Stepha Cotesford', - 'photo': 'http://dummyimage.com/109x210.png/cc0000/ffffff', - 'active': false, - 'sprints': [] + name: 'Stepha Cotesford', + photo: 'http://dummyimage.com/109x210.png/cc0000/ffffff', + active: false, + sprints: [], }, { - 'name': 'Adele Eyre', - 'photo': 'http://dummyimage.com/171x191.png/dddddd/000000', - 'active': false, - 'sprints': [] + name: 'Adele Eyre', + photo: 'http://dummyimage.com/171x191.png/dddddd/000000', + active: false, + sprints: [], }, { - 'name': 'Kelcey Taig', - 'photo': 'http://dummyimage.com/214x193.png/cc0000/ffffff', - 'active': false, - 'sprints': [] + name: 'Kelcey Taig', + photo: 'http://dummyimage.com/214x193.png/cc0000/ffffff', + active: false, + sprints: [], }, - { }, + { - 'name': 'Jada Curgenuer', - 'photo': 'http://dummyimage.com/133x195.png/cc0000/ffffff', - 'active': false, - 'sprints': [] + name: 'Jada Curgenuer', + photo: 'http://dummyimage.com/133x195.png/cc0000/ffffff', + active: false, + sprints: [], }, { - 'name': 'Arleyne Olding', - 'photo': 'http://dummyimage.com/133x232.png/ff4444/ffffff', - 'active': true, - 'sprints': [ + name: 'Arleyne Olding', + photo: 'http://dummyimage.com/133x232.png/ff4444/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1219, - 'hse': 766 - } + number: 1, + score: { + tech: 1219, + hse: 766, + }, }, { - 'number': 2, - 'score': { - 'tech': 1158, - 'hse': 1088 - } - } - ] + number: 2, + score: { + tech: 1158, + hse: 1088, + }, + }, + ], }, { - 'name': 'Wendy Jillions', - 'photo': 'http://dummyimage.com/120x167.png/ff4444/ffffff', - 'active': false, - 'sprints': [] + name: 'Wendy Jillions', + photo: 'http://dummyimage.com/120x167.png/ff4444/ffffff', + active: false, + sprints: [], }, { - 'name': 'Anabella Saurat', - 'photo': 'http://dummyimage.com/236x238.png/dddddd/000000', - 'active': false, - 'sprints': [] + name: 'Anabella Saurat', + photo: 'http://dummyimage.com/236x238.png/dddddd/000000', + active: false, + sprints: [], }, { - 'name': 'Concordia Rook', - 'photo': 'http://dummyimage.com/172x117.png/ff4444/ffffff', - 'active': false, - 'sprints': [] + name: 'Concordia Rook', + photo: 'http://dummyimage.com/172x117.png/ff4444/ffffff', + active: false, + sprints: [], }, { - 'name': 'Adelice Lantiffe', - 'photo': 'http://dummyimage.com/125x155.png/cc0000/ffffff', - 'active': true, - 'sprints': [ + name: 'Adelice Lantiffe', + photo: 'http://dummyimage.com/125x155.png/cc0000/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1052, - 'hse': 771 - } + number: 1, + score: { + tech: 1052, + hse: 771, + }, }, { - 'number': 2, - 'score': { - 'tech': 1227, - 'hse': 1093 - } - } - ] + number: 2, + score: { + tech: 1227, + hse: 1093, + }, + }, + ], }, { - 'name': 'Jacintha Richen', - 'photo': 'http://dummyimage.com/166x195.png/cc0000/ffffff', - 'active': true, - 'sprints': [ + name: 'Jacintha Richen', + photo: 'http://dummyimage.com/166x195.png/cc0000/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1665, - 'hse': 927 - } + number: 1, + score: { + tech: 1665, + hse: 927, + }, }, { - 'number': 2, - 'score': { - 'tech': 1602, - 'hse': 924 - } - } - ] + number: 2, + score: { + tech: 1602, + hse: 924, + }, + }, + ], }, { - 'name': 'Layne Airds', - 'photo': 'http://dummyimage.com/106x124.png/dddddd/000000', - 'active': false, - 'sprints': [] + name: 'Layne Airds', + photo: 'http://dummyimage.com/106x124.png/dddddd/000000', + active: false, + sprints: [], }, { - 'name': 'Cammi Sowray', - 'photo': 'http://dummyimage.com/110x192.png/cc0000/ffffff', - 'active': false, - 'sprints': [] + name: 'Cammi Sowray', + photo: 'http://dummyimage.com/110x192.png/cc0000/ffffff', + active: false, + sprints: [], }, { - 'name': 'Nanice Ackeroyd', - 'photo': 'http://dummyimage.com/213x108.png/cc0000/ffffff', - 'active': true, - 'sprints': [ + name: 'Nanice Ackeroyd', + photo: 'http://dummyimage.com/213x108.png/cc0000/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1561, - 'hse': 823 - } + number: 1, + score: { + tech: 1561, + hse: 823, + }, }, { - 'number': 2, - 'score': { - 'tech': 1160, - 'hse': 676 - } - } - ] + number: 2, + score: { + tech: 1160, + hse: 676, + }, + }, + ], }, { - 'name': 'Darla Zorn', - 'photo': 'http://dummyimage.com/233x192.png/cc0000/ffffff', - 'active': false, - 'sprints': [] + name: 'Darla Zorn', + photo: 'http://dummyimage.com/233x192.png/cc0000/ffffff', + active: false, + sprints: [], }, { - 'name': 'Darya De la Perrelle', - 'photo': 'http://dummyimage.com/196x198.png/5fa2dd/ffffff', - 'active': false, - 'sprints': [] + name: 'Darya De la Perrelle', + photo: 'http://dummyimage.com/196x198.png/5fa2dd/ffffff', + active: false, + sprints: [], }, { - 'name': 'Michaeline Shuker', - 'photo': 'http://dummyimage.com/133x220.png/cc0000/ffffff', - 'active': false, - 'sprints': [] + name: 'Michaeline Shuker', + photo: 'http://dummyimage.com/133x220.png/cc0000/ffffff', + active: false, + sprints: [], }, { - 'name': 'Jacinthe Dennitts', - 'photo': 'http://dummyimage.com/137x132.png/ff4444/ffffff', - 'active': false, - 'sprints': [] + name: 'Jacinthe Dennitts', + photo: 'http://dummyimage.com/137x132.png/ff4444/ffffff', + active: false, + sprints: [], }, { - 'name': 'Lynde Buer', - 'photo': 'http://dummyimage.com/166x203.png/ff4444/ffffff', - 'active': false, - 'sprints': [] + name: 'Lynde Buer', + photo: 'http://dummyimage.com/166x203.png/ff4444/ffffff', + active: false, + sprints: [], }, { - 'name': 'Annnora Beste', - 'photo': 'http://dummyimage.com/187x107.png/ff4444/ffffff', - 'active': false, - 'sprints': [] + name: 'Annnora Beste', + photo: 'http://dummyimage.com/187x107.png/ff4444/ffffff', + active: false, + sprints: [], }, { - 'name': 'Tricia Meyer', - 'photo': 'http://dummyimage.com/167x153.png/5fa2dd/ffffff', - 'active': true, - 'sprints': [ + name: 'Tricia Meyer', + photo: 'http://dummyimage.com/167x153.png/5fa2dd/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1579, - 'hse': 1123 - } + number: 1, + score: { + tech: 1579, + hse: 1123, + }, }, { - 'number': 2, - 'score': { - 'tech': 1346, - 'hse': 1032 - } - } - ] + number: 2, + score: { + tech: 1346, + hse: 1032, + }, + }, + ], }, { - 'name': 'Katrine Dinneen', - 'photo': 'http://dummyimage.com/128x137.png/5fa2dd/ffffff', - 'active': false, - 'sprints': [] + name: 'Katrine Dinneen', + photo: 'http://dummyimage.com/128x137.png/5fa2dd/ffffff', + active: false, + sprints: [], }, { - 'name': 'Helena Linneman', - 'photo': 'http://dummyimage.com/148x137.png/cc0000/ffffff', - 'active': false, - 'sprints': [] + name: 'Helena Linneman', + photo: 'http://dummyimage.com/148x137.png/cc0000/ffffff', + active: false, + sprints: [], }, { - 'name': 'Ellynn Shilleto', - 'photo': 'http://dummyimage.com/135x173.png/5fa2dd/ffffff', - 'active': true, - 'sprints': [ + name: 'Ellynn Shilleto', + photo: 'http://dummyimage.com/135x173.png/5fa2dd/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1791, - 'hse': 711 - } + number: 1, + score: { + tech: 1791, + hse: 711, + }, }, { - 'number': 2, - 'score': { - 'tech': 1483, - 'hse': 1197 - } - } - ] + number: 2, + score: { + tech: 1483, + hse: 1197, + }, + }, + ], }, { - 'name': 'Sherri Wotherspoon', - 'photo': 'http://dummyimage.com/157x187.png/5fa2dd/ffffff', - 'active': false, - 'sprints': [] + name: 'Sherri Wotherspoon', + photo: 'http://dummyimage.com/157x187.png/5fa2dd/ffffff', + active: false, + sprints: [], }, { - 'name': 'Josie Southorn', - 'photo': 'http://dummyimage.com/118x201.png/5fa2dd/ffffff', - 'active': true, - 'sprints': [ + name: 'Josie Southorn', + photo: 'http://dummyimage.com/118x201.png/5fa2dd/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1146, - 'hse': 937 - } + number: 1, + score: { + tech: 1146, + hse: 937, + }, }, { - 'number': 2, - 'score': { - 'tech': 910, - 'hse': 800 - } - } - ] + number: 2, + score: { + tech: 910, + hse: 800, + }, + }, + ], }, { - 'name': 'Carlynne Yo', - 'photo': 'http://dummyimage.com/240x147.png/dddddd/000000', - 'active': true, - 'sprints': [ + name: 'Carlynne Yo', + photo: 'http://dummyimage.com/240x147.png/dddddd/000000', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 961, - 'hse': 714 - } + number: 1, + score: { + tech: 961, + hse: 714, + }, }, { - 'number': 2, - 'score': { - 'tech': 1502, - 'hse': 649 - } - } - ] + number: 2, + score: { + tech: 1502, + hse: 649, + }, + }, + ], }, - { }, + { - 'name': 'Julieta Readhead', - 'photo': 'http://dummyimage.com/119x227.png/ff4444/ffffff', - 'active': false, - 'sprints': [] + name: 'Julieta Readhead', + photo: 'http://dummyimage.com/119x227.png/ff4444/ffffff', + active: false, + sprints: [], }, { - 'name': 'Meg Bachellier', - 'photo': 'http://dummyimage.com/241x165.png/dddddd/000000', - 'active': false, - 'sprints': [] + name: 'Meg Bachellier', + photo: 'http://dummyimage.com/241x165.png/dddddd/000000', + active: false, + sprints: [], }, { - 'name': 'Katharina Ponton', - 'photo': 'http://dummyimage.com/206x204.png/dddddd/000000', - 'active': true, - 'sprints': [ + name: 'Katharina Ponton', + photo: 'http://dummyimage.com/206x204.png/dddddd/000000', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1721, - 'hse': 907 - } + number: 1, + score: { + tech: 1721, + hse: 907, + }, }, { - 'number': 2, - 'score': { - 'tech': 1768, - 'hse': 836 - } - } - ] + number: 2, + score: { + tech: 1768, + hse: 836, + }, + }, + ], }, { - 'name': 'Hephzibah Poschel', - 'photo': 'http://dummyimage.com/171x236.png/cc0000/ffffff', - 'active': true, - 'sprints': [ + name: 'Hephzibah Poschel', + photo: 'http://dummyimage.com/171x236.png/cc0000/ffffff', + active: true, + sprints: [ { - 'number': 1, - 'score': { - 'tech': 1240, - 'hse': 652 - } + number: 1, + score: { + tech: 1240, + hse: 652, + }, }, { - 'number': 2, - 'score': { - 'tech': 1591, - 'hse': 834 - } - } - ] + number: 2, + score: { + tech: 1591, + hse: 834, + }, + }, + ], }, { - 'name': 'Brigit Wildsmith', - 'photo': 'http://dummyimage.com/232x187.png/5fa2dd/ffffff', - 'active': false, - 'sprints': [] - }, + name: 'Brigit Wildsmith', + photo: 'http://dummyimage.com/232x187.png/5fa2dd/ffffff', + active: false, + sprints: [], + }, { - 'name': 'Kim Sacase', - 'photo': 'http://dummyimage.com/155x169.png/cc0000/ffffff', - 'active': false, - 'sprints': [] + name: 'Kim Sacase', + photo: 'http://dummyimage.com/155x169.png/cc0000/ffffff', + active: false, + sprints: [], }, { - 'name': 'Ericka Carnilian', - 'photo': 'http://dummyimage.com/106x168.png/5fa2dd/ffffff', - 'active': true, - 'sprints': [ - { - 'number': 1, - 'score': { - 'tech': 1498, - 'hse': 972 - } + name: 'Ericka Carnilian', + photo: 'http://dummyimage.com/106x168.png/5fa2dd/ffffff', + active: true, + sprints: [ + { + number: 1, + score: { + tech: 1498, + hse: 972, + }, }, { - 'number': 2, - 'score': { - 'tech': 1790, - 'hse': 859 - } - } - ] - } + number: 2, + score: { + tech: 1790, + hse: 859, + }, + }, + ], + }, ], - 'ratings': [ + ratings: [ { - 'sprint': 1, - 'nps': { - 'promoters': 80, - 'passive': 16, - 'detractors': 4 + sprint: 1, + nps: { + promoters: 80, + passive: 16, + detractors: 4, }, - 'student': { + student: { 'no-cumple': 3, - 'cumple': 90, - 'supera': 7 + cumple: 90, + supera: 7, }, - 'teacher': 4.0, - 'jedi': 4.8 + teacher: 4.0, + jedi: 4.8, }, { - 'sprint': 2, - 'nps': { - 'promoters': 93, - 'passive': 2, - 'detractors': 5 + sprint: 2, + nps: { + promoters: 93, + passive: 2, + detractors: 5, }, - 'student': { + student: { 'no-cumple': 2, - 'cumple': 65, - 'supera': 33 + cumple: 65, + supera: 33, }, - 'teacher': 3.9, - 'jedi': 4.3 - } - ] - } - } + teacher: 3.9, + jedi: 4.3, + }, + ], + }, + }, }; diff --git a/student.html b/student.html index 3f894682..ff142be9 100644 --- a/student.html +++ b/student.html @@ -10,21 +10,28 @@ - + + + +
    +

    STUDENTS

    +
    +

    Especialización




    -



    +


    +
    @@ -38,20 +45,19 @@ -
    +
    -
    +
    -
    -
    -
    DIANA NAVARRO
    -
    Fronted Developer
    +
    +
    DIANA NAVARRO
    +
    Fronted Developer
    -
    +

    @@ -59,15 +65,15 @@
    -
    -
    +
    +

    -
    +

    @@ -77,10 +83,10 @@

    -
    -
    Javascript
    -
    APIs
    -
    JQuery
    +
    +
    Javascript
    +
    APIs
    +
    JQuery


    @@ -92,11 +98,6 @@
    - -
    ssssss -
    -
    -
    From d891b79dd16a832cba58d017a7351be46c35f3c6 Mon Sep 17 00:00:00 2001 From: yennyelizabeth Date: Mon, 4 Dec 2017 10:16:30 -0500 Subject: [PATCH 21/21] actualizando students muestra todas alumnas todas sedes --- js/app-1.js | 64 +++++----------------------------- js/array-student-data.js | 74 +++++++++++++++++++++++++++++++++++++--- student.html | 5 +++ 3 files changed, 84 insertions(+), 59 deletions(-) diff --git a/js/app-1.js b/js/app-1.js index ce75ae9c..08259553 100644 --- a/js/app-1.js +++ b/js/app-1.js @@ -12,63 +12,17 @@ window.addEventListener('load', function(event) { uxdesignButton.addEventListener('click', function(event) { alert('es click en uxdesing'); }); + + /* evento para botón de especialización front end designer */ var frontEndDesignerButton = document.getElementById('front-end-designer-button'); frontEndDesignerButton.addEventListener('click', function(event) { alert('es click en front end desing'); - var students = []; - var studentsData = []; - var baseTech = 1800; - var baseHse = 1200; - var acumTech = 0; - var acumHse = 0; - var ind = 0; - /* Sedes - Array */ - var sedes = Object.keys(data); - var sedesArray = []; - var studentGeneratiosArray = []; - for (var i = 0 ; i < 4 ; i++) { - sedesArray[i] = sedes[i]; - } - /* Generaciones- Array */ - var generations = Object.values(data); - /* sede */ - var generationsArray = Object.keys(generations[0]); /* AQP-GEN-POS 0 , hacer for para 2 */ - /* encuentro lista de alumnos */ - var generationsValues = Object.values(generations[0]); - var generationsValuesStudents = generationsValues[0]; - var generationsValuesStudentsData = Object.values(generationsValuesStudents); - var gen = generationsValuesStudentsData[0]; - /* extrayendo alumnas de sede arequipa */ - for (var aa = 0; aa < 15 ; aa++) { - studentsData = Object.values(gen[aa]); /* extrae alumnos */ - students[[aa, 0]] = sedesArray[0]; /* asigna sede arequipa */ - students[[aa, 1]] = generationsArray[0]; /* asigna generation 1 */ - students[[aa, 2]] = studentsData[0]; /* asigna nombre */ - students[[aa, 3]] = studentsData[1]; /* asigna foto */ - students[[aa, 4]] = studentsData[2]; /* asigna active */ - students[[aa, 5]] = studentsData[3]; /* asigna score objeto */ - ind = 0; - /* extrayendo puntaje de sprints */ - for (var bb = 0; bb < 4 ; bb++) { - var tech = Object.values(studentsData[3]); - var tec = Object.values(tech[bb]); - var tePoint = Object.values(tec[1]); - /* recorre las notas por print 4 por alumna */ - /* sprint 1 */ - ind = 0; - for (var cc = 0; cc < 2 ;cc++) { - students[[aa, 6 + bb + ind]] = ((tePoint[cc] / 1800) * 100).toFixed(1) ; /* tech */ - students[[aa, 7 + bb]] = ((tePoint[cc] / 1200) * 100).toFixed(1) ; /* hse */ - ind = ind + 1; - } - } - } - var acumTech = 0; - var acumHse = 0; /* para recorrer el array students */ - for (var zz = 0 ; zz < 15 ; zz++) { + + for (var zz = 0 ; zz < 259 ; zz++) { /* ubico área para crear elementos */ + var visualizationSection = document.getElementById('visualization'); /* creaación de elementos divs */ /* photo del estudiante */ @@ -77,7 +31,7 @@ window.addEventListener('load', function(event) { var imgPhoto = document.createElement('img'); /* img con propiedad src */ divStudent.classList.add('student'); divPhoto.classList.add('photo'); - imgPhoto.setAttribute('src', students[[zz, 3]]); + imgPhoto.setAttribute('src', students[[zz, 1]]); imgPhoto.classList.add('photo-standart'); visualizationSection.appendChild(divStudent); divStudent.appendChild(divPhoto); @@ -96,7 +50,7 @@ window.addEventListener('load', function(event) { divDate.appendChild(divDateStudent); divDateStudent.appendChild(divName); divDateStudent.appendChild(divEspecializationStudent); - divName.textContent = students[[zz, 2]]; + divName.textContent = students[[zz, 0]]; divEspecializationStudent.textContent = 'Front End Developer'; /* evaluación técnica */ var divTechSkills = document.createElement('div'); @@ -112,7 +66,7 @@ window.addEventListener('load', function(event) { divTech.appendChild(labelPercentTech); divTech.appendChild(brUp1); divTech.appendChild(labelNumberTech); - labelPercentTech.textContent = students[[zz, 6]] + ' % ' ; + labelPercentTech.textContent = students[[zz, 13]] + ' % ' ; labelNumberTech.textContent = ' TECH SKILLS '; /* evaluación habilidades blandas */ var divLifeSkills = document.createElement('div'); @@ -128,7 +82,7 @@ window.addEventListener('load', function(event) { divLife.appendChild(labelPercentHse); divLife.appendChild(brUp2); divLife.appendChild(labelNumberHse); - labelPercentHse.textContent = students[[zz, 7]] + ' % '; + labelPercentHse.textContent = students[[zz, 14]] + ' % '; labelNumberHse.textContent = ' LIFE SKILLS '; /* evaluación habilidades blandas */ var divEnglishSkills = document.createElement('div'); diff --git a/js/array-student-data.js b/js/array-student-data.js index 86bf15a7..5269fbfe 100644 --- a/js/array-student-data.js +++ b/js/array-student-data.js @@ -1,4 +1,3 @@ - var students = []; /* array de estudiantes */ var baseTech = 1800; /* parámetro de base skill tech */ var baseHse = 1200; /* parámetro de base skill hse */ @@ -8,20 +7,33 @@ var indSt = 0; /* indice correlativo de nro de estudiante */ var ind = 0; /* índice para aumentar la posición Y de array student en la asignación de valores segun if */ var bases = Object.values(data); /* bases de laboratoria */ -for (var indB = 0 ; indB < bases.length ; indB ++) { +for (var indB = 0 ; indB < bases.length ; indB ++) { /* sedes */ var basesGenerations = Object.values(bases[indB]); /* generaciones por bases */ for (var indG = 0 ; indG < basesGenerations.length ; indG++) { /* nro de generaciones por base */ var arrayTemp1 = Object.values(basesGenerations[indG]); /* alumnas y ranting por generación */ var arrayTemp2 = Object.values(arrayTemp1[0]); /* alumnas por generación */ for (var i = 0 ; i < arrayTemp2.length ; i ++) { /* alumnas x generación */ var aStudentBaseGeneration = Object.values(arrayTemp2[i]); /* una de alumna */ + if (indB === 0) { + students[[indSt, 15]] = 'AQP'; + } + if (indB === 1) { + students[[indSt, 15]] = 'CDMX'; + } + if (indB === 2) { + students[[indSt, 15]] = 'LIM'; + } + if (indB === 3) { + students[[indSt, 15]] = 'SCL'; + } + students[[indSt, 0]] = aStudentBaseGeneration[0]; /* name */ students[[indSt, 1]] = aStudentBaseGeneration[1]; /* photo */ students[[indSt, 2]] = aStudentBaseGeneration[2]; /* active */ students[[indSt, 3]] = aStudentBaseGeneration[3]; /* score */ var countSprintsAlumna = aStudentBaseGeneration[3]; ind = 0; - if (countSprintsAlumna.length >= 1) { + if (countSprintsAlumna.length >= 2) { /* si tiene por lo menos un spring */ students[[indSt, 4]] = countSprintsAlumna.length; /* # sprints x alumna */ for (var indSprint = 0 ; indSprint < countSprintsAlumna.length ; indSprint ++) { /* # sprints x alumna */ var arrayTemp3 = Object.values(countSprintsAlumna[indSprint]); /* contiene objeto */ @@ -37,11 +49,21 @@ for (var indB = 0 ; indB < bases.length ; indB ++) { } } } + if (students[[indSt, 4]] === 2) { + students[[indSt, 9]] = 0; + students[[indSt, 10]] = 0; + students[[indSt, 11]] = 0; + students[[indSt, 12]] = 0; + } + if (students[[indSt, 4]] === 3) { + students[[indSt, 11]] = 0; + students[[indSt, 12]] = 0; + } students[[indSt, 13]] = (acumTech / countSprintsAlumna.length).toFixed(1) ; students[[indSt, 14]] = (acumHse / countSprintsAlumna.length).toFixed(1) ; acumTech = 0 ; acumHse = 0; - } else { + } else { /* no tiene sprints */ students[[indSt, 4]] = 0; /* cero sprints */ students[[indSt, 5]] = 0; /* sin nota */ students[[indSt, 6]] = 0; /* sin nota */ @@ -49,8 +71,52 @@ for (var indB = 0 ; indB < bases.length ; indB ++) { students[[indSt, 8]] = 0; /* sin nota */ students[[indSt, 9]] = 0; /* sin nota */ students[[indSt, 10]] = 0; /* sin nota */ + students[[indSt, 11]] = 0; /* sin nota */ + students[[indSt, 12]] = 0; /* sin nota */ + students[[indSt, 13]] = 0; /* sin nota */ + students[[indSt, 14]] = 0; /* sin nota */ + if (indB === 0) { + students[[indSt, 15]] = 'AQP'; + } + if (indB === 1) { + students[[indSt, 15]] = 'CDMX'; + } + if (indB === 2) { + students[[indSt, 15]] = 'LIM'; + } + if (indB === 3) { + students[[indSt, 15]] = 'SCL'; + } } indSt = indSt + 1 ; } } } +students[[259, 15]] = 'SCL'; + +/* consultas del array students*/ +var arrayAQP = [] ; +var inda = 0; +alert('entra aqui', students[[0, 0]]); +for (var indx = 0 ; indx < students.length ; indx ++) { + if (students[[indx, 2]] === true & students[[indx, 15]] === 'AQP') { + arrayAQP[[inda, 0]] = students[[indx, 0]] ; + arrayAQP[[inda, 1]] = students[[indx, 1]] ; + arrayAQP[[inda, 3]] = students[[indx, 3]] ; + arrayAQP[[inda, 4]] = students[[indx, 4]] ; + arrayAQP[[inda, 5]] = students[[indx, 5]] ; + arrayAQP[[inda, 6]] = students[[indx, 6]] ; + arrayAQP[[inda, 7]] = students[[indx, 7]] ; + arrayAQP[[inda, 8]] = students[[indx, 8]] ; + arrayAQP[[inda, 9]] = students[[indx, 9]] ; + arrayAQP[[inda, 10]] = students[[indx, 10]] ; + arrayAQP[[inda, 11]] = students[[indx, 11]] ; + arrayAQP[[inda, 12]] = students[[indx, 12]] ; + arrayAQP[[inda, 13]] = students[[indx, 13]] ; + arrayAQP[[inda, 14]] = students[[indx, 14]] ; + arrayAQP[[inda, 15]] = students[[indx, 15]] ; + } else { + alert('no hay coincidencias'); + } + inda = inda + 1; +} diff --git a/student.html b/student.html index ff142be9..4aa81c61 100644 --- a/student.html +++ b/student.html @@ -25,6 +25,10 @@

    STUDENTS

    Especialización

    + + + +


    @@ -104,6 +108,7 @@

    Especialización

    +