From bd6adb34375c6233ec13cce97fc22332430d5174 Mon Sep 17 00:00:00 2001 From: Manvith <148960168+manvith2003@users.noreply.github.com> Date: Mon, 6 Oct 2025 11:24:22 +0530 Subject: [PATCH 1/3] chore: add structured package data for math/base/special/expit --- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: passed - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- .../math/base/special/expit/package.json | 81 ++++++++++++++++++- 1 file changed, 80 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/expit/package.json b/lib/node_modules/@stdlib/math/base/special/expit/package.json index 4b40619253e0..6417c4f75421 100644 --- a/lib/node_modules/@stdlib/math/base/special/expit/package.json +++ b/lib/node_modules/@stdlib/math/base/special/expit/package.json @@ -64,5 +64,84 @@ "log-odds", "sigmoid", "special" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "expit", + "alias": "expit", + "pkg_desc": "evaluate the base 2 exponential function for a double-precision floating-point number", + "desc": "evaluates the base 2 exponential function for a double-precision floating-point number", + "short_desc": "base 2 exponential function", + "parameters": [ + { + "name": "x", + "desc": "input value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + }, + "domain": [ + { + "min": "-infinity", + "max": "infinity" + } + ], + "rand": { + "prng": "random/base/uniform", + "parameters": [ + -5, + 5 + ] + }, + "example_values": [ + -4.62, + 3.17, + -2.41, + 1.28, + -0.73, + 2.56, + -3.09, + 0.41, + 4.12, + -1.85, + 2.93, + -4.37, + 1.67, + -0.28, + 3.74, + -2.96, + 0.83, + -1.12, + 4.89, + -3.51 + ] + } + ], + "output_policy": "real_floating_point_and_generic", + "returns": { + "desc": "function value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + } + }, + "keywords": [ + "exp", + "exp2", + "base 2", + "natural", + "exponential", + "euler", + "power" + ], + "extra_keywords": [ + "math.exp" + ] + } + } } From 452dfee882819ebf20cd721003144ae3ad30988d Mon Sep 17 00:00:00 2001 From: Gunj Joshi Date: Fri, 10 Oct 2025 10:48:48 +0530 Subject: [PATCH 2/3] Update lib/node_modules/@stdlib/math/base/special/expit/package.json Signed-off-by: Gunj Joshi --- .../@stdlib/math/base/special/expit/package.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/expit/package.json b/lib/node_modules/@stdlib/math/base/special/expit/package.json index 6417c4f75421..c7c6f4dad2ac 100644 --- a/lib/node_modules/@stdlib/math/base/special/expit/package.json +++ b/lib/node_modules/@stdlib/math/base/special/expit/package.json @@ -131,13 +131,13 @@ } }, "keywords": [ - "exp", - "exp2", - "base 2", - "natural", - "exponential", - "euler", - "power" + "logit", + "inverse", + "expit", + "logistic", + "proportion", + "log-odds", + "sigmoid" ], "extra_keywords": [ "math.exp" From fb23b6891805ed80f60300927efbaaed25bb7a94 Mon Sep 17 00:00:00 2001 From: Athan Date: Tue, 14 Oct 2025 06:14:14 -0700 Subject: [PATCH 3/3] docs: fix descriptions Signed-off-by: Athan --- .../@stdlib/math/base/special/expit/package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/expit/package.json b/lib/node_modules/@stdlib/math/base/special/expit/package.json index c7c6f4dad2ac..aac7ad757c90 100644 --- a/lib/node_modules/@stdlib/math/base/special/expit/package.json +++ b/lib/node_modules/@stdlib/math/base/special/expit/package.json @@ -70,9 +70,9 @@ "$schema": "math/base@v1.0", "base_alias": "expit", "alias": "expit", - "pkg_desc": "evaluate the base 2 exponential function for a double-precision floating-point number", - "desc": "evaluates the base 2 exponential function for a double-precision floating-point number", - "short_desc": "base 2 exponential function", + "pkg_desc": "evaluate the standard logistic function for a double-precision floating-point number", + "desc": "evaluates the standard logistic function for a double-precision floating-point number", + "short_desc": "standard logistic function", "parameters": [ { "name": "x",