Skip to content

Conversation

@vbrodsky
Copy link
Contributor

@vbrodsky vbrodsky commented Feb 20, 2023

JIRA story: https://labelbox.atlassian.net/browse/AL-4862

This removes uuid generation from notebook ndjson. It is not necessarty any more because we already support filling in uuids in the prediction service

I WAS going to followup, in this PR, and remove uuid's from sdk tests and test harnesses, but that led to many tests failing. Most of our NDJSON serialization classes generate a uuid by default. And this is not a problem, since our effort goes to making our customer life simpler in notebooks in literal NDJSON strings... So the I have left the sdk tests as is, and when we use NDJSON objects, those will come with uuid pre-populated

@vbrodsky vbrodsky added the hold do not review yet! label Feb 20, 2023
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@vbrodsky vbrodsky force-pushed the VB/remove-uuid-notebooks_AL-4862 branch from a4e2042 to 0b87dc7 Compare February 20, 2023 18:24
@vbrodsky vbrodsky requested a review from whistler February 20, 2023 19:04
"metadata": {},
"source": [
"pairs = get_label_pairs(val_labels, labels_mea, filter_mismatch = True)\n",
"pairs = lb.get_label_pairs(val_labels, labels_mea, filter_mismatch = True)\n",
Copy link
Contributor

@whistler whistler Feb 20, 2023

Choose a reason for hiding this comment

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

Functions related to metrics are not included in the lb namespace since this has mostly been replaced by autometrics.

This is how it can be imported instead:

from labelbox.data.metrics.group import get_label_pairs

You can also leave out this change, I can fix this for the rest of get_label_pairs usages in notebooks. Looks like this was the only case.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks, @whistler . I will do the import you suggest... o.w. the notebooks it broken (I will test it in python, since this notebook does not run to my knowlesge)

@vbrodsky vbrodsky merged commit e5bd2fb into develop Feb 20, 2023
@vbrodsky vbrodsky deleted the VB/remove-uuid-notebooks_AL-4862 branch February 20, 2023 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hold do not review yet!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants