tripleblindai / safe-places Goto Github PK
View Code? Open in Web Editor NEWHealthcare Tools built on top of Private Kit and COVID Safe Paths
License: MIT License
Healthcare Tools built on top of Private Kit and COVID Safe Paths
License: MIT License
I'd like to try this as part of private-kit. How can I set this up to run?
Saint Lucia reports that the unix timestamps are off by 3 hours from local time when they load the GPS data into the redaction tool.
There is an error (from google) about page not being able to load correctly, when either the API key OR the Billing is not valid or activated. This should be made more clear and presented to the user. For example, you can test for valid API key using code like that found in my own map. But we also need to test for Billing.
The yellow travel points should probably appear at the bottom of the pile when there are several overlapping markers.
Since we have access to the redacted anonymous data already from the city officials, we should be taking a step further and predicting the next predicted site, given the existing ones. Think of standard posterior estimation.
Officials might also be able to incorporate information into their modeling that is not publicly available, making this much better suited as a Healthcare Authority operation rather than a client-side calculation.
v2 could take it one step further by performing prediction on encrypted data from users directly
Expected Result:
Loads the SafePath WEB app
The drawing tools are covered by the redaction tool window.
I think it should be ???
exposurePoints.push(marker)
There are some bugs in the Publisher that doesn't allow the code to be rendered.
The only way to move from redaction to publishing and vice versa is to press the back button. It would be a nice usability improvement to add a explicit UI control to achieve this.
The time range is not accurate in the UI. I uploaded a small dataset covering a couple of hours in the redaction tool, and the range was displayed as "18/04/2020, 00:00:00โ19/04/2020, 01:00:00". The actual time window is much smaller.
Steps to reproduce
We should have some facility to import/add external time-location data to the published dataset. Two specific use cases come to mind ...
The dataset I am using is me in my house for 2.5 hours with GPS / bluetooth switched on. Most of the data points correctly show in pink as I am in the same location. However, when I use the "Hide < 1hr" it hides all non-travel. I would expect that these locations would be identified as similar enough to be the same location, and therefore that I had been there over an hour, and would not be hidden.
Steps to reproduce:
Looks like auth is being handled by doXHR but this doesn't appear to be called.
Ideas up for discussion
location scrubber (reduction tool)
, publisher
and path creator
into a single PWAI'm not able to import anything into the publisher app. Always get some error about the JSON.
What is the correct format and how to import it?
Add clear instructions to the readme on how to:
I think it would be best to have a running version of this tool, that public health and government officials can play with. Not sure where we would host it, but we can upload our own geodata and use this as a "live" version.
Steps to reproduce:
Expected Behaviour
File is loaded with no errors
Actual Behaviour
The file is loaded, but a popup appears that says "[object file]". The below stack trace is visible in the console:
jquery.min.js:2 Uncaught TypeError: Cannot read property 'length' of undefined
at updateStats (index.html:1504)
at updateExposurePoints (index.html:1404)
at updateDateRange (index.html:1343)
at HTMLDocument. (index.html:1314)
at e (jquery.min.js:2)
at t (jquery.min.js:2)
When you adjust the date range on the Sample_PrivateKit.json data, the marker in California disappears and you can't get it back.
Probably some off-by-one error or rounding issue on the date range.
A "hidden" point shouldn't be deleted, since the person doing the editing might have only temporarily hidden it and can't tell that they are doing a permanent deletion.
Feature: encrypt data stored on device with a device-specific key that is non-trivial to decrypt (e.g., key > 2048 bit).
Why: for rooted devices, it is imperative to prevent other apps to access Safe Paths data.
I want agencies to register themselves along with a GPS extent box. The Publisher tool can make this easier for a healthcare authority to determine this by displaying the min/max GPS coordinates. Then the authority just needs to adjust the map view to roughly cover the agency's area in the map view.
This only needs to display the min and max.
It would be useful for the tooltip to show an approximate speed for travel groups. This could allow a redactor to distinguish between walking, riding a bike or moving in a car or plane.
Steps to reproduce:
What happened:
The sea is shown in the map, but no error is visible to the user. Errors are thrown to the JS console e.g.
Uncaught SyntaxError: Unexpected token , in JSON at position 281
at JSON.parse ()
at FileReader. (index.html:1104)
or
Uncaught TypeError: Cannot read property 'time' of undefined
at FileReader. (index.html:1427)
What I expected to happen
I expected to see an error that is visible to the user, and advises them that the file format is incorrect.
It is possible for Javascript in HTML5 to save directly to the filesystem (allowing the user to pick the folder, etc). See saveText() in the index.html -- there is a commented out stub, but it isn't working.
There seem to be many bugs in these tools. Here is a list:
The drawing tools are covered by the redaction tool window. (see #41)
There is an error (from google) about page not being able to load correctly, when either the API key OR the Billing is not valid or activated. This should be made more clear and presented to the user. For example, you can test for valid API key using code like that found in my own map. But we also need to test for Billing. (See #42 )
There seem to be some code errors in the jquery according to FF/Chrome debuggers. (See #43)
There are a many additional CSS errors... (#29)
Even after I manage to draw points and boxes, both: (#46)
(a) - the time sliders and
(b) - the save button is always grayed out!? Why is that?
The map always start in Boston. I'm not in Boston, so where do I change this default?
In Brave (a Chrome mod) there's only a blank white page... (#39)
Unfortunately I cannot provide the test data I am using as it is personal data.
Steps to reproduce
Redact two files containing different data (in this case, one from Spain, one from the US) from the same day
In the publishing tool, load both files
Publish the data
Expected behaviour
The file exported from the publishing process should contain both redacted datasets
Actual behaviour
Only one dataset is included. The following is visible in the console:
Uncaught TypeError: Cannot read property 'length' of undefined
at updateStats (index.html:1504)
at updateExposurePoints (index.html:1404)
at updateDateRange (index.html:1343)
at HTMLDocument. (index.html:1314)
at e (jquery.min.js:2)
at t (jquery.min.js:2)
It would be useful to have a short description on how we recommend HAs deploy the docker containers, and the security architecture.
For example - how many users can be supported by a single container with spec X
I'm assuming no data leaves the browser, but it would be good to state that so that it is clear why we don't need TLS/SSL; why backups aren't necessary etc; that there's no persistence and no need for auth.
These statements can then be supported by tests.
In the event that a health authorities site has been compromised, there needs to be a way to support an immediate revocation of the compromised data set from that authority.
Specific use case
The website of a health authority is compromised, and the data from that authority is modified to give erroneous results, perhaps adding in time-locations that will alarm the public. The authority would want a way to immediate retract that data while the site is brought back under control. It should be acceptable to retract all data for that authority, as long as that authority can be re-enabled when appropriate.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.