https://github.com/danasilver/survey-survey
A survey about surveys. Tools for collecting and processing data for Dartmouth Govt. 10 Project.
https://github.com/danasilver/survey-survey
Last synced: 10 days ago
JSON representation
A survey about surveys. Tools for collecting and processing data for Dartmouth Govt. 10 Project.
- Host: GitHub
- URL: https://github.com/danasilver/survey-survey
- Owner: danasilver
- Created: 2015-02-11T13:38:56.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-14T11:22:00.000Z (over 11 years ago)
- Last Synced: 2025-02-24T02:31:21.845Z (over 1 year ago)
- Language: Python
- Size: 172 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GOVT 10 Final Project
## Tools for conducting a survey about surveys
### Commands
Prefix with `heroku run` to run on server.
#### Create the db
```
python models.py
```
#### Prepare the database to send
```
python prepare.py
```
### Sending
Set up task on Heroku to run `python send_mail.py` at 2015-02-23 05:00:00 +0000.
### Survey Process
1. Randomly assign a number between 0 and 172,800 (2 days in seconds) to each
of the Dartmouth undergraduate student emails.
2. Randomly assign a survey question to each student.
3. Email each student at the number of seconds after a chosen 0-hour. The email
should contain the survey question and a request that the student respond by
replying to the email.
### Definitions
Unless otherwise noted, "random" refers to a uniform random distribution.
Internally randomness is generated using a
[Mersenne twister](http://en.wikipedia.org/wiki/Mersenne_twister).