From 01a0250a69324a42dafca25ebe0c3dde360d7453 Mon Sep 17 00:00:00 2001 From: Manvith <148960168+manvith2003@users.noreply.github.com> Date: Fri, 31 Oct 2025 17:07:00 +0530 Subject: [PATCH 1/5] chore: add structured package data for math/base/special/spence --- 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/spence/package.json | 79 ++++++++++++++++++- 1 file changed, 78 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/spence/package.json b/lib/node_modules/@stdlib/math/base/special/spence/package.json index ddce1e86c60f..c36198e7df38 100644 --- a/lib/node_modules/@stdlib/math/base/special/spence/package.json +++ b/lib/node_modules/@stdlib/math/base/special/spence/package.json @@ -64,5 +64,82 @@ "integral", "spence", "number" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "spence", + "alias": "spence", + "pkg_desc": "evaluate Spence's function, which is also known as the dilogarithm", + "desc": "evaluates Spence's function, which is also known as the dilogarithm", + "short_desc": "Spence's function", + "parameters": [ + { + "name": "x", + "desc": "input value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + }, + "domain": [ + { + "min": "0", + "max": "infinity" + } + ], + "rand": { + "prng": "random/base/uniform", + "parameters": [ + 0, + 10 + ] + }, + "example_values": [ + 0, + 0.5, + 1, + 2, + 3, + 5, + 10, + 25, + 50, + 100, + 0.1, + 0.2, + 0.3, + 0.4, + 0.6, + 0.7, + 0.8, + 0.9, + 1.5, + 4.0 + ] + } + ], + "output_policy": "real_floating_point_and_generic", + "returns": { + "desc": "function value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + } + }, + "keywords": [ + "special", + "function", + "dilogarithm", + "polylogarithm", + "integral", + "spence", + "number" + ], + "extra_keywords": [] + } + } } From 9509ca2df830dc060a0e8eafbd66ade22101ac3c Mon Sep 17 00:00:00 2001 From: Manvith <148960168+manvith2003@users.noreply.github.com> Date: Fri, 31 Oct 2025 17:26:56 +0530 Subject: [PATCH 2/5] Fix package.json to use correct value for 4.0 Signed-off-by: Manvith <148960168+manvith2003@users.noreply.github.com> --- lib/node_modules/@stdlib/math/base/special/spence/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/spence/package.json b/lib/node_modules/@stdlib/math/base/special/spence/package.json index c36198e7df38..7fd6042c82ca 100644 --- a/lib/node_modules/@stdlib/math/base/special/spence/package.json +++ b/lib/node_modules/@stdlib/math/base/special/spence/package.json @@ -116,7 +116,7 @@ 0.8, 0.9, 1.5, - 4.0 + 4 ] } ], From ae812b48cd76cd57773c80dc457f9ab2e4a82022 Mon Sep 17 00:00:00 2001 From: Athan Date: Fri, 31 Oct 2025 17:00:44 -0700 Subject: [PATCH 3/5] docs: update descriptions Signed-off-by: Athan --- .../@stdlib/math/base/special/spence/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/spence/package.json b/lib/node_modules/@stdlib/math/base/special/spence/package.json index 7fd6042c82ca..1e84fd246396 100644 --- a/lib/node_modules/@stdlib/math/base/special/spence/package.json +++ b/lib/node_modules/@stdlib/math/base/special/spence/package.json @@ -70,8 +70,8 @@ "$schema": "math/base@v1.0", "base_alias": "spence", "alias": "spence", - "pkg_desc": "evaluate Spence's function, which is also known as the dilogarithm", - "desc": "evaluates Spence's function, which is also known as the dilogarithm", + "pkg_desc": "evaluate Spence's function", + "desc": "evaluates Spence's function", "short_desc": "Spence's function", "parameters": [ { From d252f72e4d8f6d6eef1322ee717bf72957e04c4b Mon Sep 17 00:00:00 2001 From: Athan Date: Fri, 31 Oct 2025 17:01:10 -0700 Subject: [PATCH 4/5] chore: remove quotes Signed-off-by: Athan --- lib/node_modules/@stdlib/math/base/special/spence/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/spence/package.json b/lib/node_modules/@stdlib/math/base/special/spence/package.json index 1e84fd246396..05c4a506d308 100644 --- a/lib/node_modules/@stdlib/math/base/special/spence/package.json +++ b/lib/node_modules/@stdlib/math/base/special/spence/package.json @@ -85,7 +85,7 @@ }, "domain": [ { - "min": "0", + "min": 0, "max": "infinity" } ], From 8e20f615fc33ca4277112d13f740fb268a0c75d3 Mon Sep 17 00:00:00 2001 From: Athan Date: Fri, 31 Oct 2025 17:01:38 -0700 Subject: [PATCH 5/5] chore: update keywords Signed-off-by: Athan --- lib/node_modules/@stdlib/math/base/special/spence/package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/spence/package.json b/lib/node_modules/@stdlib/math/base/special/spence/package.json index 05c4a506d308..020f7b46b102 100644 --- a/lib/node_modules/@stdlib/math/base/special/spence/package.json +++ b/lib/node_modules/@stdlib/math/base/special/spence/package.json @@ -136,8 +136,7 @@ "dilogarithm", "polylogarithm", "integral", - "spence", - "number" + "spence" ], "extra_keywords": [] }