CODECHECK is a process for independent execution of computations underlying scholarly research articles.
This repository contains the sources for the project website at codecheck.org.uk and graphic files of the project.
Note: the website currently must be built by GitHub pages, and therefore is named codecheckers.github.io, because only then can project repositories easily be built as subpages, e.g., https://codecheck.org.uk/register.
Pages cannot be built with Travis CI from master branch into a gh-pages branch.
Find the source files for the CODECHECK logo and badge in the following directories in this repository:
logobadge
All graphics unless noted otherwise are published under a Creative Commons Attribution 4.0 International license (CC BY 4.0).
The "CODECHECK green" is #008033, or CMYB(100%, 0%, 60%, 50%), HSL(144, 100%, 25%), RGBA(0, 128, 51, 1), \rgb{0, 0.5, 0.2}.
The figures used on the website are at https://drive.google.com/drive/folders/1XUsfF9ZlZ_dwLTJxu_PIcq-3hEldI3d-?usp=sharing
See Makefile for commands to build and view the site locally with Jekyll.
If you want to override a file from the minima-reboot template, run bundle info minima-reboot to see where the bundle files are and copy it into this project.
- Jekyll GitHub pages: https://jekyllrb.com/docs/github-pages
minima-reboottheme: https://github.com/aterenin/minima-reboot
Prerequisites:
ruby(3.3, as in CI) andruby-dev- the headers are needed to compile the native extensions of gems such asbigdecimalandstrscan; without thembundle installfails withmkmf.rb can't find header files for ruby- a C compiler and
make(Debian/Ubuntu:build-essential) - gem
bundler - for the tests (
make test,make screenshots):python3(standard library only) and Google Chrome or Chromium - for
make checklinks: Docker
On Debian/Ubuntu:
sudo apt install ruby ruby-dev build-essentialbundle installWith a system Ruby, the default gem directory (e.g. /var/lib/gems) is not writable for normal users and bundle install stops with a Bundler::PermissionError.
Install the gems into your home directory instead:
export BUNDLE_PATH=~/.local/share/bundle
bundle installand keep BUNDLE_PATH set for the make commands below.
Use one of
make preview # http://localhost:4000 with live reload
make build
make test # the tests that also run in CImake archive # all published pages, one every 10 seconds
make archive ARGS=--dry-run # only list the pages
make archive DELAY=30 # slower, if the Wayback Machine answers 429asks the Internet Archive's Wayback Machine to capture every page of the published site (not the register), using "Save Page Now".
The list of pages is the published sitemap, https://codecheck.org.uk/sitemap.xml, which the jekyll-sitemap plugin writes: pages and PDFs, without redirect pages.
To preview the list from a local build, run make build, then make archive ARGS="--dry-run --sitemap _site/sitemap.xml".
Anonymous requests are rate-limited more strictly; with S3-style keys from https://archive.org/account/s3.php in IA_ACCESS_KEY and IA_SECRET_KEY, the authenticated API is used.
Run it after larger changes to the website, so that the archived copies stay current.
Without a local Ruby, run
docker compose upand open the website at http://localhost:4000.
It uses the ruby:3.3 image (the Ruby of CI), installs the gems from Gemfile.lock on the first start (into the bundle volume, so later starts are quick) and runs jekyll serve with the same Jekyll 3.10 as make preview and GitHub Pages.
The container runs as user and group 1000, so _site/ stays yours; if your IDs differ, run HOST_UID=$(id -u) HOST_GID=$(id -g) docker compose up.
After a change to Gemfile.lock, restart the container to install the new gems.
A good source for news entries are published articles that reference a CODECHECK certificate in their text, e.g. the Wind Energy Science articles that state "This paper includes verified computational reproducibility, confirmed through an independent CODECHECK process". Searching for these is worth repeating roughly once or twice a year, collecting the new references since the previous round into one news item.
How to search:
- Google Scholar for
"CODECHECK certificate"and variants - the only index that searches publisher full texts, but it needs a real browser. - Europe PMC and OpenAlex full-text APIs, plus OpenAlex citations of the certificate records themselves (certificates are indexed as works).
- The register (
https://codecheck.org.uk/register/register.json) lists every check with its paper DOI, so recently checked papers can be inspected directly.
Always verify a hit in the actual full text, and distinguish papers citing their own certificate from papers citing someone else's as an example.
Local tooling for this lives in .scholar/ (git-ignored, not part of the site):
a Playwright-based Scholar client with a persistent browser profile, the API
queries above, and a recipe for element-precise paragraph screenshots.
See .scholar/README.md.
Except where otherwise this repository is licensed under a Creative Commons Attribution Share-Alike 4.0 International License.
