scikit-learn-mooc icon indicating copy to clipboard operation
scikit-learn-mooc copied to clipboard

List of hypothesis annotations

Open lesteve opened this issue 3 years ago • 4 comments

Those are all the public annotations on our github-pages: https://hypothes.is/groups/world/public?q=url%3Ahttps%3A%2F%2Finria.github.io%2Fscikit-learn-mooc%2F*#

I only recently saw some of @ogrisel annotations thanks to this link.

I don't know how hypothesis annotations will interact with Github issues but we'll see. I certainly think annotations are nice when reading the MOOC content to note small problems without having each time to create a github issue.

Related to #94.

lesteve avatar Dec 16 '20 11:12 lesteve

We should to a refresh of them. I think that they are all addressed. I think this is better to keep the issue open and just update the annotation with hypothesis.

glemaitre avatar Feb 23 '21 11:02 glemaitre

So one limitation with hypothesis is that only the creator can delete (or edit e.g. add a tag) its annotations. There are some Python wrapper e.g. https://github.com/judell/Hypothesis that could make it easier to do it in bulk. The REST API doc for deleting an annotation is here: https://h.readthedocs.io/en/latest/api-reference/v1/#tag/annotations/paths/~1annotations~1{id}/delete

It seems like @LilianBoulard has deleted plenty of its original annotations, there are now 40 and there were 100+ IIRC. Did you do it by hand @LilianBoulard or with a Python wrapper?

lesteve avatar Mar 02 '21 07:03 lesteve

https://jonudell.info/h/facet is a web UI that allows to delete other people annotations provided that they have shared their Hypothesis token so maybe that is the simplest thing to do:

  • generate your hypothesis token going to https://hypothes.is/account/developer (you need to log in first) and share your hypothesis token (we could put it in the gitlab for example)
  • use https://jonudell.info/h/facet and the subject_users field with the hypothesis tokens of everyone involved. See https://jonudell.info/h/facet.mp4 starting at 3:48 for more details

lesteve avatar Mar 02 '21 08:03 lesteve

It seems like @LilianBoulard has deleted plenty of its original annotations, there are now 40 and there were 100+ IIRC. Did you do it by hand @LilianBoulard or with a Python wrapper?

Hi Sorry this is not the best answer, but yes, I removed them by hand !

LilianBoulard avatar Mar 02 '21 09:03 LilianBoulard