Skip to content

Commit

Permalink
Remove unused helper function test files
Browse files Browse the repository at this point in the history
  • Loading branch information
andrie committed Jul 22, 2024
1 parent 7f6872a commit 0ea7a3f
Show file tree
Hide file tree
Showing 29 changed files with 2,983 additions and 364 deletions.
2,951 changes: 2,951 additions & 0 deletions _ex/ex-2-debug.html

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
33 changes: 3 additions & 30 deletions exercises/2-debug.qmd → exercises/_2-debug.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -9,72 +9,45 @@ import os
os.chdir("..")
from helpers import problem_tabs_core, problem_tabs_express
def gs_problems(file):
problem_tabs_core(f"1-getting-started/{file}")
```
## testing testing testing

```{shinylive-python}
#| viewerHeight: 600
#| components: [editor, viewer, terminal]
#| standalone: true
from shiny.express import input, render, ui
ui.input_slider("n", "N", 0, 100, 20)
@render.code
def txt():
return f"n*2 is {input.n() * 2}"
```

## Exercise 1.1 - Add a data frame

```{python}
# | echo: false
# | output: asis
problem_tabs_core("1-getting-started/1.1-data-frame")
```

## Exercise 1.2 - Debug


```{python}
# | echo: false
# | output: asis
# gs_problems("1.2-debug")
problem_tabs_core("1-getting-started/1.2-debug")
```



## Exercise 1.3 - Debug

```{python}
# | echo: false
# | output: asis
gs_problems("1.3-debug")
```

## Exercise 1.4 - Debug

```{python}
# | echo: false
# | output: asis
gs_problems("1.4-debug")
```

## Exercise 1.5 - Debug
```{python}
# | echo: false
# | output: asis
gs_problems("1.5-debug")
```
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
141 changes: 0 additions & 141 deletions exercises/_express/express-1-hello-world.ipynb

This file was deleted.

63 changes: 0 additions & 63 deletions exercises/_express/express-5-reactive-effect.ipynb

This file was deleted.

8 changes: 2 additions & 6 deletions exercises/express-01-hello-world.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,10 @@ title: "Hello Shiny"

```{python}
# | echo: false
# | output: asis
import os
os.chdir("../")
from helpers import problem_tabs_core, problem_tabs_express
```

```{python}
# | echo: false
# | output: asis
problem_tabs_express("1.0-hello-world")
```
```
12 changes: 2 additions & 10 deletions exercises/express-02-debug.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,12 @@ title: "Render data frame"

```{python}
# | echo: false
# | output: asis
import os
os.chdir("../")
from helpers import problem_tabs_core, problem_tabs_express
```

```{python}
# | echo: false
# | output: asis
problem_tabs_express("1.1-data-frame")
```

```{python}
# | echo: false
# | output: asis
problem_tabs_express("1.2-debug")
```
22 changes: 1 addition & 21 deletions exercises/express-03-filter.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,13 @@ title: "Add input element"

```{python}
# | echo: false
# | output: asis
import os
os.chdir("../")
from helpers import problem_tabs_core, problem_tabs_express
```
```{python}
# | echo: false
# | output: asis
problem_tabs_express("1.3-filter-input")
```

```{python}
# | echo: false
# | output: asis
problem_tabs_express("1.4-connect-filter-input")
```

```{python}
# | echo: false
# | output: asis
problem_tabs_express("1.5-debug")
```

```{python}
# | echo: false
# | output: asis
problem_tabs_express("1.6-debug")
```
7 changes: 1 addition & 6 deletions exercises/express-04-plot.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,10 @@ title: "Add plot"

```{python}
# | echo: false
# | output: asis
import os
os.chdir("../")
from helpers import problem_tabs_core, problem_tabs_express
```


```{python}
# | echo: false
# | output: asis
problem_tabs_express("1.7-add-plot")
```
Loading

0 comments on commit 0ea7a3f

Please sign in to comment.