Giter Club home page Giter Club logo

rereading's People

Contributors

amy-lei avatar bengao01 avatar catherinemei avatar crista2019 avatar dependabot[bot] avatar dylan-weber avatar felixli5678 avatar fyang3 avatar jasonlin43212 avatar jeffreyshen19 avatar justicev452 avatar kszeng avatar maoivy avatar mayowa99 avatar meesuekim avatar melcalv avatar michellejhe avatar montsegarza avatar mscuthbert avatar opheez avatar parulsingh23 avatar peter-parque avatar raquelgarcia999 avatar ryaanahmed avatar sagetlmax avatar samimak37 avatar sirenayu avatar sophiazhi avatar stephan-ducrepin avatar wilke0818 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rereading's Issues

Actually collect passive data in reading view

Involves

  • factor out various data collection mechanisms already implemented in student_view from the prototype
  • make a data format that can be sent via API call to the backend

... plus probably more.

Reread count frontend integration -- Mean reread count is not showing the right number in table

On Catherine-reread-count-frontend, I am integrating my function run_compute_reread_counts(self) which uses the helper function compute_reread_counts(self, question, context) into the frontend. The data returned was originally a dictionary, but there was no sensible manner to display the data on the webapp. We decided to take an average of our data, but now the numbers do not seem to be lining up.

To do:

  • Suggestions for new ways to display data from dictionary
  • Fix the compute_reread_counts(self, question, context) output to represent correct mean reread count

Finish "Add evidence" feature

Work is taking place on evidence-for-questions branch. This is a tracking issue for the things left TODO:

  • add field to database models for questions responses for evidence
  • send evidence to the backend correctly
  • add BooleanField require_evidence for questions
  • fix display bug wherein all evidence is a single long string instead of list
  • add functionality to remove evidence
  • fix bug wherein "tag evidence" affects state of all Questions instead of just the one clicked

Timestamp everything

  • Student segment data -- timestamp when it gets submitted
  • Student reading data -- timestamp when it gets init-ed and on last change
  • Response models -- timestamp of last edit

Create React component for common analysis data formatting

We're starting to see some regular patterns in the analysis data formatting -- e.g., a lot of analyses are a single heading + a value. Let's make a React component at least for that. This can be a tracker issue for making these components.

  • Single value analysis

Reading view -- add questions that are shown on _every_ page

Sandy suggests that we add questions that are shown on every page of the rereading view, and that these questions keep their state from segment to segment.

We can track what is added/removed to these question responses per segment, which might be very interesting to visualize.

Add colors to the site

Sandy, via email

I’ve also enclosed some colors that I’d like to be part of the online project’s "color palette.”
If possible, I’d like the background of the site to be that beige/tan/sandy color so that moments of color can actually stand out.

d97568b8d76869eabde11597b839a297

Reading view: cold read then with prompts/questions

Sandy was interested in a design where we show each segment first just in a plain reading view, and then adorned with questions, prompts, highlighting ability, etc. Let's start hacking that out in the reading view.

Add Empty Annotation Checker to Reading View

Currently in the reading view, a user is allowed to skip through all readings and prompts without submitting any annotations for their reading. We might want to change that in a few ways, depending on how we want to collect the data:

  • A user is forced to provide some type of annotation (although this may be suboptimal and provide forced responses)
  • After submitting an empty annotation, a prompt appears with questions that will help the user answer questions (i.e. things like "what is this about?", "How did this make you feel?", etc).
  • There is some tracking that only allows a few empty responses throughout the reading
  • A prompt appears asking if they meant to leave the response blank

The last one may provide the most natural responses, as well as acting as a reminder, but does not entirely fix the case where users click through the reading as described above.

Coloring the segment according to heat map

Find some way to color in each section of the Segment Component.
The color of the sections of the segment will be determined by:
number of seconds spent on that section divided by max number of seconds spent on any of the sections of that segment
Using this fraction, find some way to incorporate it into a gradient to determine the color.

Reading View: implement a "Jump to" option.

I think it would be helpful to add a "jump to" option in the reading view so that previous segments can be reread without having to press the back button over and over. I'd be happy to assign myself to this task if no one has any problems with it.

