Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
637 commits
Select commit Hold shift + click to select a range
1a45a91
docs: update related packages sections
stdlib-bot Jan 15, 2025
d1df6c2
feat: add C implementation for `stats/base/dists/arcsine/skewness`
anandkaranubc Jan 15, 2025
8e046ac
feat: add C implementation for `stats/base/dists/arcsine/mode`
anandkaranubc Jan 15, 2025
eab11ec
docs: update namespace table of contents
stdlib-bot Jan 15, 2025
6678155
chore: insert trailing newlines in Fortran files
kgryte Jan 15, 2025
2983e31
fix: use correct stride
kgryte Jan 15, 2025
012a770
fix: use correct stride
kgryte Jan 15, 2025
9337cb1
chore: fix include order
kgryte Jan 15, 2025
856554e
build: generate GitHub annotations from editorconfig-checker on CI
Planeshifter Jan 15, 2025
dc59347
feat: add C Implementation for `stats/base/dists/arcsine/stdev`
anandkaranubc Jan 15, 2025
635eefe
docs: update require path
kgryte Jan 15, 2025
96779fe
docs: update require path
kgryte Jan 15, 2025
3497f38
docs: update require path
kgryte Jan 15, 2025
db6d2d8
feat: add C implementation of `stats/base/dists/degenerate/logpdf`
Vinit-Pandit Jan 16, 2025
91575e4
style: add missing space
kgryte Jan 16, 2025
41a2f6d
bench: measure performance on generic arrays
kgryte Jan 16, 2025
0321f73
docs: update examples
kgryte Jan 16, 2025
52023aa
bench: refactor array generation
kgryte Jan 16, 2025
198fd7c
docs: add missing include
kgryte Jan 16, 2025
acf86c1
docs: update examples
kgryte Jan 16, 2025
f2a5e8e
docs: update related packages sections
stdlib-bot Jan 16, 2025
1ed5a72
feat: add C implementation for `stats/base/dists/degenerate/quantile`
anandkaranubc Jan 16, 2025
36a024b
docs: refactor examples of `stats/base/dnanmax`
aayush0325 Jan 16, 2025
dd8de51
docs: increase success probability in examples
kgryte Jan 16, 2025
4456ef7
feat: add `assign` method
kgryte Jan 16, 2025
713aac5
feat: add `strided` API
kgryte Jan 17, 2025
b0eb35e
refactor: rename parameter
kgryte Jan 17, 2025
c7f279c
docs: rename parameter
kgryte Jan 17, 2025
945f1d1
feat: add macros for 2d accumulation
kgryte Jan 17, 2025
a88e303
fix: remove continuation
kgryte Jan 17, 2025
9d321d9
feat: add 3d accumulation macros
kgryte Jan 17, 2025
d96d60a
docs: add example
kgryte Jan 17, 2025
f8014c7
feat: add dispatcher
kgryte Jan 17, 2025
7b005ed
docs: add README
kgryte Jan 17, 2025
c1012d6
chore: add package meta data
kgryte Jan 17, 2025
c5e9bbb
build: add docs template
kgryte Jan 17, 2025
5597a0d
build: add header template
kgryte Jan 17, 2025
556aab6
bench: add 10d benchmarks
kgryte Jan 17, 2025
7a3a114
bench: add 11d benchmarks
kgryte Jan 17, 2025
77ad5aa
bench: add 1d benchmarks
kgryte Jan 17, 2025
506b2f3
bench: add 2d benchmarks
kgryte Jan 17, 2025
5c50f4b
docs: update related packages sections
stdlib-bot Jan 17, 2025
1b31e03
build: add manifest file
kgryte Jan 17, 2025
fec0baa
build: add source templates
kgryte Jan 17, 2025
da8c11e
docs: update copy
kgryte Jan 17, 2025
4a54c8a
docs: update examples
kgryte Jan 17, 2025
47abc45
docs: update comment
kgryte Jan 17, 2025
80dfdde
docs: update examples
kgryte Jan 17, 2025
55831fc
docs: update examples
kgryte Jan 17, 2025
12b7073
feat: enable completed macros
kgryte Jan 17, 2025
670716b
fix: update signatures
kgryte Jan 17, 2025
1cf0a62
docs: update examples
kgryte Jan 17, 2025
ef2ac8f
chore: resolve lint errors
kgryte Jan 17, 2025
8d90872
bench: fix invocations
kgryte Jan 17, 2025
e30affc
bench: fix assertion
kgryte Jan 17, 2025
a8b5dc0
docs: fix grammar typo in `stats/base/*`
aayush0325 Jan 17, 2025
6de03c7
docs: update function description and cleanup for `math/base/special/…
aayush0325 Jan 17, 2025
08139dc
refactor: update `math/base/special/hypot` to follow latest project c…
vivekmaurya001 Jan 17, 2025
725128c
feat: add C `ndarray` API and refactor `blas/ext/base/scusumkbn2`
headlessNode Jan 17, 2025
d6f94d5
feat: add C ndarray interface and refactor implementation for `stats/…
aayush0325 Jan 17, 2025
22d185a
feat: add C ndarray interface and refactor implementation for `stats/…
aayush0325 Jan 17, 2025
4c5eb56
feat: add C ndarray interface and refactor implementation for `stats/…
aayush0325 Jan 17, 2025
bfd3a4b
feat: add C ndarray interface and refactor implementation for `stats/…
aayush0325 Jan 17, 2025
f2a9e94
feat: add C ndarray interface and refactor implementation for `stats/…
aayush0325 Jan 17, 2025
1019e21
feat(repl): add settings and prototype methods for keybindings
Snehil-Shah Jan 17, 2025
1dbd2f1
feat: add C ndarray interface and refactor implementation for `stats/…
aayush0325 Jan 17, 2025
4994cb7
feat: add C `ndarray` API and refactor `blas/ext/base/sasumpw`
headlessNode Jan 17, 2025
02a62bc
feat: add C ndarray interface and refactor implementation for `stats/…
Vinit-Pandit Jan 17, 2025
8efd789
feat: add C ndarray interface and refactor implementation for `stats/…
aayush0325 Jan 17, 2025
94d01c2
feat: add C `ndarray` API and refactor `blas/ext/base/scusumkbn`
headlessNode Jan 17, 2025
1a331ab
refactor: update `math/base/special/hypotf` to follow latest project …
vivekmaurya001 Jan 17, 2025
8aa4064
feat: add C ndarray interface and refactor implementation for `stats/…
aayush0325 Jan 18, 2025
e5d5848
feat: add C ndarray interface and refactor implementation for `stats/…
aayush0325 Jan 18, 2025
c362d8f
feat: add C `ndarray` API and refactor `blas/ext/base/sapxsumkbn2`
headlessNode Jan 18, 2025
19f1e96
feat: add C `ndarray` API and refactor `blas/ext/base/sapxsumpw`
headlessNode Jan 18, 2025
3ef1659
feat: add C implementation for `stats/base/dists/degenerate/median`
anandkaranubc Jan 18, 2025
6ad7104
feat: add C implementation for `stats/base/dists/degenerate/pmf`
anandkaranubc Jan 18, 2025
d25faf3
feat: add C implementation for `stats/base/dists/degenerate/pdf`
anandkaranubc Jan 18, 2025
a4c1388
docs: fix return annotation style
Planeshifter Jan 18, 2025
d0e7792
feat: add `math/base/special/heavisidef`
vivekmaurya001 Jan 18, 2025
12b24ae
feat: add `lapack/base/zrot`
rreusser Jan 18, 2025
dd943c7
docs: update related packages sections
stdlib-bot Jan 18, 2025
9aa9241
docs: update REPL namespace documentation
stdlib-bot Jan 18, 2025
5722e5f
docs: update namespace TypeScript declaration comments
stdlib-bot Jan 18, 2025
2d48358
docs: update namespace table of contents
stdlib-bot Jan 18, 2025
389289e
feat: add C implementation for `stats/base/dists/degenerate/logpmf`
anandkaranubc Jan 18, 2025
1242994
feat: add C implementation for `stats/base/dists/degenerate/mgf`
anandkaranubc Jan 18, 2025
f6c40e2
chore: update .mailmap
Planeshifter Jan 18, 2025
40a3ac0
feat: add `lapack/base/zlacgv`
rreusser Jan 18, 2025
6b5f942
refactor: update `blas/ext/base/gfill` to follow current project conv…
headlessNode Jan 18, 2025
3729bec
refactor: update `blas/ext/base/gfill-by` to follow current project c…
headlessNode Jan 18, 2025
10e2ecd
fix: update type definitions to support accessor arrays
kgryte Jan 18, 2025
676afd8
feat: add support for accessor arrays
kgryte Jan 18, 2025
43150fb
feat: add `stats/strided/dmax`
kgryte Jan 18, 2025
9048c29
refactor: update paths
kgryte Jan 18, 2025
9cd3fb0
remove: remove `stats/base/dmax`
kgryte Jan 18, 2025
f002e09
bench: refactor random number generation in `stats/base/dists/bernoulli`
anandkaranubc Jan 18, 2025
32a7528
bench: refactor random number generation in `stats/base/dists/arcsine`
anandkaranubc Jan 18, 2025
aa3102f
feat: add C `ndarray` API and refactor `blas/ext/base/scusum`
headlessNode Jan 18, 2025
ecd9503
refactor: update `blas/ext/base/gapxsumors` to follow current project…
headlessNode Jan 18, 2025
325ab8c
refactor: update `blas/ext/base/gapxsumkbn2` to follow current projec…
headlessNode Jan 18, 2025
6bba2f3
refactor: update `blas/ext/base/gapxsumpw` to follow current project …
headlessNode Jan 18, 2025
95caf22
refactor: update `blas/ext/base/gasumpw` to follow current project co…
headlessNode Jan 18, 2025
4fbb163
refactor: update `blas/ext/base/gapx` to follow current project conve…
headlessNode Jan 18, 2025
db140f9
refactor: update `blas/ext/base/gapxsum` to follow current project co…
headlessNode Jan 18, 2025
e77c488
refactor: update `blas/ext/base/gsumkbn` to follow current project co…
headlessNode Jan 18, 2025
bbdc495
feat: add C `ndarray` API and refactor `blas/ext/base/sapxsumkbn`
headlessNode Jan 18, 2025
ae9d173
refactor: update `blas/ext/base/gcusumpw` to follow current project c…
headlessNode Jan 18, 2025
9bf6f72
refactor: update `blas/ext/base/gcusum` to follow current project con…
headlessNode Jan 18, 2025
962c066
refactor: update `blas/ext/base/gcusumkbn2` to follow current project…
headlessNode Jan 18, 2025
0af5bbe
test: update test-cases for stride handling in `blas/ext/base/gapxsum`
headlessNode Jan 18, 2025
4fbc02a
refactor: update `stats/base/dnanstdevtk` native addon from C++ to C
0PrashantYadav0 Jan 18, 2025
89201e7
refactor: update `stats/base/dsmean` native addon from C++ to C
0PrashantYadav0 Jan 18, 2025
3c97562
refactor: update `stats/base/dnanvariancech` native addon from C++ to C
0PrashantYadav0 Jan 18, 2025
66d00f9
refactor: update `stats/base/dsmeanors` native addon from C++ to C
0PrashantYadav0 Jan 18, 2025
e7ddd9e
refactor: update `stats/base/dsmeanpn` native addon from C++ to C
0PrashantYadav0 Jan 18, 2025
601f59a
refactor: update `stats/base/dsmeanpw` native addon from C++ to C
0PrashantYadav0 Jan 18, 2025
879e0a9
refactor: update `math/base/assert/is-finite` native addon from C++ to C
DhruvArvindSingh Jan 18, 2025
f865d45
refactor: update `math/base/assert/is-infinitef` native addon from C+…
DhruvArvindSingh Jan 18, 2025
5febf22
refactor: update `math/base/assert/is-nanf` native addon from C++ to C
DhruvArvindSingh Jan 18, 2025
2c9973c
refactor: update `math/base/assert/is-finitef` native addon from C++ …
DhruvArvindSingh Jan 18, 2025
47f4064
build: label pull requests from first-time contributors
Planeshifter Jan 18, 2025
c02e6b9
build: fetch pull request details instead of relying on event
Planeshifter Jan 18, 2025
3fb147c
build: add missing curly brace
Planeshifter Jan 18, 2025
8d4b4c4
feat: add C implementation for `stats/base/dists/kumaraswamy/logpdf`
corsairier Jan 18, 2025
8e2f9c4
feat: add C implementation for `stats/base/dists/kumaraswamy/skewness`
corsairier Jan 18, 2025
f5e0748
feat: add C implementation for `stats/base/dists/kumaraswamy/logcdf`
corsairier Jan 18, 2025
64d9969
build: only fetch PRs from same author
Planeshifter Jan 18, 2025
c2d3788
chore: add Git notes
Planeshifter Jan 18, 2025
14ecfd6
feat: add C `ndarray` interface and refactor implementation for `stat…
Neerajpathak07 Jan 18, 2025
d6c524f
feat: add C `ndarray` interface and refactor implementation for `stat…
Neerajpathak07 Jan 18, 2025
127fc57
feat: add C `ndarray` interface and refactor implementation for `stat…
Neerajpathak07 Jan 18, 2025
e2da6aa
build: fix initial reaction by not checking comment for equality
Planeshifter Jan 18, 2025
20d210e
feat: add `blas/base/zdscal`
rreusser Jan 19, 2025
6bf226d
feat: add `stats/base/dists/planck/mgf`
Jaysukh-409 Jan 19, 2025
eb353a4
feat: update error databases
stdlib-bot Jan 19, 2025
269a070
docs: update list of contributors
stdlib-bot Jan 19, 2025
3bf6ae8
docs: update related packages sections
stdlib-bot Jan 19, 2025
1a47c97
refactor: update `math/base/assert/is-integerf` to follow latest proj…
vivekmaurya001 Jan 19, 2025
585c4b7
docs: update REPL namespace documentation
stdlib-bot Jan 19, 2025
227eabb
docs: update namespace table of contents
stdlib-bot Jan 19, 2025
26da2df
refactor: update `math/base/assert/is-integer` to follow latest proje…
vivekmaurya001 Jan 19, 2025
aaf3fb9
refactor: update `math/base/assert/is-odd` to follow latest project c…
vivekmaurya001 Jan 19, 2025
39b4456
feat: add C implementation for `stats/base/dists/chisquare/mean`
vivekmaurya001 Jan 19, 2025
52e835a
feat: add C implementation for `stats/base/dists/chisquare/stdev`
vivekmaurya001 Jan 19, 2025
d72644a
docs: clean-up examples
kgryte Jan 19, 2025
0178f2b
feat: add C `ndarray` interface and refactor implementation for `stat…
Neerajpathak07 Jan 19, 2025
33d80ad
feat!: update namespace TypeScript declarations
stdlib-bot Jan 19, 2025
68d498c
feat: add C `ndarray` API and refactor `blas/ext/base/scusumors`
headlessNode Jan 19, 2025
272b1ed
feat: add C `ndarray` API and refactor `blas/ext/base/sapxsum`
headlessNode Jan 19, 2025
488e74a
feat!: add C `ndarray` API and refactor `blas/ext/base/sapx`
headlessNode Jan 19, 2025
ab035bc
feat: add `lapack/base/zlaset`
rreusser Jan 19, 2025
7050c37
feat: add C implementation for `stats/base/dists/cosine/logpdf`
0PrashantYadav0 Jan 19, 2025
da3c413
feat: add C implementation for `stats/base/dists/cosine/logcdf`
0PrashantYadav0 Jan 19, 2025
4de300c
feat: add C implementation for `stats/base/dists/cosine/cdf`
0PrashantYadav0 Jan 19, 2025
44c3e14
feat: add C implementation for `stats/base/dists/cosine/kurtosis`
0PrashantYadav0 Jan 19, 2025
7acfe2e
feat: add C implementation for `stats/base/dists/triangular/logpdf`
0PrashantYadav0 Jan 19, 2025
049d75b
feat: add C implementation for `stats/base/dists/cosine/pdf`
0PrashantYadav0 Jan 19, 2025
963a304
feat: add C implementation for `stats/base/dists/cosine/mgf`
0PrashantYadav0 Jan 19, 2025
9d79c0f
feat: add C implementation for `stats/base/dists/chisquare/mode`
vivekmaurya001 Jan 19, 2025
df863a3
feat: add C implementation for `stats/base/dists/chisquare/variance`
vivekmaurya001 Jan 19, 2025
4ca9075
feat: add C implementation for `stats/base/dists/gumbel/stdev`
vivekmaurya001 Jan 19, 2025
a540109
feat: add C implementation for `stats/base/dists/cauchy/median`
vivekmaurya001 Jan 19, 2025
d57c6f7
feat: add C implementation for `stats/base/dists/levy/mean`
vivekmaurya001 Jan 19, 2025
a13fa7f
feat: add C implementation for `stats/base/dists/levy/mode`
vivekmaurya001 Jan 19, 2025
43ea025
feat: add C implementation for `stats/base/dists/levy/stdev`
vivekmaurya001 Jan 19, 2025
b4d5544
feat: add C implementation for `stats/base/dists/gumbel/mode`
vivekmaurya001 Jan 19, 2025
4e902e3
feat: add C implementation for `stats/base/dists/gumbel/kurtosis`
vivekmaurya001 Jan 19, 2025
9b42375
feat: add C implementation for `stats/base/dists/logistic/stdev`
vivekmaurya001 Jan 19, 2025
cac1bbd
feat: add C ndarray interface and refactor implementation for `stats/…
aayush0325 Jan 19, 2025
db63e0f
feat: add C `ndarray` API and refactor `blas/ext/base/scusumpw`
headlessNode Jan 19, 2025
30fa067
feat: add C ndarray interface and refactor implementation for `stats/…
aayush0325 Jan 19, 2025
d84a513
docs: update descriptions
kgryte Jan 20, 2025
fdda5c6
refactor: use early returns
kgryte Jan 20, 2025
553c49e
refactor: move entry comparison logic to separate function
kgryte Jan 20, 2025
da9d4c1
feat: add support for complex number arrays
kgryte Jan 20, 2025
a05eebf
feat: add support for boolean arrays
kgryte Jan 20, 2025
3b2311e
build: move benchmark execution to script and build native add-ons
Planeshifter Jan 20, 2025
10deaa5
docs: update related packages sections
stdlib-bot Jan 20, 2025
80db228
docs: update namespace TypeScript declaration comments
stdlib-bot Jan 20, 2025
56e4994
docs: update REPL namespace documentation
stdlib-bot Jan 20, 2025
463141a
docs: update namespace table of contents
stdlib-bot Jan 20, 2025
3ad0ebe
chore: minor clean-up
Planeshifter Jan 20, 2025
e3afb0f
chore: remove extra spaces
Planeshifter Jan 20, 2025
021d618
chore: minor clean-up
Planeshifter Jan 20, 2025
f877f22
chore: fix indentation
Planeshifter Jan 20, 2025
4fc8c52
chore: add missing empty lines
Planeshifter Jan 20, 2025
771cfd8
test: correcly pass options for native tests
Planeshifter Jan 20, 2025
b7ab9fe
chore: minor clean-up
Planeshifter Jan 20, 2025
cd9944b
feat: add support for various class instances
kgryte Jan 20, 2025
dfbe534
feat: add support for comparing complex number entries
kgryte Jan 20, 2025
cb0e9ee
fix: update error messages
kgryte Jan 20, 2025
655b3af
docs: update comment
kgryte Jan 20, 2025
77fe1a7
refactor: update error message to be more generic
kgryte Jan 20, 2025
30f7286
feat: add support for complex and boolean typed arrays
kgryte Jan 20, 2025
e945689
feat: add `stats/strided/dcumax`
aayush0325 Jan 20, 2025
7c7ce83
refactor: update paths
aayush0325 Jan 20, 2025
4ca77a9
remove: remove `stats/base/dcumax`
aayush0325 Jan 20, 2025
52b0d63
chore: minor clean-up
Planeshifter Jan 20, 2025
60da98c
refactor: precompute constant and adjust tolerance
Planeshifter Jan 20, 2025
674589d
refactor: precompute constant
Planeshifter Jan 20, 2025
0a9c9b6
chore: update wording from non-negative to nonnegative
Planeshifter Jan 20, 2025
30942be
chore: minor clean-up
Planeshifter Jan 20, 2025
426ed2a
refactor: use argv float instead of double
Planeshifter Jan 20, 2025
9074cb4
refactor: precompute constant
Planeshifter Jan 20, 2025
f54f3b5
refactor: precompute constant
Planeshifter Jan 20, 2025
6f3d67b
chore: minor clean-up
Planeshifter Jan 20, 2025
e28eac4
refactor: precompute constant
Planeshifter Jan 20, 2025
cba31f7
test: fix name of checked variable
Planeshifter Jan 20, 2025
17d9aef
chore: minor clean-up
Planeshifter Jan 20, 2025
9ae542b
chore: use excess kurtosis consistently
Planeshifter Jan 20, 2025
0840b3d
chore: consistently use differential entropy for continuous distribut…
Planeshifter Jan 20, 2025
fd34ad4
refactor: precompute constant
Planeshifter Jan 20, 2025
207e0d8
test: fix variable name
kgryte Jan 21, 2025
02ac2a1
docs: update related packages sections
stdlib-bot Jan 21, 2025
eccfc82
docs: update Markdown stdlib package URLs
stdlib-bot Jan 21, 2025
8d8ffda
docs: update REPL namespace documentation
stdlib-bot Jan 21, 2025
7cc0273
feat!: update namespace TypeScript declarations
stdlib-bot Jan 21, 2025
04100d9
feat: add `stats/strided/dcumaxabs`
aayush0325 Jan 21, 2025
c5fde20
refactor: update paths
aayush0325 Jan 21, 2025
333736f
remove: remove `stats/base/dcumaxabs`
aayush0325 Jan 21, 2025
7e0542b
feat: add `lapack/base/clacpy`
kgryte Jan 21, 2025
dd8b535
feat: add `clacpy` to namespace
kgryte Jan 21, 2025
44a7843
feat: add `dgetrans` to namespace
kgryte Jan 21, 2025
cb86a17
feat: add `dlamch` to namespace
kgryte Jan 21, 2025
4b56679
feat: add `sgetrans` to namespace
kgryte Jan 21, 2025
bff97ed
feat: add `slaswp` to namespace
kgryte Jan 21, 2025
1fa29b4
feat: add `zlacgv` to namespace
kgryte Jan 21, 2025
1a671c4
feat: add `zlacpy` to namespace
kgryte Jan 21, 2025
db2be0a
feat: add `zlaset` to namespace
kgryte Jan 21, 2025
aa0f237
feat: add `zrot` to namespace
kgryte Jan 21, 2025
b707262
feat: add `lapack/base/clacgv`
kgryte Jan 21, 2025
e3111c9
bench: use single-precision utilities
kgryte Jan 21, 2025
d61c822
style: align comments
kgryte Jan 21, 2025
5292656
feat: add `clacgv` to namespace
kgryte Jan 21, 2025
b7d8785
docs: update examples
kgryte Jan 21, 2025
8abf1fa
docs: update examples
kgryte Jan 21, 2025
f717ab2
test: rename file
kgryte Jan 21, 2025
f1fa6bb
feat: add `lapack/base/claset`
kgryte Jan 21, 2025
87356e8
feat: add `claset` to namespace
kgryte Jan 21, 2025
5952a65
docs: update description
kgryte Jan 21, 2025
075c7f3
docs: fix link
kgryte Jan 21, 2025
bb6e89a
feat: add `lapack/base/crot`
kgryte Jan 21, 2025
d8eda48
feat: add `crot` to namespace
kgryte Jan 21, 2025
4297479
test: remove general use of absolute tolerance
kgryte Jan 21, 2025
2fb0509
docs: fix examples
kgryte Jan 21, 2025
76801ec
chore: replace emoji
kgryte Jan 21, 2025
7f1beeb
docs: update namespace table of contents
stdlib-bot Jan 21, 2025
868eeed
chore: update mailmap
stdlib-bot Jan 21, 2025
09d3f17
rfc-cscal
Neerajpathak07 Jan 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 0 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ indent_style = tab
[*.{f,f.txt}]
indent_style = space
indent_size = 2
insert_final_newline = false

# Set properties for shell files:
[*.{sh,sh.txt}]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/good_first_issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.issue.number }}
BODY: |
# :rotating_light: Important: PLEASE READ :rotating_light:
# :wave: Important: PLEASE READ :wave:

This issue has been labeled as a **good first issue** and is available for anyone to work on.

Expand Down
60 changes: 60 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ on:
pull_request_target:
types:
- opened
- closed
- synchronize
- reopened
- edited
Expand Down Expand Up @@ -64,6 +65,31 @@ jobs:
configuration-path: .github/labeler.yml
repo-token: ${{ secrets.CHATBOT_GITHUB_TOKEN }}

# Add "First-time Contributor" label if PR is from a first-time contributor:
- name: 'Add "First-time Contributor" label if PR is from a first-time contributor'
if: ${{ github.event.action == 'opened' || github.event.action == 'reopened' }}
# Pin action to full-length commit SHA
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
github-token: ${{ secrets.CHATBOT_GITHUB_TOKEN }}
script: |
const { data: pr } = await github.rest.pulls.get({
'owner': context.repo.owner,
'repo': context.repo.repo,
'pull_number': context.payload.pull_request.number
});
if ( pr.author_association === 'FIRST_TIME_CONTRIBUTOR' ) {
const labels = context.payload.pull_request.labels.map( label => label.name );
if ( !labels.includes( 'First-time Contributor' ) ) {
await github.rest.issues.addLabels({
'owner': context.repo.owner,
'repo': context.repo.repo,
'issue_number': context.payload.pull_request.number,
'labels': [ 'First-time Contributor' ]
});
}
}

# Add "Needs Review" label when PR is opened and not a draft:
- name: 'Add "Needs Review" label if PR is opened and not draft'
if: ${{ github.event.action == 'opened' && github.event.pull_request.draft == false }}
Expand Down Expand Up @@ -133,3 +159,37 @@ jobs:
console.log( 'Error removing label %s: %s', label, error.message );
}
}

# Remove "First-time Contributor" label from other open PRs of same author if PR is merged:
- name: 'Remove "First-time Contributor" label from other open PRs of same author if PR is merged'
if: ${{ github.event.action == 'closed' && github.event.pull_request.merged == true }}
# Pin action to full length commit SHA
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
github-token: ${{ secrets.CHATBOT_GITHUB_TOKEN }}
script: |
const prAuthor = context.payload.pull_request.user.login;
const { owner, repo } = context.repo;

// Search for all open PRs from the PR author:
const query = `repo:${owner}/${repo} type:pr state:open author:${prAuthor}`;
const response = await github.rest.search.issuesAndPullRequests({
'q': query,
'per_page': 100
});

const pullRequests = response.data.items;
for ( const pull of pullRequests ) {
if ( pull.user.login === prAuthor ) {
try {
await github.rest.issues.removeLabel({
'owner': context.repo.owner,
'repo': context.repo.repo,
'issue_number': pull.number,
'name': 'First-time Contributor'
});
} catch ( error ) {
console.log( 'Error removing "First-time Contributor" label from PR #%d: %s', pull.number, error.message );
}
}
}
1 change: 0 additions & 1 deletion .github/workflows/labeler_needs_changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ jobs:
# Pin action to a known commit SHA for reproducibility:
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
github-token: ${{ secrets.CHATBOT_GITHUB_TOKEN }}
script: |
await github.rest.issues.addLabels({
'owner': context.repo.owner,
Expand Down
15 changes: 14 additions & 1 deletion .github/workflows/lint_changed_files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,21 @@ jobs:
node-version: '20' # 'lts/*'
timeout-minutes: 5

# Cache dependencies:
- name: 'Cache dependencies'
# Pin action to full length commit SHA
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
id: cache
with:
path: |
${{ github.workspace }}/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ runner.os }}-node-

# Install dependencies (accounting for possible network failures, etc, when installing node module dependencies):
- name: 'Install dependencies'
if: steps.cache.outputs.cache-hit != 'true'
run: |
make install-node-modules || make install-node-modules || make install-node-modules
timeout-minutes: 15
Expand Down Expand Up @@ -120,7 +133,7 @@ jobs:
- name: 'Lint against EditorConfig'
if: success() || failure()
run: |
make lint-editorconfig-files FILES="${{ steps.changed-files.outputs.files }}"
make lint-editorconfig-files EDITORCONFIG_FORMAT=github-actions FILES="${{ steps.changed-files.outputs.files }}"

# Lint Markdown files:
- name: 'Lint Markdown files'
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/namespace_declarations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,15 @@ jobs:

- updates namespace TypeScript declarations

## Reviewer Checklist

- [ ] **Check the scope of the changes** (following [Conventional Commits](https://www.conventionalcommits.org)):
- Are these **new APIs**? Then this is a `feat`.
- Are these **changes to existing APIs** that could break compatibility? Then this is a `feat!` (i.e., a breaking change).
- Are these **only documentation** changes to existing APIs? Then this is `docs`.
- [ ] Update the PR title to align with the change type (`feat`, `feat!`, or `docs`).
- [ ] Approve the PR once you are confident about the classification and changes made.

commit-message: 'feat: update namespace TypeScript declarations'
committer: 'stdlib-bot <[email protected]>'
signoff: true
Expand Down
57 changes: 38 additions & 19 deletions .github/workflows/run_affected_benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ on:
# List paths for which changes should trigger this workflow:
- 'lib/**/benchmark/**'

workflow_dispatch:
inputs:
directories:
description: 'List of changed directories for which to run affected benchmarks (space-separated)'

# Global permissions:
permissions:
# Allow read-only access to the repository contents:
Expand Down Expand Up @@ -78,8 +83,21 @@ jobs:
node-version: '20' # 'lts/*'
timeout-minutes: 5

# Cache dependencies:
- name: 'Cache dependencies'
# Pin action to full length commit SHA
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
id: cache
with:
path: |
${{ github.workspace }}/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ runner.os }}-node-

# Install dependencies (accounting for possible network failures, etc, when installing node module dependencies):
- name: 'Install dependencies'
if: steps.cache.outputs.cache-hit != 'true'
run: |
make install-node-modules || make install-node-modules || make install-node-modules
timeout-minutes: 15
Expand All @@ -90,9 +108,10 @@ jobs:
make init
timeout-minutes: 5

# Get list of changed files:
- name: 'Get list of changed files'
id: changed-files
# Get list of changed directories from PR and push events:
- name: 'Get list of changed directories'
if: github.event_name != 'workflow_dispatch'
id: changed-directories
continue-on-error: true
run: |
if [ -n "${{ github.event.pull_request.number }}" ]; then
Expand All @@ -107,24 +126,24 @@ jobs:
files=$(git diff --diff-filter=AM --name-only ${{ github.event.before }} ${{ github.event.after }})
fi
fi
# Keep only benchmark files:
files=$(echo "$files" | grep -E 'benchmark/' | tr '\n' ' ' | sed 's/ $//')
echo "files=${files}" >> $GITHUB_OUTPUT
directories=$(for file in $files; do dirname $file; done | uniq | tr '\n' ' ' | sed 's/ $//')
echo "directories=${directories}" >> $GITHUB_OUTPUT

# Run JavaScript benchmarks:
- name: 'Run JavaScript benchmarks'
# Get list of changed directories from workflow dispatch event:
- name: 'Get list of changed directories (from user input)'
if: github.event_name == 'workflow_dispatch'
id: changed-directories-user-input
run: |
files=$(echo "${{ steps.changed-files.outputs.files }}" | tr ' ' '\n' | grep -E '\.js$' | tr '\n' ' ' | sed 's/ $//')
if [ -n "$files" ]; then
make benchmark-javascript-files FILES="${files}"
fi
timeout-minutes: 30
echo "directories=${{ github.event.inputs.directories }}" >> $GITHUB_OUTPUT
timeout-minutes: 5

# Run C benchmarks:
- name: 'Run C benchmarks'
# Run affected benchmarks:
- name: 'Run affected benchmarks'
run: |
files=$(echo "${{ steps.changed-files.outputs.files }}" | tr ' ' '\n' | grep -E '\.c$' | sed "s|^|${GITHUB_WORKSPACE}/|" | tr '\n' ' ' | sed 's/ $//')
if [ -n "$files" ]; then
make benchmark-c-files FILES="${files}"
if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then
directories="${{ steps.changed-directories-user-input.outputs.directories }}"
else
directories="${{ steps.changed-directories.outputs.directories }}"
fi
timeout-minutes: 15
. "$GITHUB_WORKSPACE/.github/workflows/scripts/run_affected_benchmarks" "$directories"
timeout-minutes: 30
13 changes: 13 additions & 0 deletions .github/workflows/run_affected_examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,21 @@ jobs:
node-version: '20' # 'lts/*'
timeout-minutes: 5

# Cache dependencies:
- name: 'Cache dependencies'
# Pin action to full length commit SHA
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
id: cache
with:
path: |
${{ github.workspace }}/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ runner.os }}-node-

# Install dependencies (accounting for possible network failures, etc, when installing node module dependencies):
- name: 'Install dependencies'
if: steps.cache.outputs.cache-hit != 'true'
run: |
make install-node-modules || make install-node-modules || make install-node-modules
timeout-minutes: 15
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/run_affected_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,21 @@ jobs:
node-version: '20' # 'lts/*'
timeout-minutes: 5

# Cache dependencies:
- name: 'Cache dependencies'
# Pin action to full length commit SHA
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
id: cache
with:
path: |
${{ github.workspace }}/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ runner.os }}-node-

# Install dependencies (accounting for possible network failures, etc, when installing node module dependencies):
- name: 'Install dependencies'
if: steps.cache.outputs.cache-hit != 'true'
run: |
make install-node-modules || make install-node-modules || make install-node-modules
timeout-minutes: 15
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/run_tests_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,21 @@ jobs:
node-version: 20 # 'lts/*'
timeout-minutes: 5

# Cache dependencies:
- name: 'Cache dependencies'
# Pin action to full length commit SHA
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
id: cache
with:
path: |
${{ github.workspace }}/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ runner.os }}-node-
# Install dependencies (accounting for possible network failures, etc, when installing node module dependencies):
- name: 'Install dependencies'
if: steps.cache.outputs.cache-hit != 'true'
run: |
make install-node-modules || make install-node-modules || make install-node-modules
timeout-minutes: 15
Expand Down
Loading
Loading