Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/morsby/medmcqimport
En samling scripts, der konverterer et WiseFlow-eksport til en struktur, medMCQ kan håndtere.
https://github.com/morsby/medmcqimport
Last synced: 23 days ago
JSON representation
En samling scripts, der konverterer et WiseFlow-eksport til en struktur, medMCQ kan håndtere.
- Host: GitHub
- URL: https://github.com/morsby/medmcqimport
- Owner: morsby
- License: mit
- Created: 2019-08-19T13:29:50.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T23:42:32.000Z (almost 2 years ago)
- Last Synced: 2023-03-02T18:56:52.550Z (over 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 135 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MedMCQ import
Dette er en samling scripts, der konverterer et WiseFlow-eksport til en struktur, medMCQ kan håndtere.
## Input
Skal være en `json`-fil indeholdende et array af flows (se [src/Interfaces/Flow.ts](src/interfaces/Flow.ts) for strukturen).
## Output
Er en graph af følgende struktur (se [src/utils/parseFlow.ts](src/utils/parseFlow.ts) for detaljer):
```
{
semesterId,
season,
year,
questions: [
{
text,
answer1,
answer2,
answer3,
image,
correctAnswers: [
{ answer }
],
examSetQno
}, ...
]}
```Filerne gemmes i `output`-mappen sammen med evt. billeder.
## Brug
1. `npm install`
2. `npm run build`
3. `npm run convert`