{"id":45143252,"url":"https://github.com/ericrange/spearman-rho","last_synced_at":"2026-02-20T01:03:04.937Z","repository":{"id":57367131,"uuid":"57383313","full_name":"ericrange/spearman-rho","owner":"ericrange","description":"Spearman's rank correlation coefficient in NodeJS","archived":false,"fork":false,"pushed_at":"2017-06-15T08:27:18.000Z","size":10,"stargazers_count":9,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-06T15:55:35.336Z","etag":null,"topics":["bower","correlation","javascript","nodejs","spearman-rho","statistics"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ericrange.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-04-29T12:45:58.000Z","updated_at":"2024-07-24T02:20:31.000Z","dependencies_parsed_at":"2022-08-23T19:40:34.764Z","dependency_job_id":null,"html_url":"https://github.com/ericrange/spearman-rho","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ericrange/spearman-rho","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericrange%2Fspearman-rho","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericrange%2Fspearman-rho/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericrange%2Fspearman-rho/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericrange%2Fspearman-rho/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ericrange","download_url":"https://codeload.github.com/ericrange/spearman-rho/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericrange%2Fspearman-rho/sbom","scorecard":{"id":380676,"data":{"date":"2022-08-15","repo":{"name":"github.com/ericrange/spearman-rho","commit":"28a7e164e0b5e7e683ed01cd90e483e876e125e7"},"scorecard":{"version":"v4.5.0-17-g7772984","commit":"777298477c07c262a4ec7e95ceee839b7b3b75ae"},"score":4.8,"checks":[{"name":"Code-Review","score":0,"reason":"no reviews found","details":["Warn: no reviews found for commit: 28a7e164e0b5e7e683ed01cd90e483e876e125e7","Warn: no reviews found for commit: b0e319b5150be45a1dac1ade87690966b2400272","Warn: no reviews found for commit: d575a3ca92dca36d0e50d1c31e955045a04bda09","Warn: no reviews found for commit: 555eb24bcc33bab6b30cbb31f2863497d0ea6a45","Warn: no reviews found for commit: 42b31581c4270ffecf3646597957fd1558cef4fe","Warn: no reviews found for commit: b93aa443629d3033b9283f4ab50899e49500e3ba","Warn: no reviews found for commit: 063bae86ad9ddfa058ef5e6df7cccb4111a4fc69","Warn: no reviews found for commit: f67d99d7c9eb4188411784b055fa05ca3e64592f","Warn: no reviews found for commit: 66cd109f169dfae89557452bc83e6829c18be47c","Warn: no reviews found for commit: a1a12b4cffd60b97638dd87aa9c89d76ba56901f","Warn: no reviews found for commit: 049ce2c5c1a3666bf7532c8871b6382bfaa366b1","Warn: no reviews found for commit: ee4b574d977af12a6f54fc535dc24d754fab0688","Warn: no reviews found for commit: 8a19713eb72f0d59aa89830e0e9714ebb847c2ec","Warn: no reviews found for commit: 7a44ed761c0722d3b3e7e76de3059a177fbf234d","Warn: no reviews found for commit: 7f1706bcc26e7e07b6560987b30406cbc5147405","Warn: no reviews found for commit: 7e2936b7efbb06c0af74c725db9bdda4223dbf12","Warn: no reviews found for commit: 443a53c74a57f75f24373936a752e7000380320a","Warn: no reviews found for commit: f3953fe4bf43230177ff73bdf77584b0ed381fb9","Warn: no reviews found for commit: 99b216160923bcac14bb23866d47c5c7b5717792","Warn: no reviews found for commit: e43b296fa4cfd5a46e8c3648522eb0eab6ffd8fd","Warn: no reviews found for commit: 838b1b3c705fd0d5f35db8dfa9d83385a7047646"],"documentation":{"short":"Determines if the project requires code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/777298477c07c262a4ec7e95ceee839b7b3b75ae/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) out of 21 and 0 issue activity out of 0 found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/777298477c07c262a4ec7e95ceee839b7b3b75ae/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no badge detected","details":null,"documentation":{"short":"Determines if the project has a CII Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/777298477c07c262a4ec7e95ceee839b7b3b75ae/docs/checks.md#cii-best-practices"}},{"name":"Packaging","score":-1,"reason":"no published package detected","details":["Warn: no GitHub publishing workflow detected"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/777298477c07c262a4ec7e95ceee839b7b3b75ae/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":10,"reason":"tokens are read-only in GitHub workflows","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/777298477c07c262a4ec7e95ceee839b7b3b75ae/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/777298477c07c262a4ec7e95ceee839b7b3b75ae/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/777298477c07c262a4ec7e95ceee839b7b3b75ae/docs/checks.md#dangerous-workflow"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: : LICENSE.md:1"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/777298477c07c262a4ec7e95ceee839b7b3b75ae/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":10,"reason":"all dependencies are pinned","details":["Info: GitHub-owned GitHubActions are pinned","Info: Third-party GitHubActions are pinned","Info: Dockerfile dependencies are pinned","Info: no insecure (not pinned by hash) dependency downloads found in Dockerfiles","Info: no insecure (not pinned by hash) dependency downloads found in shell scripts"],"documentation":{"short":"Determines if the project has declared and pinned its dependencies.","url":"https://github.com/ossf/scorecard/blob/777298477c07c262a4ec7e95ceee839b7b3b75ae/docs/checks.md#pinned-dependencies"}},{"name":"Vulnerabilities","score":10,"reason":"no vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/777298477c07c262a4ec7e95ceee839b7b3b75ae/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":["Warn: no GitHub releases found"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/777298477c07c262a4ec7e95ceee839b7b3b75ae/docs/checks.md#signed-releases"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":null,"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/777298477c07c262a4ec7e95ceee839b7b3b75ae/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":null,"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/777298477c07c262a4ec7e95ceee839b7b3b75ae/docs/checks.md#fuzzing"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/777298477c07c262a4ec7e95ceee839b7b3b75ae/docs/checks.md#branch-protection"}},{"name":"Dependency-Update-Tool","score":0,"reason":"no update tool detected","details":["Warn: dependabot config file not detected in source location.\n\t\t\tWe recommend setting this configuration in code so it can be easily verified by others.","Warn: renovatebot config file not detected in source location.\n\t\t\tWe recommend setting this configuration in code so it can be easily verified by others."],"documentation":{"short":"Determines if the project uses a dependency update tool.","url":"https://github.com/ossf/scorecard/blob/777298477c07c262a4ec7e95ceee839b7b3b75ae/docs/checks.md#dependency-update-tool"}}]},"last_synced_at":"2025-08-18T15:22:12.582Z","repository_id":57367131,"created_at":"2025-08-18T15:22:12.582Z","updated_at":"2025-08-18T15:22:12.582Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29637924,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T22:32:43.237Z","status":"ssl_error","status_checked_at":"2026-02-19T22:32:38.330Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bower","correlation","javascript","nodejs","spearman-rho","statistics"],"created_at":"2026-02-20T01:03:04.288Z","updated_at":"2026-02-20T01:03:04.931Z","avatar_url":"https://github.com/ericrange.png","language":"JavaScript","readme":"# Spearman-RHO\nSpearman's rank correlation coefficient in NodeJS.\n\nIn statistics, Spearman's rank correlation coefficient (or Spearman's rho) is a nonparametric measure of statistical dependence between two variables.\n\nIt assesses how well the relationship between two variables can be described using a monotonic function. If there are no repeated data values, a perfect Spearman correlation of +1 or −1 occurs when each of the variables is a perfect monotone function of the other. (Wikipedia)\n\n```shell\nnpm install spearman-rho --save\n```\n```javascript\n\"use strict\";\n\nconst Spearman = require('spearman-rho');\n\nconst x = [2.0, 3.0, 3.0, 5.0, 5.5, 8.0, 10.0, 10.0];\nconst y = [1.5, 1.5, 4.0, 3.0, 1.0, 5.0, 5.0, 9.5];\n\nconst spearman = new Spearman(x, y);\nspearman.calc()\n  .then(value =\u003e console.log(value))\n  .catch(err =\u003e console.error(err));\n// 0.6829268292682927\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericrange%2Fspearman-rho","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fericrange%2Fspearman-rho","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericrange%2Fspearman-rho/lists"}