Skip to content

Commit

Permalink
Merge branch 'release-v0.2b2'
Browse files Browse the repository at this point in the history
  • Loading branch information
bbengfort committed Aug 30, 2016
2 parents d349132 + 7b13ee5 commit 4c0c977
Show file tree
Hide file tree
Showing 46 changed files with 2,060 additions and 41 deletions.
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,10 @@ ENV/

# Rope project settings
.ropeproject

# Corpora and Fixtures
corpus/fixtures/debates
corpus/fixtures/*.pickle

# Mac Stuff
.DS_Store
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,21 @@ The release versions that are deployed to the web servers are also tagged in Git

The versioning uses a three part version system, "a.b.c" - "a" represents a major release that may not be backwards compatible. "b" is incremented on minor releases that may contain extra features, but are backwards compatible. "c" releases are bug fixes or other micro changes that developers should feel free to immediately update to.

### Version 0.2 Beta 3

* **tag**: [v0.2b3](https://github.com/DistrictDataLabs/partisan-discourse/releases/tag/v0.2b3)
* **deployment**: Monday, August 29, 2016
* **commit**: [see tag](#)

This is an intermediate release to ensure that some front end components become visible in advance of the first release. In particular the annotation help button on the document view and the about page that gives built with attribution. This release also fixes the "." in usernames bug that would not allow people to log in or access their profile.

This release also contains components that are not officially ready but sit quietly in the background waiting to be deployed. This includes the management command to build models, the corpus object to link data sets, estimator models for Scikit-Learn pipeline/estimator data storage and more. These elements will be discussed in detail in future releases.

### Version 0.1 Beta 1

* **tag**: [v0.1b1](https://github.com/DistrictDataLabs/partisan-discourse/releases/tag/v0.1b1)
* **deployment**: Monday, July 18, 2016
* **commit**: [see tag](#)
* **commit**: [393211a](https://github.com/DistrictDataLabs/partisan-discourse/commit/393211acd1a270e04ae7b69f750be2f3e7305230)

This is the first beta release of the Partisan Discourse application. Right now this simple web application allows users to sign in, then add links to go fetch web content to the global corpus. These links are then preprocessed using NLP foo. Users can tag the documents as Republican or Democrat, allowing us to build a political classifier.

Expand Down
25 changes: 25 additions & 0 deletions arbiter/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# arbiter
# A Django app that implements a MMS for the red/blue models.
#
# Author: Benjamin Bengfort <[email protected]>
# Created: Tue Aug 02 09:13:41 2016 -0400
#
# Copyright (C) 2016 District Data Labs
# For license information, see LICENSE.txt
#
# ID: __init__.py [cd70726] [email protected] $

"""
A Django app that implements a MMS for the red/blue models.
"""

##########################################################################
## Imports
##########################################################################


##########################################################################
## Configuration
##########################################################################

default_app_config = 'arbiter.apps.ArbiterConfig'
28 changes: 28 additions & 0 deletions arbiter/admin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# arbiter.admin
# Django admin CMS definitions and registrations for the arbiter app.
#
# Author: Benjamin Bengfort <[email protected]>
# Created: Tue Aug 02 09:18:18 2016 -0400
#
# Copyright (C) 2016 District Data Labs
# For license information, see LICENSE.txt
#
# ID: admin.py [cd70726] [email protected] $

"""
Django admin CMS definitions and registrations for the arbiter app.
"""

##########################################################################
## Imports
##########################################################################

from django.contrib import admin
from arbiter.models import Estimator, Score

##########################################################################
## Register Admin
##########################################################################

admin.site.register(Estimator)
admin.site.register(Score)
34 changes: 34 additions & 0 deletions arbiter/apps.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# arbiter.apps
# Application definition for the arbiter app.
#
# Author: Benjamin Bengfort <[email protected]>
# Created: Tue Aug 02 09:14:47 2016 -0400
#
# Copyright (C) 2016 District Data Labs
# For license information, see LICENSE.txt
#
# ID: apps.py [cd70726] [email protected] $

"""
Application definition for the arbiter app.
"""

##########################################################################
## Imports
##########################################################################

from django.apps import AppConfig


##########################################################################
## Corpus Config
##########################################################################

class ArbiterConfig(AppConfig):

name = 'arbiter'
verbose_name = 'Arbiter'

def ready(self):
pass
# import arbiter.signals
18 changes: 18 additions & 0 deletions arbiter/management/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# arbiter.management
# A module that specifies Django management commands for the arbiter app.
#
# Author: Benjamin Bengfort <[email protected]>
# Created: Tue Aug 02 10:36:54 2016 -0400
#
# Copyright (C) 2016 District Data Labs
# For license information, see LICENSE.txt
#
# ID: __init__.py [feb4803] [email protected] $

"""
A module that specifies Django management commands for the arbiter app.
"""

##########################################################################
## Imports
##########################################################################
18 changes: 18 additions & 0 deletions arbiter/management/commands/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# arbiter.management.commands
# Module that contains each individual management command for Django.
#
# Author: Benjamin Bengfort <[email protected]>
# Created: Tue Aug 02 10:37:24 2016 -0400
#
# Copyright (C) 2016 District Data Labs
# For license information, see LICENSE.txt
#
# ID: __init__.py [feb4803] [email protected] $

"""
Module that contains each individual management command for Django.
"""

##########################################################################
## Imports
##########################################################################
Loading

0 comments on commit 4c0c977

Please sign in to comment.