{"id":38508109,"url":"https://github.com/hyperskill/hyperstyle-analysis-prod","last_synced_at":"2026-01-17T06:17:59.722Z","repository":{"id":91636252,"uuid":"575350647","full_name":"hyperskill/hyperstyle-analysis-prod","owner":"hyperskill","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-13T12:06:19.000Z","size":3738,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-11T01:29:51.948Z","etag":null,"topics":[],"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/hyperskill.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}},"created_at":"2022-12-07T10:11:07.000Z","updated_at":"2024-01-25T12:30:08.000Z","dependencies_parsed_at":"2023-11-30T12:28:00.967Z","dependency_job_id":"43592006-135c-43f7-85bd-64cbfa5c1d4d","html_url":"https://github.com/hyperskill/hyperstyle-analysis-prod","commit_stats":null,"previous_names":["hyperskill/hyperstyle-analysis-prod","nbirillo/hyperstyle-analysis-prod"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hyperskill/hyperstyle-analysis-prod","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperskill%2Fhyperstyle-analysis-prod","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperskill%2Fhyperstyle-analysis-prod/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperskill%2Fhyperstyle-analysis-prod/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperskill%2Fhyperstyle-analysis-prod/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyperskill","download_url":"https://codeload.github.com/hyperskill/hyperstyle-analysis-prod/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperskill%2Fhyperstyle-analysis-prod/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28502144,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T04:31:57.058Z","status":"ssl_error","status_checked_at":"2026-01-17T04:31:45.816Z","response_time":85,"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":[],"created_at":"2026-01-17T06:17:55.850Z","updated_at":"2026-01-17T06:17:59.708Z","avatar_url":"https://github.com/hyperskill.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hyperstyle analysis\n\nThis repository contains several tools-helpers to work with data from the Hyperskill and JetBrains Academy platforms:\n\n- [core](./core) module contains some common functions like pandas utilities or some common models\n- [templates](./templates/README.md) module contains algorithms for searching code quality issues in the pre-written templates.\n- [data collection](./data_collection/README.md) module contains client for Hyperskill. This module use platforms' APIs to extract information about following entities from the educational platforms.\n- [preprocessing](./preprocessing/README.md) module contains methods to preprocess and prepare data, collected from Hyperskill educational platform, for further analysis.\n\n### JetBrains Academy/Hyperskill platform\n\nOn the JetBrains Academy platform, the educational process is structured as follows: firstly,\nthe student’s solution is checked for correctness using traditional predefined tests. Then, two\nscenarios are possible:\n\n**(1)** if the solution is incorrect (contains compilation errors or does not pass all tests), \nthen these problems are reported to the student, and they continue to solve the\ntask;\n\n**(2)** if the solution is correct, the [Hyperstyle](https://github.com/hyperskill/hyperstyle) tool is launched to check the quality of the code.\n\n\nTherefore, the result of the Hyperstyle tool can only be determined for _correct_ solutions,\nthat is, solutions that pass all tests. After successfully passing the solution, the student receives\na code quality grade on a four-point scale, and all detected issues (if any) are highlighted in\nthe code editor. An example of the Hyperstyle user interface:\n\n![The Hyperstyle user interface on the JetBrains Academy platform.](./images/hyperstyle.png \"The Hyperstyle user interface on the JetBrains Academy platform.\")\n\n\n## Getting started\n\n### Run via poetry\n\nThis project uses the [Poetry](https://github.com/python-poetry/poetry) build system. To set up everything you need:\n1. [Install](https://python-poetry.org/docs/#installation) poetry.\n2. Clone this repository\n3. Run `poetry install --with \u003clist_of_optional_modules\u003e`, where `\u003clist_of_optional_modules\u003e` is a list of modules what you need to install. Only the [`core`](core) module is not an optional and is always installed.\n   For example, if you want to install the [`data_collection`](data_collection), [`jba`](jba) and [`preprocessing`](preprocessing) modules, then you should run `poetry install --with data-collection,jba,preporcessing`.\n\nTo run any script in the repository just execute:\n```bash\npoetry run python /path/to/the/script.py [script_arguments]\n```\n\nThere are also several aliases for main scripts. \nYou could find them inside the [pyproject.toml](pyproject.toml) file in the `[tool.poetry.scripts]` section. \nTo run any script using its alias just execute:\n```bash\npoetry run \u003cscript_alias\u003e [script_arguments]\n```\n\n### Run via Docker\n\nIf you don't want to install poetry, you could use our official Docker image where all necessary environment is installed. \nTo do this:\n1. Pull the image:\n   ```bash\n   docker pull registry.jetbrains.team/p/code-quality-for-online-learning-platforms/hyperstyle-analysis-prod/hyperstyle-analysis-prod:\u003cVERSION\u003e\n   ```\n   where `\u003cVERSION\u003e` is the project version you would like to use. You could always find the latest version inside the [pyproject.toml](pyproject.toml) file.\n\n2. Run a container with the command you would like to execute.\n   ```bash\n   docker run hyperstyle-analysis-prod:\u003cVERSION\u003e \u003ccommand\u003e\n   ```\n   For example:\n   ```bash\n   docker run hyperstyle-analysis-prod:\u003cVERSION\u003e poetry run \u003cscript_alias\u003e [script_arguments]\n   ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperskill%2Fhyperstyle-analysis-prod","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyperskill%2Fhyperstyle-analysis-prod","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperskill%2Fhyperstyle-analysis-prod/lists"}