From 0e6b38eaead05dd18958f42e0987429f08c147b6 Mon Sep 17 00:00:00 2001 From: Vinnu Gollakoti Date: Mon, 3 Feb 2025 22:20:47 +0530 Subject: [PATCH 1/2] added --- src/data/algo25Top.js | 98 ++++++++++++++++++++++++++++++++++ src/views/DashboardResults.jsx | 29 +++++----- 2 files changed, 113 insertions(+), 14 deletions(-) create mode 100644 src/data/algo25Top.js diff --git a/src/data/algo25Top.js b/src/data/algo25Top.js new file mode 100644 index 0000000..6e68162 --- /dev/null +++ b/src/data/algo25Top.js @@ -0,0 +1,98 @@ +const algo25Top = +[ + { "used7DigitID": 99210041137, "name": "ANKIREDDYPALLI SHASHANK KUMAR REDDY 2021-CSEUG BATCH", "regNo": "99210041137", "section1": "12.5", "section2": "12.5", "section3": "15", "overallMarks": "40", "completionTime": "N/A" }, + { "used7DigitID": 99220042034, "name": "ARNI VINAY 2022-CSE", "regNo": "99220042034", "section1": "12.5", "section2": "8.75", "section3": "17.5", "overallMarks": "38.75", "completionTime": "N/A" }, + { "used7DigitID": 99220041214, "name": "KANUPARTHI MOKSHITH", "regNo": "99220041214", "section1": "11.25", "section2": "10", "section3": "15", "overallMarks": "36.25", "completionTime": "N/A" }, + { "used7DigitID": 9921004526, "name": "PALLAPOTHULA GURU CHARAN 2021-CSEUG BATCH", "regNo": "9921004526", "section1": "12.5", "section2": "13.75", "section3": "9", "overallMarks": "35.25", "completionTime": "N/A" }, + { "used7DigitID": 99220041002, "name": "SIVADANAM SIVA SAI TEJA 2022-CSE", "regNo": "99220041002", "section1": "10", "section2": "10.25", "section3": "14", "overallMarks": "34.25", "completionTime": "N/A" }, + { "used7DigitID": 99220041314, "name": "PINNAMANENI PRANEETH", "regNo": "99220041314", "section1": "12.5", "section2": "11.25", "section3": "10", "overallMarks": "33.75", "completionTime": "N/A" }, + { "used7DigitID": 99210041501, "name": "AMBATI VINOD", "regNo": "99210041501", "section1": "8.75", "section2": "11.25", "section3": "12.5", "overallMarks": "32.5", "completionTime": "N/A" }, + { "used7DigitID": 99220040882, "name": "K MOUNIKA", "regNo": "99220040882", "section1": "10.5", "section2": "8", "section3": "13.5", "overallMarks": "32", "completionTime": "N/A" }, + { "used7DigitID": 99220041755, "name": "VANGA VENKATA CHARAN SIVA KUMAR 2022-CSE", "regNo": "99220041755", "section1": "12.5", "section2": "11.25", "section3": "7.5", "overallMarks": "31.25", "completionTime": "N/A" }, + { "used7DigitID": 99230041297, "name": "V ATHITHYA RAMAA", "regNo": "99230041297", "section1": "14", "section2": "13.75", "section3": "3", "overallMarks": "30.75", "completionTime": "N/A" }, + { "used7DigitID": 99220041976, "name": "NALLAMALLI VENKATA RAM TEJA", "regNo": "99220041976", "section1": "9", "section2": "6.5", "section3": "15", "overallMarks": "30.5", "completionTime": "N/A" }, + { "used7DigitID": 99220041203, "name": "KADALI HEMANTH 2022-CSE", "regNo": "99220041203", "section1": "13.75", "section2": "11.25", "section3": "5", "overallMarks": "30", "completionTime": "N/A" }, + { "used7DigitID": 99220041419, "name": "YAPARALA SASHIKANTH REDDY 2022-CSE", "regNo": "99220041419", "section1": "11.25", "section2": "11.25", "section3": "7.5", "overallMarks": "30", "completionTime": "N/A" }, + { "used7DigitID": 99230041155, "name": "RAKSHAN ANANTH.M 2023-CSE", "regNo": "99230041155", "section1": "11.5", "section2": "11.25", "section3": "7", "overallMarks": "29.75", "completionTime": "N/A" }, + { "used7DigitID": 99220040012, "name": "ANNAREDDY VENKATA MANJUNATHA REDDY 2022-CSE", "regNo": "99220040012", "section1": "8.25", "section2": "11.25", "section3": "10", "overallMarks": "29.5", "completionTime": "N/A" }, + { "used7DigitID": 99210041970, "name": "AMBE NIROSHA", "regNo": "99210041970", "section1": "6.75", "section2": "9", "section3": "13.5", "overallMarks": "29.25", "completionTime": "N/A" }, + { "used7DigitID": 99220041385, "name": "SWARNA BRAHMATEJA", "regNo": "99220041385", "section1": "12.75", "section2": "11.25", "section3": "5", "overallMarks": "29", "completionTime": "N/A" }, + { "used7DigitID": 99220041385, "name": "YEMIREDDY OBULA REDDY 2022-CSE", "regNo": "99220041385", "section1": "9", "section2": "10", "section3": "10", "overallMarks": "29", "completionTime": "N/A" }, + { "used7DigitID": 9921004515, "name": "NUKANABOYINA DHARANI OBULESU", "regNo": "9921004515", "section1": "11.25", "section2": "7.5", "section3": "10", "overallMarks": "18.75", "completionTime": "N/A" }, + { "used7DigitID": 99220041674, "name": "PITHANI PURNENDRA TEJA", "regNo": "99220041674", "section1": "7.75", "section2": "7.75", "section3": "13", "overallMarks": "28.5", "completionTime": "N/A" }, + { "used7DigitID": 99210041681, "name": "PUNGANUR DINESH 2021-CSE UG", "regNo": "99210041681", "section1": "10", "section2": "12.5", "section3": "5", "overallMarks": "17.5", "completionTime": "N/A" }, + { "used7DigitID": 99230040379, "name": "NAGINAYANI CHERUVU ANIRUDH", "regNo": "99230040379", "section1": "5.25", "section2": "10.5", "section3": "11.5", "overallMarks": "27.25", "completionTime": "N/A" }, + { "used7DigitID": 99220041610, "name": "NUTAKKI DEVI MOHAN", "regNo": "99220041610", "section1": "10", "section2": "11.5", "section3": "5", "overallMarks": "16.5", "completionTime": "N/A" }, + { "used7DigitID": 99220040572, "name": "KASALA ABHINAV", "regNo": "99220040572", "section1": "7.75", "section2": "8.75", "section3": "10", "overallMarks": "26.5", "completionTime": "N/A" }, + { "used7DigitID": 99220041125, "name": "BATTULA SAI GIRISH KUMAR", "regNo": "99220041125", "section1": "12.5", "section2": "13.75", "section3": "9", "overallMarks": "35.25", "completionTime": "N/A" }, + { "used7DigitID": 99220040136, "name": "MYMOON SULTHANA K", "regNo": "99220040136", "section1": "5", "section2": "6.25", "section3": "15", "overallMarks": "26.25", "completionTime": "N/A" }, + { "used7DigitID": 99220041754, "name": "UNDELA YASWANTH REDDY 2022-CSE", "regNo": "99220041754", "section1": "8.75", "section2": "12.5", "section3": "5", "overallMarks": "16.25", "completionTime": "N/A" }, + { "used7DigitID": 99220041706, "name": "MARKAPURAM DHANA LAKSHMI 2022-CSE", "regNo": "99220041706", "section1": "10", "section2": "10", "section3": "5.5", "overallMarks": "25.5", "completionTime": "N/A" }, + { "used7DigitID": 99220040624, "name": "MANJULA THARUN KUMAR 2022-CSE", "regNo": "99220040624", "section1": "9", "section2": "9", "section3": "6", "overallMarks": "24", "completionTime": "N/A" }, + { "used7DigitID": 99220041312, "name": "PERNETI YESWANTH KUMAR 2022-CSE", "regNo": "99220041312", "section1": "5", "section2": "7.75", "section3": "11", "overallMarks": "23.75", "completionTime": "N/A" }, + { "used7DigitID": 99220041716, "name": "POKURI NAPPINNA SARANYA 2022-CSE", "regNo": "99220041716", "section1": "11.25", "section2": "7.5", "section3": "5", "overallMarks": "23.75", "completionTime": "N/A" }, + { "used7DigitID": 99220041760, "name": "BINKINETI ESWAR CHAND 2022-CSE", "regNo": "99220041760", "section1": "11.5", "section2": "6", "section3": "5.5", "overallMarks": "23", "completionTime": "N/A" }, + { "used7DigitID": 99220041504, "name": "KAREN MORISHA E", "regNo": "99220041504", "section1": "7.5", "section2": "0", "section3": "15", "overallMarks": "22.5", "completionTime": "N/A" }, + { "used7DigitID": 9823037011, "name": "PAVAN M M", "regNo": "9823037011", "section1": "6.25", "section2": "5", "section3": "10", "overallMarks": "11.25", "completionTime": "N/A" }, + { "used7DigitID": 99220041482, "name": "GRANDHI V RAMA AMARA LAKSHMI MANIKANTA", "regNo": "99220041482", "section1": "10", "section2": "11.25", "section3": "-0.5", "overallMarks": "20.75", "completionTime": "N/A" }, + { "used7DigitID": 99220040482, "name": "DARAM THANU SRI 2022-CSE", "regNo": "99220040482", "section1": "2.5", "section2": "2.25", "section3": "15.5", "overallMarks": "20.25", "completionTime": "N/A" }, + { "used7DigitID": 99220041489, "name": "JAKKU VEERA JAGADESWAR REDDY 2022-CSE", "regNo": "99220041489", "section1": "7.5", "section2": "7.5", "section3": "5", "overallMarks": "20", "completionTime": "N/A" }, + { "used7DigitID": 99220041775, "name": "GURRAM MONESH REDDY", "regNo": "99220041775", "section1": "4.25", "section2": "6.75", "section3": "8.5", "overallMarks": "9.5", "completionTime": "N/A" }, + { "used7DigitID": 99220040892, "name": "KOMMINENI KAVYA SREE", "regNo": "99220040892", "section1": "8", "section2": "3", "section3": "7.5", "overallMarks": "18.5", "completionTime": "N/A" }, + { "used7DigitID": 99210041367, "name": "PULIPATI NIKHIL 2021-CSEUG", "regNo": "99210041367", "section1": "11.25", "section2": "1.5", "section3": "5.5", "overallMarks": "18.25", "completionTime": "N/A" }, + { "used7DigitID": 99220041420, "name": "YARLAGADDA SETU SAI RAM 2022-CSE", "regNo": "99220041420", "section1": "2.5", "section2": "0", "section3": "15", "overallMarks": "17.5", "completionTime": "N/A" }, + { "used7DigitID": 99220041729, "name": "VIGNESH KUMAR R", "regNo": "99220041729", "section1": "5.5", "section2": "6.25", "section3": "5", "overallMarks": "16.75", "completionTime": "N/A" }, + { "used7DigitID": 99220040666, "name": "NIVETHA M 2022-CSE", "regNo": "99220040666", "section1": "2.5", "section2": "6.25", "section3": "8", "overallMarks": "16.75", "completionTime": "N/A" }, + { "used7DigitID": 99220041602, "name": "CALEB GUNALAN. M", "regNo": "99220041602", "section1": "5.75", "section2": "5.75", "section3": "5", "overallMarks": "16.5", "completionTime": "N/A" }, + { "used7DigitID": 99220041210, "name": "KANCHETI CHAITANYA 2022-CSE", "regNo": "99220041210", "section1": "2.5", "section2": "3.75", "section3": "10", "overallMarks": "16.25", "completionTime": "N/A" }, + { "used7DigitID": 99220041283, "name": "NIMMAKAYALA VIJAY KUMAR REDDY", "regNo": "99220041283", "section1": "5", "section2": "3.75", "section3": "7.5", "overallMarks": "16.25", "completionTime": "N/A" }, + { "used7DigitID": 9922008051, "name": "MuraliDharan N G", "regNo": "9922008051", "section1": "4.25", "section2": "3", "section3": "9", "overallMarks": "16.25", "completionTime": "N/A" }, + { "used7DigitID": 99220040731, "name": "SHARMILAA B 2022-CSE", "regNo": "99220040731", "section1": "3.75", "section2": "3.75", "section3": "7.5", "overallMarks": "15", "completionTime": "N/A" }, + { "used7DigitID": 99210041051, "name": "KARANAM SAI SHARAN 2021-CSEUG BATCH", "regNo": "99210041051", "section1": "4", "section2": "3", "section3": "8", "overallMarks": "15", "completionTime": "N/A" }, + { "used7DigitID": 9823037005, "name": "DAYANANDA M R", "regNo": "9823037005", "section1": "3.75", "section2": "10", "section3": "0", "overallMarks": "3.75", "completionTime": "N/A" }, + { "used7DigitID": 99220041655, "name": "GELLA RAGHURAM 2022-CSE", "regNo": "99220041655", "section1": "-1.25", "section2": "5", "section3": "10", "overallMarks": "13.75", "completionTime": "N/A" }, + { "used7DigitID": 99220041679, "name": "Shaik ishan", "regNo": "99220041679", "section1": "2.5", "section2": "1.25", "section3": "10", "overallMarks": "13.75", "completionTime": "N/A" }, + { "used7DigitID": 99210041914, "name": "SYED MOHAMMED ATEEB MUDABBIR 2021-CSE UG", "regNo": "99210041914", "section1": "0.75", "section2": "2.25", "section3": "10.5", "overallMarks": "13.5", "completionTime": "N/A" }, + { "used7DigitID": 99220041617, "name": "SURYA PRAKASH V 2022-CSE", "regNo": "99220041617", "section1": "5", "section2": "2.75", "section3": "5.5", "overallMarks": "13.25", "completionTime": "N/A" }, + { "used7DigitID": 99220040809, "name": "BHARGAV BALARAM RAMANUJAKUTAM 2022-CSE", "regNo": "99220040809", "section1": "4.5", "section2": "2", "section3": "6.5", "overallMarks": "13", "completionTime": "N/A" }, + { "used7DigitID": 99220041348, "name": "SANIGALA BHARATH", "regNo": "99220041348", "section1": "7.75", "section2": "2.5", "section3": "2.5", "overallMarks": "12.75", "completionTime": "N/A" }, + { "used7DigitID": 99220041603, "name": "GAYATHRE PRIYA T 2022-CSE", "regNo": "99220041603", "section1": "5", "section2": "5", "section3": "2.5", "overallMarks": "12.5", "completionTime": "N/A" }, + { "used7DigitID": 99220040121, "name": "MARUBOYANA KOWSHIK 2022-CSE", "regNo": "99220040121", "section1": "2.5", "section2": "5", "section3": "5", "overallMarks": "12.5", "completionTime": "N/A" }, + { "used7DigitID": 99220041222, "name": "KOLA SAI CHAITANYA 2022-CSE", "regNo": "99220041222", "section1": "1.25", "section2": "1.25", "section3": "10", "overallMarks": "12.5", "completionTime": "N/A" }, + { "used7DigitID": 99220041276, "name": "NARMADHA B 2022-CSE", "regNo": "99220041276", "section1": "1.25", "section2": "2.5", "section3": "7.5", "overallMarks": "11.25", "completionTime": "N/A" }, + { "used7DigitID": 99220041664, "name": "MAMUDURU ROHITH 2022-CSE", "regNo": "99220041664", "section1": "2.5", "section2": "1.25", "section3": "7.5", "overallMarks": "11.25", "completionTime": "N/A" }, + { "used7DigitID": 99220041682, "name": "SHREE DEVAMANKAI B", "regNo": "99220041682", "section1": "3.75", "section2": "0", "section3": "7.5", "overallMarks": "11.25", "completionTime": "N/A" }, + { "used7DigitID": 99220041465, "name": "DHARSHINI M 2022-CSE", "regNo": "99220041465", "section1": "4", "section2": "3.75", "section3": "2.5", "overallMarks": "10.25", "completionTime": "N/A" }, + { "used7DigitID": 99220041221, "name": "KIRUTHIKA 2022-CSE", "regNo": "99220041221", "section1": "2.5", "section2": "5", "section3": "2.5", "overallMarks": "10", "completionTime": "N/A" }, + { "used7DigitID": 99220041615, "name": "M.J.Sharugeshan 2022-CSE", "regNo": "99220041615", "section1": "5", "section2": "2.5", "section3": "2.5", "overallMarks": "10", "completionTime": "N/A" }, + { "used7DigitID": 99220041727, "name": "KHARUNYA KRISHNA K B 2022-CSE", "regNo": "99220041727", "section1": "5", "section2": "2.5", "section3": "2.5", "overallMarks": "10", "completionTime": "N/A" }, + { "used7DigitID": 9921004838, "name": "BANDI PAVAN KALYAN REDDY", "regNo": "9921004838", "section1": "3", "section2": "1.25", "section3": "5", "overallMarks": "9.25", "completionTime": "N/A" }, + { "used7DigitID": 9823037013, "name": "RANJITH C", "regNo": "9823037013", "section1": "3.75", "section2": "5", "section3": "0", "overallMarks": "8.75", "completionTime": "N/A" }, + { "used7DigitID": 99220041609, "name": "NISANTH VENKAT S", "regNo": "99220041609", "section1": "3.75", "section2": "1.25", "section3": "3.5", "overallMarks": "8.5", "completionTime": "N/A" }, + { "used7DigitID": 99220040044, "name": "DIVYA SRI DIGAMARTHI 2022-CSE", "regNo": "99220040044", "section1": "2.25", "section2": "1.25", "section3": "4.5", "overallMarks": "8", "completionTime": "N/A" }, + { "used7DigitID": 99220041035, "name": "YASHWANTH . A 2022-CSE", "regNo": "99220041035", "section1": "0.25", "section2": "1.75", "section3": "6", "overallMarks": "8", "completionTime": "N/A" }, + { "used7DigitID": 99220041705, "name": "KONDA SAI KIRAN 2022-CSE", "regNo": "99220041705", "section1": "1.75", "section2": "2.5", "section3": "3", "overallMarks": "7.25", "completionTime": "N/A" }, + { "used7DigitID": 99220041606, "name": "JONNALAGADDA SOMANADH CHOWDARY 2022-CSE", "regNo": "99220041606", "section1": "2.5", "section2": "0", "section3": "2.5", "overallMarks": "5", "completionTime": "N/A" }, + { "used7DigitID": 99220041715, "name": "PERAM MANJUNADH REDDY", "regNo": "99220041715", "section1": "0", "section2": "0", "section3": "5", "overallMarks": "5", "completionTime": "N/A" }, + { "used7DigitID": 99220041029, "name": "VENNA NAGA SIVA SAI REDDY", "regNo": "99220041029", "section1": "5", "section2": "-1.25", "section3": "0", "overallMarks": "3.75", "completionTime": "N/A" }, + { "used7DigitID": 99210041139, "name": "ARUN S 2021-CSEUG BATCH", "regNo": "99210041139", "section1": "0", "section2": "1.25", "section3": "2.5", "overallMarks": "3.75", "completionTime": "N/A" }, + { "used7DigitID": 99220041415, "name": "VISHVANTH.V.S", "regNo": "99220041415", "section1": "-2.5", "section2": "-1.25", "section3": "7.5", "overallMarks": "3.75", "completionTime": "N/A" }, + { "used7DigitID": 99220041553, "name": "PERUVAILA KIRAN KUMAR 2022-CSE", "regNo": "99220041553", "section1": "1.25", "section2": "0", "section3": "2.5", "overallMarks": "3.75", "completionTime": "N/A" }, + { "used7DigitID": 99220041248, "name": "MANIKONDA VISWANATH GUPTA SAI PRAZWAL", "regNo": "99220041248", "section1": "0.5", "section2": "3", "section3": "0", "overallMarks": "3.5", "completionTime": "N/A" }, + { "used7DigitID": 99220041306, "name": "PEDDAMALLU NIKITH KUMAR REDDY 2022-CSE", "regNo": "99220041306", "section1": "0.75", "section2": "0.25", "section3": "1.5", "overallMarks": "2.5", "completionTime": "N/A" }, + { "used7DigitID": 99220041373, "name": "Sohan Kumar", "regNo": "99220041373", "section1": "2.5", "section2": "0", "section3": "0", "overallMarks": "2.5", "completionTime": "N/A" }, + { "used7DigitID": 99220041607, "name": "Mugila.Y 2022-CSE", "regNo": "99220041607", "section1": "1.25", "section2": "-1.25", "section3": "2.5", "overallMarks": "2.5", "completionTime": "N/A" }, + { "used7DigitID": 99220041502, "name": "KANNA SHANMUKHA SAI PRAHASEETH 2022-CSE", "regNo": "99220041502", "section1": "-0.75", "section2": "0.5", "section3": "1.5", "overallMarks": "1.25", "completionTime": "N/A" }, + { "used7DigitID": 99220040918, "name": "MARUPROLU JYOTHSNA", "regNo": "99220040918", "section1": "1.25", "section2": "-1", "section3": "0.5", "overallMarks": "0.75", "completionTime": "N/A" }, + { "used7DigitID": 99220041392, "name": "THANNIRU KRANTHI KUMAR 2022-CSE", "regNo": "99220041392", "section1": "1.25", "section2": "-1.25", "section3": "0", "overallMarks": "0", "completionTime": "N/A" }, + { "used7DigitID": 99220041393, "name": "THEVA HARI PRASATH B 2022-CSE", "regNo": "99220041393", "section1": "-1.25", "section2": "1.25", "section3": "0", "overallMarks": "0", "completionTime": "N/A" }, + { "used7DigitID": 99220041737, "name": "DUDEKULA SAMEER", "regNo": "99220041737", "section1": "-1.25", "section2": "-1.25", "section3": "2.5", "overallMarks": "0", "completionTime": "N/A" }, + { "used7DigitID": 99220040119, "name": "MANYAM INDU 2022-CSE", "regNo": "99220040119", "section1": "-2.25", "section2": "-0.75", "section3": "2.5", "overallMarks": "-0.5", "completionTime": "N/A" }, + { "used7DigitID": 99220041211, "name": "KANDUKURU VAMSI 2022-CSE", "regNo": "99220041211", "section1": "0.75", "section2": "0", "section3": "-2.5", "overallMarks": "-1.75", "completionTime": "N/A" }, + { "used7DigitID": 99220041225, "name": "Kollipalli Yuvaraj", "regNo": "99220041225", "section1": "-1.75", "section2": "1.25", "section3": "-1.5", "overallMarks": "-2", "completionTime": "N/A" }, + { "used7DigitID": 99220041608, "name": "NAVINKARTHICK E 2022-CSE", "regNo": "99220041608", "section1": "2.75", "section2": "0", "section3": "-5", "overallMarks": "-2.25", "completionTime": "N/A" }, + { "used7DigitID": 99220041485, "name": "GULLAPPUDI LALITH KUMAR 2022-CSE", "regNo": "99220041485", "section1": "12.5", "section2": "12.5", "section3": "2.5", "overallMarks": "27.5", "completionTime": "N/A" } +] + + +export default algo25Top \ No newline at end of file diff --git a/src/views/DashboardResults.jsx b/src/views/DashboardResults.jsx index 8b11af0..8f321ce 100644 --- a/src/views/DashboardResults.jsx +++ b/src/views/DashboardResults.jsx @@ -6,6 +6,7 @@ import { IoIosLock } from "react-icons/io"; import { useEffect } from "react"; import algo24Top from "../data/algo24Top"; +import algo25Top from "../data/algo25Top"; import round4Results from "../data/round4Results"; import axios from "../scripts/axiosConfig"; @@ -358,7 +359,7 @@ export default function DashboardResults(props) {
Results
-
Round 4 - Debugging
+ {/*
Round 4 - Debugging
{ @@ -369,9 +370,9 @@ export default function DashboardResults(props) { }
-
+
*/} -
Round 3 - QnA
+ {/*
Round 3 - QnA
{round3Results.map((team, index) => ( @@ -408,11 +409,11 @@ export default function DashboardResults(props) {
))}
-
-
+ */} + {/*
-
Round 2 - Seminar
-
+
Round 2 - Seminar
*/} + {/*
*/} {/* {Object.keys(round2Best).map((key) => ( <> @@ -444,7 +445,7 @@ export default function DashboardResults(props) { ))} */} - {round2Results.value.length > 0 ? ( + {/* {round2Results.value.length > 0 ? ( )} -
+
*/} -
+ {/*
*/}
Round 1 - Quiz
-
+ {/*
*/} {/*
Round 4 - Debugging
*/} -
+ {/*
Round 5 - Coding -
+ */}
From 4ceafdd5a196d9658fad876e89eb3c2f9e0c5984 Mon Sep 17 00:00:00 2001 From: Vinnu Gollakoti Date: Mon, 3 Feb 2025 23:15:28 +0530 Subject: [PATCH 2/2] added --- src/data/algo25Top.js | 32 +++++++++++++++++++++----------- src/views/DashboardResults.jsx | 14 +++++++------- 2 files changed, 28 insertions(+), 18 deletions(-) diff --git a/src/data/algo25Top.js b/src/data/algo25Top.js index 6e68162..4357ede 100644 --- a/src/data/algo25Top.js +++ b/src/data/algo25Top.js @@ -1,15 +1,15 @@ const algo25Top = [ - { "used7DigitID": 99210041137, "name": "ANKIREDDYPALLI SHASHANK KUMAR REDDY 2021-CSEUG BATCH", "regNo": "99210041137", "section1": "12.5", "section2": "12.5", "section3": "15", "overallMarks": "40", "completionTime": "N/A" }, + { "used7DigitID": 99210041137, "name": "ANKIREDDYPALLI SHASHANK KUMAR REDDY 2021-CSEUG BATCH", "regNo": "99210041137", "section1": "2.5", "section2": "12.5", "section3": "13", "overallMarks": "28", "completionTime": "N/A" }, { "used7DigitID": 99220042034, "name": "ARNI VINAY 2022-CSE", "regNo": "99220042034", "section1": "12.5", "section2": "8.75", "section3": "17.5", "overallMarks": "38.75", "completionTime": "N/A" }, { "used7DigitID": 99220041214, "name": "KANUPARTHI MOKSHITH", "regNo": "99220041214", "section1": "11.25", "section2": "10", "section3": "15", "overallMarks": "36.25", "completionTime": "N/A" }, - { "used7DigitID": 9921004526, "name": "PALLAPOTHULA GURU CHARAN 2021-CSEUG BATCH", "regNo": "9921004526", "section1": "12.5", "section2": "13.75", "section3": "9", "overallMarks": "35.25", "completionTime": "N/A" }, + { "used7DigitID": 9921004526, "name": "PALLAPOTHULA GURU CHARAN 2021-CSEUG BATCH", "regNo": "9921004526", "section1": "10", "section2": "11", "section3": "7", "overallMarks": "27", "completionTime": "N/A" }, { "used7DigitID": 99220041002, "name": "SIVADANAM SIVA SAI TEJA 2022-CSE", "regNo": "99220041002", "section1": "10", "section2": "10.25", "section3": "14", "overallMarks": "34.25", "completionTime": "N/A" }, { "used7DigitID": 99220041314, "name": "PINNAMANENI PRANEETH", "regNo": "99220041314", "section1": "12.5", "section2": "11.25", "section3": "10", "overallMarks": "33.75", "completionTime": "N/A" }, - { "used7DigitID": 99210041501, "name": "AMBATI VINOD", "regNo": "99210041501", "section1": "8.75", "section2": "11.25", "section3": "12.5", "overallMarks": "32.5", "completionTime": "N/A" }, + { "used7DigitID": 99210041501, "name": "AMBATI VINOD", "regNo": "99210041501", "section1": "8", "section2": "11", "section3": "8.5", "overallMarks": "27.5", "completionTime": "N/A" }, { "used7DigitID": 99220040882, "name": "K MOUNIKA", "regNo": "99220040882", "section1": "10.5", "section2": "8", "section3": "13.5", "overallMarks": "32", "completionTime": "N/A" }, { "used7DigitID": 99220041755, "name": "VANGA VENKATA CHARAN SIVA KUMAR 2022-CSE", "regNo": "99220041755", "section1": "12.5", "section2": "11.25", "section3": "7.5", "overallMarks": "31.25", "completionTime": "N/A" }, - { "used7DigitID": 99230041297, "name": "V ATHITHYA RAMAA", "regNo": "99230041297", "section1": "14", "section2": "13.75", "section3": "3", "overallMarks": "30.75", "completionTime": "N/A" }, + { "used7DigitID": 99230041297, "name": "V ATHITHYA RAMAA", "regNo": "99230041297", "section1": "9", "section2": "8.75", "section3": "3", "overallMarks": "20.75", "completionTime": "N/A" }, { "used7DigitID": 99220041976, "name": "NALLAMALLI VENKATA RAM TEJA", "regNo": "99220041976", "section1": "9", "section2": "6.5", "section3": "15", "overallMarks": "30.5", "completionTime": "N/A" }, { "used7DigitID": 99220041203, "name": "KADALI HEMANTH 2022-CSE", "regNo": "99220041203", "section1": "13.75", "section2": "11.25", "section3": "5", "overallMarks": "30", "completionTime": "N/A" }, { "used7DigitID": 99220041419, "name": "YAPARALA SASHIKANTH REDDY 2022-CSE", "regNo": "99220041419", "section1": "11.25", "section2": "11.25", "section3": "7.5", "overallMarks": "30", "completionTime": "N/A" }, @@ -18,26 +18,26 @@ const algo25Top = { "used7DigitID": 99210041970, "name": "AMBE NIROSHA", "regNo": "99210041970", "section1": "6.75", "section2": "9", "section3": "13.5", "overallMarks": "29.25", "completionTime": "N/A" }, { "used7DigitID": 99220041385, "name": "SWARNA BRAHMATEJA", "regNo": "99220041385", "section1": "12.75", "section2": "11.25", "section3": "5", "overallMarks": "29", "completionTime": "N/A" }, { "used7DigitID": 99220041385, "name": "YEMIREDDY OBULA REDDY 2022-CSE", "regNo": "99220041385", "section1": "9", "section2": "10", "section3": "10", "overallMarks": "29", "completionTime": "N/A" }, - { "used7DigitID": 9921004515, "name": "NUKANABOYINA DHARANI OBULESU", "regNo": "9921004515", "section1": "11.25", "section2": "7.5", "section3": "10", "overallMarks": "18.75", "completionTime": "N/A" }, + { "used7DigitID": 9921004515, "name": "NUKANABOYINA DHARANI OBULESU", "regNo": "9921004515", "section1": "1.25", "section2": "7.5", "section3": "10", "overallMarks": "18.75", "completionTime": "N/A" }, { "used7DigitID": 99220041674, "name": "PITHANI PURNENDRA TEJA", "regNo": "99220041674", "section1": "7.75", "section2": "7.75", "section3": "13", "overallMarks": "28.5", "completionTime": "N/A" }, - { "used7DigitID": 99210041681, "name": "PUNGANUR DINESH 2021-CSE UG", "regNo": "99210041681", "section1": "10", "section2": "12.5", "section3": "5", "overallMarks": "17.5", "completionTime": "N/A" }, + { "used7DigitID": 99210041681, "name": "PUNGANUR DINESH 2021-CSE UG", "regNo": "99210041681", "section1": "5", "section2": "7.5", "section3": "5", "overallMarks": "17.5", "completionTime": "N/A" }, { "used7DigitID": 99230040379, "name": "NAGINAYANI CHERUVU ANIRUDH", "regNo": "99230040379", "section1": "5.25", "section2": "10.5", "section3": "11.5", "overallMarks": "27.25", "completionTime": "N/A" }, - { "used7DigitID": 99220041610, "name": "NUTAKKI DEVI MOHAN", "regNo": "99220041610", "section1": "10", "section2": "11.5", "section3": "5", "overallMarks": "16.5", "completionTime": "N/A" }, + { "used7DigitID": 99220041610, "name": "NUTAKKI DEVI MOHAN", "regNo": "99220041610", "section1": "5", "section2": "6.5", "section3": "5", "overallMarks": "16.5", "completionTime": "N/A" }, { "used7DigitID": 99220040572, "name": "KASALA ABHINAV", "regNo": "99220040572", "section1": "7.75", "section2": "8.75", "section3": "10", "overallMarks": "26.5", "completionTime": "N/A" }, { "used7DigitID": 99220041125, "name": "BATTULA SAI GIRISH KUMAR", "regNo": "99220041125", "section1": "12.5", "section2": "13.75", "section3": "9", "overallMarks": "35.25", "completionTime": "N/A" }, { "used7DigitID": 99220040136, "name": "MYMOON SULTHANA K", "regNo": "99220040136", "section1": "5", "section2": "6.25", "section3": "15", "overallMarks": "26.25", "completionTime": "N/A" }, - { "used7DigitID": 99220041754, "name": "UNDELA YASWANTH REDDY 2022-CSE", "regNo": "99220041754", "section1": "8.75", "section2": "12.5", "section3": "5", "overallMarks": "16.25", "completionTime": "N/A" }, + { "used7DigitID": 99220041754, "name": "UNDELA YASWANTH REDDY 2022-CSE", "regNo": "99220041754", "section1": "3.75", "section2": "7.5", "section3": "5", "overallMarks": "16.25", "completionTime": "N/A" }, { "used7DigitID": 99220041706, "name": "MARKAPURAM DHANA LAKSHMI 2022-CSE", "regNo": "99220041706", "section1": "10", "section2": "10", "section3": "5.5", "overallMarks": "25.5", "completionTime": "N/A" }, { "used7DigitID": 99220040624, "name": "MANJULA THARUN KUMAR 2022-CSE", "regNo": "99220040624", "section1": "9", "section2": "9", "section3": "6", "overallMarks": "24", "completionTime": "N/A" }, { "used7DigitID": 99220041312, "name": "PERNETI YESWANTH KUMAR 2022-CSE", "regNo": "99220041312", "section1": "5", "section2": "7.75", "section3": "11", "overallMarks": "23.75", "completionTime": "N/A" }, { "used7DigitID": 99220041716, "name": "POKURI NAPPINNA SARANYA 2022-CSE", "regNo": "99220041716", "section1": "11.25", "section2": "7.5", "section3": "5", "overallMarks": "23.75", "completionTime": "N/A" }, { "used7DigitID": 99220041760, "name": "BINKINETI ESWAR CHAND 2022-CSE", "regNo": "99220041760", "section1": "11.5", "section2": "6", "section3": "5.5", "overallMarks": "23", "completionTime": "N/A" }, { "used7DigitID": 99220041504, "name": "KAREN MORISHA E", "regNo": "99220041504", "section1": "7.5", "section2": "0", "section3": "15", "overallMarks": "22.5", "completionTime": "N/A" }, - { "used7DigitID": 9823037011, "name": "PAVAN M M", "regNo": "9823037011", "section1": "6.25", "section2": "5", "section3": "10", "overallMarks": "11.25", "completionTime": "N/A" }, + { "used7DigitID": 9823037011, "name": "PAVAN M M", "regNo": "9823037011", "section1": "1.25", "section2": "5", "section3": "5", "overallMarks": "11.25", "completionTime": "N/A" }, { "used7DigitID": 99220041482, "name": "GRANDHI V RAMA AMARA LAKSHMI MANIKANTA", "regNo": "99220041482", "section1": "10", "section2": "11.25", "section3": "-0.5", "overallMarks": "20.75", "completionTime": "N/A" }, { "used7DigitID": 99220040482, "name": "DARAM THANU SRI 2022-CSE", "regNo": "99220040482", "section1": "2.5", "section2": "2.25", "section3": "15.5", "overallMarks": "20.25", "completionTime": "N/A" }, { "used7DigitID": 99220041489, "name": "JAKKU VEERA JAGADESWAR REDDY 2022-CSE", "regNo": "99220041489", "section1": "7.5", "section2": "7.5", "section3": "5", "overallMarks": "20", "completionTime": "N/A" }, - { "used7DigitID": 99220041775, "name": "GURRAM MONESH REDDY", "regNo": "99220041775", "section1": "4.25", "section2": "6.75", "section3": "8.5", "overallMarks": "9.5", "completionTime": "N/A" }, + { "used7DigitID": 99220041775, "name": "GURRAM MONESH REDDY", "regNo": "99220041775", "section1": "4.25", "section2": "1.75", "section3": "3.5", "overallMarks": "9.5", "completionTime": "N/A" }, { "used7DigitID": 99220040892, "name": "KOMMINENI KAVYA SREE", "regNo": "99220040892", "section1": "8", "section2": "3", "section3": "7.5", "overallMarks": "18.5", "completionTime": "N/A" }, { "used7DigitID": 99210041367, "name": "PULIPATI NIKHIL 2021-CSEUG", "regNo": "99210041367", "section1": "11.25", "section2": "1.5", "section3": "5.5", "overallMarks": "18.25", "completionTime": "N/A" }, { "used7DigitID": 99220041420, "name": "YARLAGADDA SETU SAI RAM 2022-CSE", "regNo": "99220041420", "section1": "2.5", "section2": "0", "section3": "15", "overallMarks": "17.5", "completionTime": "N/A" }, @@ -94,5 +94,15 @@ const algo25Top = { "used7DigitID": 99220041485, "name": "GULLAPPUDI LALITH KUMAR 2022-CSE", "regNo": "99220041485", "section1": "12.5", "section2": "12.5", "section3": "2.5", "overallMarks": "27.5", "completionTime": "N/A" } ] +function sortDescending(data) { + return data.sort((a, b) => { + // Convert overallMarks to numbers to compare them + return parseFloat(b.overallMarks) - parseFloat(a.overallMarks); + }); +} -export default algo25Top \ No newline at end of file +// Test the function +const sortedData = sortDescending(algo25Top); + + +export default sortedData \ No newline at end of file diff --git a/src/views/DashboardResults.jsx b/src/views/DashboardResults.jsx index 8f321ce..dfc21b4 100644 --- a/src/views/DashboardResults.jsx +++ b/src/views/DashboardResults.jsx @@ -370,9 +370,9 @@ export default function DashboardResults(props) { } -
*/} +
- {/*
Round 3 - QnA
+
Round 3 - QnA
{round3Results.map((team, index) => ( @@ -409,11 +409,11 @@ export default function DashboardResults(props) {
))}
- */} - {/*
+ +
*/} -
Round 2 - Seminar
*/} - {/*
*/} + {/*
Round 2 - Seminar
+
*/} {/* {Object.keys(round2Best).map((key) => ( <> @@ -491,7 +491,7 @@ export default function DashboardResults(props) { Round 5 - Coding
*/} -
+ {/*
*/}
); }