×

# CODECHEF Attendance

## CODECHEF Attendance Tool

Hey There Guys,

Hope You all are having a good time. I want to present you another tool which can show you your attendance in CodeChef.

This is especially useful for those who want to check their Attendance for the 100% Attendance prize category recently introduced to CodeChef.

Not Writing any further (need to study for exams :p)

## MAJOR CHANGES

I literally wrote the entire code for the site again from scratch today morning (LITERALLY).

There were mainly 2 problems :

1. The MARCH COOK OFF getting unrated, so even if some one participated in that, it was still showing that the person didn't take part.

2. Even if a person did not solve any problem correctly and their rating changes (might happen if someone submits but doesn't get AC in any of their submissions) will still be shown as present.

These 2 problems were there because I was scraping the change of ratings instead of the number of Problems solved (which was actually needed).

But no worries people, It's been fixed now.

Also as I already mentioned that I wrote the entire code again (major parts), there might be some new bugs waiting for me to fix. So please Let me Know. Peace.

Here's The Link to the site.

Thank You.

3★shraeyas
1.3k2618
accept rate: 10%

The only confusion I have presently is whether I should remove that CodeChef Logo or not(Cause it's unofficial :p).

I will remove it if they ask me to.

(05 May '17, 22:43) 3★
2

Regarding logo, send them a mail. It would be safe that you "informed them", instead of using it until they retaliate. Cause logos and stuff...its usually best to take permission to avoid unnecessary hassle.

And lmao, i knew you will bring something like this up when i saw you thanking for idea. :p

(05 May '17, 22:44)
1

Great work:)

(05 May '17, 22:47)
6

Hey Shreyas, We would like to know more about this new tool of yours. Can we get on a call and discuss it further? You can drop your contact number at help[at]codechef[dot]com and we will get in touch with you.

(08 May '17, 15:48) 0★
3

Aaaan aaaan @shraeyas . Congo bro...only one word....."TREATTT" XD

(08 May '17, 17:54)
2

Congrats @shraeyas ^_^ ..Keep up the good work.. Really nice gesture by Codechef team ..

(08 May '17, 18:32) 5★
1

@admin thanks for your response. I have sent a mail to help[at]codechef[dot]com.

(08 May '17, 21:58) 3★

Yesterday someone asked me about how I made this tool, so if you guys are interested you can find the source code here : https://github.com/Shraeyas/CodeChef-Attendance

(12 May '17, 09:47) 3★
1

Hey mate, I think you search for certain keywords such as "FEB14" in the page of the person that's why it's showing that I gave feb14 long challenge even though I haven't but I have solved a problem named "LFEB14B". Anyways, awesome work!!

(19 May '17, 04:42)

I Fixed it @anmol137dh08

Thanks for pointing that out, you can convert your comment to answer

:)

(19 May '17, 09:00) 3★
showing 5 of 10 show all

 2 @shraeyas Please add March Lunchtime 18 as unrated in your tool. As mentioned here https://discuss.codechef.com/questions/51999/how-do-i-win-a-codechef-goodie/125226 answered 02 Apr '18, 21:14 2.3k●1●5●16 accept rate: 10%
 1 Username is not being validated. Even if we enter wrong username, it shows attendance instead of showing the error. answered 21 Apr '18, 21:27 329●2●9 accept rate: 21% 1 Thanks. I will merge your PR. (23 Apr '18, 10:30) shraeyas3★
 3 A great idea and implementation! For the past couple of days I have been trying to check my attendance but it shows invalid username. Have tried with a bunch of different usernames and all the same error message. answered 15 May '18, 00:10 31●1 accept rate: 0% 1 You can refer here for the attendance. (07 Jul '18, 13:32)
 1 Please check the March Cook-Off thing. The bug could be because it was unrated. answered 05 May '17, 23:18 2.6k●1●9●30 accept rate: 7% @mathecodician Yes you are right. That's because it was unrated. :) (05 May '17, 23:21) shraeyas3★ 1 He mentioned in above comments that its because that contest was unrated. His algo checks for changes in ratings. (05 May '17, 23:21) 1 Lol....11 sec difference b/w comments. Time to study for exams XD (05 May '17, 23:22) 1 ROFL XXXXXXXXD (05 May '17, 23:27) shraeyas3★ 1 Can u please correct that fault? (10 May '17, 10:39) 1 OK buddy, I'll do it, end sems though, might take a while :) (10 May '17, 10:56) shraeyas3★ 1 @mathecodician its fixed now buddy. :) (10 May '17, 12:22) shraeyas3★ showing 5 of 7 show all
 1 Can somebody state the attendance policy for getting laddoos, I think it requires to appear for all contests for a year, right? answered 09 May '17, 19:31 19●2 accept rate: 0% It has been introduced in March, so from March 2017 onwards 12 months in a row full attendance (in Long, Short and Lunch Time) will fetch you 1000 laddus. (09 May '17, 19:43) shraeyas3★
 1 Well I did attend April Long Challenge and Cook-Off and some other contests previously but its showing that I've attended not even a single contest since I've logged in. Please look into it. answered 10 May '17, 00:22 11●1 accept rate: 0%
 1 I think there's a bug- Even if the username field is empty it is showing results. Good work BTW :) answered 10 May '17, 19:24 33●4 accept rate: 0% Fixed. Now it will show error! (10 May '17, 19:30) shraeyas3★
 1 really nice work dude! answered 12 May '17, 16:44 21●2 accept rate: 0%
 1 Hey! Good work. I want to know which hosting service you are using and the host plan. answered 17 May '17, 11:00 11●1 accept rate: 0% ecowebhosting.co.uk Unlimited Advance Linux But I did not purchase it, I got it as a freebie for one year :) (17 May '17, 14:21) shraeyas3★ 1 Lmao!! Lucky you XD. (17 May '17, 19:40)
 1 @shaeyas your website(tool) has a page-view counter which doesn't count unique page views ( i think you know this ) . it would be better if you get a unique page-view counter up and running . Great work BTW! answered 28 May '17, 21:45 48●4 accept rate: 0% Yes, I know, it counts the no. of times the page is opened, I will fix it soon. Thanks :) (28 May '17, 22:35) shraeyas3★ 1 I modified it, now it will only increment if someone actually presses the submit button to view their attendance. (29 May '17, 09:47) shraeyas3★
 1 Hey @shraeyas , change that MAY Lunch Time thing, since it will not be considered towards 100% attendance. answered 02 Jun '17, 13:30 209●7 accept rate: 13%
 1 It's not really a fix but I just tried to make it more bearable :P It will now show a warning sign in case of any miscellaneous contests (unrated or cancelled). If I come across any better solution to this I will add it later. And yes thanks for your suggestion :) answered 02 Jun '17, 15:16 3★shraeyas 1.3k●2●6●18 accept rate: 10% 1 Also if there is any other contest which was cancelled or something then you all can post into comments. It will be added to the exceptions. I only know about two such contests viz. March Cook-Off and May Lunchtime so they have been added. :) (02 Jun '17, 21:33) shraeyas3★
 1 Plz upvote me , I want to ask some doubts for which I need some karma , Thank you guys. link This answer is marked "community wiki". answered 06 Jun '17, 15:46 9●2 accept rate: 0% You already have enough karma But still you can have a look on this thread : https://discuss.codechef.com/questions/97820/i-want-to-ask-a-question-ask-them-all-here Simply post your queries there. (06 Jun '17, 16:11) shraeyas3★
 1 @shraeyas When I open my username to see my attendnce. It is showing wrong against all contest of March. But I was present in cook off and long challenge. So, reporting minor bug here. Btw I was also present in oct17. You can see my rating fall. But since I was not able to solve any question. So Your tool is showing me absent. answered 24 Mar '18, 13:29 2.3k●1●5●16 accept rate: 10% 1 I guess since codechef added division system, the script is not able to get the attendances correctly. (24 Mar '18, 19:31) 1 Fixed. Please let me know if there are any other bugs. Thanks :) (25 Mar '18, 08:10) shraeyas3★
 1 Hey @shraeyas Nice Tool. I guess u missed one thing. Problem setting panel is also deemed to be participating in the contest, for the purpose of attendence, as i know. For example, @vijju123 was editorialist for APRIL18, but he is shown to have not participated in APRIL18. (Wasnt stalking. Just thought of this possibility and searched for the Master Chef Vijju :D ) answered 23 Apr '18, 20:48 3.9k●23●87 accept rate: 22% 1 Let it remain so :p. Codechef will kick me out if I participate in a contest where I serve as editorialist :( idk, I will have to confirm from @admin if setting panel is deemed to have participated. afaik it wasnt so :/ (23 Apr '18, 20:52) 1 Thanks @taran_1407 :) Master chef @vijju123 I don't think codechef will check someone's attendance from my tool so there should be no risk in implementing that :p (23 Apr '18, 21:13) shraeyas3★ @vijju123, you deserve to be kicked out if u participate in a contest where u r editorialist. Cant say fairer than that. I guess u misread my statement (it wasn't unexpected). Deemed means assumed. U dont have to actually make a submission. @vijju123, see the following link, last line of para 2. https://blog.codechef.com/2017/03/03/new-goodies-new-categories-new-prizes-every-contest/ (23 Apr '18, 21:46) @vijju123, you deserve to be kicked out if u participate in a contest where u r editorialist. Cant say fairer than that. You took my statement literally and seriously- overlooking the sarcasm/fun/leg-pullin/humor/whatever (:/ XD) there xD xD xD @shraeyas - Well, what if Chef decides to become evil for once? :o :3 :p (23 Apr '18, 22:36) @vijju123 Then we will see something like this https://www.codechef.com/problems/SMVSEVIL . :) (23 Apr '18, 22:51) @vijju123, see the following link, last line of para 2. NOOOOOOOOOOOOOOO. That means....my streak broke after this cook-off (40'th contest) :( . I felt its already broken by April long so well, didnt participate in cook-off despite coming after half an hour. I feeel baaaad :(. Need another year for 100 streak then. @vijju123 Then we will see something like this https://www.codechef.com/problems/SMVSEVIL . :) Lololol xD (23 Apr '18, 22:55) @vijju123 only @admin may help you in this case. @vijju123 To be aware of rules is very Important in this world. Only then we can now how to use them and If needed how to exploit them. (23 Apr '18, 23:19) 1 Only then we can now how to use them and If needed how to exploit them. and If needed how to exploit them. :p :p :p xD xD. But in all seriousness, thats true. Especially in these times. (23 Apr '18, 23:34) showing 5 of 8 show all
 0 Well done buddy! However, it's sort of an optimisation of counting the contest names in the profile. It would be nice if it would tell the exact time (Eg: Feb Cook Off 2017) When my 100% attendance would be completed. You took it from O(nlogn) to O(n), now take it to O(logn)! answered 05 May '17, 22:49 2.4k●4●20 accept rate: 17% Absolutely. I just wrote the code for the basic site, didn't even think much about additional features. I will definitely add this feature in the near future. Thank You :) (05 May '17, 22:56) shraeyas3★ Its showing i didnt attend march cook-off. But i did attend it (it was declared unrated later) (05 May '17, 22:56) It actually tracks the changes in ratings and then tell us if someone participated or not. But I will try finding a fix on that, but till then kindly bear with me (need to study for exams too :p ). Thanks for pointing that out. :) (05 May '17, 23:06) shraeyas3★ I guessed that it would be checking changes in ratings, as its makes it very easy to code :p . (05 May '17, 23:21)
 0 It is awesome work! answered 05 May '17, 22:56 1.1k●13 accept rate: 20%
 0 Nice work mate :) And I agree with @abdullah768 that something like longest streak or contests left to reach the landmark would be awesome! answered 05 May '17, 23:02 3★ash_code 475●1●14 accept rate: 15%
 0 good work... I hope I can be more regular in future. This should be a good move as seeing more and more of the green tick mark would push me more... answered 06 May '17, 10:04 31●2 accept rate: 0%
 0 Good work. Keep up the job. answered 08 May '17, 18:56 209●7 accept rate: 13%
 0 Great work! answered 08 May '17, 20:54 2★dp13 11 accept rate: 0%
 0 @shubhamaggarw it's working fine without any problems, You can have a look below You could have either misspelled your username or codechef server might have been down at that time. :) answered 10 May '17, 08:09 3★shraeyas 1.3k●2●6●18 accept rate: 10%
 0 Awesome Tool. answered 21 May '17, 14:24 120●6 accept rate: 10% Thank you. (22 May '17, 15:31) shraeyas3★ There's a bug, even if you enter an invalid username then also the results are being displayed (28 May '17, 14:46) Fixed!!! Will show error now, thanks for pointing that out ^_^ (28 May '17, 21:07) shraeyas3★
 0 @shraeyas I was not able to solve any question in April Cook Off. It shows me absent but I'm present and I have made ~5 unsuccessful submissions. answered 23 Apr '18, 22:36 2.3k●1●5●16 accept rate: 10%
 toggle preview community wiki:
Preview

By Email:

Markdown Basics

• *italic* or _italic_
• **bold** or __bold__
• image?![alt text](/path/img.jpg "title")
• numbered list: 1. Foo 2. Bar
• to add a line break simply add two spaces to where you would like the new line to be.
• basic HTML tags are also supported
• mathemetical formulas in Latex between \$ symbol

Question tags:

×319
×27

question asked: 05 May '17, 22:42

question was seen: 14,943 times

last updated: 28 Jul '18, 11:54