{"id":25207041,"url":"https://github.com/santteegt/thoughtworks-interview","last_synced_at":"2025-07-17T00:06:06.818Z","repository":{"id":75226698,"uuid":"75355984","full_name":"santteegt/thoughtworks-interview","owner":"santteegt","description":"Just another lame exercise for a silly position","archived":false,"fork":false,"pushed_at":"2016-12-02T03:14:09.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T03:26:20.127Z","etag":null,"topics":["java-8"],"latest_commit_sha":null,"homepage":null,"language":"Java","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/santteegt.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}},"created_at":"2016-12-02T03:13:21.000Z","updated_at":"2016-12-02T03:14:09.000Z","dependencies_parsed_at":"2023-06-05T19:15:29.921Z","dependency_job_id":null,"html_url":"https://github.com/santteegt/thoughtworks-interview","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/santteegt/thoughtworks-interview","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santteegt%2Fthoughtworks-interview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santteegt%2Fthoughtworks-interview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santteegt%2Fthoughtworks-interview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santteegt%2Fthoughtworks-interview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/santteegt","download_url":"https://codeload.github.com/santteegt/thoughtworks-interview/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santteegt%2Fthoughtworks-interview/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265553195,"owners_count":23787034,"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","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":["java-8"],"created_at":"2025-02-10T11:30:22.735Z","updated_at":"2025-07-17T00:06:06.797Z","avatar_url":"https://github.com/santteegt.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Thoughtworks Exercise for Interview\n\nThis standalone application inomlements the Galactic Merchant Guide exercise proposed by Thoughworks as part of the first interview for a positiion in their company.\n\n## Galactic Merchant Guide - Implementation\n\nBasically, the application solves the problem using Regex rules to validate the input file lines and to translate the galactic words into Roman (and finally Roman into Real numbers).\n\nThe main classes to focus are:\n\n* *GalacticMerchantApp.java*: runs the application. It contains the main processes for translation.\n* *GalacticTranslationReader.java*: parses the input file.\n* *GalacticTranslationDocument.java*: represents a translation document to process.\n* *RomanRules.java*: Enum containing rules that validate a Roman value as correct.\n* *TranslationRules.java*: Enum containing rules to achieve a correct translation from Galactic to Real numbers.\n\nThe implementation also includes a little bit of Unit tests.\n\n### Requirements\n\n* Java 8\n* Maven 3.x\n\n\n### How to Run the Code\n\nIn a terminal window and under the home directory of the project run the following :\n\n```\n$ mvn clean install\n$ mvn exec:java\n```\n\n### Where does the Output is stored?\n\nThe resulting output is stored in the text file *output.txt* under the home directory of this project. \n\n### How to run the Code using the Test file\n\nIf you want to run the code using the given test input file, set the argument -Dshow.file.chooser=false in the pom.xml file.\n\nAlternatively, you can choose the file manually from the resources folder.\n\n### About the Author\n\n* Santiago Gonzalez Toral - [WebSite](https://santteegt.github.io)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantteegt%2Fthoughtworks-interview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsantteegt%2Fthoughtworks-interview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantteegt%2Fthoughtworks-interview/lists"}