feat(curriculum): restore seed + solution to Chinese (#40683)

* feat(tools): add seed/solution restore script

* chore(curriculum): remove empty sections' markers

* chore(curriculum): add seed + solution to Chinese

* chore: remove old formatter

* fix: update getChallenges

parse translated challenges separately, without reference to the source

* chore(curriculum): add dashedName to English

* chore(curriculum): add dashedName to Chinese

* refactor: remove unused challenge property 'name'

* fix: relax dashedName requirement

* fix: stray tag

Remove stray `pre` tag from challenge file.

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
This commit is contained in:
Oliver Eyton-Williams
2021-01-13 03:31:00 +01:00
committed by GitHub
parent 0095583028
commit ee1e8abd87
4163 changed files with 57505 additions and 10540 deletions

View File

@ -3,6 +3,7 @@ id: 5e9a093a74c4063ca6f7c14d
title: Data Analysis Example A
challengeType: 11
videoId: nVAaxZ34khk
dashedName: data-analysis-example-a
---
# --description--

View File

@ -3,6 +3,7 @@ id: 5e9a093a74c4063ca6f7c14e
title: Data Analysis Example B
challengeType: 11
videoId: 0kJz0q0pvgQ
dashedName: data-analysis-example-b
---
# --description--

View File

@ -3,6 +3,7 @@ id: 5e9a093a74c4063ca6f7c160
title: Data Cleaning and Visualizations
challengeType: 11
videoId: mHjxzFS5_Z0
dashedName: data-cleaning-and-visualizations
---
# --description--

View File

@ -3,6 +3,7 @@ id: 5e9a093a74c4063ca6f7c15f
title: Data Cleaning Duplicates
challengeType: 11
videoId: kj7QqjXhH6A
dashedName: data-cleaning-duplicates
---
# --description--

View File

@ -3,6 +3,7 @@ id: 5e9a093a74c4063ca6f7c15d
title: Data Cleaning Introduction
challengeType: 11
videoId: ovYNhnltVxY
dashedName: data-cleaning-introduction
---
# --description--

View File

@ -3,6 +3,7 @@ id: 5e9a093a74c4063ca6f7c15e
title: Data Cleaning with DataFrames
challengeType: 11
videoId: sTMN_pdI6S0
dashedName: data-cleaning-with-dataframes
---
# --description--

View File

@ -3,6 +3,7 @@ id: 5e9a093a74c4063ca6f7c14f
title: How to use Jupyter Notebooks Intro
challengeType: 11
videoId: h8caJq2Bb9w
dashedName: how-to-use-jupyter-notebooks-intro
---
# --description--

View File

@ -3,6 +3,7 @@ id: 5e9a093a74c4063ca6f7c14c
title: Introduction to Data Analysis
challengeType: 11
videoId: VJrP2FUzKP0
dashedName: introduction-to-data-analysis
---
# --description--

View File

@ -3,6 +3,7 @@ id: 5e9a093a74c4063ca6f7c150
title: Jupyter Notebooks Cells
challengeType: 11
videoId: 5PPegAs9aLA
dashedName: jupyter-notebooks-cells
---
# --description--

View File

@ -3,6 +3,7 @@ id: 5e9a093a74c4063ca6f7c151
title: Jupyter Notebooks Importing and Exporting Data
challengeType: 11
videoId: k1msxD3JIxE
dashedName: jupyter-notebooks-importing-and-exporting-data
---
# --description--

View File

@ -3,6 +3,7 @@ id: 5e9a093a74c4063ca6f7c157
title: Numpy Algebra and Size
challengeType: 11
videoId: XAT97YLOKD8
dashedName: numpy-algebra-and-size
---
# --description--

View File

@ -3,6 +3,7 @@ id: 5e9a093a74c4063ca6f7c154
title: Numpy Arrays
challengeType: 11
videoId: VDYVFHBL1AM
dashedName: numpy-arrays
---
# --description--

View File

@ -3,6 +3,7 @@ id: 5e9a093a74c4063ca6f7c156
title: Numpy Boolean Arrays
challengeType: 11
videoId: N1ttsMmcVMM
dashedName: numpy-boolean-arrays
---
# --description--

View File

@ -3,6 +3,7 @@ id: 5e9a093a74c4063ca6f7c152
title: Numpy Introduction A
challengeType: 11
videoId: P-JjV6GBCmk
dashedName: numpy-introduction-a
---
# --description--

View File

@ -3,6 +3,7 @@ id: 5e9a093a74c4063ca6f7c153
title: Numpy Introduction B
challengeType: 11
videoId: YIqgrNLAZkA
dashedName: numpy-introduction-b
---
# --description--

View File

@ -3,6 +3,7 @@ id: 5e9a093a74c4063ca6f7c155
title: Numpy Operations
challengeType: 11
videoId: eqSVcJbaPdk
dashedName: numpy-operations
---
# --description--

View File

@ -3,6 +3,7 @@ id: 5e9a093a74c4063ca6f7c15b
title: Pandas Conditional Selection and Modifying DataFrames
challengeType: 11
videoId: BFlH0fN5xRQ
dashedName: pandas-conditional-selection-and-modifying-dataframes
---
# --description--

View File

@ -3,6 +3,7 @@ id: 5e9a093a74c4063ca6f7c15c
title: Pandas Creating Columns
challengeType: 11
videoId: _sSo2XZoB3E
dashedName: pandas-creating-columns
---
# --description--

View File

@ -3,6 +3,7 @@ id: 5e9a093a74c4063ca6f7c15a
title: Pandas DataFrames
challengeType: 11
videoId: 7SgFBYXaiH0
dashedName: pandas-dataframes
---
# --description--

View File

@ -3,6 +3,7 @@ id: 5e9a093a74c4063ca6f7c159
title: Pandas Indexing and Conditional Selection
challengeType: 11
videoId: '-ZOrgV_aA9A'
dashedName: pandas-indexing-and-conditional-selection
---
# --description--

View File

@ -3,6 +3,7 @@ id: 5e9a093a74c4063ca6f7c158
title: Pandas Introduction
challengeType: 11
videoId: 0xACW-8cZU0
dashedName: pandas-introduction
---
# --description--

View File

@ -3,6 +3,7 @@ id: 5e9a093a74c4063ca6f7c164
title: Parsing HTML and Saving Data
challengeType: 11
videoId: bJaqnTWQmb0
dashedName: parsing-html-and-saving-data
---
# --description--

View File

@ -3,6 +3,7 @@ id: 5e9a093a74c4063ca6f7c166
title: Python Functions and Collections
challengeType: 11
videoId: NzpU17ZVlUw
dashedName: python-functions-and-collections
---
# --description--

View File

@ -3,6 +3,7 @@ id: 5e9a093a74c4063ca6f7c165
title: Python Introduction
challengeType: 11
videoId: PrQV9JkLhb4
dashedName: python-introduction
---
# --description--

View File

@ -3,6 +3,7 @@ id: 5e9a093a74c4063ca6f7c167
title: Python Iteration and Modules
challengeType: 11
videoId: XzosGWLafrY
dashedName: python-iteration-and-modules
---
# --description--

View File

@ -3,6 +3,7 @@ id: 5e9a093a74c4063ca6f7c162
title: Reading Data CSV and TXT
challengeType: 11
videoId: ViGEv0zOzUk
dashedName: reading-data-csv-and-txt
---
# --description--

View File

@ -3,6 +3,7 @@ id: 5e9a093a74c4063ca6f7c163
title: Reading Data from Databases
challengeType: 11
videoId: MtgXS1MofRw
dashedName: reading-data-from-databases
---
# --description--

View File

@ -3,6 +3,7 @@ id: 5e9a093a74c4063ca6f7c161
title: Reading Data Introduction
challengeType: 11
videoId: cDnt02BcHng
dashedName: reading-data-introduction
---
# --description--

View File

@ -2,6 +2,7 @@
id: 5e46f7e5ac417301a38fb929
title: Demographic Data Analyzer
challengeType: 10
dashedName: demographic-data-analyzer
---
# --description--
@ -22,8 +23,6 @@ It should pass all Python tests.
```
# --seed--
# --solutions--
```py

View File

@ -2,6 +2,7 @@
id: 5e46f7e5ac417301a38fb928
title: Mean-Variance-Standard Deviation Calculator
challengeType: 10
dashedName: mean-variance-standard-deviation-calculator
---
# --description--
@ -22,8 +23,6 @@ It should pass all Python tests.
```
# --seed--
# --solutions--
```py

View File

@ -2,6 +2,7 @@
id: 5e46f7f8ac417301a38fb92a
title: Medical Data Visualizer
challengeType: 10
dashedName: medical-data-visualizer
---
# --description--
@ -22,8 +23,6 @@ It should pass all Python tests.
```
# --seed--
# --solutions--
```py

View File

@ -2,6 +2,7 @@
id: 5e46f802ac417301a38fb92b
title: Page View Time Series Visualizer
challengeType: 10
dashedName: page-view-time-series-visualizer
---
# --description--
@ -22,8 +23,6 @@ It should pass all Python tests.
```
# --seed--
# --solutions--
```py

View File

@ -2,6 +2,7 @@
id: 5e4f5c4b570f7e3a4949899f
title: Sea Level Predictor
challengeType: 10
dashedName: sea-level-predictor
---
# --description--
@ -22,8 +23,6 @@ It should pass all Python tests.
```
# --seed--
# --solutions--
```py

View File

@ -3,6 +3,7 @@ id: 5e9a0a8e09c5df3cc3600ed4
title: 'Accessing and Changing Elements, Rows, Columns'
challengeType: 11
videoId: v-7Y7koJ_N0
dashedName: accessing-and-changing-elements-rows-columns
---
# --question--

View File

@ -3,6 +3,7 @@ id: 5e9a0a8e09c5df3cc3600ed3
title: Basics of Numpy
challengeType: 11
videoId: f9QrZrKQMLI
dashedName: basics-of-numpy
---
# --question--

View File

@ -3,6 +3,7 @@ id: 5e9a0a8e09c5df3cc3600ed7
title: Copying Arrays Warning
challengeType: 11
videoId: iIoQ0_L0GvA
dashedName: copying-arrays-warning
---
# --question--

View File

@ -3,6 +3,7 @@ id: 5e9a0a8e09c5df3cc3600ed6
title: Initialize Array Problem
challengeType: 11
videoId: 0jGfH8BPfOk
dashedName: initialize-array-problem
---
# --question--

View File

@ -3,6 +3,7 @@ id: 5e9a0a8e09c5df3cc3600ed5
title: Initializing Different Arrays
challengeType: 11
videoId: CEykdsKT4U4
dashedName: initializing-different-arrays
---
# --question--

View File

@ -3,6 +3,7 @@ id: 5e9a0a8e09c5df3cc3600eda
title: Loading Data and Advanced Indexing
challengeType: 11
videoId: tUdBZ7pF8Jg
dashedName: loading-data-and-advanced-indexing
---
# --question--

View File

@ -3,6 +3,7 @@ id: 5e9a0a8e09c5df3cc3600ed8
title: Mathematics
challengeType: 11
videoId: 7txegvyhtVk
dashedName: mathematics
---
# --question--

View File

@ -3,6 +3,7 @@ id: 5e9a0a8e09c5df3cc3600ed9
title: Reorganizing Arrays
challengeType: 11
videoId: VNWAQbEM-C8
dashedName: reorganizing-arrays
---
# --question--

View File

@ -3,6 +3,7 @@ id: 5e9a0a8e09c5df3cc3600ed2
title: What is NumPy
challengeType: 11
videoId: 5Nwfs5Ej85Q
dashedName: what-is-numpy
---
# --question--