syssn13 / leetcode-rating-predictor Goto Github PK
View Code? Open in Web Editor NEWLeetcode Rating Predictor built with Node. Browser extension and web interface.
Home Page: https://lcpredictor.onrender.com/
License: MIT License
Leetcode Rating Predictor built with Node. Browser extension and web interface.
Home Page: https://lcpredictor.onrender.com/
License: MIT License
Since the results for leetcode contest have not been being predicted already for several months I assume this will not be resolved and the project now is dead. Is it the case? Just want to make it official, so that people do not have empty hopes and do not waste their time.
Users can provide their username. After that whenever they click on the LC Predictor extension icon the pop page should also show the user's predicted rating for the latest contest.
It can be achieved by doing this:
It has been 7 hours since Weekly-contest-264 is finished, but ratings still not predicted yet. Something went wrong ?
The contests may be rejudged when new test cases are added. After rejudging, it will still take several days to update the rating. Therefore, I suggest to predict again sometime after the contests. For example, the predictor can be run 60 hours after the weekly contest is over, with both the biweekly contest (if exists) and the weekly contest being predicted.
Since few contests the results are not uploaded and I need to make a request for same.
@SysSn13 Maybe you can make some tutorial that how can we run it on our local machines so. It will be really helpful.
i tried the steps shown in readme file but it's not working for me.
Can you share some screen recording with commentory maybe how to predict rating on local machine.
I visited the site on Jan 22, but could only see Heroku's error message on Jan 23. This has lasted for more than one day.
Starting November 28, 2022, we plan to stop offering free product plans and plan to start shutting down free dynos and data services. We will be sending out a series of email communications to affected users.
Heroku is planning to stop the free-tier service. Most of our workers and website are running on Heroku free-tier service. If you have any other platform in mind, please share it here.
Read more about it here: https://blog.heroku.com/next-chapter.
A sitemap.xml file is required for the google search console so that ranking pages can be indexed on google. It should contain all contest ranking pages with the last updated date. Also, It should be automatically updated whenever new contest rankings are added.
Please update the rating for last two contests.
Because the Chinese website of LeetCode has changed, the program does not work now.
The reason for the error is probably the same as in #26 , Becaue this problem has occurred frequently recently,i think it should be delayed for a period of time to fetch the results or fetched the results after a period of time for verification.Finally, thank you for your time and effort on this project.This is a very useful project!
Add filter by the country option on rankings pages
I want to complete this task for hacktober.
Contest ended at 6pm, and ratings are not even fetched yet. is the fetching service down?
It is better to update header Country Name
to Location
(align with leetcode).
Region Name
and Country/Region Name
are alternative choices.
Hi @SysSn13
Wanted to know when will the update be out for Biweekly Contest 67? Generally the ratings are updated within 15 minutes after the contest is finished.
Thank you for maintaining this amazing website.
Hey, I guess Heroku has removed the free dynos that's why when I am opening the website it is showing an application error. Can you please check it?
In the predictions for this weekend's contests, incorrect previous ratings are shown on the predictions, resulting in incorrect final predictions. As per my understanding, this week's biweekly should display the previous rating as the value predicted after weekly-contest-324, but it has the rating value that was before the occurrence of that contest. It should lead to incorrect prediction results until this is corrected.
Your prediction of contest rating is pretty close to the actual one though your site doesn't take into consideration when a user has participated in both the biweekly and weekly contests. It should be solved if you change the Previous rating
in the weekly contest to the Expected new rating
in the biweekly contest predicted by your site.
Currently, there is no authentication for accessing the bull-board. This might be helpful for adding auth with express.
In weekly-contest-303,It seems no rating changes display about leetcode-cn users.
Is it for only me or everyone?
Rankings fetched for Weekly 328 but ratings yet not predicted.
This is the error message shown for the failed jobs:
TypeError: Cannot read property 'split' of undefined
at fetchUserHelper (/opt/render/project/src/services/users.js:439:54)
at updateUsers (/opt/render/project/src/services/users.js:464:19)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async Queue.<anonymous> (/opt/render/project/src/services/job-queues/contestPredictionQueue.js:54:21)
TypeError: Cannot read property 'split' of undefined
at fetchUserHelper (/opt/render/project/src/services/users.js:439:54)
at updateUsers (/opt/render/project/src/services/users.js:464:19)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async Queue.<anonymous> (/opt/render/project/src/services/job-queues/contestPredictionQueue.js:54:21)
TypeError: Cannot read property 'split' of undefined
at fetchUserHelper (/opt/render/project/src/services/users.js:439:54)
at updateUsers (/opt/render/project/src/services/users.js:464:19)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async Queue.<anonymous> (/opt/render/project/src/services/job-queues/contestPredictionQueue.js:54:21)
TypeError: Cannot read property 'split' of undefined
at fetchUserHelper (/opt/render/project/src/services/users.js:439:54)
at updateUsers (/opt/render/project/src/services/users.js:464:19)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async Queue.<anonymous> (/opt/render/project/src/services/job-queues/contestPredictionQueue.js:54:21)
TypeError: Cannot read property 'split' of undefined
at fetchUserHelper (/opt/render/project/src/services/users.js:439:54)
at updateUsers (/opt/render/project/src/services/users.js:464:19)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async Queue.<anonymous> (/opt/render/project/src/services/job-queues/contestPredictionQueue.js:54:21)
Contest data from leetcode.cn is missing for weekly-318
The English version:
Thank you very much for the author's plug-in. Could you add the url of the Chinese interface in Chrom Extension to facilitate the use of users in China
https://leetcode-cn.com/*
The original:
非常感谢作者的插件, 可否在chrom Extension中增加**区界面的网址 , 方便**区用户使用
leetcode-cn users do not have country_code that's why filter by county is not able to filter those users.
The description says the predictions will be available after 15 minutes of contest or max 1hour in some cases. But there are no predictions till now of weekly contest 308
I am from LeetCode CN and cannot find myself in the board.
Currently, all the contests are being fetched In the contests table, and pagination is added to the fetched data. It would be better to fetch only one table page at a time. It will help to reduce the server-load and load the home page faster.
To achieve this, we can introduce API endpoints for the contest's metadata and use it in the front end. I'm not sure if can integrate API with data tables. If API integration is not possible, then we can go with custom pagination implementation.
In weekly contest 254, my rank is shown as 4581 on your website whereas it is 4603. Presumably, you are loading the list at the exact time of completion of the contest whereas you should wait for a few minutes when the rank list is finalized.
Contests' start time is shown in the server timezone. It should display the time in the local timezone.
The result for today's contest has not been updated yet... When will we get the result?
Hi, my account name is zhzho.
I could not find my account in prediction for weekly contest, but I could find me in bi-weekly prediction.
Could you please investigate ?
My global rank is 389 in weekly 319 contest. Chinese Nickname: 最佳歌手, account: zhzho
But I am not able to find me in https://lcpredictor.herokuapp.com/contest/weekly-contest-319/ranking/1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.