Giter VIP home page Giter VIP logo

hailo-go-test's Introduction

#Assignment

Our traffic robots travel around London to report on traffic conditions. Every time a robot passes close to a tube station, it assesses the traffic condition in the area, and reports it.

#Future Improvements

  1. Does not seem right to loop through all the stations to see if we are near to one. There are many algorithms that could be used here. Even just a simple binary search on either Lat or Long would be better, and not too hard to implement given time.
  2. Not sure of code quality give new language.
  3. There is not enough test coverage. Some test rely on manual inspection
  4. rand isn't Random (but this doesn't matter as this is not the functionality required in production)
  5. Seems wrong to store the tube locations in the robot as this had limited memory. Checking server side if a robot is near a tube station then asking the robot to report back may be better. However my understanding of channels is limited and I do not currently feel confident in implementing that.

hailo-go-test's People

Watchers

Freya Juniper-Nine avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.