FLOIP / flow-results

Open specification for the exchange of "Results" data generated by mobile platforms using the "Flow" paradigm
6 stars 2 forks source link

Provide optional support for a Session ID #5

Closed markboots closed 6 years ago

markboots commented 6 years ago

Lots of systems track the concept of a session with the Contact. It could be useful to have a common way of recording which Responses are associated with a session.

From @ggiraldez on https://github.com/FLOIP/flow-results/pull/2 :

Do we want to indicate correlation of responses to a particular contact session with the capture tool? This would require a new column in the response rows. Should be optional since the concept of session would not be implement by all tools.

Some options we discussed on the call today:

I could live with all of these, as could the group on the call today. @ewheeler picked option 3 for us from his 3-sided coin. @nicpottier , @ukanga , do you have any suggestions?

pld commented 6 years ago

I don't think this is important, but I'd go w/option 2

markboots commented 6 years ago

Discussed today on call (2018-03-01):

Proposal: because session IDs are (almost universally) common, make these a new first-order column in the spec.

Question: Should they be required, or can a platform send NULL for a session_id if it doesn't have that concept?

-- Hypothesis A: null is OK if you don't have a session-like concept... Ona will fill it in with e.g. the row ID, which will not be that helpful as every response will be seen as a separate submission -- Hypothesis B: Avoid this because the data aggregator is changing the submitted data. Leave it up to the client to generate

On call, leaning to the proposal with Hypothesis A, as it would work with flexibility for the most systems. However, we are optimizing for allowing no session IDs, and can't think of any application without session IDs. This seems funny.

@nditada , any thoughts?

markboots commented 6 years ago

Location of added column: insert after Column 3:

markboots commented 6 years ago

Recapping our final decision from the group calls:

markboots commented 6 years ago

Fixed in https://github.com/FLOIP/flow-results/pull/27