-
Notifications
You must be signed in to change notification settings - Fork 5
19 stats map visualization #339
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
base: main
Are you sure you want to change the base?
Conversation
|
@nathanielrindlaub here is an update on current state: Changes:
Todo:
|
|
@sandrahoang686 - totally open to suggestions and alternative approaches, but I did some thinking and outlined some steps for one way we could wire this up to the backend. Summary of the current Stats Dashboard dataflow:When a user opens the Stats Dashboard, the tasks: {
imagesStats: {
imageCount: 7939,
imageReviewCount: {
reviewed: 56,
notReviewed: 7883
},
imageLabelList: {
fox: 17,
empty: 4300,
person: 40,
...
},
objectCount: 7808,
objectReviewCount: {
reviewed: 56,
notReviewed: 7752
},
objectLabelList: {
fox: 17,
empty: 4300,
person: 43,
...
},
imageReviewerList: <reviewer_list>,
multiReviewerCount: 1
},
burstStats: null,
independentDetectionStats: null,
...
}If users then toggle the "Burst" or "Independent Detections" tabs, we perform new fetches and flesh out tasks: {
...
burstsStats: { // after clicking burst tab, this data is enriched
burstCount: 2308,
burstLabelList: {
person: 22,
empty: 1528,
fox: 12,
...
}
}
...
}For the maps, we primarily care about modifying the Where we need to go:I think in order to break out the Label counts by deployment and at each different aggregation level, we could do the following:
imageLevelStats: {
<deploymentId1>: { <labelId1>: 1, <labelId2>: 2, ... },
<deploymentId2>: { <labelId1>: 1, <labelId2>: 2, ... },
...
}
objectLevelStats: {
<deploymentId1>: { <labelId1>: 1, <labelId2>: 2, ... },
<deploymentId2>: { <labelId1>: 1, <labelId2>: 2, ... },
...
}
|
|
@nathanielrindlaub thank you for the detailed outline of thoughts! 😮 💯 . This all does make sense to me and currently i can't think of another way of doing this better. Might be able to refine or have thoughts to optimize when in progress. But just to clarify on the shape of the api responses more... for example ... Then we get just get the count by each label regardless of deployment by sorting logic in the frontend? OR Do we want to keep the original response as is and just add the label list by deployment level on top of it... |

Related Ticket: #19