{"id":15284525,"url":"https://github.com/mookerji/sca_tools","last_synced_at":"2026-01-21T09:32:03.891Z","repository":{"id":57464206,"uuid":"110897573","full_name":"mookerji/sca_tools","owner":"mookerji","description":"Scalability Analysis Tools","archived":false,"fork":false,"pushed_at":"2017-12-11T18:52:06.000Z","size":125,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-07T17:12:47.936Z","etag":null,"topics":["capacity-planning","curve-fitting","python","scipy","usl"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mookerji.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-15T23:13:00.000Z","updated_at":"2025-06-24T10:17:52.000Z","dependencies_parsed_at":"2022-09-05T06:42:28.778Z","dependency_job_id":null,"html_url":"https://github.com/mookerji/sca_tools","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/mookerji/sca_tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mookerji%2Fsca_tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mookerji%2Fsca_tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mookerji%2Fsca_tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mookerji%2Fsca_tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mookerji","download_url":"https://codeload.github.com/mookerji/sca_tools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mookerji%2Fsca_tools/sbom","scorecard":{"id":659298,"data":{"date":"2025-08-11","repo":{"name":"github.com/mookerji/sca_tools","commit":"848d23d541053991b088fa830f90a58f6bf21547"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab 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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/15 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity 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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2022-238 / GHSA-h3qr-fjhm-jphw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 28 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-21T15:36:37.349Z","repository_id":57464206,"created_at":"2025-08-21T15:36:37.350Z","updated_at":"2025-08-21T15:36:37.350Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28631142,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T04:47:28.174Z","status":"ssl_error","status_checked_at":"2026-01-21T04:47:22.943Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["capacity-planning","curve-fitting","python","scipy","usl"],"created_at":"2024-09-30T14:58:03.654Z","updated_at":"2026-01-21T09:32:03.864Z","avatar_url":"https://github.com/mookerji.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Scalability Analysis Tools\n\n[![Build Status](https://travis-ci.org/mookerji/sca_tools.svg?branch=master)](https://travis-ci.org/mookerji/sca_tools)\n[![codecov](https://codecov.io/gh/mookerji/sca_tools/branch/master/graph/badge.svg)](https://codecov.io/gh/mookerji/sca_tools)\n[![PyPI version](https://badge.fury.io/py/sca-tools.svg)](https://badge.fury.io/py/sca-tools)\n\n`sca_tools` analyzes software scalability benchmarking experiments,\nspecifically measurements of throughput as a function of applied load\nor concurrency. It is a Python library and set of command line\nutilities and that will help you:\n- Model and quantify throughput bottlenecks in your application\n- Capacity plan\n- Compare performance benchmarks for regressions\n\nWe rely on Neil Gunther's\n[Universal Scalability Law](http://www.perfdynamics.com/Manifesto/USLscalability.html)\nas a model and [lmfit](https://github.com/lmfit/lmfit-py) to perform\nmodel fitting. `sca_tools` differs from existing implementations (see\n[Related Work](#related-work)) in a few ways:\n- Emphasis on robust parameter estimation\n- Support for propagation of parameter uncertanties when computing\n  derived quantities, such as latency, queue size, etc.\n- Support for experimental measurement uncertainty\n- Written using Scientific Python libraries\n\nThis is alpha software: use it at your **own risk** (e.g., don't use\nit to make business decisions). It's very much a **work in progress**,\nbut currently includes:\n- Fitting routines to the USL and basic reporting around\n  goodness-of-fit for USL's convention and coherence parameters.\n- Graph outputs for best fit model, best fit model confidence\n  intervals, fit data, residuals, etc.\n- Command line tools to produce these models from CSV data, as well\n  as manipulate and aggregate CSV data from computer experiments.\n\n## Usage\n\nThe `fixtures/` directory contains the SPEC SDM91 load-througput\nbenchmark ported from Stefan Möding's\n[R implementation](https://github.com/smoeding/usl) of USL.\n\n```shell\n\u003e python sca_tools/sca_fit.py --model_type usl fixtures/specsdm91.csv\n\n----- Summary -----\n\n[[Model]]\n    Model(_usl_func)\n[[Fit Statistics]]\n    # function evals   = 41\n    # data points      = 7\n    # variables        = 3\n    chi-square         = 27453.720\n    reduced chi-square = 6863.430\n    Akaike info crit   = 63.920\n    Bayesian info crit = 63.758\n[[Variables]]\n    lambda_:   89.9954927 +/- 14.21296 (15.79%) (init= 1000)\n    sigma_:    0.02772863 +/- 0.009121 (32.90%) (init= 0.1)\n    kappa:     0.00010437 +/- 1.99e-05 (19.04%) (init= 0.001)\n[[Correlations]] (unreported correlations are \u003c  0.100)\n    C(lambda_, sigma_)           =  0.964\n    C(sigma_, kappa)             = -0.467\n    C(lambda_, kappa)            = -0.243\n```\n\nGraphically:\n\n![Throughput model](docs/specsdm91-throughput_model.png)\n\n## Related Work\n\n- https://github.com/smoeding/usl\n- https://github.com/codahale/usl4j\n\n## Citations\n\n- Neil J. Gunther. *Guerrilla Capacity Planning: A Tactical Approach\n  to Planning for Highly Scalable Applications and\n  Services*. Springer, Heidelberg, Germany, 1st edition, 2007.\n- Baron Schwartz. *Practical Scalability Analysis with the Universal\n  Scalability Law*. VividCortex, November 2015.\n\n## License\n\nCopyright © 2017 Bhaskar Mookerji\n\nDistributed under the Apache License 2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmookerji%2Fsca_tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmookerji%2Fsca_tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmookerji%2Fsca_tools/lists"}