Skip to content

Commit 9102275

Browse files
committed
The beginning
1 parent 9bfbc65 commit 9102275

22 files changed

Lines changed: 132 additions & 18 deletions

docs/05_advanced/readme.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Advanced Exercises
2+
3+
Now that you learned how to interact with Github Copilot, OpenHands and/or Git-Bob, find out limitations of these tools by asking for advanced tasks:
4+
5+
* Draw a Pair-Plot of all numeric columns in a table
6+
* Create a graphical user interface to explore the happiness dataset interactively
7+
* Create spinning-wheel app in the browser to select entries from a list
8+
* Create an app to edit PDFs
9+
* Create QR code for a URL
10+
* Classify images using the resnet50 deep learning model
11+
* Write a Data Management Plan for your project
12+
* Create PowerPoint Slides about Deep Learning
13+
* Create SVG-Files
14+
* Create browser game such as Snake
15+
* Create Fractal art pictures
16+
* Play Tic-Tac-Toe agains the agents
17+
18+
19+

docs/05_advanced/spoilers.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
# Spoilers
3+
4+
* [Creating a Pair-plot](https://github.com/haesleinhuepf/git-bob-playground/issues/48)
5+
6+
* [Creating a Spinning-Wheel](https://github.com/haesleinhuepf/spinning-wheel)
7+
8+
* [Browser-based PDF-Editor](https://github.com/haesleinhuepf/pdf-editor/pull/1)
9+
10+
* [Creating a QR code from a URL](https://github.com/haesleinhuepf/git-bob-playground/issues/250)
11+
12+
* [Classifying images using deep learning](https://github.com/haesleinhuepf/git-bob-playground/issues/241)
13+
14+
* [Writing a Data Management Plan](https://github.com/haesleinhuepf/git-bob-playground/issues/180)
15+
16+
* [Creating Powerpoint slides about Deep Learning](https://github.com/haesleinhuepf/git-bob-playground/issues/97)
17+
18+
* [Playing Tic-Tac-Toe](https://github.com/haesleinhuepf/git-bob-playground/issues/91)
19+
20+
* [Creating SVG-Files](https://github.com/haesleinhuepf/git-bob-playground/issues/187)
21+
22+
* [Drawing fractal art](https://github.com/haesleinhuepf/fractal-art/pull/1)

docs/_toc.yml

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,20 @@ format: jb-book
55
root: intro
66

77
parts:
8-
- caption: Setup
8+
- caption: Course Preparation
99
chapters:
10-
- file: 00_setup/readme.md
11-
12-
- caption: Python Jupyter Notebooks
13-
chapters:
14-
- file: 01_juypter_notebooks/01_our_first_juptyer_notebook.ipynb
15-
- file: 01_juypter_notebooks/02_Dont_try_this_at_home.ipynb
16-
- file: 01_juypter_notebooks/03_image_processing.ipynb
10+
- file: 01_preparation/readme
1711

18-
- caption: AI-assisted Code Generation
12+
- caption: Basic Usage
1913
chapters:
20-
- file: 02_bia_bob/bia-bob-demo.ipynb
21-
- file: 02_bia_bob/generate_notebook.ipynb
22-
- file: 02_bia_bob/translating_notebooks.ipynb
23-
- file: 02_bia_bob/documenting_code.ipynb
24-
- file: 02_bia_bob/bug_fixing.ipynb
14+
- file: github-copilot/readme
15+
- file: openhands/readme
16+
#- file: git-bob/readme
2517

26-
- caption: Use-cases
18+
- caption: Advanced Usage
2719
chapters:
28-
- file: 02_bia_bob/bia_bob-statistical_testing.ipynb
29-
- file: 02_bia_bob/gui_plots.ipynb
30-
- file: 02_bia_bob/generating_data.ipynb
20+
- file: 05_advanced/readme
21+
- file: 05_advanced/spoilers
3122

3223
- caption: Links
3324
chapters:
209 KB
Loading

docs/github-copilot/image.png

140 KB
Loading

docs/github-copilot/readme.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Github Copilot
2+
3+
## Basic plotting requests
4+
5+
First, we start by creating a new Github issue. Navigate to your repository where the world happiness data is stored and create a new issue, e.g.:
6+
7+
```
8+
You find 2015.csv, 2016.csv, ... 2019.csv and there are columns such as "Country", "Happiness Rank".
9+
10+
I would like to plot the happiness rank of neighboring countries of Germany and Germany over time.
11+
```
12+
13+
![](create_issue.png)
14+
15+
Afterwards, navigate to the [Github Copilot page](https://github.com/copilot) and ask Copilot to solve the issue:
16+
17+
![](solve_issue1.png)
18+
19+
Confirm that a cloud session is started for this:
20+
21+
![](solve_issue2.png)
22+
23+
Optionally, follow the copilot solving your issue:
24+
25+
![](solve_issue3.png)
26+
27+
![](solve_issue4.png)
28+
29+
At some point Copilot will finish and you can click on `View Pull-Request`.
30+
31+
![](solve_issue5.png)
32+
33+
Review this Pull-Request carefully, e.g. by clicking on the `Files` tab.
34+
35+
![](review_pr1.png)
36+
37+
![](review_pr2.png)
38+
39+
You can also ask Copilot for modifications.
40+
41+
![](request_changes.png)
42+
43+
Copilot will the confirm that it has seen you request:
44+
45+
![](request_changes2.png)
46+
47+
Continue the discussion with Copilot until it has shown you the plot.
48+
49+
50+
51+
52+
53+
179 KB
Loading

docs/github-copilot/review_pr1.png

191 KB
Loading

docs/github-copilot/review_pr2.png

176 KB
Loading
110 KB
Loading

0 commit comments

Comments
 (0)