codecheckers / register

Register of CODECHECK certificates
https://codecheck.org.uk/register/
Other
6 stars 2 forks source link

Certificate page as part of the register #37

Closed nuest closed 1 week ago

nuest commented 3 years ago

This is then base for an "overlay journal" kind of website, see codecheckers/discussion#29.

New pages needed:

https://codecheck.org.uk/certificate/2020-001 or https://codecheck.org.uk/register/2020-001 or https://cdchck.org/cert/2020-001

Would probably also solve codecheckers/register#23.

Layout

Somewhere between ReScience C and JOSS:

image

image

nuest commented 3 years ago

Should this URL also be used for the link behind the badge? The DOI is certainly more sustainable.

angelina-momin commented 5 months ago

@nuest can you specify how you want to display the multi-page JPEG? The idea I had was having buttons to navigate through the different jpeg images of the certificate. This is the html I created so far. Can you let me know what you and @sje30 think?

Screenshot 2024-06-27 at 13 58 14 Screenshot 2024-06-27 at 13 58 43

Additionally could you specify the following:

sje30 commented 4 months ago

this looks very cool.

Couple of points in my mind:

  1. Going forward, if we switch to having our codecheck package use quarto templates to generate both html and pdf versions of certs, would that be helpful to this process (or make it redundant). I'm wary that our codecheck.Rmd approach works but is very clunky and would like to do something a bit nicer / cross-platform.
  2. is it easy to always get the abstract of the underlying paper? If not, I'd suggest not prioritising work on where the abstract goes (it looks nice where it is).
nuest commented 4 months ago

Thanks for the nice mockups!

Re. placement: Looks fine! I think we could, below the abstract, also show the codecheck summary, which we have in the codecheck.yml file. That would give us some nice indexing in search engines, I hope.

Re. full citation: I would put that at the top, because it also takes care of showing the certificate authors. Not sure if #82 would be overkill now or actually easier than coming up with a full citation ourselves.

nuest commented 4 months ago

One more thing re. Stephens comment on switching to Quarto: In that case it might be good now to integrate the preview based on an HTML file that is stored somewhere. For now, the HTML will just show the first page of the PDF as a preview, and later we can simply store the Quarto output in the HTML file (I generously use the term "simple" here ;-) ).

nuest commented 3 months ago

Zenodo has a rate limit, see https://developers.zenodo.org/#update-schedule

Therefor, let's limit our requests to Zenodo to one per second.

nuest commented 2 months ago

There was a discussion in #23 about the URL and we agreed on the following format:

codecheck.org.uk/register/certs/2020-001

This puts certs on the same level as other resources, e.g., venues, checkers.

angelina-momin commented 2 months ago

@nuest I noticed that there is variation in the codecheck repo file structures on zenodo. So for some of the zenodo repo there are two files: the codecheck.pdf and a zip folder while for other zenodo repos we have just a zip folder.

As a result the function to retrieve the certificate pdf now downloads the zip folder if there exists no codecheck.pdf file outside the folder and then looks for the pdf file inside this folder.

Should I leave the code as such for now? And will there be changes in the future on the zenodo repos to create consistency in the file structures for all codecheck certs?

nuest commented 2 months ago

The reason for these two variants: sometimes codecheckers use the GitHub-Zenodo-Integration to deposit the whole repository, with the PDF in it, and sometimes codecheckers render a PDF locally and upload only that to Zenodo, possibly with additional material (like a zip file of the repo) next to it. I prefer to keep it this flexible and leave room for the codecheckers to choose what makes most sense for the check at hand.

Therefore: I think we need a little bit of flexibility on the side of the register here.

However, I'm actually not really keen on storing copies of all the PDFs in the register... would you say it's feasible to embed PDFs only where there is one directly accessible via URL, e.g. in https://zenodo.org/api/records/13364677 one can use https://zenodo.org/api/records/13364677/files/codecheck.pdf/content and in other cases (i.e., where there is a ZIP file) just show a "no preview available, please visit http://zenodo...." ?

nuest commented 1 month ago

Work in progress at https://github.com/codecheckers/codecheck/pull/71