Code Monkey home page Code Monkey logo

allourideas.org's Introduction

All Our Ideas Build Status

All Our Ideas 2.0. This codebase runs two sites photocracy.org and allourideas.org.

The allourideas.org project provides the user-facing website for doing pairwise voting. This project depends on the API provided by pairwise-api. There are several models that are ActiveResource models that connect to the pairwise API.

Installing

https://github.com/allourideas/allourideas.org/wiki/Installing

Email List

If you would like to join the allourideas email list, send a message to [email protected]. The email list is a place to ask and discuss technical questions about the project.

If you would like to send a question to the allourideas email list, send your message to [email protected]. Note that you can only post if you are already a member of the group.

If you would like to review and search previous content from the email list, visit https://groups.google.com/forum/#!forum/allourideas.

Ownership

Copyright (c) 2010, Matthew J. Salganik and the Trustees of Princeton University. Licensed under the 3-clause BSD License, which is also known as the "Modified BSD License". Full text of the license is below. This license is GPL compatible (http://www.gnu.org/licenses/license-list.html#ModifiedBSD).

Code for this project has been contributed by (in chronological order): Peter Lubell-Doughtie, Adam Sanders, Pius Uzamere, Dhruv Kapadia, Calvin Lee, Chap Ambrose, Dmitri Garbuzov, Brian Tubergen, and Luke Baker.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  • Neither the name of the nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL (COPYRIGHT HOLDER) BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

allourideas.org's People

Contributors

lukebaker avatar dkapadia avatar chap avatar pius avatar tubergen avatar esmesh avatar ca5th avatar jedidiah avatar dmitrig avatar msalganik avatar pld avatar

Watchers

Spencer Tom Tafadzwa Chirume avatar  avatar  avatar  avatar

allourideas.org's Issues

Add “title” for subject entered choices

The "data" field could work as a description field

  1. Add “title” field in UI in /allourideas.org/app/views/items/_form.html.haml
  2. Modify /allourideas.org/app/controllers/questions_controller.rb to include the title field in the choice that is created.

Disable back button

Breaks button display

Modify javascript in /allourideas.org/app/views/layouts/application.html.haml

Only let admin users create questions

Validate user permissions in /allourideas.org/app/controllers/questions_controller#new, /allourideas.org/app/controllers/questions_controller#admin and ??

Show message similar to what they show in /allourideas.org/app/controllers/questions_controller#results

Test/fix control panel data visualizations

The following are data visualizations available on the main control panel/all questions page. They all need to be tested/fixed following the refactor for Issue #33.

  • World map of all votes
  • World map of all wiki survey creators
  • Number of all votes over time
  • Number of all submitted ideas over time
  • Number of all user sessions per day
  • Number of all unique users per day

(Italics: works; bold:broken; otherwise, TBD)

Document final data model and primary calculations

Document the overall data model (subjects, questions, & data captured) as well as the primary calculations:

  • Prompt selection - how are prompt pairings/orderings determined? What are the constraints?
  • Preference scores
  • "Densities" (no clue what this is right now and the code says a cron job must run to calculate them...)

Filter results by demographics information

  1. Modify /allourideas.org/app/controllers/questions_controller.rb to add filters to the choices query
  2. Create a method to compute the score not based on the current score but on the wins and loses in general, also considering the filters. /pairwise-api/app/models/choice.rb
  3. Call that method from /allourideas.org/app/controllers/questions_controller#results

Save user information for each vote

There is a votes table in the pairwise db that stores the question, prompt (pair) and choice of each vote. It also has a voter_id, we can use that field to save the id of the user that is voting in /allourideas.org/app/controllers/prompts_controller#vote

Test/fix data visualizations for individual questions

The following are visualizations available on the results page for a specific question. They all need to be tested/fixed following the refactor for Issue #33.

  • Compare uploaded ideas with original ideas
  • Word cloud of ideas
  • Word cloud of ideas weighted by score
  • Word cloud of uploaded ideas
  • Word cloud of uploaded ideas weighted by score
  • World map of all votes
  • Number of votes over time
  • Number of submitted ideas over time
  • Number of unique user sessions per day
  • View density of votes for this question (super-admin only)
  • View number of ratings of choices by creation time (super-admin only)
  • View number of appearances per choice by choice creation date (super-admin only)
  • World Map of bounces (viewed once and then left) (super-admin only)
  • World Map of uploaded ideas (super-admin only)
  • View number of votes per visitor (super-admin only)
  • View number of skips per visitor (super-admin only)
  • View number of votes vs number of skips per visitor (super-admin only)
  • View number of skips per day (super-admin only)
  • View choice score vs total votes (super-admin only)

(Italics: works; bold:broken; otherwise, TBD)

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.