@eliceio/cdk-cli 0.1.0-alpha.2 → 0.1.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +263 -191
- package/es/cli.js +93 -33
- package/es/commands/build/index.d.ts +1 -1
- package/es/commands/build/index.js +21 -12
- package/es/commands/check/index.d.ts +11 -2
- package/es/commands/check/index.js +51 -5
- package/es/commands/create/index.d.ts +6 -0
- package/es/commands/create/index.js +56 -8
- package/es/commands/create/install.d.ts +17 -0
- package/es/commands/create/install.js +53 -0
- package/es/commands/create/scaffold.d.ts +6 -1
- package/es/commands/create/scaffold.js +27 -17
- package/es/commands/dev/index.d.ts +1 -1
- package/es/commands/dev/index.js +6 -2
- package/es/commands/doctor/index.d.ts +21 -0
- package/es/commands/doctor/index.js +255 -38
- package/es/commands/mcp/index.d.ts +134 -0
- package/es/commands/mcp/index.js +399 -0
- package/es/commands/setup/index.d.ts +40 -0
- package/es/commands/setup/index.js +157 -0
- package/es/commands/skill/index.d.ts +2 -5
- package/es/commands/skill/index.js +1 -29
- package/es/core/collect.d.ts +5 -2
- package/es/core/config.d.ts +141 -31
- package/es/core/config.js +341 -59
- package/es/core/manifest.d.ts +2 -1
- package/es/core/manifest.js +2 -1
- package/es/core/minify.js +2 -2
- package/es/core/prepare.d.ts +18 -2
- package/es/core/prepare.js +47 -18
- package/es/core/project-check.d.ts +26 -0
- package/es/core/project-check.js +53 -0
- package/es/core/sandbox.js +2 -2
- package/es/core/sdk.d.ts +39 -0
- package/es/core/sdk.js +95 -0
- package/es/core/templates.d.ts +25 -0
- package/es/core/templates.js +41 -0
- package/es/dev/grading.d.ts +14 -7
- package/es/dev/grading.js +27 -13
- package/es/dev/host-page.d.ts +1 -1
- package/es/dev/host-page.js +34 -34
- package/es/dev/mock-api.d.ts +19 -4
- package/es/dev/mock-api.js +75 -9
- package/es/dev/server.d.ts +7 -0
- package/es/dev/server.js +112 -32
- package/es/rules/check.js +95 -10
- package/es/rules/index.d.ts +1 -1
- package/es/rules/index.js +1 -1
- package/es/rules/manifest.d.ts +23 -9
- package/es/rules/manifest.js +60 -35
- package/es/rules/node.js +3 -1
- package/es/rules/semver.d.ts +5 -0
- package/es/rules/semver.js +32 -0
- package/es/rules/types.d.ts +38 -7
- package/es/rules.json.js +2 -2
- package/es/test-packages.d.ts +7 -0
- package/guides/content-development.md +150 -55
- package/package.json +3 -3
- package/rules.json +77 -7
- package/skills/_shared/always.md +4 -2
- package/skills/elice-content-check/SKILL.md +3 -1
- package/skills/elice-content-create/SKILL.md +5 -4
- package/skills/elice-content-migrate/SKILL.md +2 -2
- package/skills/elice-content-publish/SKILL.md +23 -0
- package/templates/_shared/lib/cdk-mock.d.ts +21 -3
- package/templates/_shared/lib/cdk-mock.js +241 -82
- package/templates/_shared/lib/elice-content.css +204 -0
- package/templates/_shared/lib/elice-content.d.ts +115 -6
- package/templates/_shared/lib/elice-content.js +656 -43
- package/templates/blank/README.md +19 -7
- package/templates/blank/completion.html +15 -0
- package/templates/blank/gitignore +1 -0
- package/templates/blank/metadata.json +11 -0
- package/templates/blank/package.json +13 -0
- package/templates/blank/screens/completion.js +7 -0
- package/templates/blank/screens/edit.js +3 -0
- package/templates/blank/screens/instructor.js +12 -5
- package/templates/blank/screens/learn.js +16 -11
- package/templates/blank/template.json +6 -0
- package/templates/quiz/README.md +41 -31
- package/templates/quiz/core/behaviors.d.ts +5 -0
- package/templates/quiz/core/behaviors.js +12 -0
- package/templates/quiz/core/editor.d.ts +12 -1
- package/templates/quiz/core/editor.js +28 -5
- package/templates/quiz/core/model.d.ts +41 -1
- package/templates/quiz/core/model.js +272 -5
- package/templates/quiz/gitignore +1 -0
- package/templates/quiz/metadata.json +11 -0
- package/templates/quiz/package.json +13 -0
- package/templates/quiz/screens/edit.js +176 -46
- package/templates/quiz/screens/instructor.js +18 -12
- package/templates/quiz/screens/learn.js +43 -38
- package/templates/quiz/styles.css +47 -0
- package/templates/quiz/template.json +6 -0
- package/templates/quiz/ui/templates/edit.d.ts +3 -0
- package/templates/quiz/ui/templates/edit.js +53 -14
- package/templates/quiz/ui/texts.js +56 -29
- package/templates/_shared/lib/cdk.js +0 -3
- package/templates/blank/content.json +0 -4
- package/templates/blank/elice.config.json +0 -12
- package/templates/quiz/content.json +0 -81
- package/templates/quiz/elice.config.json +0 -14
- package/templates/quiz/grading.json +0 -13
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"title": "퍼셉트론 확인 문제",
|
|
3
|
-
"description": "5문제를 풀고 제출해요.",
|
|
4
|
-
"questions": [
|
|
5
|
-
{
|
|
6
|
-
"id": "q1",
|
|
7
|
-
"type": "select_one",
|
|
8
|
-
"title": "퍼셉트론이 1을 내보내는 조건은 무엇인가요?",
|
|
9
|
-
"description": "가중치와 편향이 어떻게 쓰이는지 떠올려 보세요.",
|
|
10
|
-
"options": [
|
|
11
|
-
{ "id": "a", "text": "입력의 합이 0보다 클 때" },
|
|
12
|
-
{ "id": "b", "text": "가중합에 편향을 더한 값이 0보다 클 때" },
|
|
13
|
-
{ "id": "c", "text": "두 입력이 모두 1일 때" },
|
|
14
|
-
{ "id": "d", "text": "편향이 0보다 클 때" }
|
|
15
|
-
],
|
|
16
|
-
"shuffle": false,
|
|
17
|
-
"explanation": {
|
|
18
|
-
"enabled": true,
|
|
19
|
-
"text": "퍼셉트론은 **w1·x1 + w2·x2 + b > 0** 이면 1을 내보냅니다."
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"id": "q2",
|
|
24
|
-
"type": "select_multiple",
|
|
25
|
-
"title": "단층 퍼셉트론으로 만들 수 있는 게이트를 모두 고르세요.",
|
|
26
|
-
"description": "",
|
|
27
|
-
"options": [
|
|
28
|
-
{ "id": "a", "text": "AND" },
|
|
29
|
-
{ "id": "b", "text": "OR" },
|
|
30
|
-
{ "id": "c", "text": "XOR" },
|
|
31
|
-
{ "id": "d", "text": "NAND" }
|
|
32
|
-
],
|
|
33
|
-
"shuffle": true,
|
|
34
|
-
"explanation": {
|
|
35
|
-
"enabled": true,
|
|
36
|
-
"text": "XOR은 선형으로 나눌 수 없어 단층 퍼셉트론으로는 만들 수 없습니다."
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"id": "q3",
|
|
41
|
-
"type": "order",
|
|
42
|
-
"title": "퍼셉트론이 출력을 내는 순서대로 놓으세요.",
|
|
43
|
-
"description": "",
|
|
44
|
-
"options": [
|
|
45
|
-
{ "id": "a", "text": "입력에 가중치를 곱한다" },
|
|
46
|
-
{ "id": "b", "text": "편향을 더한다" },
|
|
47
|
-
{ "id": "c", "text": "활성화 함수로 0 또는 1을 낸다" },
|
|
48
|
-
{ "id": "d", "text": "입력을 정렬한다" }
|
|
49
|
-
],
|
|
50
|
-
"slots": 3,
|
|
51
|
-
"shuffle": true,
|
|
52
|
-
"explanation": { "enabled": false, "text": "" }
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"id": "q4",
|
|
56
|
-
"type": "text",
|
|
57
|
-
"title": "입력마다 곱하는 값을 무엇이라고 하나요?",
|
|
58
|
-
"description": "",
|
|
59
|
-
"placeholder": "한 단어로 입력해 주세요.",
|
|
60
|
-
"explanation": { "enabled": true, "text": "입력마다 곱하는 값은 **가중치(weight)** 입니다." }
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"id": "q5",
|
|
64
|
-
"type": "group",
|
|
65
|
-
"title": "선형 분리 가능한 게이트와 아닌 게이트로 나누세요.",
|
|
66
|
-
"description": "",
|
|
67
|
-
"groups": [
|
|
68
|
-
{ "id": "g1", "name": "선형 분리 가능" },
|
|
69
|
-
{ "id": "g2", "name": "선형 분리 불가능" }
|
|
70
|
-
],
|
|
71
|
-
"options": [
|
|
72
|
-
{ "id": "a", "text": "AND" },
|
|
73
|
-
{ "id": "b", "text": "OR" },
|
|
74
|
-
{ "id": "c", "text": "XOR" },
|
|
75
|
-
{ "id": "d", "text": "XNOR" }
|
|
76
|
-
],
|
|
77
|
-
"shuffle": false,
|
|
78
|
-
"explanation": { "enabled": false, "text": "" }
|
|
79
|
-
}
|
|
80
|
-
]
|
|
81
|
-
}
|