{"id":16928414,"url":"https://github.com/peterjclaw/srcomp-http","last_synced_at":"2025-09-22T23:07:26.812Z","repository":{"id":42414694,"uuid":"17756949","full_name":"PeterJCLaw/srcomp-http","owner":"PeterJCLaw","description":"Web API to the state of the Student Robotics Competition","archived":false,"fork":false,"pushed_at":"2025-04-10T21:36:43.000Z","size":327,"stargazers_count":0,"open_issues_count":1,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-08-20T06:48:23.680Z","etag":null,"topics":["srcomp"],"latest_commit_sha":null,"homepage":"https://github.com/PeterJCLaw/srcomp/wiki","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PeterJCLaw.png","metadata":{"files":{"readme":"README.rst","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":"AUTHORS.rst","dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2014-03-14T19:05:42.000Z","updated_at":"2025-04-10T21:36:45.000Z","dependencies_parsed_at":"2024-03-12T18:48:14.379Z","dependency_job_id":"a80ea7c1-6c5b-49ed-9ad4-a57c4071271e","html_url":"https://github.com/PeterJCLaw/srcomp-http","commit_stats":{"total_commits":398,"total_committers":5,"mean_commits":79.6,"dds":0.2638190954773869,"last_synced_commit":"41072423fa29b98e0480fe37d1f5f47ca0c6c673"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/PeterJCLaw/srcomp-http","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterJCLaw%2Fsrcomp-http","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterJCLaw%2Fsrcomp-http/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterJCLaw%2Fsrcomp-http/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterJCLaw%2Fsrcomp-http/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PeterJCLaw","download_url":"https://codeload.github.com/PeterJCLaw/srcomp-http/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterJCLaw%2Fsrcomp-http/sbom","scorecard":{"id":109375,"data":{"date":"2025-08-11","repo":{"name":"github.com/PeterJCLaw/srcomp-http","commit":"070cda4b591ae0065b0146630334284083944f48"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"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":"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":"Code-Review","score":0,"reason":"Found 1/30 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":"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":"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":"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: GNU General Public License v3.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":"Vulnerabilities","score":4,"reason":"6 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2021-437 / GHSA-5xp3-jfq3-5q8x","Warn: Project is vulnerable to: PYSEC-2023-228 / GHSA-mq26-g339-26xf","Warn: Project is vulnerable to: PYSEC-2025-49 / GHSA-5rjg-fvgr-3xxf","Warn: Project is vulnerable to: GHSA-cx63-2mw6-8hw5","Warn: Project is vulnerable to: PYSEC-2022-43012 / GHSA-r9hx-vwmv-q579","Warn: Project is vulnerable to: PYSEC-2022-43017 / GHSA-qwmp-2cf2-g9g6"],"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 4 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-15T11:45:04.195Z","repository_id":42414694,"created_at":"2025-08-15T11:45:04.195Z","updated_at":"2025-08-15T11:45:04.195Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276487484,"owners_count":25651133,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-22T02:00:08.972Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["srcomp"],"created_at":"2024-10-13T20:36:41.787Z","updated_at":"2025-09-22T23:07:26.794Z","avatar_url":"https://github.com/PeterJCLaw.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"SR Comp HTTP\n============\n\n|Build Status| |Docs Status|\n\nA HTTP interface around `SRComp \u003chttps://github.com/PeterJCLaw/srcomp/wiki/SRComp\u003e`__,\nthe fifth round of `Student Robotics \u003chttps://studentrobotics.org\u003e`__ competition\nsoftware.\n\nThis repository provides a JSON API to accessing information about the\nstate of the competition. It is a lightweight\n`Flask \u003chttps://palletsprojects.com/p/flask/\u003e`__ application wrapping the\n`SRComp \u003chttps://github.com/PeterJCLaw/srcomp\u003e`__ python\nAPIs to the competition state.\n\nUsage\n-----\n\n**Install**:\n\n.. code:: shell\n\n    pip install sr.comp.http\n\n**Configuration**\n\nIn deployment you should configure the app by setting the ``COMPSTATE`` key of\nthe app's config to the absolute path of the compstate which the server intends\nto serve.\n\n.. code:: python\n\n    from sr.comp.http import app\n    app.config['COMPSTATE'] = '/path/to/compstate'\n\nDevelopment\n-----------\n\n**Clone**:\n\nFor tests to work, you will need to clone the `tests/dummy` submodule too:\n\n``git submodule update --init``\n\n**Install**:\n\n.. code:: shell\n\n    pip install -e .\n\n**Run**:\n``./run $COMPSTATE``.\n\n**Test**:\n``./run-tests``\n\nDevelopers may wish to use the `SRComp Dev`_ repo to setup a dev instance.\n\nState Caching\n~~~~~~~~~~~~~\n\nSince loading a given state repo takes a non-trivial amount of time,\nthis is cached within the Flask application. Updates to the state repo\nare not tracked directly, and must be signalled by running the\n``./update`` script provided.\n\n\n.. |Build Status| image:: https://circleci.com/gh/PeterJCLaw/srcomp-http.svg?style=svg\n   :target: https://circleci.com/gh/PeterJCLaw/srcomp-http\n\n.. |Docs Status| image:: https://readthedocs.org/projects/srcomp-http/badge/?version=latest\n   :target: https://srcomp-http.readthedocs.org/\n\n.. _`SRComp Dev`: https://github.com/PeterJCLaw/srcomp-dev\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterjclaw%2Fsrcomp-http","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeterjclaw%2Fsrcomp-http","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterjclaw%2Fsrcomp-http/lists"}