Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
Nueval Machinable Rules
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Academany
Fab Academy
2020
Nueval Machinable Rules
Commits
0b30789d
Commit
0b30789d
authored
6 years ago
by
francisco
Browse files
Options
Downloads
Patches
Plain Diff
linting
parent
fc57ae73
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+10
-12
10 additions, 12 deletions
README.md
with
10 additions
and
12 deletions
README.md
+
10
−
12
View file @
0b30789d
...
...
@@ -5,11 +5,11 @@ in UI for the evaluation.
In the test the rules are represented using
[
YAML
](
http://yaml.org/
)
## Rule file format
The structure follows this general model:
```
yaml
unit
:
<Unit name>
tasks
:
-
name
:
Task name
...
...
@@ -18,6 +18,7 @@ The structure follows this general model:
checklist
:
student checklist
-..
faq
:
Markdown faq
```
Take a look to the provided .yaml for a full example
...
...
@@ -25,21 +26,21 @@ Take a look to the provided .yaml for a full example
This python 2 script takes all the yaml files in src/ and can:
**
Test them for correctness
**
###
Test them for correctness
python build.py test
`
python build.py test
`
This will simply check syntax and exit without errors if it's correct
**
Convert them to Markdown
**
###
Convert them to Markdown
python build.py gitbook
`
python build.py gitbook
`
This will generate a
`gitbook`
folder containing the Markdown formatted files.
**
Convert them to JSON
**
###
Convert them to JSON
python build.py json
`
python build.py json
`
This will generate a
`json`
folder containing the JSON formatted files.
...
...
@@ -47,11 +48,8 @@ This will generate a `json` folder containing the JSON formatted files.
To be able to run build.py you need to intsall the packages in requirements.txt
pip install -r requirements.txt
`
pip install -r requirements.txt
`
## Next steps
This format should allows us to build the gitbook and nueval version from the YAML files,
so we might convert the remaining pagese using the format.
This format should allow us to build the gitbook and nueval version from the YAML files, so we might convert the remaining pages using the format.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment