{"id":21031117,"url":"https://github.com/kylewelsby/mindful-chef-coding-challenge","last_synced_at":"2026-04-11T16:02:38.545Z","repository":{"id":237446675,"uuid":"647452249","full_name":"kylewelsby/mindful-chef-coding-challenge","owner":"kylewelsby","description":"Code challenge for Mindful Chef","archived":false,"fork":false,"pushed_at":"2023-06-01T08:59:28.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-20T15:20:44.671Z","etag":null,"topics":["code-challenge"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kylewelsby.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":"2023-05-30T20:17:15.000Z","updated_at":"2023-06-01T08:59:32.000Z","dependencies_parsed_at":"2024-05-02T00:30:40.044Z","dependency_job_id":"27022771-61d8-4272-be1f-70faa542fe0e","html_url":"https://github.com/kylewelsby/mindful-chef-coding-challenge","commit_stats":null,"previous_names":["kylewelsby/mindful-chef-coding-challenge"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylewelsby%2Fmindful-chef-coding-challenge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylewelsby%2Fmindful-chef-coding-challenge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylewelsby%2Fmindful-chef-coding-challenge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylewelsby%2Fmindful-chef-coding-challenge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kylewelsby","download_url":"https://codeload.github.com/kylewelsby/mindful-chef-coding-challenge/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243467433,"owners_count":20295393,"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":["code-challenge"],"created_at":"2024-11-19T12:24:22.863Z","updated_at":"2025-12-29T16:50:42.927Z","avatar_url":"https://github.com/kylewelsby.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mindful Chef Code Challenge\n\nThis repository contains the solution to the\n[Mindful Chef Code Challenge](./CHALLENGE.md) completed by\n[Kyle Welsby](https://github.com/kylewelsby). The challenge involved building a\nwarehouse robot controller.\n\n## ⚡️ System Dependencies\n\nBefore using the warehouse robot controller, make sure you have the following\ndependencies installed on your system:\n\n- [Deno](https://deno.land): The runtime environment required to build and run\n  the tool.\n- (alternative) [Ruby](https://www.ruby-lang.org/en/): The alternative runtime\n  environment to run the tool.\n\n_At the time of writing the latest stable version of Deno is 1.34.1, or Ruby\n3.3.0_\n\n## 🚀 Getting Started\n\nFollow the steps below to get started with the warehouse robot controller:\n\n1. Clone this repository to your local machine:\n\n   ```bash\n   git clone https://github.com/kylewelsby/mindful-chef-code-challenge.git\n   ```\n\n2. Install Deno by visiting the\n   [Deno installation guide](https://deno.com/manual@v1.34.1/getting_started/installation)\n   and following the instructions provided.\n\n3. Open your terminal or command prompt and navigate to the project directory:\n\n   ```bash\n   cd mindful-chef-challenge\n   ```\n\n4. Run the following command to execute the robot controller, replacing\n   \u003ccommands\u003e with the desired sequence of commands:\n\n   This command uses Deno\n   ```bash\n   deno run mod.ts \u003ccommands\u003e\n   ```\n\n   This command uses Ruby\n   ```bash\n   bundle exec ruby robot_cli.rb \u003ccommands\u003e\n   ```\n\n   _N.B. you may need to run `bundle install` as [Bunlder](https://bundler.io/)\n   is managing dependencies for Ruby before running the Ruby command_\n\n   | Option            | Description                                                                                                      | Default |\n   | ----------------- | ---------------------------------------------------------------------------------------------------------------- | ------- |\n   | `\u003ccommands\u003e`      | Nvigate the robot using compas directions \u003cbr\u003e - `N` = North\u003cbr\u003e - `S` = South\u003cbr\u003e - `E` = East\u003cbr\u003e - `W` = West |         |\n   | `--start=\u003cn\u003e,\u003cn\u003e` | (optional): Sepecify the starting position of the robot                                                          | 0,0     |\n\n   For example, to navigate the robot to grid position [4,4], use the following\n   command: `\u003ccommands\u003e`.\n\n   ```bash\n   deno run mod.ts 'N,E,N,E,N,E,N,E'\n   ```\n\n   ```bash\n   bundle exec ruby robot_cli.rb 'N,E,N,E,N,E,N,E' --start=4,4\n   ```\n\n5. The result will be the final position of the robot within the warehouse grid.\n\n## 🧪 Testing\n\nTo ensure the correctness of the tool, unit tests are provided. Follow the\ninstructions below to run the tests:\n\n```bash\ndeno test -A\n```\n\n```bash\nbundle exec rake test\n```\n\n## 🚨 Linting\n\nThe warehouse robot controller adheres to coding standards and best practices.\nTo run the linter and formatter on the codebase, execute the following commands:\n\n- Format the code using Deno's built-in formatter:\n\n  ```bash\n  deno fmt\n  ```\n\n- Run the Deno linter to check for potential issues and enforce coding\n  standards:\n\n  ```bash\n  deno lint\n  ```\n\n- Run the Ruby typechecker to check for potential issues and enforce coding\n  standards:\n\n  ```bash\n  bundle exec srb tc\n  ```\n\nThe linter checks your code for potential issues, enforces best practices, and\nalerts you to any deviations from the recommended coding standards.\n\n## 🎓 License\n\nMIT: https://kylewelsby.mit-license.org\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkylewelsby%2Fmindful-chef-coding-challenge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkylewelsby%2Fmindful-chef-coding-challenge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkylewelsby%2Fmindful-chef-coding-challenge/lists"}