From 7086a24baa1dba89b00dea7c4e7014bb6f1aee68 Mon Sep 17 00:00:00 2001 From: Lokeshranjan8 Date: Sat, 6 Sep 2025 22:52:06 +0530 Subject: [PATCH 1/6] chore: add structured package data for math/base/special/factorialln --- 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: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- .../base/special/factorialln/package.json | 74 ++++++++++++++++++- 1 file changed, 73 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/factorialln/package.json b/lib/node_modules/@stdlib/math/base/special/factorialln/package.json index 2941b1e1d6d0..687a5a4a8b34 100644 --- a/lib/node_modules/@stdlib/math/base/special/factorialln/package.json +++ b/lib/node_modules/@stdlib/math/base/special/factorialln/package.json @@ -68,5 +68,77 @@ "combinatorics", "gamma", "number" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "factorialln", + "alias": "factorialln", + "pkg_desc": "compute the natural logarithm of the factorial", + "desc": "computes the natural logarithm of the factorial", + "short_desc": "factorialln", + "parameters": [ + { + "name": "x", + "desc": "input value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + }, + "domain": [ + { + "min": 0, + "max": "infinity" + } + ], + "rand": { + "prng": "random/base/discrete-uniform", + "parameters": [ + 0, + 100 + ] + }, + "example_values": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 93, + 95, + 96, + 97, + 98, + 99 + ] + } + ], + "output_policy": "real_floating_point_and_generic", + "returns": { + "desc": "factorialln", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + } + }, + "keywords": [ + "factorialln", + "lfact" + ], + "extra_keywords": [] + } + } } From 4ec9e8bdbc7daded81696cc7c314b8ac9a8361a6 Mon Sep 17 00:00:00 2001 From: Athan Date: Sat, 6 Sep 2025 18:24:33 -0700 Subject: [PATCH 2/6] docs: fix descriptions Signed-off-by: Athan --- .../@stdlib/math/base/special/factorialln/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/factorialln/package.json b/lib/node_modules/@stdlib/math/base/special/factorialln/package.json index 687a5a4a8b34..4214120f595e 100644 --- a/lib/node_modules/@stdlib/math/base/special/factorialln/package.json +++ b/lib/node_modules/@stdlib/math/base/special/factorialln/package.json @@ -74,8 +74,8 @@ "$schema": "math/base@v1.0", "base_alias": "factorialln", "alias": "factorialln", - "pkg_desc": "compute the natural logarithm of the factorial", - "desc": "computes the natural logarithm of the factorial", + "pkg_desc": "compute the natural logarithm of the factorial function", + "desc": "computes the natural logarithm of the factorial function", "short_desc": "factorialln", "parameters": [ { From 692e865dade25de874b950f7f5155670a932edf0 Mon Sep 17 00:00:00 2001 From: Athan Date: Sat, 6 Sep 2025 18:24:52 -0700 Subject: [PATCH 3/6] docs: update short desc Signed-off-by: Athan --- .../@stdlib/math/base/special/factorialln/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/factorialln/package.json b/lib/node_modules/@stdlib/math/base/special/factorialln/package.json index 4214120f595e..89b124d85ebb 100644 --- a/lib/node_modules/@stdlib/math/base/special/factorialln/package.json +++ b/lib/node_modules/@stdlib/math/base/special/factorialln/package.json @@ -76,7 +76,7 @@ "alias": "factorialln", "pkg_desc": "compute the natural logarithm of the factorial function", "desc": "computes the natural logarithm of the factorial function", - "short_desc": "factorialln", + "short_desc": "", "parameters": [ { "name": "x", From f1fd57b53e0e52be19d0d831f0eb5d4b91c455d5 Mon Sep 17 00:00:00 2001 From: Athan Date: Sat, 6 Sep 2025 18:25:20 -0700 Subject: [PATCH 4/6] docs: update short desc Signed-off-by: Athan --- .../@stdlib/math/base/special/factorialln/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/factorialln/package.json b/lib/node_modules/@stdlib/math/base/special/factorialln/package.json index 89b124d85ebb..b2564cec1334 100644 --- a/lib/node_modules/@stdlib/math/base/special/factorialln/package.json +++ b/lib/node_modules/@stdlib/math/base/special/factorialln/package.json @@ -76,7 +76,7 @@ "alias": "factorialln", "pkg_desc": "compute the natural logarithm of the factorial function", "desc": "computes the natural logarithm of the factorial function", - "short_desc": "", + "short_desc": "natural logarithm of the factorial function", "parameters": [ { "name": "x", From f0850f33ac025ad361d58c4dfa87387b1e74cfaa Mon Sep 17 00:00:00 2001 From: Athan Date: Sat, 6 Sep 2025 18:26:09 -0700 Subject: [PATCH 5/6] docs: update desc Signed-off-by: Athan --- .../@stdlib/math/base/special/factorialln/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/factorialln/package.json b/lib/node_modules/@stdlib/math/base/special/factorialln/package.json index b2564cec1334..e9a1be7d080b 100644 --- a/lib/node_modules/@stdlib/math/base/special/factorialln/package.json +++ b/lib/node_modules/@stdlib/math/base/special/factorialln/package.json @@ -126,7 +126,7 @@ ], "output_policy": "real_floating_point_and_generic", "returns": { - "desc": "factorialln", + "desc": "result", "type": { "javascript": "number", "jsdoc": "number", From f5bba56c0a5d882448d2728d601639c0669321e9 Mon Sep 17 00:00:00 2001 From: Athan Date: Sat, 6 Sep 2025 18:27:18 -0700 Subject: [PATCH 6/6] chore: add keywords Signed-off-by: Athan --- .../@stdlib/math/base/special/factorialln/package.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/factorialln/package.json b/lib/node_modules/@stdlib/math/base/special/factorialln/package.json index e9a1be7d080b..3c93a8e65a02 100644 --- a/lib/node_modules/@stdlib/math/base/special/factorialln/package.json +++ b/lib/node_modules/@stdlib/math/base/special/factorialln/package.json @@ -136,7 +136,11 @@ }, "keywords": [ "factorialln", - "lfact" + "lfact", + "fact", + "factorial", + "gamma", + "combinatorics" ], "extra_keywords": [] }