{"id":26766067,"url":"https://github.com/ucl/rsd-engineeringcourse","last_synced_at":"2025-04-04T21:05:19.604Z","repository":{"id":11767480,"uuid":"14303204","full_name":"UCL/rsd-engineeringcourse","owner":"UCL","description":"Course materials for Research Software Engineering course.","archived":false,"fork":false,"pushed_at":"2025-02-12T19:30:07.000Z","size":100148,"stargazers_count":125,"open_issues_count":53,"forks_count":110,"subscribers_count":26,"default_branch":"main","last_synced_at":"2025-03-28T20:18:55.837Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":"http://github-pages.ucl.ac.uk/rsd-engineeringcourse/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/UCL.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-11-11T14:37:20.000Z","updated_at":"2025-03-27T19:03:02.000Z","dependencies_parsed_at":"2023-09-22T04:13:32.964Z","dependency_job_id":"65795120-95f3-4de3-9d7a-cb4a400e94f2","html_url":"https://github.com/UCL/rsd-engineeringcourse","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UCL%2Frsd-engineeringcourse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UCL%2Frsd-engineeringcourse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UCL%2Frsd-engineeringcourse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UCL%2Frsd-engineeringcourse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UCL","download_url":"https://codeload.github.com/UCL/rsd-engineeringcourse/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247249524,"owners_count":20908212,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest"],"created_at":"2025-03-28T20:19:00.718Z","updated_at":"2025-04-04T21:05:19.582Z","avatar_url":"https://github.com/UCL.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rsd-engineeringcourse\n\nCourse materials for Research Software Engineering course.\n\n\n## Content:\n\nIn this course, you will move beyond programming, to learn how to construct reliable, readable, efficient research software in a collaborative environment. The emphasis is on practical techniques, tips, and technologies to effectively build and maintain complex code. This is a semester module (30 hours over 10 half-days), intensive, practical course. The content of each of the 10 half-day units is as follows:\n\n1. Code management. Distributed version control. Git. Github\n1. Collaborating around code. Issue tracking. Code review and pull requests. Branches and merging\n1. Introduction to Python and Scientific programming\n1. Analysing and plotting Research data \n1. Testing scientific software. Unit testing, regression testing. Test-driven design. Expectations and assertions. Mocking. Build-and-test servers. Negative testing. Sensible error messages. Setting up Continuous Integration.\n1. Documenting software projects. Managed logging. Debugging and debuggers. Coverage measurement. Finding errors in the past.\n1. Writing libraries and creating packages. Software licenses. Citing software. Software sustainability. Comments. Coding conventions. \n1. Software as engineering. Pragmatic use of diagram languages. Requirements engineering. Agile and Waterfall. Functional and architectural design.\n1. Best practice in construction. Design and development. Object-oriented design. \n1. Analysing performance. Profiling code. Developing faster code.\n\n## Prerequisites:\n\n- You must have reasonable experience in at least one compiled language, such as C++, C, or Fortran, and at least one dynamic language, such as Python, Ruby, Matlab or R.\n- You must also have experience of the Unix shell.\n\nExamples and exercises for this course will be provided in Python.  You will therefore find it easiest to follow along if you have experience in it. Appropriate Python experience could be obtained from the Software Carpentry workshops. Previous experience with version control (such as from Software Carpentry) would be helpful.\n\nYou are required to bring your own laptop to the course as the classrooms we are using do not have desktop computers.\n\n# Contributing to this repository\n\nThis repository contains the course notes as Jupyter notebooks converted into `py:percent` format. This allows to edit the files as plain text as well as jupyter notebooks. To edit them as jupyter notebooks you'll need to have installed jupytext and open the `ipynb.py` files as notebooks via right-click and select \"open with\" and \"notebook\" on the Jupyter file browser.\n\n⚠ Do not run `make` locally on your computer! ⚠ \n\nIt will produce side effects on your global git configuration!\nInstead, follow the instructions below.\n\n## Testing it locally\n\nThe site is built using gh-actions. If you'd like to test the actions locally,\nyou can run the actions using [`act`](https://github.com/nektos/act) command\ntool. By default this will run the action in a copy of the repository and you\nwon't be able to inspect the steps that happened. If you'd like to keep the\noutput in the current directory, use the `-b` (bind) flag.\n\n```bash\n$ act -b\n[Build website/Build-website] 🚀  Start image=catthehacker/ubuntu:act-latest\n[Build website/Build-website]   🐳  docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=[\"/usr/bin/tail\" \"-f\" \"/dev/null\"] cmd=[]\n[Build website/Build-website] ⭐  Run actions/checkout@v2\n[Build website/Build-website]   ✅  Success - actions/checkout@v2\n[Build website/Build-website] ⭐  Run actions/cache@v2\nINFO[0000]   ☁  git clone 'https://github.com/actions/cache' # ref=v2 \n[Build website/Build-website]   ✅  Success - actions/cache@v2\n[Build website/Build-website] ⭐  Run Install TeXLive\nINFO[0000]   ☁  git clone 'https://github.com/DanySK/setup-texlive-action' # ref=0.1.1 \n[Build website/Build-website]   ✅  Success - Install TeXLive\n[Build website/Build-website] ⭐  Run Setup Python\nINFO[0001]   ☁  git clone 'https://github.com/actions/setup-python' # ref=v2 \n[Build website/Build-website]   ✅  Success - Setup Python\n[Build website/Build-website] ⭐  Run Install dependencies\nINFO[0001]   ☁  git clone 'https://github.com/py-actions/py-dependency-install' # ref=v2 \n[Build website/Build-website]   ✅  Success - Install dependencies\n[Build website/Build-website] ⭐  Run Building notes\n[Build website/Build-website]   ✅  Success - Building notes\n[Build website/Build-website] ⭐  Run Builds website\nINFO[0001]   ☁  git clone 'https://github.com/helaili/jekyll-action' # ref=v2 \n[Build website/Build-website]   🐳  docker run image=act-helaili-jekyll-action-v2:latest platform= entrypoint=[] cmd=[]\n[Build website/Build-website]   ✅  Success - Builds website\n```\n\nAlternatively, if you want to only run the jekyll build step once you've run the whole action, you can use the official jekyll containers with:\n\n```bash\n$ docker run --rm --volume=\"$PWD:/srv/jekyll\" --volume=\"$PWD/vendor/bundle:/usr/local/bundle\" -p 4000:4000 -it jekyll/jekyll:latest jekyll serve\n```\n\nand open http://localhost:4000/rsd-engineeringcourse (or the link provided).\nNote that this is mounting the `bundle` directory where `act` will create them.\n\n\n# Migration from jupyter notebooks to py:percent\n\nUsing `jupytext` we've converted all the jupyter notebooks into plain text python files (py:percent) with:\n\n```bash\n# First cleaned all outputs and commited it\nnbstripout --extra-keys metadata.kernelspec ch*/*ipynb\n# convert them\nfind ./ -iname '*ipynb' -exec jupytext --opt notebook_metadata_filter=\"kernelspec,jupytext,jekyll\" --to py:percent {} -o {}.py \\;\n# then deleted the ipynb\nfind ./ -iname '*ipynb' -delete\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fucl%2Frsd-engineeringcourse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fucl%2Frsd-engineeringcourse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fucl%2Frsd-engineeringcourse/lists"}