Landing page for web application

On the branch overview-page-design, I am working on adding a landing page containing:

  • One button leading to project overview
  • One button to start the experiment
  • The designated picture of the two girls eating

The website will redirect to the landing page instead of straight to the reading page.
I finished linking the buttons to the respective pages, but the page still needs the picture and nice formatting.

Add a document analysis page

Sandy mentioned that she'd like a view that has some basic information about the story itself. Now that Recitatif is in the system, someone start making a view to show information about it (basic stuff like word count, etc., but also potentially things derived from the analysis functions).

Creating a scrolling component for Questions

When there are a lot of questions, the user needs to scroll down to look at the questions. Instead, we can have a component that holds all of the questions with a scroll feature so that the user can look at the reading while viewing the bottom questions.

Bug on frontend analysis branch - React component not appearing

On this branch I'm trying to add the all_contexts_repeated_prompt_words analysis component, but it breaks the page and throws the following error:

Error: Objects are not valid as a React child (found: object with keys {}). If you meant to render a collection of children, use an array instead.

The component is readable for Python but not for React, so I'm starting the following:

  • Possibly change how the back-end analysis function returns data to make this easier
  • Figure out how to unpack data from dictionaries so it can be shown on front-end (maybe using var mapping / arrow functions)
  • Format data (tables?)
  • Possibly implement commented out analysis code (edited Oct. 29th, see this comment)

Analysis view: improve interface design

I think there is an inconsistency in some of the formatting that makes the analysis page that presents the results feel a bit disjointed. We can standardize the sizing for our headings and make sure that we have consistent rounding for our data. We can also group together similar categories together. Ex: data on time spent can be all together in one section, and then data on types of responses and feelings in another section.

Rereading Project Introduction View

Sandy would like to create a page that introduces the overall project and the purposes and goals of this rereading project. She sent out an email with an idea of the overall content that this page will display. I will create a branch to start working on this.

Reading view: create segment text component

Tons of design stuff to do in the reading view. I'm going to make this a tracking issue, so we don't scatter these TODOs all over the place.

Biggies:

  • Choose a really nice reading font.
  • Make the number of words per line deterministic: we want to control the position of lines, so we don't want the text to freely reflow per user, probably

Add more here as you think of it...

Overview Page Fix

The document question responses do not carry over to the overview page.

Implement Responsive Frontend Design

The website currently looks really great on desktop, but several components get smashed together or are inaccessible on mobile views.

I'm self-assigning this, but reach out to me if anyone wants to help.

Instructions View for Reading View

Ben, Michelle, and I were wondering if there should be an instructions view before the reading view so that readers know what they're expecting and how to interact with the text. The more specific the instructions are the easier it will be for us to analyze their responses/interactions as well. We will also need to know more clearly what data we're collecting from rereading and annotations.

Deployment checklist

Tracking issue for myself as we move the site into production:

  • Production settings -- read secret key, etc. from environment on startup
  • Adjust webpack config so production assets get built to assets/js and assets/css
  • Go through Django deployment checklist and make sure I haven't forgotten anything
  • Configure gunicorn
  • Configure nginx
  • Setup SSL
  • (optional) tune CONN_MAX_AGE
  • (optional/maybe) switch production db backend over to postgres

If anyone's interested in learning some of this deployment stuff, send me a message on Slack and I'll let you know when I'm working on it.

Overview page design

The pages in the /project_overview/ section (overview, rereading sample, visuals, values, quantitative questions, sources) are a little cluttered, and could be made easier to read. In addition, the visuals and values pages only have questions on them with no other content.

One last little thing—I think the body text of the reading page is supposed to be in Garamond, but it looks like Times New Roman (maybe we need to import the font?)

Improve all-responses analysis display

Two big things to do here:

  • Move sort to the backend -- probably by using order_by in the db query. Right now all of the responses are out of order at the API endpoint, and then sorted in the frontend. This is super duper slow and gums up the loading of the analysis page.
  • Collate responses -- right now the table displays a separate row for each response, instead of collating them by question. Makes it much harder to see patterns.

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.