From 344be84baed9cac24328cbd4d34723ba14eb9f95 Mon Sep 17 00:00:00 2001 From: Manvith <148960168+manvith2003@users.noreply.github.com> Date: Tue, 4 Nov 2025 22:51:12 +0530 Subject: [PATCH] chore: add structured package data for math/base/special/logit --- 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/logit/package.json | 77 ++++++++++++++++++- 1 file changed, 76 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/logit/package.json b/lib/node_modules/@stdlib/math/base/special/logit/package.json index 9a9b77aeb074..04efded7126b 100644 --- a/lib/node_modules/@stdlib/math/base/special/logit/package.json +++ b/lib/node_modules/@stdlib/math/base/special/logit/package.json @@ -62,5 +62,80 @@ "logistic", "sigmoid", "special" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "logit", + "alias": "logit", + "pkg_desc": "evaluate the logit function", + "desc": "evaluates the logit function", + "short_desc": "logit", + "parameters": [ + { + "name": "x", + "desc": "input value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + }, + "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": "double", + "dtype": "float64" + } + }, + "keywords": [ + "logit", + "proportion", + "log-odds", + "logistic", + "sigmoid" + ], + "extra_keywords": [] + } + } }