adding more samples
This commit is contained in:
parent
8d39ec9761
commit
f749fdf9b3
4 changed files with 101 additions and 16 deletions
|
@ -12,7 +12,6 @@ in order to version content with Git.
|
||||||
from argparse import ArgumentParser
|
from argparse import ArgumentParser
|
||||||
import itertools
|
import itertools
|
||||||
import yaml
|
import yaml
|
||||||
from yaml.loader import Loader
|
|
||||||
import os
|
import os
|
||||||
import textwrap
|
import textwrap
|
||||||
|
|
||||||
|
@ -100,12 +99,15 @@ class CourseBuilder:
|
||||||
def __init__(self) -> None:
|
def __init__(self) -> None:
|
||||||
self.__schema = None
|
self.__schema = None
|
||||||
|
|
||||||
def load_schema(self,**kwargs)
|
def set_schema(self,schema = None):
|
||||||
for k,v in kwargs.items():
|
self.__schema = schema
|
||||||
if k == 'schema':
|
# print(self.__schema)
|
||||||
with open(v) as f:
|
|
||||||
self.__schema = yaml.load(f,Loader=Loader)
|
def process(self,meta = None,lang='en'):
|
||||||
print(self.__schema)
|
fields = ['name']
|
||||||
|
|
||||||
|
for field in fields:
|
||||||
|
print(self.__schema[field]['label'][lang],':',meta[field][lang])
|
||||||
|
|
||||||
def process_int(self,lang='de'):
|
def process_int(self,lang='de'):
|
||||||
pass
|
pass
|
||||||
|
@ -123,7 +125,7 @@ def main():
|
||||||
# arguments
|
# arguments
|
||||||
parser = ArgumentParser(description='versatile curricula generator')
|
parser = ArgumentParser(description='versatile curricula generator')
|
||||||
|
|
||||||
# parser.add_argument('-m','--meta',action="extend", nargs="+", type=str,help="Module description(s) as YAML file(s)")
|
parser.add_argument('-m','--meta',action="extend", nargs="+", type=str,help="course description(s) as YAML file(s)")
|
||||||
# parser.add_argument('-l','--lang',help="Language to parse from meta file (use de or en)",default='de')
|
# parser.add_argument('-l','--lang',help="Language to parse from meta file (use de or en)",default='de')
|
||||||
# parser.add_argument('-c','--create',action='store_true',help="Create a meta file from description")
|
# parser.add_argument('-c','--create',action='store_true',help="Create a meta file from description")
|
||||||
# parser.add_argument('-n','--newpage',action='store_true',help="Create a pagebreak after each table")
|
# parser.add_argument('-n','--newpage',action='store_true',help="Create a pagebreak after each table")
|
||||||
|
@ -136,16 +138,16 @@ def main():
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
# only run debug
|
# only run debug
|
||||||
if args.schema :
|
if args.schema:
|
||||||
|
|
||||||
cb = CourseBuilder()
|
cb = CourseBuilder()
|
||||||
cb.load_schema(schema = args.schema)
|
|
||||||
|
|
||||||
# only run if we have a curricullum
|
with open(args.schema) as f:
|
||||||
elif args.meta:
|
cb.set_schema(yaml.load(f,Loader=yaml.Loader))
|
||||||
|
|
||||||
for m in args.meta:
|
for m in args.meta:
|
||||||
build_curriculum(m,lang=args.lang,pagebreak=args.newpage,title=args.title)
|
with open(m) as fm:
|
||||||
elif args.create:
|
cb.process(yaml.load(fm,Loader=yaml.Loader))
|
||||||
create_meta()
|
|
||||||
else:
|
else:
|
||||||
parser.print_help()
|
parser.print_help()
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
name: {
|
||||||
|
de: "Computergrafik",
|
||||||
|
en: "Computer Graphics"
|
||||||
|
}
|
||||||
|
|
||||||
# common
|
# common
|
||||||
common:
|
common:
|
||||||
id: CG # fix for any variante
|
id: CG # fix for any variante
|
||||||
|
|
78
test/simple/mod.interactsys.yaml
Normal file
78
test/simple/mod.interactsys.yaml
Normal file
|
@ -0,0 +1,78 @@
|
||||||
|
# German
|
||||||
|
de:
|
||||||
|
name: Interactive Systems
|
||||||
|
id: InteractSys
|
||||||
|
instructor: Prof. Hartmut Seichter, PhD
|
||||||
|
goal: |
|
||||||
|
Studierende lernen vertieftes Wissen um grafische Nutzeroberflächen zu analysieren
|
||||||
|
und informierte Designentscheidungen zu treffen. Dabei werden auch Grundlagen der
|
||||||
|
Wahrnehmung vermittelt. Studierende entwickeln anhand von Prototypen anwendbares
|
||||||
|
Wissen Interaktionen zu messen und anhand von wissenschaftlichen Methoden
|
||||||
|
zu bewerten.
|
||||||
|
content: |
|
||||||
|
* Wahrnehmung
|
||||||
|
* Visuelle Gestaltung von Graphischen Nutzerschnittstellen
|
||||||
|
* Applikationsdesign mit Fokus auf GUI Konzepte
|
||||||
|
* Nutzerstudien
|
||||||
|
* Evaluierungsmethoden mit interaktiven visuellen Systemen
|
||||||
|
form: flipped classroom mit digitalen Lermodulen und wöchentlichen Lernforum, Übungen am PC
|
||||||
|
prerequisites: Grundlagen Statistik, IETLS score 6.0 oder äquivalent
|
||||||
|
media-of-instruction: |
|
||||||
|
* H5P Lernmodule, Lernforum und Übungen am PC
|
||||||
|
* Auszug aus der Literaturliste:
|
||||||
|
* Card, Stuart K., Thomas P. Moran, and Allen Newell. The Psychology of Human-Computer Interaction. Repr. Mahwah, NJ: Erlbaum, 2008.
|
||||||
|
* Cooper, Alan. About Face: The Essentials of Interaction Design, 4th Edition. 4th edition. Indianapolis, IN: John Wiley and Sons, 2014.
|
||||||
|
* Dix, Alan, Janet Finlay, Gregory D Abowd, and Russell Beale. Human-Computer Interaction. Pearson Education, 2003
|
||||||
|
* Krug, Steve. Don't Make Me Think, Revisited: A Common Sense Approach to Web Usability. Third edition. Berkeley, Calif.: New Riders, 2014.
|
||||||
|
* Nielsen, Jakob. Usability Engineering. Boston: Academic Press, 1993.
|
||||||
|
|
||||||
|
author-of-indenture:
|
||||||
|
used-in: Master Applied Computerscience
|
||||||
|
workload: |
|
||||||
|
- Vorlesung/Lernforum 2SWS
|
||||||
|
- Übung 2SWS
|
||||||
|
- Workload: Präsenz (Vorlesung + Übungen) 120h Projektbearbeitung 30h
|
||||||
|
credits: 5CP (5/120)
|
||||||
|
form-of-exam: Projekt
|
||||||
|
term: Wintersemester
|
||||||
|
frequency: einmal im Studienjahr
|
||||||
|
duration: 1 Semester
|
||||||
|
kind: Wahlpflicht
|
||||||
|
remarks: Lehrsprache ist Englisch
|
||||||
|
|
||||||
|
# English
|
||||||
|
en:
|
||||||
|
name: Interactive Systems
|
||||||
|
id: InteractSys
|
||||||
|
instructor: Prof. Hartmut Seichter, PhD
|
||||||
|
goal: |
|
||||||
|
Students acquire in-depth knowledge how to analyze graphical user interfaces and make informed design decisions.
|
||||||
|
Participants will acquire basics of human perception and locomotion. Using graphical prototypes, students develop
|
||||||
|
actionable knowledge to measure interactions and to evaluate them using recent scientific methods.
|
||||||
|
content: Content and Topics
|
||||||
|
form: flipped classroom with interactive learning modules and weekly learning forum, lab exersies
|
||||||
|
prerequisites: foundations of statistics, IETLS score 6.0 or equivalent
|
||||||
|
media-of-instruction: |
|
||||||
|
* H5P Lernmodule
|
||||||
|
* learning forum
|
||||||
|
* exersises
|
||||||
|
* excerpt from literature list:
|
||||||
|
* Card, Stuart K., Thomas P. Moran, and Allen Newell. The Psychology of Human-Computer Interaction. Repr. Mahwah, NJ: Erlbaum, 2008.
|
||||||
|
* Cooper, Alan. About Face: The Essentials of Interaction Design, 4th Edition. 4th edition. Indianapolis, IN: John Wiley and Sons, 2014.
|
||||||
|
* Dix, Alan, Janet Finlay, Gregory D Abowd, and Russell Beale. Human-Computer Interaction. Pearson Education, 2003
|
||||||
|
* Krug, Steve. Don't Make Me Think, Revisited: A Common Sense Approach to Web Usability. Third edition. Berkeley, Calif.: New Riders, 2014.
|
||||||
|
* Nielsen, Jakob. Usability Engineering. Boston: Academic Press, 1993.
|
||||||
|
|
||||||
|
author-of-indenture:
|
||||||
|
used-in: Master Applied Computer Science
|
||||||
|
workload: |
|
||||||
|
- lecture/learning forum 2SWS
|
||||||
|
- exersises 2SWS
|
||||||
|
- workload: in-person (lecture + exersises) 120h project work 30h
|
||||||
|
credits: 5CP (5/180)
|
||||||
|
form-of-exam: project
|
||||||
|
term: winter term
|
||||||
|
frequency: once per study year
|
||||||
|
duration: one semester
|
||||||
|
kind: elective
|
||||||
|
remarks: taught in English
|
|
@ -5,7 +5,7 @@ name:
|
||||||
label: {
|
label: {
|
||||||
de: "Modulname",
|
de: "Modulname",
|
||||||
en: "name of course"
|
en: "name of course"
|
||||||
},
|
}
|
||||||
type: str
|
type: str
|
||||||
id: str
|
id: str
|
||||||
instructor: str
|
instructor: str
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue