Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1562ae1

Browse files
authored
Add a README.md file to the scripts directory (#13480)
* Add a README.md file to the scripts directory* updating DIRECTORY.md---------Co-authored-by: cclauss <cclauss@users.noreply.github.com>
1 parent788d95b commit1562ae1

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

‎DIRECTORY.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@
195195
*[Permutations](data_structures/arrays/permutations.py)
196196
*[Prefix Sum](data_structures/arrays/prefix_sum.py)
197197
*[Product Sum](data_structures/arrays/product_sum.py)
198+
*[Rotate Array](data_structures/arrays/rotate_array.py)
198199
*[Sparse Table](data_structures/arrays/sparse_table.py)
199200
*[Sudoku Solver](data_structures/arrays/sudoku_solver.py)
200201
* Binary Tree

‎scripts/README.md‎

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Dealing with the onslaught of Hacktoberfest
2+
*https://hacktoberfest.com
3+
4+
Each year, October brings a swarm of new contributors participating in Hacktoberfest. This event has its pros and cons, but it presents a monumental workload for the few active maintainers of this repo. The maintainer workload is further impacted by a new version of CPython being released in the first week of each October.
5+
6+
To help make our algorithms more valuable to visitors, our CONTRIBUTING.md file outlines several strict requirements, such as tests, type hints, descriptive names, functions, and/or classes. Maintainers reviewing pull requests should try to encourage improvements to meet these goals, but when the workload becomes overwhelming (esp. in October), pull requests that do not meet these goals should be closed.
7+
8+
Below are a few[`gh`](https://cli.github.com) scripts that should close pull requests that do not match the definition of an acceptable algorithm as defined in CONTRIBUTING.md. I tend to run these scripts in the following order.
9+
10+
* close_pull_requests_with_require_descriptive_names.sh
11+
* close_pull_requests_with_require_tests.sh
12+
* close_pull_requests_with_require_type_hints.sh
13+
* close_pull_requests_with_failing_tests.sh
14+
* close_pull_requests_with_awaiting_changes.sh
15+
* find_git_conflicts.sh
16+
17+
###Run on 14 Oct 2025: 107 of 541 (19.77%) pull requests closed.
18+
19+
Script run | Open pull requests | Pull requests closed
20+
--- | --- | ---
21+
None | 541 | 0
22+
require_descriptive_names | 515 | 26
23+
require_tests | 498 | 17
24+
require_type_hints | 496 | 2
25+
failing_tests | 438 |___58___
26+
awaiting_changes | 434 | 4
27+
git_conflicts |[ broken] | 0

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp