Giter VIP home page Giter VIP logo

dvu.ptsd's People

Contributors

marc-schwartz avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dvu.ptsd's Issues

SUDs plot label

The label on the right-hand side for the SUDs plot says "Initial SUDs Score" when both the pre- and post- SUDs scores are shown in the plot.

speed up login process

When pre-fetching survey responses on a successful login, there is a noticeable lag.

Some possible fixes:
-- Request compressed data from ohmage
-- Use a smaller number of columns in the column_list parameter for survey_response/read
-- Fetch the data in the background
-- Provide some sort of proverbial "loading" animation

tool participation rendering is incorrect on date change

If I change the date range and re-plot, the tool participation plot appears not to plot the data. I have upload timestamps like the following and I only see one data point when the date range is 4/11/12 - 4/12/12. This is data from the first PTSD Explorer user.

 2012-04-11 08:49:12        
 2012-04-11 08:49:12        
 2012-04-11 08:50:14        
 2012-04-11 08:50:14        
 2012-04-11 08:50:15        
 2012-04-11 08:50:15        
 2012-04-11 08:50:20        
 2012-04-11 08:50:20        
 2012-04-11 08:50:23        
 2012-04-11 08:50:23        
 2012-04-11 08:50:24        
 2012-04-11 08:50:24        
 2012-04-11 08:50:27        
 2012-04-11 08:50:27        
 2012-04-11 09:07:42        
 2012-04-11 09:07:42        
 2012-04-11 09:08:31        
 2012-04-11 09:08:31        
 2012-04-11 09:08:44        
 2012-04-11 09:09:18        
 2012-04-11 09:09:21        
 2012-04-11 09:09:21        
 2012-04-11 09:10:14        
 2012-04-11 09:10:14        
 2012-04-11 09:10:18        
 2012-04-11 09:10:18        
 2012-04-11 09:10:20        
 2012-04-11 09:10:23        
 2012-04-11 10:38:42        
 2012-04-11 10:38:42        
 2012-04-11 10:39:49        
 2012-04-11 10:39:49        
 2012-04-11 10:39:51        
 2012-04-11 10:39:51        
 2012-04-11 10:39:53        
 2012-04-11 10:39:53        
 2012-04-11 10:39:55        
 2012-04-11 10:40:00        
 2012-04-11 10:40:01        
 2012-04-11 10:40:06        
 2012-04-11 10:40:06        
 2012-04-11 10:40:16        
 2012-04-11 10:40:17        
 2012-04-11 10:40:23        
 2012-04-11 10:40:23        
 2012-04-11 10:40:29        
 2012-04-11 10:40:31        
 2012-04-11 10:40:36        
 2012-04-11 10:40:37        
 2012-04-11 10:40:42        
 2012-04-11 10:40:43        
 2012-04-11 10:40:51        
 2012-04-11 10:40:52        
 2012-04-11 10:40:52        
 2012-04-11 10:40:53        
 2012-04-11 10:40:53        
 2012-04-11 10:40:58        
 2012-04-11 10:40:59        
 2012-04-11 10:40:59        
 2012-04-11 10:41:00        
 2012-04-11 10:41:05        
 2012-04-11 10:41:05        
 2012-04-11 10:41:06        
 2012-04-11 10:41:06        
 2012-04-11 10:41:13        
 2012-04-11 10:41:14        
 2012-04-11 10:41:14        
 2012-04-11 10:41:19        
 2012-04-11 10:41:20        
 2012-04-11 10:41:23        
 2012-04-11 10:41:23        
 2012-04-11 10:41:27        
 2012-04-11 10:41:28        
 2012-04-11 10:41:28        
 2012-04-11 10:41:29        
 2012-04-11 10:41:32        
 2012-04-11 10:41:32        
 2012-04-11 10:41:37        
 2012-04-11 10:41:37        
 2012-04-11 10:41:41        
 2012-04-11 10:41:41        
 2012-04-11 10:41:42        
 2012-04-11 10:41:49        
 2012-04-11 10:41:54        
 2012-04-11 10:41:57        
 2012-04-11 10:42:00        
 2012-04-11 10:42:03        
 2012-04-11 10:42:07        
 2012-04-11 10:42:10        
 2012-04-11 10:42:14        
 2012-04-11 10:42:19        
 2012-04-11 10:42:26        
 2012-04-11 10:42:29        
 2012-04-11 10:42:31        
 2012-04-11 10:42:34        
 2012-04-11 10:42:38        
 2012-04-11 10:42:52        
 2012-04-11 10:43:01        
 2012-04-11 10:43:07        
 2012-04-11 10:43:11        
 2012-04-11 10:43:23        
 2012-04-11 10:43:28        
 2012-04-11 10:43:35        
 2012-04-11 10:43:37        
 2012-04-11 10:43:40        
 2012-04-11 10:43:43        
 2012-04-11 10:43:43        
 2012-04-11 10:43:43        
 2012-04-11 10:43:43        
 2012-04-11 10:43:46        
 2012-04-11 10:43:46        
 2012-04-11 10:43:47        
 2012-04-11 10:43:48        
 2012-04-11 10:43:52        
 2012-04-11 10:43:52        
 2012-04-11 17:05:39        
 2012-04-11 17:05:39        
 2012-04-11 17:05:40        
 2012-04-11 17:05:40        
 2012-04-11 17:05:42        
 2012-04-11 17:05:42        
 2012-04-11 17:05:44        
 2012-04-11 17:05:44        
 2012-04-11 17:05:47        
 2012-04-11 17:05:47        
 2012-04-11 17:05:47

