From f5b6a4d02645f58bd67e0d75c9d565dd10bec424 Mon Sep 17 00:00:00 2001 From: Manvith <148960168+manvith2003@users.noreply.github.com> Date: Tue, 4 Nov 2025 22:55:35 +0530 Subject: [PATCH 1/2] chore: add structured package data for math/base/special/logitf --- 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/logitf/package.json | 78 ++++++++++++++++++- 1 file changed, 77 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/package.json b/lib/node_modules/@stdlib/math/base/special/logitf/package.json index 9e95940b8933..cc5e5a8027f3 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/logitf/package.json @@ -63,5 +63,81 @@ "logistic", "sigmoid", "special" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "logit", + "alias": "logitf", + "pkg_desc": "evaluate the logit function for a single-precision floating-point number", + "desc": "evaluates the logit function for a single-precision floating-point number", + "short_desc": "logit", + "parameters": [ + { + "name": "x", + "desc": "input value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "float", + "dtype": "float32" + }, + "domain": [ + { + "min": 0, + "max": 1 + } + ], + "rand": { + "prng": "random/base/uniform", + "parameters": [ + 0, + 1 + ] + }, + "example_values": [ + 0.001, + 0.005, + 0.01, + 0.025, + 0.05, + 0.1, + 0.2, + 0.3, + 0.4, + 0.45, + 0.5, + 0.55, + 0.6, + 0.7, + 0.8, + 0.9, + 0.95, + 0.975, + 0.99, + 0.999 + ] + } + ], + "output_policy": "real_floating_point_and_generic", + "returns": { + "desc": "logit", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "float", + "dtype": "float32" + } + }, + "keywords": [ + "logit", + "logitf", + "proportion", + "log-odds", + "logistic", + "sigmoid" + ], + "extra_keywords": [] + } + } } From 198c5076a84cb453c21faf9ab58bfac92f4b7bc2 Mon Sep 17 00:00:00 2001 From: Athan Date: Tue, 4 Nov 2025 19:41:52 -0800 Subject: [PATCH 2/2] chore: update keywords Signed-off-by: Athan --- lib/node_modules/@stdlib/math/base/special/logitf/package.json | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/package.json b/lib/node_modules/@stdlib/math/base/special/logitf/package.json index cc5e5a8027f3..c0c2b1f05ff7 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/logitf/package.json @@ -57,7 +57,6 @@ "mathematics", "math", "logit", - "logitf", "proportion", "log-odds", "logistic", @@ -131,7 +130,6 @@ }, "keywords": [ "logit", - "logitf", "proportion", "log-odds", "logistic",