hardcore-rule's People
Forkers
unrealhoang huytd qcam 0x2c7 tle-blurb lucas2804 kiennt revskill10 runivn voanhduy1512 lucdang codeaholicguy nnluukhtn trietphm duythinht lpvcpp duyetpt nhantv94 rubikill ledongthuc vthang95 longkt90 alexdzang hieutm211 dautroc linxgnu linhxhust ppthong philuu265 nguyenhuedang trinhngocdieu tamnd dzungdev phantrinh pirackr jinhduong ldhnam thupv manhdaovan huydx nguyen7thai vuta toantran-ea danhuynhdev trancongduy m-inh namle95 hosyvietanh viethnguyen lmduc vnqthai lyxuansang91 nghoapc khanhtran94 hungsteve ntmduyen vanhtuan0409 tienducitt nnti3n tutv tinntt nptai leuducanh tqvuong toanhvu quoccuonguet nguyenhuuca longlt1 thienn1107 bdthinh hanhpp panasoniclam tranthehoangk60 cuongvx-1239 tuanhah graphicdthanh huyvohcmc vienvu89 hthoai namtx huyng12 ldakhoa trongbq monodyle long-nc ledongthuc-offline2online hiepndd ducva luathn vuongvu1 rovn208 andaden baonq-me nchconghung nkhanh44 nvhuutinh nhuantdbk huytq000605 duysmile tonthanhhunghardcore-rule's Issues
[AlgoCollector] Testing mode
Source code: https://github.com/ruby-vietnam/hardcore-rule/tree/master/algorithms/collector
Background
- When starting the algorithm collector, it merges pull requests and add a comment to the weekly report page
Problems
- Sometimes, we need to test or verify features that we only want to check pull request scores and review final comments without merging or add any real comments.
Proposal
- Add a variable environment to declare testing mode, suggestion:
DEBUG_MODE
- When
DEBUG_MODE=true
, the algorithm collector won't merge and delete any pull requests and add comments to the weekly report page
- Other functions to calculate scores, printing debug console work normally.
[SoCo] Check due date for SubmissionPR
Show if a submission missed deadline or not in week-report. @tamnd
[2021] Algorithm weekly report
Every week, we pick algorithm problems to solve and post them to this ticket.
At 00:00 on Sunday (VN time), we run an automation tool to merge solution PRs and collect scores. The score report will follow the problems.
Mapping of GitHub account and slack account is defined in https://github.com/ruby-vietnam/hardcore-rule/blob/master/algorithms/PARTICIPANTS.md
The source code of the automation tool is in https://github.com/ruby-vietnam/hardcore-rule/tree/master/algorithms/collector
Mapping of problem's level and the score is defined in this issue content.
Weekly problems are posted in this issue follow the format:
Weekly Problem: Season x - Week y
<Level>: <URL>
Easy: https://leetcode.com/problems/two-sum/
Medium: https://leetcode.com/problems/generate-parentheses/
Level - Score mapping:
*** Score mapping ***
Easy: 1
Medium: 2
Hard: 3
*** End score mapping ***
[AlgoCollector] Improve weekly problems comment picking
Source code: https://github.com/ruby-vietnam/hardcore-rule/tree/master/algorithms/collector
Background
- Algorithm collector access Algorithm weekly report page to get "Weekly problems". It always expects the latest comment on the page as the latest problems of the current week.
Problems
- Sometimes, we have to discuss or add comments on Algorithm weekly report page that makes the latest comment on the page is not the latest problems comment.
Proposal
- When checking comments of Algorithm weekly report page, we check starting pattern "Weekly problem:" as first problems posts and assume it's problem's comments.
- Algorithm collector use the latest comment that starts with "Weekly problem:" and expect it as the latest problems comment. Other comments without starting of "Weekly problem:", we skip it.
- Trim space/tab to avoid typing problems.
- Allows custom starting problem patterns from the variable environments. Default is "Weekly problem:"
Github page for this repo
Create a github page for this repo. This can help people read and follow changes in this repo.
[SoCo] Proper Exception Handling
Introduce failure
and remove all unwrap
[SoCo] Compare week submissions against PARTICIPANTS.md
To find out who missed out on that week.
[2022] Algorithm weekly report
Every week, we pick algorithm problems to solve and post them to this ticket.
At 00:00 on Sunday (VN time), we run an automation tool to merge solution PRs and collect scores. The score report will follow the problems.
Mapping of GitHub account and slack account is defined in https://github.com/ruby-vietnam/hardcore-rule/blob/master/algorithms/PARTICIPANTS.md
The source code of the automation tool is in https://github.com/ruby-vietnam/hardcore-rule/tree/master/algorithms/collector
Mapping of problem's level and the score is defined in this issue content.
Weekly problems are posted in this issue follow the format:
Weekly Problem: Season x - Week y
<Level>: <URL>
Easy: https://leetcode.com/problems/two-sum/
Medium: https://leetcode.com/problems/generate-parentheses/
Level - Score mapping:
*** Score mapping ***
Easy: 1
Medium: 2
Hard: 3
*** End score mapping ***
Last year report: #1408
[AlgoCollector] Delete pull request after merging
Source code: https://github.com/ruby-vietnam/hardcore-rule/tree/master/algorithms/collector
Background
- When starting the algorithm collector, it calculates the score and merges pull requests.
Problems
- Few pull requests are created from UI GitHub that create un-deleted branches.
Proposal
- Delete pull request after calculating and merging
[AlgoCollector] Pull request requirement
Source code: https://github.com/ruby-vietnam/hardcore-rule/tree/master/algorithms/collector
Background
- Algorithm collector will go through all "open" pull requests and do score calculations.
Problems
- Sometimes, "open" pull requests is not algorithm purpose. The algorithm collector counts it as a pull request of the weekly algorithm.
Proposal
- Only check pull requests that have changed files in a folder algorithm
[SoCo] Need README
Don't know how to use or develop the tool
[SoCo] Validate PR file path
PR's file should be located in /algorithms/solutions/<week_number>
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.