baoliay2008 / lccn_predictor Goto Github PK
View Code? Open in Web Editor NEWLeetCode Contest Rating Prediction
Home Page: https://lccn.lbao.site
License: MIT License
LeetCode Contest Rating Prediction
Home Page: https://lccn.lbao.site
License: MIT License
Could you please add country ranking ?
I can only find lccn users in predicted list. Please have a look into this @baoliay2008
The Site has been down again. When i try to open it, it gets stuck on loading the page
Biweekly Contest 115 ranks are slightly off
All users at below link have ranks between 3326 to 3350
https://leetcode.com/contest/biweekly-contest-115/ranking/134/
However, take any user, and check at below link, it shows ranks to have between 4130 to 4157
https://lccn.lbao.site/predicted/biweekly-contest-115
please look into this when possible @baoliay2008
目前**区个性id设置时仅支持小写字母,但我的账号是从leetcode.com迁移来的,似乎保留的含大写字母的id。因此我直接搜索全是小写的id搜不到自己。
目前两个社区个人页面的id均是大小写不敏感的,例如:
https://leetcode.cn/u/johnkram/
https://leetcode.cn/u/JOHNKRAM/
https://leetcode.com/neal_wu/
https://leetcode.com/NEAL_WU/
可以考虑在搜索用户名时不区分大小写
As we are displaying the new rating, old rating and delta, we can show the performance tab also. We can take the reference from Codeforces extensions. (From Current performance I mean, In that particular contest you performed like how much ratings)
We can see the Delta as well as its current performance.
Description
The site https://lccn.lbao.site/ is not loading properly
Checked on multiple devices
Here you can see the number of users who successfully submitted the question 1 is almost 10 less than what is displayed on https://lccn.lbao.site/predicted/biweekly-contest-122
Now the predicted ranking does not include the data of Chinese servers
The results of leetcode contests typically require over 15 minutes to account for every participant. However, https://lccn.lbao.site/ consistently predicts ratings before all participants' results are collected. For instance, during today's bi-weekly contest (4/29/2023), the prediction occurred at 11:11:43 AM CDT, but the final participant count was only completed around 11:20 AM. Consequently, the last page of https://lccn.lbao.site/predicted/biweekly-contest-103 displays 12,498 participants, while the actual total was 17,137. This incomplete data leads to inaccurate rating predictions.
the same as #3 due to sorting by question_id
When I click the username textbox
I used to get a popup of previous searched usernames
Even after I searched for a username, it does not show up popup of recently searched usernames
It is good to show last 50 or so searched usernames, in a drop down with a scroll bar ( previously it used to show only 5 or so )
thank you for your efforts & time.
I am not able to run the front end of the application. On running the command npm start, I get below error:
Line 22: 'React' must be in scope when using JSX react/react-in-jsx-scope
Line 23: 'React' must be in scope when using JSX react/react-in-jsx-scope
Line 24: 'React' must be in scope when using JSX react/react-in-jsx-scope
Line 25: 'React' must be in scope when using JSX react/react-in-jsx-scope
Line 26: 'React' must be in scope when using JSX react/react-in-jsx-scope
Line 27: 'React' must be in scope when using JSX react/react-in-jsx-scope
Line 28: 'React' must be in scope when using JSX react/react-in-jsx-scope
Line 34: 'React' must be in scope when using JSX react/react-in-jsx-scope
Line 40: 'React' must be in scope when using JSX react/react-in-jsx-scope
Line 41: 'React' must be in scope when using JSX react/react-in-jsx-scope
Line 42: 'React' must be in scope when using JSX react/react-in-jsx-scope
Line 42: 'React' must be in scope when using JSX react/react-in-jsx-scope
Line 43: 'React' must be in scope when using JSX react/react-in-jsx-scope
Line 45: 'React' must be in scope when using JSX react/react-in-jsx-scope
Line 49: 'React' must be in scope when using JSX react/react-in-jsx-scope
Line 50: 'React' must be in scope when using JSX react/react-in-jsx-scope
The site is down
https://lccn.lbao.site/
https://lccn.lbao.site/predicted/biweekly-contest-105
Is there a way to help you so site can be up - post contests?
During the Elo rating system, calculating
You can check out here to learn how python make it done. In short, set
In Leetcode, I think we can multiply each rating by 10 and round them to integers. The lengths of arrays will be bigger than usual, but the complexity of this algorithm is still perfect.
Weekly Contest 364 https://leetcode.com/contest/weekly-contest-364/
contest has ended.
but ratings are not available
unable to access here - https://lccn.lbao.site/predicted/weekly-contest-364
and https://lccn.lbao.site/
@baoliay2008 kindly look into it
On the leetcode contests website, the URL is formatted like weekly-contest-367/ranking/<page_number>. This allows users to skip to a page number they want. On the prediction page, the URL is formatted like /weekly-contest-367/, which gives no page number skipping capabilities.
The only way to navigate through pages on the current site is with the buttons below the ratings, which only allows you to move two pages back or forward (Shown below).
This is very inconvenient, as there are hundreds of pages per contest. Could we change the URL routing system or add a button on the page navigator that allows the user to specify which page they would like to navigate to? I would be happy to work on this issue.
如题
Currently, accessing available themes requires scrolling through the home page. To streamline this process, we can implement a scrollbar specifically for browsing available themes on the theme section only. This will offer users a more efficient and organized way to explore our selection of themes.
Additionally, I suggest enhancing the user experience by implementing the feature where clicking the theme button toggles the visibility of the theme list. This way, users can easily open and close the theme list without having to navigate away.
I've created a video demonstrating the issue. You can watch it here.
I'm interested in working on this issue and would like to contribute to the project. Could this issue be assigned to me? I believe I can effectively implement these improvements and ensure a better user experience. Looking forward to collaborating with the team on this.
Thank you!
Please add option to select or deselect a question in the graph such that it zooms in ontothe selected questions.
This way we look at the individual graphs, because usually the q4 has less AC's so we cant look at its graph in detail.
For example, If we deselect the q1,q2,q3 the contest graph will be focused on q4 and set the scale of the graph to give a more clarity.
Leecode's Biweekly Contest 107 has been declared unrated for LCUS users.
The rank predictions need to be synced with current Leetcode ranking.
Currently, Q1-Q4 are sorted by credit
at first and then by question_id
.
But for "biweekly contest 97", Q3's question_id
is bigger than Q4's question_id
db.getCollection('Question').find(
{"contest_name" : "biweekly-contest-97"},
{title:1, title_slug:1, credit:1, question_id:1, _id:0}
).sort({credit:1, question_id:1})
↩️
/* 1 */
{
"question_id" : 2639,
"credit" : 3,
"title" : "Separate the Digits in an Array",
"title_slug" : "separate-the-digits-in-an-array"
}
/* 2 */
{
"question_id" : 2640,
"credit" : 4,
"title" : "Maximum Number of Integers to Choose From a Range I",
"title_slug" : "maximum-number-of-integers-to-choose-from-a-range-i"
}
/* 3 */
{
"question_id" : 2641,
"credit" : 5,
"title" : "Disconnect Path in a Binary Matrix by at Most One Flip",
"title_slug" : "disconnect-path-in-a-binary-matrix-by-at-most-one-flip"
}
/* 4 */
{
"question_id" : 2673,
"credit" : 5,
"title" : "Maximize Win From Two Segments",
"title_slug" : "maximize-win-from-two-segments"
}
So, Q3 and Q4 are misplaced.
Sun Feb 5 00:51:31 UTC+8, 2023
In the contest page, i tried searching "21cash" (with Capital C) and i got nothing found
but after i searched "21Cash" (With capital C) i got my result shown to me.
getting this error while executing step number 8 from this..
| ERROR | app.db.mongodb:start_async_mongodb:100 - Failed to start mongodb. error=Authentication failed., full error: {'ok': 0.0, 'errmsg': 'Authentication failed.', 'code': 18, 'codeName': 'AuthenticationFailed'}
pls help
`1-git clone [email protected]:baoliay2008/lccn_predictor.git
2-cd lccn_predictor
3-cp config.yaml.template config.yaml
4-vi config.yaml
5-python3.10 -m virtualenv venv/
6-source venv/bin/activate
7-pip3 install -r requirements.txt
8-python main.py
9-uvicorn api.entry:app --host 0.0.0.0 --port 55555`
Can't find score of China area.
Thanks for the website & hard work you put in.
===
I have been mentioning https://lccn.lbao.site/ in many places and possibly many others.
Site may be more popular now than in last few months, so might need little upgrade.
Today either timeout or below continuous loading bar comes up:
Both home page & current contest page is down
. https://lccn.lbao.site/
. https://lccn.lbao.site/predicted/biweekly-contest-110
Also unable to see previous contests.
the same as #3 due to sorting by question_id
leetcode.com didn't fetch data from leetcode.cn, cannot find any CN user's record.
Sun Dec 25 00:53:30 UTC+8, 2022
53 minutes after the contest ended.
Every code that has been written by a user, together with the submission time, is stored in our database.
If this website provides a feature that allows us to determine how many times a specific code has been sent, or if that number surpasses a predetermined threshold, we may label it red to indicate that the code has been copied.
We can simply use Plagiarism detection techniques-
ML Integration : Train machine learning models to identify code plagiarism. You can use techniques like natural language processing (NLP) and deep learning to analyze and compare code submissions.
biweekly-contest-116 ratings not up yet at https://lccn.lbao.site/predicted/biweekly-contest-116
it's been about 2 & 1/2 hours post contest
===
ideally,
1 https://lccn.lbao.site/ should show Biweekly Contest 116 after contest is completed
2 https://lccn.lbao.site/predicted/biweekly-contest-116
should show proper message of why there is delay
For example: "US Data not present. Check back after few hours", etc.
===
thanks for your hard work @baoliay2008
Currently, when there is a positive change in rating, it is depicted in red color and is green on negative changes. I think it would be better to use green color to reflect positive changes and red for negative ones.
其中 finish_time, insert_time, predict_time 分别代表什么及对应时区是什么?
我大概试了一下时区没对的上
我是需要该竞赛对应的用户开始时间,用户结束时间的数据
[
{
"_id": "641fcb550455ebb2feb3c666",
"contest_name": "weekly-contest-338",
"contest_id": 843,
"username": "tian-tang-6",
"user_slug": "tian-tang-6",
"country_code": "CN",
"country_name": "**",
"rank": 1,
"score": 18,
"finish_time": "2023-03-26T02:59:06",
"data_region": "CN",
"insert_time": "2023-03-26T04:34:28.298000",
"attendedContestsCount": 116,
"old_rating": 3065.1544669116574,
"new_rating": 3174.170162632678,
"delta_rating": 109.01569572102062,
"predict_time": "2023-03-26T04:38:28.557000"
}
]
The website loads very late and slow, like it takes more than 5-10 minutes to load.
Can I know the underlying issue, if it is with only me or with every one.
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.