├── .dockerignore ├── .github ├── PULL_REQUEST_TEMPLATE.md ├── dependabot.yml └── workflows │ └── ci.yml ├── .gitignore ├── .pre-commit-config.yaml ├── CODE_OF_CONDUCT.md ├── Dockerfile ├── LICENSE ├── README.md ├── api ├── __init__.py ├── deprecated │ ├── __init__.py │ ├── ssr.py │ ├── static │ │ ├── css │ │ │ └── styles.css │ │ ├── images │ │ │ ├── increase-16px.png │ │ │ ├── increase-32px.png │ │ │ └── increase-512px.png │ │ └── js │ │ │ ├── questions-finished-plot.js │ │ │ └── user-rank-plot.js │ └── templates │ │ ├── base.html │ │ ├── contest.html │ │ └── index.html ├── entry.py ├── routers │ ├── __init__.py │ ├── contest_records.py │ ├── contests.py │ └── questions.py └── utils.py ├── app ├── __init__.py ├── config.py ├── constants.py ├── core │ ├── __init__.py │ ├── elo.py │ ├── fft.py │ └── predictor.py ├── crawler │ ├── __init__.py │ ├── contest.py │ ├── contest_record_and_submission.py │ ├── question.py │ ├── user.py │ └── utils.py ├── db │ ├── __init__.py │ ├── components.py │ ├── models.py │ ├── mongodb.py │ └── views.py ├── handler │ ├── __init__.py │ ├── contest.py │ ├── contest_record.py │ ├── question.py │ ├── submission.py │ └── user.py ├── schedulers.py └── utils.py ├── client ├── .eslintrc.cjs ├── .gitignore ├── index.html ├── package-lock.json ├── package.json ├── postcss.config.js ├── public │ └── favicon.ico ├── src │ ├── App.jsx │ ├── components │ │ ├── Footer.jsx │ │ ├── Navbar.jsx │ │ ├── Pagination.jsx │ │ └── charts │ │ │ ├── ContestsUserNumStackedArea.jsx │ │ │ ├── QuestionFinishedChart.jsx │ │ │ └── RealTimeRankChart.jsx │ ├── data │ │ └── constants.js │ ├── index.css │ ├── main.jsx │ ├── pages │ │ ├── Contests │ │ │ └── ContestsUserNum.jsx │ │ └── Predicted │ │ │ ├── PredictedContests.jsx │ │ │ └── PredictedRecords.jsx │ └── utils.js ├── tailwind.config.js └── vite.config.js ├── config.yaml.template ├── main.py ├── requirements.txt └── tests ├── __init__.py ├── app ├── __init__.py └── core │ ├── __init__.py │ ├── test_elo.py │ └── test_fft.py ├── tests_data └── contest_prediction_1.npy └── utils.py /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/.dockerignore -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/README.md -------------------------------------------------------------------------------- /api/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/deprecated/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/deprecated/ssr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/api/deprecated/ssr.py -------------------------------------------------------------------------------- /api/deprecated/static/css/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/api/deprecated/static/css/styles.css -------------------------------------------------------------------------------- /api/deprecated/static/images/increase-16px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/api/deprecated/static/images/increase-16px.png -------------------------------------------------------------------------------- /api/deprecated/static/images/increase-32px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/api/deprecated/static/images/increase-32px.png -------------------------------------------------------------------------------- /api/deprecated/static/images/increase-512px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/api/deprecated/static/images/increase-512px.png -------------------------------------------------------------------------------- /api/deprecated/static/js/questions-finished-plot.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/api/deprecated/static/js/questions-finished-plot.js -------------------------------------------------------------------------------- /api/deprecated/static/js/user-rank-plot.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/api/deprecated/static/js/user-rank-plot.js -------------------------------------------------------------------------------- /api/deprecated/templates/base.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/api/deprecated/templates/base.html -------------------------------------------------------------------------------- /api/deprecated/templates/contest.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/api/deprecated/templates/contest.html -------------------------------------------------------------------------------- /api/deprecated/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/api/deprecated/templates/index.html -------------------------------------------------------------------------------- /api/entry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/api/entry.py -------------------------------------------------------------------------------- /api/routers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/routers/contest_records.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/api/routers/contest_records.py -------------------------------------------------------------------------------- /api/routers/contests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/api/routers/contests.py -------------------------------------------------------------------------------- /api/routers/questions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/api/routers/questions.py -------------------------------------------------------------------------------- /api/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/api/utils.py -------------------------------------------------------------------------------- /app/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/app/config.py -------------------------------------------------------------------------------- /app/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/app/constants.py -------------------------------------------------------------------------------- /app/core/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/core/elo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/app/core/elo.py -------------------------------------------------------------------------------- /app/core/fft.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/app/core/fft.py -------------------------------------------------------------------------------- /app/core/predictor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/app/core/predictor.py -------------------------------------------------------------------------------- /app/crawler/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/crawler/contest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/app/crawler/contest.py -------------------------------------------------------------------------------- /app/crawler/contest_record_and_submission.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/app/crawler/contest_record_and_submission.py -------------------------------------------------------------------------------- /app/crawler/question.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/app/crawler/question.py -------------------------------------------------------------------------------- /app/crawler/user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/app/crawler/user.py -------------------------------------------------------------------------------- /app/crawler/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/app/crawler/utils.py -------------------------------------------------------------------------------- /app/db/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/db/components.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/app/db/components.py -------------------------------------------------------------------------------- /app/db/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/app/db/models.py -------------------------------------------------------------------------------- /app/db/mongodb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/app/db/mongodb.py -------------------------------------------------------------------------------- /app/db/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/app/db/views.py -------------------------------------------------------------------------------- /app/handler/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/handler/contest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/app/handler/contest.py -------------------------------------------------------------------------------- /app/handler/contest_record.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/app/handler/contest_record.py -------------------------------------------------------------------------------- /app/handler/question.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/app/handler/question.py -------------------------------------------------------------------------------- /app/handler/submission.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/app/handler/submission.py -------------------------------------------------------------------------------- /app/handler/user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/app/handler/user.py -------------------------------------------------------------------------------- /app/schedulers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/app/schedulers.py -------------------------------------------------------------------------------- /app/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/app/utils.py -------------------------------------------------------------------------------- /client/.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/client/.eslintrc.cjs -------------------------------------------------------------------------------- /client/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/client/.gitignore -------------------------------------------------------------------------------- /client/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/client/index.html -------------------------------------------------------------------------------- /client/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/client/package-lock.json -------------------------------------------------------------------------------- /client/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/client/package.json -------------------------------------------------------------------------------- /client/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/client/postcss.config.js -------------------------------------------------------------------------------- /client/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/client/public/favicon.ico -------------------------------------------------------------------------------- /client/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/client/src/App.jsx -------------------------------------------------------------------------------- /client/src/components/Footer.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/client/src/components/Footer.jsx -------------------------------------------------------------------------------- /client/src/components/Navbar.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/client/src/components/Navbar.jsx -------------------------------------------------------------------------------- /client/src/components/Pagination.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/client/src/components/Pagination.jsx -------------------------------------------------------------------------------- /client/src/components/charts/ContestsUserNumStackedArea.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/client/src/components/charts/ContestsUserNumStackedArea.jsx -------------------------------------------------------------------------------- /client/src/components/charts/QuestionFinishedChart.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/client/src/components/charts/QuestionFinishedChart.jsx -------------------------------------------------------------------------------- /client/src/components/charts/RealTimeRankChart.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/client/src/components/charts/RealTimeRankChart.jsx -------------------------------------------------------------------------------- /client/src/data/constants.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/client/src/data/constants.js -------------------------------------------------------------------------------- /client/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/client/src/index.css -------------------------------------------------------------------------------- /client/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/client/src/main.jsx -------------------------------------------------------------------------------- /client/src/pages/Contests/ContestsUserNum.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/client/src/pages/Contests/ContestsUserNum.jsx -------------------------------------------------------------------------------- /client/src/pages/Predicted/PredictedContests.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/client/src/pages/Predicted/PredictedContests.jsx -------------------------------------------------------------------------------- /client/src/pages/Predicted/PredictedRecords.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/client/src/pages/Predicted/PredictedRecords.jsx -------------------------------------------------------------------------------- /client/src/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/client/src/utils.js -------------------------------------------------------------------------------- /client/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/client/tailwind.config.js -------------------------------------------------------------------------------- /client/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/client/vite.config.js -------------------------------------------------------------------------------- /config.yaml.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/config.yaml.template -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/main.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/requirements.txt -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/app/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/app/core/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/app/core/test_elo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/tests/app/core/test_elo.py -------------------------------------------------------------------------------- /tests/app/core/test_fft.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/tests/app/core/test_fft.py -------------------------------------------------------------------------------- /tests/tests_data/contest_prediction_1.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/tests/tests_data/contest_prediction_1.npy -------------------------------------------------------------------------------- /tests/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baoliay2008/lccn_predictor/HEAD/tests/utils.py --------------------------------------------------------------------------------