OpenStates VA terms out of sync

Description

OpenStates data for Virginia only has two terms "2009-2011" and "2011-2013" — but what about "2013-2015", i.e., the current term?

It's strange, because I get a 2014 session record, but it supposedly belongs to the 2011-2013 term. I strongly suspect this is a bug.

More explicitly, when I hit up the metadata for Virginia for its term and session details, I get the following data back:

{"terms": [{"end_year": 2011, "start_year": 2010, "name": "2009-2011", "sessions": ["2010" "2011" "2011specialI"]} {"end_year": 2013, "start_year": 2012, "name": "2012-2013", "sessions": ["2012" "2012specialI" "2013" "2013specialI" "2014" "2014specialI"]}],
"name": "Virginia",
"session_details": {"2013": {"display_name": "2013 Regular Session", "site_id": "131", "start_date": "2013-01-09 00:00:00"}, "2012": {"display_name": "2012 Regular Session", "site_id": "121", "start_date": "2012-01-11 00:00:00"}, "2014": {"display_name": "2014 Regular Session", "site_id": "141", "start_date": "2014-01-09 00:00:00"}, "2014specialI": {"display_name": "2014, 1st Special Session", "site_id": "141"}, "2013specialI": {"display_name": "2013, 1st Special Session", "site_id": "132"}, "2012specialI": {"display_name": "2012, 1st Special Session", "site_id": "122", "start_date": "2012-03-11 00:00:00"}, "2011specialI": {"display_name": "2011, 1st Special Session", "site_id": "112"}, "2010": {"display_name": "2010 Regular Session", "site_id": "101", "start_date": "2010-01-13 00:00:00"}, "2011": {"display_name": "2011 Regular Session", "site_id": "111", "start_date": "2011-01-12 00:00:00"}},
"id": "va"}

FWIW, the exact request data (albeit in quasi-Clojure) is:

http://openstates.org/api/v1/metadata/va/
{:query-params {fields name,terms,session_details, apikey e87b63526c1d4962975832b1f4e76a5f},
:headers {User-Agent Apache-HttpClient/4.1.2 (java 1.5) UnfolderBot 0.2 (robots@unfold.com)},
:as :json}

Status

Assignee

James Turk

Reporter

Alex Nelson

Components

Priority

High