no data pop-up is broken

The "No Data" pop-up works if I have not plotted any items, but if I successfully plot something and then try to query for a survey that has no data I don't get the pop-up.

clear plots button

It would be nice to have a "Clear" button for the use case when many plots are rendered on the same graph.

depression plot needs special highlighting

For the "better off dead" plot, if the user has selected "nearly every day" the plot point should be highlighted so it is immediately visible to the clinician that they have an at-risk patient. IIRC, Julia asked for this to be highlighted in red.

login-logout-login has a problem

If I login as one user, then logout and login as another user, something weird happens with the authentication token.

I start seeing these error messages in the server log:

2012-04-16 19:01:30,559 [ajp-bio-8009-exec-5] [c728daa8-565a-4053-bf08-7d0cba05ce28] [DEBUG]   [org.ohmage.request.RequestBuilder] - /app/survey_response/read
2012-04-16 19:01:30,560 [ajp-bio-8009-exec-5] [c728daa8-565a-4053-bf08-7d0cba05ce28] [INFO] [org.ohmage.request.UserRequest] - Unknown token.
2012-04-16 19:01:30,560 [ajp-bio-8009-exec-5] [c728daa8-565a-4053-bf08-7d0cba05ce28] [INFO] [org.ohmage.request.survey.SurveyResponseReadRequest] - Responding to the survey response read request.
2012-04-16 19:01:30,560 [ajp-bio-8009-exec-5] [c728daa8-565a-4053-bf08-7d0cba05ce28] [DEBUG] [org.ohmage.request.Request] - Returning a GZIPOutputStream
2012-04-16 19:01:30,561 [ajp-bio-8009-exec-5] [c728daa8-565a-4053-bf08-7d0cba05ce28] [INFO] [org.ohmage.jee.servlet.RequestServlet] - Time to process '/app/survey_response/read':2
2012-04-16 19:01:36,182 [ajp-bio-8009-exec-4] [466a2a1d-2900-41c2-a75b-656d312a43d2] [DEBUG] [org.ohmage.request.RequestBuilder] - /app/survey_response/read
2012-04-16 19:01:36,182 [ajp-bio-8009-exec-4] [466a2a1d-2900-41c2-a75b-656d312a43d2] [INFO] [org.ohmage.request.UserRequest] - Unknown token.
2012-04-16 19:01:36,182 [ajp-bio-8009-exec-4] [466a2a1d-2900-41c2-a75b-656d312a43d2] [INFO] [org.ohmage.request.survey.SurveyResponseReadRequest] - Responding to the survey response read request.
2012-04-16 19:01:36,183 [ajp-bio-8009-exec-4] [466a2a1d-2900-41c2-a75b-656d312a43d2] [DEBUG] [org.ohmage.request.Request] - Returning a GZIPOutputStream
2012-04-16 19:01:36,184 [ajp-bio-8009-exec-4] [466a2a1d-2900-41c2-a75b-656d312a43d2] [INFO] [org.ohmage.jee.servlet.RequestServlet] - Time to process '/app/survey_response/read':2

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.