Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modified flags #82

Open
fgregg opened this issue Mar 15, 2017 · 5 comments
Open

modified flags #82

fgregg opened this issue Mar 15, 2017 · 5 comments
Labels

Comments

@fgregg
Copy link
Contributor

fgregg commented Mar 15, 2017

Sometimes the source text for motions and bills are incomprehensible. It's been Open States practice to rewrite for human readability.

As a data user, I want to know the provenance of the information. If motion or bill title has been rewritten for clarity, I want to know that, and I'd also like to know the original text.

@showerst proposed adding an attribute like this to objects with modified texts (in his example a motion). { "modified" : {"motion": "cp/h lwr"}}

@jamesturk suggested that we use the existing extras field for this, since we may not be ready to standardize on this practice.

I'm curious to hear @jpmckinney's thoughts, as this would effect objects that are part of popolo (which we strive to maintain compatibility with).

@showerst
Copy link
Contributor

showerst commented Mar 15, 2017

Just brainstorming here. We need to know:

  1. That something was modified
  2. What field was modified
  3. Do we care why? ("readability" "deduplication"), etc.
  4. Do we need to datestamp when we changed the code to start modifying? We don't really do anything like that elsewhere so gut feel is no.

Ideally we'd be able to add this to anything, including nested objects, i think the biggest culprits are action names, bill version titles, and vote motions.

@jamesturk
Copy link
Member

jamesturk commented Mar 15, 2017 via email

@jpmckinney
Copy link
Member

It depends on what we're trying to track. If we just want edit histories (like with a wiki article in which user X makes change Y for reason Z) then we'd probably want a log of changes along the lines of the many implementations of edit histories. This sort of log is not in the same scope as "how to model a person". An API might provide a person's properties along with a change log, but these are really two kinds of information.

If we're trying to track real world changes over time (like a person retiring), that falls into the modeling discussion. With Popolo, we try to keep to an "append-only" model, so that we're not editing or deleting values. In the case of a retirement, we'd just append an end date to the person's membership. There's some discussion about adding an end_event field to Membership to track what caused the end date (retirement) and its source (news article).

If we're trying to add editorial or informative information to a record, that also falls into the modeling discussion, but in this case we need to acknowledge that we're not modeling some real world observable fact (like the bizarre abbreviations and jargon used by legislatures); rather, we're modeling an interpretation or translation of the observable fact. That's a semantic difference, and therefore the translation/interpretation needs to be modeled with new properties.

@fgregg
Copy link
Contributor Author

fgregg commented Mar 15, 2017

If we're trying to add editorial or informative information to a record, that also falls into the modeling discussion, but in this case we need to acknowledge that we're not modeling some real world observable fact (like the bizarre abbreviations and jargon used by legislatures); rather, we're modeling an interpretation or translation of the observable fact. That's a semantic difference, and therefore the translation/interpretation needs to be modeled with new properties.

Could you expand on what you mean by "translation/interpretation needs to be modeled with new properties."

@jpmckinney
Copy link
Member

For example, if you were to summarize the text of a bill, I would create a new property for that, like dcterms:abstract.

@jpmckinney jpmckinney added the meta label May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

4 participants