Git Product home page Git Product logo

covid19_edi_app's People

Contributors

abeardwalks avatar sholybonoly avatar wfastrononomer avatar

Watchers

 avatar

covid19_edi_app's Issues

PostcodeFinder picks up partial postcodes.

The postcode finder picks up EH16 as a postcode - is this what we want it to do.
Similarly it fails to pick up EH93HJ as a postcode when it is the only one
However, when there was a list it did pick up EH93HJ as a postcode, but failed on EH13 9DH, when the latter was split over 2 lines.

These are all tests in tests/PostcodeFinderTest.py

Once one email has been recieved from the relay, it appears no more will be received.

After updating the relay to forward messages on to the nearest group, I was able to successfully test only once

Thereafter, no forwarded message was received.

No errors were thrown by the code, the emails were labelled processed, but nothing appeared in the test group email account.

I tried this with multiple email addresses, I would receive the first message, then nothing after.

Find nearest volunteer(s)

Use KML file to find nearest postcode if no volunteer in that postcode

Need list of nearest volunteers for area as individual volunteer may be busy or inactive for a time.

Cache location data to minimise calls to external API and maximise speed of processing

What?

Implement caching of location and distance data to minimising the number of external API calls and calculations required.

We could cache:

  • the latitude and longitude of postcodes
  • the distance between two postcodes

Why?

If we receive a lot of emails, there's the potential for us to make a lot of external API calls and maybe even get throttled. That wouldn't be great! By caching the location data, we'll be able to minimise the risk of throttling/blocking and get a performance boost.

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.