Skip to content

JSON return format of the mobile judgments #10

@lintool

Description

@lintool

In the initial implementation, @salman1993 's format for participating teams getting back judgments from mobile assessors is:

[{"topid":"jimmy1","tweetid":"875784501338660865","rel":1},
{"topid":"jimmy1","tweetid":"876849256283459584","rel":2}]

A few requested changes:

  • let's have 0 = non-relevant, 1 = redundant, and 2 = relevant. Currently, 1 and 2 are swapped - yes, I know this makes it inconsistent from previous tracks, but this makes more sense.
  • can we have pushed time and assessed time in the output?

Point of discussion:

In the current design, each participating team issues a REST API call to fetch all assessments for all topics. This means that each participating team must keep track of what assessments are new, i.e., since the last time they called the API. This is a deliberate decision since keeping state on our end would add an additional layer of complexity.

The downside, of course, is that the response JSON gets bigger and bigger as judgments accumulate...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions