{"id":18474410,"url":"https://github.com/codecop/austrian-aktenzeichen-kata","last_synced_at":"2026-03-19T04:36:31.838Z","repository":{"id":141738718,"uuid":"356050046","full_name":"codecop/Austrian-Aktenzeichen-Kata","owner":"codecop","description":"Practice your object oriented design skills on the Austrian Aktenzeichen.","archived":false,"fork":false,"pushed_at":"2024-02-10T19:28:34.000Z","size":103,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-24T01:32:54.427Z","etag":null,"topics":["design","design-pattern","exercise","kata","tdd"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codecop.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}},"created_at":"2021-04-08T21:16:09.000Z","updated_at":"2024-02-10T19:28:37.000Z","dependencies_parsed_at":"2024-02-10T20:29:45.030Z","dependency_job_id":"d724b226-e1d1-4da8-aa45-15c19434d7ac","html_url":"https://github.com/codecop/Austrian-Aktenzeichen-Kata","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codecop/Austrian-Aktenzeichen-Kata","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecop%2FAustrian-Aktenzeichen-Kata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecop%2FAustrian-Aktenzeichen-Kata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecop%2FAustrian-Aktenzeichen-Kata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecop%2FAustrian-Aktenzeichen-Kata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codecop","download_url":"https://codeload.github.com/codecop/Austrian-Aktenzeichen-Kata/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecop%2FAustrian-Aktenzeichen-Kata/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29752891,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T19:23:13.917Z","status":"ssl_error","status_checked_at":"2026-02-23T19:23:11.618Z","response_time":90,"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":["design","design-pattern","exercise","kata","tdd"],"created_at":"2024-11-06T10:29:23.290Z","updated_at":"2026-02-23T19:41:45.810Z","avatar_url":"https://github.com/codecop.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Das �sterreichische Aktenzeichen\n\nPractice your object oriented design skills on the Austrian Aktenzeichen.\n\n[Das �sterreichische Aktenzeichen](https://de.wikipedia.org/wiki/Aktenzeichen_(%C3%96sterreich)) dient zur Identifikation Schriftst�cken welche dieselbe Rechtssache betreffen und in einem Akt gesammelt und vereinigt werden. Es besteht aus dem Gattungszeichen, der Aktenzahl und der Jahresangabe. Wo gleichartige Sachen in mehreren Gerichtsabteilungen gef�hrt werden, wird dem Gattungszeichen die der Abteilungszahl vorangestellt.\n\nThe Austrian Aktenzeichen is the reference number used in court cases in Austria,\nsimilar to the US [case citation numbers](https://en.wikipedia.org/wiki/Case_citation) or\n[European Case Law Identifier](https://en.wikipedia.org/wiki/European_Case_Law_Identifier).\nIt contains several numbers and identifiers combined into a single composite reference.\n[Wikipedia's description](https://de.wikipedia.org/wiki/Aktenzeichen_(%C3%96sterreich)) is detailed.\n\n## Analyse Requirements\n\n* [Read Wikipedia](https://de.wikipedia.org/wiki/Aktenzeichen_(%C3%96sterreich)) (really!)\n* Which elements are in the ref number?\n* Which ones are mandatory/ optional?\n* Which format does each part have?\n* Numbers are usually not just `\\d+`.\n* Are there alternative options?\n* Think about white space, separators, etc.\n\n## Task\n\nWrite code to\n\n* parse different String representations\n* use internal, unified model\n* output in different formats\n* compare two ref numbers for equality\n* ignore checksum for equality\n* sort two ref numbers by creation time\n* validate (calculate checksum)\n\n## Reduced Requirements\n\nAt least create code for\n\n* Model of Aktenzeichen including Gattungszeichen, Aktenzahl and Jahresangabe, e.g. `C420/05`.\n* Comparison of two Aktenzeichen: `equals` and `compare`.\n* Parse the Aktenzeichens.\n\n## Design Considerations\n\n* Immutability\n* Encapsulation\n* Composition over Inheritance\n* SRP\n\n### Design Hints/Spoilers\n\n[1](https://www.martinfowler.com/bliki/ValueObject.html)\n[2](https://sourcemaking.com/design_patterns/composite)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodecop%2Faustrian-aktenzeichen-kata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodecop%2Faustrian-aktenzeichen-kata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodecop%2Faustrian-aktenzeichen-kata/lists"}