Skip to content

Conversation

@tracyhenry
Copy link
Collaborator

Added JQuery code to track worker behavior.

Modified Django model to store metrics(Currently store in the 'metrics' field of the CrowdWorkerResponse model).

I have tested this by using the DHC to test the crowd server alone, using psql to see if metrics have been stored into the database and running the CrowdDemo.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, I wonder if we should normalize metrics as their own model, since we might want to query over them (e.g. 'get the average response time per task grouped by task type').

What do you think? Is there a reason you chose to keep it as denormalized JSON here?

@thisisdhaas
Copy link
Collaborator

I made some comments: let's resolve them before merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants