{"id":37075174,"url":"https://github.com/srvanrell/ranking-table-tennis","last_synced_at":"2026-02-21T19:12:33.123Z","repository":{"id":9925970,"uuid":"49520016","full_name":"srvanrell/ranking-table-tennis","owner":"srvanrell","description":"Ranking system based on rating points for table tennis players.","archived":false,"fork":false,"pushed_at":"2025-12-21T00:13:41.000Z","size":2497,"stargazers_count":0,"open_issues_count":3,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-14T10:42:26.613Z","etag":null,"topics":["ranking","ranking-system","rating-points","table-tennis"],"latest_commit_sha":null,"homepage":"http://srvanrell.github.io/ranking-table-tennis/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/srvanrell.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-01-12T18:23:11.000Z","updated_at":"2025-12-21T00:13:44.000Z","dependencies_parsed_at":"2023-10-16T22:57:55.047Z","dependency_job_id":"13f8b84c-3161-44bf-8a81-c2b77eab0707","html_url":"https://github.com/srvanrell/ranking-table-tennis","commit_stats":{"total_commits":474,"total_committers":3,"mean_commits":158.0,"dds":0.008438818565400852,"last_synced_commit":"58c370d18af42858ba8dae4c60ea89d29b9ca691"},"previous_names":[],"tags_count":34,"template":false,"template_full_name":null,"purl":"pkg:github/srvanrell/ranking-table-tennis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srvanrell%2Franking-table-tennis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srvanrell%2Franking-table-tennis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srvanrell%2Franking-table-tennis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srvanrell%2Franking-table-tennis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srvanrell","download_url":"https://codeload.github.com/srvanrell/ranking-table-tennis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srvanrell%2Franking-table-tennis/sbom","scorecard":{"id":844315,"data":{"date":"2025-08-11","repo":{"name":"github.com/srvanrell/ranking-table-tennis","commit":"079baaaf7d7afb87dc05111efd1bc09954cdb001"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.4,"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/8 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":"Maintained","score":6,"reason":"8 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 6","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/regression_tests.yml:1","Info: no jobLevel write permissions found"],"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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/regression_tests.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/srvanrell/ranking-table-tennis/regression_tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/regression_tests.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/srvanrell/ranking-table-tennis/regression_tests.yml/master?enable=pin","Warn: pipCommand not pinned by hash: commands/install.sh:3","Warn: pipCommand not pinned by hash: commands/install.sh:4","Warn: pipCommand not pinned by hash: commands/install_dev.sh:3","Warn: pipCommand not pinned by hash: commands/install_dev.sh:4","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 pipCommand dependencies pinned"],"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":"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: GNU General Public License v2.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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 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"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T21:06:23.700Z","repository_id":9925970,"created_at":"2025-08-23T21:06:23.700Z","updated_at":"2025-08-23T21:06:23.700Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29690822,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T18:18:25.093Z","status":"ssl_error","status_checked_at":"2026-02-21T18:18:22.435Z","response_time":107,"last_error":"SSL_read: 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":["ranking","ranking-system","rating-points","table-tennis"],"created_at":"2026-01-14T08:50:45.662Z","updated_at":"2026-02-21T19:12:33.100Z","avatar_url":"https://github.com/srvanrell.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ranking-table-tennis\n\nRanking system for table tennis players.\n\nThe system keeps a record of championship points and rating points.\n\nChampionship points aim at tracking the tournament achievements of players.\nTheir computation is based on the best rounds reached by players in each tournament.\n\nRating points aim at tracking the relative skill level of players.\nTheir computation is based on the outcomes of one-versus-one matches.\n\n## Installation\n\nThis system has been developed for a Linux environment.\n\n### Using uv (recommended)\n\n    uv venv [-p 3.12]\n    uv sync\n\nInstall the package globally (not recommended):\n\n    uv pip install ranking-table-tennis\n\n### Using pip (single user)\n\n    pip install --user ranking-table-tennis\n\nUninstallation\n\n    pip uninstall ranking-table-tennis\n\n### Authentication for gspread\n\nTo start using the upload spreadsheets capabilities, gspread requires authentication.\nPlease, follow the [recommended steps](https://docs.gspread.org/en/latest/oauth2.html) to get your system ready to upload.\n\n## Update\n\nUsing uv (recommended):\n\n    uv sync\n\nUsing pip (single user):\n\n    pip install --user --upgrade ranking-table-tennis\n\n## Usage\n\nThe commands must be run in a bash terminal. Use `uv run ...` if you have installed with uv.\n\n1. Fill a sheet with the tournament matches. It must be saved in the Tournaments spreadsheet (xlsx).\n\n   Players and Initial Ranking sheets must be in the same spreadsheet (it is used as a database).\n\n2. Run `rtt preprocess`.\n\n   The scripts will read the Tournament spreadsheet and will ask for missing information of new players (city, affiliation, initial rating points, and category).\n   This information will be saved in the Players and Initial Ranking sheets.\n\n3. Run `rtt compute`.\n\n   It will ask for the tournament that you want to process. 0 will compute all from the beggining.\n   The outcome will be saved in the Ranking spreadsheet.\n\n4. Run `rtt publish`.\n\n   It will ask for the index of the tournament that you want to publish.\nThe outcome will be saved in a new spreadsheet.\n\n## Development\n\nInstall locally from source (editable mode):\n\n    uv sync --group test\n    uv run pytest\n\nInstall with pip (editable mode):\n\n    pip install --editable \".[test]\"\n    pytest\n\nUpdate version at `pyproject.toml` and push it to github. We follow date versions like `vYYYY.MM.DD`\n\nOnce it is merged on master you must tag the commit so a github actions will be triggered to do the rest:\n\n    uv build\n    uv publish\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrvanrell%2Franking-table-tennis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrvanrell%2Franking-table-tennis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrvanrell%2Franking-table-tennis/lists"}