Skip to content

Commit b35517a

Browse files
committed
Auto-generated commit
1 parent e6b9714 commit b35517a

File tree

7 files changed

+75
-53
lines changed

7 files changed

+75
-53
lines changed

.github/.keepalive

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2025-08-18T01:02:17.478Z

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2025-07-01)
7+
## Unreleased (2025-08-18)
88

99
<section class="features">
1010

@@ -34,6 +34,10 @@ A total of 2 issues were closed in this release:
3434

3535
<details>
3636

37+
- [`fc438e0`](https://github.com/stdlib-js/stdlib/commit/fc438e0edbad0689d6923d6f3edb959b96597662) - **test:** use standardized assertion messages and fix lint errors _(by Philipp Burckhardt)_
38+
- [`11581aa`](https://github.com/stdlib-js/stdlib/commit/11581aaca8c3cb824cbb92c0c0f80e76890bdb20) - **test:** use standardized assertion messages and fix lint errors _(by Philipp Burckhardt)_
39+
- [`07f7c05`](https://github.com/stdlib-js/stdlib/commit/07f7c0522c73e6ad9505e1d45035ae439344200d) - **test:** use standardized assertion messages and fix lint errors _(by Philipp Burckhardt)_
40+
- [`9c21fd2`](https://github.com/stdlib-js/stdlib/commit/9c21fd20ef8b8a6a88abb96d80ea6d8e4c5434eb) - **test:** use .strictEqual() instead of .equal() _(by Philipp Burckhardt)_
3741
- [`83af59d`](https://github.com/stdlib-js/stdlib/commit/83af59de17b7e0db3d95fb5959ec0f38cf63c88e) - **test:** increase needed tolerances for tests to pass _(by Philipp Burckhardt)_
3842
- [`a9c5bd5`](https://github.com/stdlib-js/stdlib/commit/a9c5bd530e3080d8fd55586b8b05c4c3a31c60b7) - **chore:** clean-up _(by Athan Reines)_
3943
- [`85ef894`](https://github.com/stdlib-js/stdlib/commit/85ef894a07c41e917c1c729cd3a08a5d2bd96acb) - **chore:** clean-up _(by Athan Reines)_

CONTRIBUTORS

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ Abdelrahman Samir <60700731+abdelrahman04@users.noreply.github.com>
99
Abdul Kaium <97376242+impawstarlight@users.noreply.github.com>
1010
Abhay Punia <156515195+Hecker165@users.noreply.github.com>
1111
Abhijit Raut <abhijitmraut8010@gmail.com>
12+
Abhishek G <166795493+AbhishekG-Codes@users.noreply.github.com>
1213
Abhishek Jain <40913033+abhishekblue@users.noreply.github.com>
1314
Adarsh Palaskar <adarshpalaskar99@gmail.com>
1415
Aditya Sapra <adityaework@gmail.com>
16+
Aditya Singh <adityasinghk099@gmail.com>
1517
Ahmed Atwa <Ahmedatwa866@yahoo.com>
1618
Ahmed Kashkoush <ahmedkashkoush464@gmail.com>
1719
Ahmed Khaled <kahmd1444@gmail.com>
@@ -23,12 +25,16 @@ Aman Bhansali <bhansali.1@iitj.ac.in>
2325
AmanBhadkariya <140033975+AmanBhadkariya@users.noreply.github.com>
2426
Amisha Chhajed <136238836+amishhaa@users.noreply.github.com>
2527
Amit Jimiwal <amitjimiwal45@gmail.com>
28+
Anmol Sah <113588714+anmolsah@users.noreply.github.com>
2629
Annamalai Prabu <apfossdev@gmail.com>
2730
Anshu Kumar <132515490+anxhukumar@users.noreply.github.com>
2831
Anshu Kumar <contact.anshukumar@protonmail.com>
2932
Anudeep Sanapala <anudeep0306@gmail.com>
33+
Arihant Pal <arihant0pal@gmail.com>
3034
Aryan Bhirud <112156883+AryanBhirud@users.noreply.github.com>
35+
AryanJ18 <18aryanj2006@gmail.com>
3136
Athan Reines <kgryte@gmail.com>
37+
Atharva Patil <124063987+atharva-patil-23@users.noreply.github.com>
3238
Ayaka <73595362+USERSATOSHI@users.noreply.github.com>
3339
Bhavishy Agrawal <90029607+bhavishy2801@users.noreply.github.com>
3440
Brendan Graetz <bguiz@users.noreply.github.com>
@@ -43,6 +49,7 @@ Daniel Yu <40680511+Daniel777y@users.noreply.github.com>
4349
Debashis Maharana <debashismaharana7854@gmail.com>
4450
Deep Trivedi <128926685+thedeeppp@users.noreply.github.com>
4551
Deepak Singh <78257493+Deepak91168@users.noreply.github.com>
52+
Deepak Singh <negid0253@gmail.com>
4653
Desh Deepak Kant <118960904+DeshDeepakKant@users.noreply.github.com>
4754
Dev Goel <135586571+corsairier@users.noreply.github.com>
4855
Dhanyabad behera <110620935+dhanyabad11@users.noreply.github.com>
@@ -60,6 +67,7 @@ GURU PRASAD SHARMA <168292003+GURUPRASADSHARMA@users.noreply.github.com>
6067
Gaurav <gaurav70380@gmail.com>
6168
Gautam Kaushik <162317291+Kaushikgtm@users.noreply.github.com>
6269
Gautam sharma <gautamkrishnasharma1@gmail.com>
70+
GeoDaoyu <geodaoyu@foxmail.com>
6371
Girish Garg <garggirish2020@gmail.com>
6472
Golden Kumar <103646877+AuenKr@users.noreply.github.com>
6573
Gunj Joshi <gunjjoshi8372@gmail.com>
@@ -113,6 +121,8 @@ Momtchil Momtchev <momtchil@momtchev.com>
113121
Muhammad Haris <harriskhan047@outlook.com>
114122
Muhammad Taaha Tariq <166188821+Taaha-Tariq@users.noreply.github.com>
115123
Muhmmad Saad <106260977+saad-imran-dev@users.noreply.github.com>
124+
NEEKUorAAYUSH <aayush10072004@gmail.com>
125+
Nakul Krishnakumar <nakulkrishnakumar86@gmail.com>
116126
Naresh Jagadeesan <naresh.naresh000@gmail.com>
117127
Naveen Kumar <stupiddint@gmail.com>
118128
Neeraj Pathak <neerajrpathak710@gmail.com>
@@ -127,6 +137,7 @@ Oneday12323 <107678750+Oneday12323@users.noreply.github.com>
127137
Ori Miles <97595296+orimiles5@users.noreply.github.com>
128138
Philipp Burckhardt <pburckhardt@outlook.com>
129139
Pierre Forstmann <15964998+pierreforstmann@users.noreply.github.com>
140+
Pradyumn Prasad <pradyumnprasad.567@gmail.com>
130141
Prajjwal Bajpai <142303989+prajjwalbajpai@users.noreply.github.com>
131142
Prajwal Kulkarni <prajwalkulkarni76@gmail.com>
132143
Pranav Goswami <pranavchiku11@gmail.com>
@@ -155,21 +166,25 @@ Ruthwik Chikoti <145591715+ruthwikchikoti@users.noreply.github.com>
155166
Ryan Seal <splrk@users.noreply.github.com>
156167
Rylan Yang <137365285+rylany27@users.noreply.github.com>
157168
SAHIL KUMAR <168997976+sahilk45@users.noreply.github.com>
169+
SAUJANYA MAGARDE <162047941+SaujanyaMagarde@users.noreply.github.com>
158170
SHIVAM YADAV <120725381+Shivam-1827@users.noreply.github.com>
159171
Sachin Raj <120590207+schnrj@users.noreply.github.com>
160172
Sahil Goyal <87982509+sahil20021008@users.noreply.github.com>
161173
Sai Avinash <120403424+nasarobot@users.noreply.github.com>
162174
Sai Srikar Dumpeti <80447788+the-r3aper7@users.noreply.github.com>
163175
Sanchay Ketan Sinha <122982233+satansin123@users.noreply.github.com>
164176
Sarthak Paandey <145528240+SarthakPaandey@users.noreply.github.com>
177+
Satyajeet Chavan <chavansatyajeet2004@gmail.com>
165178
Saurabh Singh <saurabhsraghuvanshi@gmail.com>
166179
Seyyed Parsa Neshaei <spneshaei@users.noreply.github.com>
167180
Shabareesh Shetty <139731143+ShabiShett07@users.noreply.github.com>
168181
Shashank Shekhar Singh <shashankshekharsingh1205@gmail.com>
169182
Shivam Ahir <11shivam00@gmail.com>
183+
Shivansh <114570926+shiv343@users.noreply.github.com>
170184
Shraddheya Shendre <shendreshraddheya@gmail.com>
171185
Shubh Mehta <93862397+Shubh942@users.noreply.github.com>
172186
Shubham Mishra <shubh622005@gmail.com>
187+
Siddhesh waje <117733253+siddhesh434@users.noreply.github.com>
173188
Sivam Das <100067002+Sivam2313@users.noreply.github.com>
174189
Snehil Shah <snehilshah.989@gmail.com>
175190
Soumajit Chatterjee <121816890+soumajit23@users.noreply.github.com>
@@ -189,10 +204,12 @@ Utkarsh <http://utkarsh11105@gmail.com>
189204
Utkarsh Raj <rajutkarsh2505@gmail.com>
190205
UtkershBasnet <119008923+UtkershBasnet@users.noreply.github.com>
191206
Vaibhav Patel <98279986+noobCoderVP@users.noreply.github.com>
207+
Vansh Choudhary <iamvanshchaudhary7@gmail.com>
192208
Vara Rahul Rajana <123227543+rajanarahul93@users.noreply.github.com>
193209
Varad Gupta <varadgupta21@gmail.com>
194210
Vinit Pandit <106718914+MeastroZI@users.noreply.github.com>
195211
Vivek Maurya <vm8118134@gmail.com>
212+
Wendy Yuchen Sun <wendyyuchensun@gmail.com>
196213
Xiaochuan Ye <tap91624@gmail.com>
197214
Yaswanth Kosuru <116426380+yaswanthkosuru@users.noreply.github.com>
198215
Yernar Yergaziyev <yernar.yergaziyev@erg.kz>

test/test.factory.js

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ tape( 'main export is a function', function test( t ) {
4646

4747
tape( 'the function returns a function', function test( t ) {
4848
var quantile = factory( 0.0, 1.0 );
49-
t.equal( typeof quantile, 'function', 'returns a function' );
49+
t.strictEqual( typeof quantile, 'function', 'returns expected value' );
5050
t.end();
5151
});
5252

@@ -56,23 +56,23 @@ tape( 'if provided `NaN` for any parameter, the created function returns `NaN`',
5656

5757
quantile = factory( 0.0, 1.0 );
5858
y = quantile( NaN );
59-
t.equal( isnan( y ), true, 'returns NaN' );
59+
t.strictEqual( isnan( y ), true, 'returns expected value' );
6060

6161
quantile = factory( NaN, 1.0 );
6262
y = quantile( 0.0 );
63-
t.equal( isnan( y ), true, 'returns NaN' );
63+
t.strictEqual( isnan( y ), true, 'returns expected value' );
6464

6565
quantile = factory( 1.0, NaN );
6666
y = quantile( 0.0 );
67-
t.equal( isnan( y ), true, 'returns NaN' );
67+
t.strictEqual( isnan( y ), true, 'returns expected value' );
6868

6969
quantile = factory( NaN, NaN );
7070
y = quantile( 0.0 );
71-
t.equal( isnan( y ), true, 'returns NaN' );
71+
t.strictEqual( isnan( y ), true, 'returns expected value' );
7272

7373
quantile = factory( NaN, NaN );
7474
y = quantile( NaN );
75-
t.equal( isnan( y ), true, 'returns NaN' );
75+
t.strictEqual( isnan( y ), true, 'returns expected value' );
7676

7777
t.end();
7878
});
@@ -83,10 +83,10 @@ tape( 'if provided a finite `mu` and `b`, the function returns a function which
8383

8484
quantile = factory( 0.0, 1.0 );
8585
y = quantile( -0.1 );
86-
t.equal( isnan( y ), true, 'returns NaN' );
86+
t.strictEqual( isnan( y ), true, 'returns expected value' );
8787

8888
y = quantile( 1.1 );
89-
t.equal( isnan( y ), true, 'returns NaN' );
89+
t.strictEqual( isnan( y ), true, 'returns expected value' );
9090

9191
t.end();
9292
});
@@ -98,34 +98,34 @@ tape( 'if provided a nonpositive `b`, the created function always returns `NaN`'
9898
quantile = factory( 0.0, -1.0 );
9999

100100
y = quantile( 2.0 );
101-
t.equal( isnan( y ), true, 'returns NaN' );
101+
t.strictEqual( isnan( y ), true, 'returns expected value' );
102102

103103
y = quantile( 0.0 );
104-
t.equal( isnan( y ), true, 'returns NaN' );
104+
t.strictEqual( isnan( y ), true, 'returns expected value' );
105105

106106
quantile = factory( 0.0, 0.0 );
107107

108108
y = quantile( 2.0 );
109-
t.equal( isnan( y ), true, 'returns NaN' );
109+
t.strictEqual( isnan( y ), true, 'returns expected value' );
110110

111111
y = quantile( 0.0 );
112-
t.equal( isnan( y ), true, 'returns NaN' );
112+
t.strictEqual( isnan( y ), true, 'returns expected value' );
113113

114114
quantile = factory( 0.0, NINF );
115115
y = quantile( 2.0 );
116-
t.equal( isnan( y ), true, 'returns NaN' );
116+
t.strictEqual( isnan( y ), true, 'returns expected value' );
117117

118118
quantile = factory( PINF, NINF );
119119
y = quantile( 2.0 );
120-
t.equal( isnan( y ), true, 'returns NaN' );
120+
t.strictEqual( isnan( y ), true, 'returns expected value' );
121121

122122
quantile = factory( NINF, NINF );
123123
y = quantile( 2.0 );
124-
t.equal( isnan( y ), true, 'returns NaN' );
124+
t.strictEqual( isnan( y ), true, 'returns expected value' );
125125

126126
quantile = factory( NaN, NINF );
127127
y = quantile( 2.0 );
128-
t.equal( isnan( y ), true, 'returns NaN' );
128+
t.strictEqual( isnan( y ), true, 'returns expected value' );
129129

130130
t.end();
131131
});
@@ -150,7 +150,7 @@ tape( 'the created function evaluates the quantile function at `p` given positiv
150150
y = quantile( p[i] );
151151
if ( expected[i] !== null ) {
152152
if ( y === expected[i] ) {
153-
t.equal( y, expected[i], 'p: '+p[i]+', mu: '+mu[i]+', b: '+b[i]+', y: '+y+', expected: '+expected[i] );
153+
t.strictEqual( y, expected[i], 'p: '+p[i]+', mu: '+mu[i]+', b: '+b[i]+', y: '+y+', expected: '+expected[i] );
154154
} else {
155155
delta = abs( y - expected[ i ] );
156156
tol = 1.0 * EPS * abs( expected[ i ] );
@@ -181,7 +181,7 @@ tape( 'the created function evaluates the quantile function at `p` given negativ
181181
y = quantile( p[i] );
182182
if ( expected[i] !== null ) {
183183
if ( y === expected[i] ) {
184-
t.equal( y, expected[i], 'p: '+p[i]+', mu:'+mu[i]+', b: '+b[i]+', y: '+y+', expected: '+expected[i] );
184+
t.strictEqual( y, expected[i], 'p: '+p[i]+', mu:'+mu[i]+', b: '+b[i]+', y: '+y+', expected: '+expected[i] );
185185
} else {
186186
delta = abs( y - expected[ i ] );
187187
tol = 1.0 * EPS * abs( expected[ i ] );
@@ -212,7 +212,7 @@ tape( 'the created function evaluates the quantile function at `p` given large v
212212
y = quantile( p[i] );
213213
if ( expected[i] !== null ) {
214214
if ( y === expected[i] ) {
215-
t.equal( y, expected[i], 'p: '+p[i]+', mu: '+mu[i]+', b: '+b[i]+', y: '+y+', expected: '+expected[i] );
215+
t.strictEqual( y, expected[i], 'p: '+p[i]+', mu: '+mu[i]+', b: '+b[i]+', y: '+y+', expected: '+expected[i] );
216216
} else {
217217
delta = abs( y - expected[ i ] );
218218
tol = 1.0 * EPS * abs( expected[ i ] );

test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ tape( 'main export is a function', function test( t ) {
3333
});
3434

3535
tape( 'attached to the main export is a factory method for generating `quantile` functions', function test( t ) {
36-
t.equal( typeof quantile.factory, 'function', 'exports a factory method' );
36+
t.strictEqual( typeof quantile.factory, 'function', 'exports a factory method' );
3737
t.end();
3838
});

test/test.native.js

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -55,48 +55,48 @@ tape( 'main export is a function', opts, function test( t ) {
5555

5656
tape( 'if provided `NaN` for any parameter, the function returns `NaN`', opts, function test( t ) {
5757
var y = quantile( NaN, 0.0, 1.0 );
58-
t.equal( isnan( y ), true, 'returns NaN' );
58+
t.strictEqual( isnan( y ), true, 'returns expected value' );
5959
y = quantile( 0.0, NaN, 1.0 );
60-
t.equal( isnan( y ), true, 'returns NaN' );
60+
t.strictEqual( isnan( y ), true, 'returns expected value' );
6161
y = quantile( 0.0, 1.0, NaN );
62-
t.equal( isnan( y ), true, 'returns NaN' );
62+
t.strictEqual( isnan( y ), true, 'returns expected value' );
6363
t.end();
6464
});
6565

6666
tape( 'if provided a number outside `[0,1]` for `p` and a finite `mu` and `b`, the function returns `NaN`', opts, function test( t ) {
6767
var y = quantile( 1.1, 0.0, 1.0 );
68-
t.equal( isnan( y ), true, 'returns true' );
68+
t.strictEqual( isnan( y ), true, 'returns expected value' );
6969
y = quantile( -0.1, 0.0, 1.0 );
70-
t.equal( isnan( y ), true, 'returns true' );
70+
t.strictEqual( isnan( y ), true, 'returns expected value' );
7171
t.end();
7272
});
7373

7474
tape( 'if provided a nonpositive `b`, the function returns `NaN`', opts, function test( t ) {
7575
var y;
7676

7777
y = quantile( 0.5, 2.0, -1.0 );
78-
t.equal( isnan( y ), true, 'returns NaN' );
78+
t.strictEqual( isnan( y ), true, 'returns expected value' );
7979

8080
y = quantile( 0.2, 2.0, -1.0 );
81-
t.equal( isnan( y ), true, 'returns NaN' );
81+
t.strictEqual( isnan( y ), true, 'returns expected value' );
8282

8383
y = quantile( 0.5, 2.0, 0.0 );
84-
t.equal( isnan( y ), true, 'returns NaN' );
84+
t.strictEqual( isnan( y ), true, 'returns expected value' );
8585

8686
y = quantile( 0.2, 2.0, 0.0 );
87-
t.equal( isnan( y ), true, 'returns NaN' );
87+
t.strictEqual( isnan( y ), true, 'returns expected value' );
8888

8989
y = quantile( 0.8, 1.0, NINF );
90-
t.equal( isnan( y ), true, 'returns NaN' );
90+
t.strictEqual( isnan( y ), true, 'returns expected value' );
9191

9292
y = quantile( 0.7, PINF, NINF );
93-
t.equal( isnan( y ), true, 'returns NaN' );
93+
t.strictEqual( isnan( y ), true, 'returns expected value' );
9494

9595
y = quantile( 0.7, NINF, NINF );
96-
t.equal( isnan( y ), true, 'returns NaN' );
96+
t.strictEqual( isnan( y ), true, 'returns expected value' );
9797

9898
y = quantile( 0.2, NaN, NINF );
99-
t.equal( isnan( y ), true, 'returns NaN' );
99+
t.strictEqual( isnan( y ), true, 'returns expected value' );
100100

101101
t.end();
102102
});
@@ -119,7 +119,7 @@ tape( 'the function evaluates the quantile function at `p` given positive `mu`',
119119
y = quantile( p[i], mu[i], b[i] );
120120
if ( expected[i] !== null ) {
121121
if ( y === expected[i] ) {
122-
t.equal( y, expected[i], 'p: '+p[i]+', mu:'+mu[i]+', b: '+b[i]+', y: '+y+', expected: '+expected[i] );
122+
t.strictEqual( y, expected[i], 'p: '+p[i]+', mu:'+mu[i]+', b: '+b[i]+', y: '+y+', expected: '+expected[i] );
123123
} else {
124124
delta = abs( y - expected[ i ] );
125125
tol = 500.0 * EPS * abs( expected[ i ] );
@@ -148,7 +148,7 @@ tape( 'the function evaluates the quantile function at `p` given negative `mu`',
148148
y = quantile( p[i], mu[i], b[i] );
149149
if ( expected[i] !== null ) {
150150
if ( y === expected[i] ) {
151-
t.equal( y, expected[i], 'p: '+p[i]+', mu:'+mu[i]+', b: '+b[i]+', y: '+y+', expected: '+expected[i] );
151+
t.strictEqual( y, expected[i], 'p: '+p[i]+', mu:'+mu[i]+', b: '+b[i]+', y: '+y+', expected: '+expected[i] );
152152
} else {
153153
delta = abs( y - expected[ i ] );
154154
tol = 500.0 * EPS * abs( expected[ i ] );
@@ -177,7 +177,7 @@ tape( 'the function evaluates the quantile function at `p` given large variance
177177
y = quantile( p[i], mu[i], b[i] );
178178
if ( expected[i] !== null ) {
179179
if ( y === expected[i] ) {
180-
t.equal( y, expected[i], 'p: '+p[i]+', mu:'+mu[i]+', b: '+b[i]+', y: '+y+', expected: '+expected[i] );
180+
t.strictEqual( y, expected[i], 'p: '+p[i]+', mu:'+mu[i]+', b: '+b[i]+', y: '+y+', expected: '+expected[i] );
181181
} else {
182182
delta = abs( y - expected[ i ] );
183183
tol = 500.0 * EPS * abs( expected[ i ] );

0 commit comments

Comments
 (0)