{"id":51863024,"url":"https://github.com/armemius/tatlinunifiedpracticeassignment","last_synced_at":"2026-07-24T11:01:09.230Z","repository":{"id":360551010,"uuid":"1250167098","full_name":"Armemius/TatlinUnifiedPracticeAssignment","owner":"Armemius","description":"This repository contains my solution to the Tatlin.Unfied's team practise assignment during YADRO IMPULSE 2026 internship program","archived":false,"fork":false,"pushed_at":"2026-05-26T21:39:32.000Z","size":30,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-26T23:22:16.935Z","etag":null,"topics":["cli","cpp","yadro"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Armemius.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2026-05-26T11:18:23.000Z","updated_at":"2026-05-26T11:20:21.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Armemius/TatlinUnifiedPracticeAssignment","commit_stats":null,"previous_names":["armemius/tatlinunifiedpracticeassignment"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Armemius/TatlinUnifiedPracticeAssignment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armemius%2FTatlinUnifiedPracticeAssignment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armemius%2FTatlinUnifiedPracticeAssignment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armemius%2FTatlinUnifiedPracticeAssignment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armemius%2FTatlinUnifiedPracticeAssignment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Armemius","download_url":"https://codeload.github.com/Armemius/TatlinUnifiedPracticeAssignment/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armemius%2FTatlinUnifiedPracticeAssignment/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35839500,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-24T02:00:07.870Z","response_time":62,"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":["cli","cpp","yadro"],"created_at":"2026-07-24T11:01:08.327Z","updated_at":"2026-07-24T11:01:09.215Z","avatar_url":"https://github.com/Armemius.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tatlin.Unified practice assignment\n\nTask: [RU](assets/TASK.ru.md) / [EN](assets/TASK.en.md)\n\n## How to run\n\nTo run the solution, you need to have CMake and a C++ compiler installed on the\nsystem. Then, you can follow these steps:\n\n```bash\ngit clone https://github.com/Armemius/TatlinUnifiedPracticeAssignment\ncd TatlinUnifiedPracticeAssignment\nmkdir build\ncd build\ncmake ..\ncmake --build .\n```\n\nThen you can run the program with:\n\n```bash\n./task \u003cinput_tape\u003e \u003coutput_tape\u003e [config]\n```\n\nWhere `\u003cinput_tape\u003e` is the path to the input file containing the tape data.\n`\u003coutput_tape\u003e` is the path to the output file where the results will be\nwritten. `[config]` is an optional argument that specifies the path to a\nconfiguration file\n\n## Features\n\nThe solution implements external sorting algorithms for the emulated tape\nstorage. Implemented algorithms include:\n\n- **External Merge Sort**: A classic external sorting algorithm that divides\n  the data into manageable chunks, sorts each chunk in memory, and then merges\n  the sorted chunks together\n- **K-way Merge Sort**: An extension of the merge sort algorithm that merges\n  multiple sorted runs simultaneously, reducing the number of passes needed to\n  sort the data\n- **Polyphase Merge Sort**: A tape-oriented merge algorithm that distributes\n  sorted runs by Fibonacci counts and uses dummy runs to reduce idle merge\n  passes\n\nSome utility scripts were also implemented, such as:\n\n- `scripts/check_sorted_tape.py`: checks if the output tape is sorted correctly\n- `scripts/generate_input_tape.py`: generates random input tapes for testing\n\n## Configuration\n\nThe program can be configured using a TOML configuration file. The\nconfiguration file allows you to specify parameters such as the sorting\nalgorithm to use, the size of the memory buffer, and other relevant settings.\nAn example configuration file (`config.toml`) is provided in the repository\n\n```toml\n[tape_sorter]\nmemory_limit = \"4mb\"\n\n# Available\n# - basic_external_merge\n# - k_way_external_merge\n# - polyphase_merge\nalgorithm = \"k_way_external_merge\"\n\n[tape_sorter.latency]\nemulate_delays = false\nread = \"1us\"\nwrite = \"2us\"\nmove = \"100us\"\nrewind = \"1ms\"\n\n[tape_sorter.k_way_external_merge]\nmerge_order = 16\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farmemius%2Ftatlinunifiedpracticeassignment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farmemius%2Ftatlinunifiedpracticeassignment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farmemius%2Ftatlinunifiedpracticeassignment/lists"}