Created
September 30, 2010 11:44
-
-
Save bikashp/604446 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Unit document transformed after geting the result back from Mturk worker | |
{ | |
"_id": "dsk93kddjfj39o3", | |
"run_id": 234, | |
"values":[ | |
{ # Production Run Input | |
"_id": "23451sdkfj23fdsdfff", | |
"station_id": nil, | |
"results": [{"company": "Apple", "website": "http://www.apple.com"}] | |
}, | |
{ # Station 1 Results | |
"_id": "3i0ekfoepeprrr", | |
"station_id": 122, | |
"results": [{"task_id": "234s3s4sdfg", "worker_id": "234dsfsdf3424", "CEO": "Stephanie Jobs", "twitter": "Apple Systems"}] | |
}, | |
{ # Station 2 Results | |
"_id": "3i0ekfoepeprrr", | |
"station_id": 122, | |
"results": [{"task_id": "2324fsdf43", "worker_id": "435g43345fg", "CEO": "Steve Jobs", "twitter": "Apple"}] | |
} | |
] | |
} | |
# Each STATION defines a set of RULES to validate the RESULTS | |
# | |
# StationUnitValidator | |
# UnitValidator | |
# StationValidator | |
# | |
# How do all these tie together? | |
# Form | |
# Fields | |
# Input headers | |
# Station results | |
# Instruction | |
# Units | |
# Rules |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment