Giter Club home page Giter Club logo

github-training-repository's Introduction

Github-Training-Repository

This repository is meant to be used to train new hires/volunteers on how to use Github. Reading the material and finishing the exercise should take around 6-8 hours.

Before you get started, please check that your actual name is visible on your Github profile. This way we know which account belongs to whom and when we make repositories citable your real name will be used and not your nickname.

Preparation Material

Please look at all those materials before you start the exercise.

Exercise

  1. Fork this repository
  2. Clone it to your local computer
  3. Recreate the folder structure as described in the ALLFED Guidelines
  4. Create a local virtual environment for the repository
    • When you try to install/change things make sure are activating it first!. If something related to virtual environments isn't working, always make sure that it is really activated.
  5. Create two files in the src folder: numerical.py and plotting.py
  6. Write a function in numerical.py that takes at least one argument and returns a numerical value
  7. Write a function in plotting.py that creates a scatter plot and uses the ALLFED Style Sheet
  8. Make your repository an installable package as described in Good Research Code Handbook
  9. Add a Jupyter Notebook in your scripts folder and import numerical.py and call it
  10. Write two test for numerical.py
  11. Make sure that the documenation of all code follows the ALLFED Guidelines
    • If you set-up automated documentation, you can see the status in the pages setting
  12. Automate the tests, so they run on every commit (you can just copy the files needed for that from the template
    • The files used for testing in Github Actions are hidden files. You might need to change the settings of your operation system to show you the hidden files.
    • you can play around with pytest in your terminal in VS Code
  13. Create an environment.yml that specifies how your virtual environment can be recreated and save it in the repository
  14. Send back a pull request
  15. Check back in with Morgan or Florian if you have any questions ([email protected] or [email protected])

If you get stuck at any point please reach out to one of the data scientists (either [email protected] or [email protected]).

github-training-repository's People

Contributors

florianjehn avatar juaneslamilla avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.