dioxide
7d5a07c106
Add new enumerate AnswerType, which differs the input data structure.
...
Add new key isRandom to determine whether the random system works.
Add new keys answerType, which is the type of AnswerType Array to keep record the types of input, and lengthOfArray.
Complete the first edition of random array generate.
2025-06-16 22:45:31 +08:00
dioxide
3aa0a52b9e
Add random function to help create a series of test.
...
Add the answerType key to restrict the type of answer.
Add the lengthOfArray key to rule the length of array or matrix. While if a single number just put null.
Add new content of seed.ts like above all.
2025-06-16 14:06:49 +08:00
dioxide
7f79b901b7
Add trim function to ignore the whitespace character.
...
Add a trim key to mark whether the answer should be trimmed.
Add a judgement to determine whether the trim should work.
2025-06-15 17:16:39 +08:00
941f1a74fa
feat: replace dockview with flexlayout-react
2025-06-13 14:03:17 +08:00
0b3086f333
chore(seed): add seed data for problem templates
2025-04-15 23:07:47 +08:00
59ba12258c
bugs: change template to support code-run feature
2025-04-15 20:50:49 +08:00
24f78ab811
chore(prisma): add seed data for testcase_result model
2025-04-11 15:57:24 +08:00
82428bbd09
chore(seed): remove timeLimit and memoryLimit from DockerConfig data
2025-04-10 21:57:11 +08:00
c4e9c5b566
feat(seed): add expected output for test data
2025-04-10 10:39:24 +08:00
51b9d7fa72
feat(seed): add testcases for test data
2025-04-09 21:13:26 +08:00
750fb74653
chore(imports): update imports to use @/generated/client instead of @prisma/client
2025-04-01 11:46:25 +08:00
aec5ed5b8b
feat(seed): add displayId for test data
2025-03-30 18:43:47 +08:00
e1ce93346a
feat(seed): add videos, images, and accordion hints for test data
2025-03-27 14:10:03 +08:00
3fefee674b
chore(prisma): apply migration to remove TEACHER and STUDENT roles
2025-03-21 11:18:44 +08:00
10a648feb3
refactor(prisma): update language server protocol to use LanguageServerProtocol enum
2025-03-18 14:47:33 +08:00
ea92ba9d67
feat(seed): update seed data to add editor language configurations
2025-03-16 19:43:21 +08:00
02b75be71d
feat(prisma): add solution
field to problems during seed data creation
2025-03-10 22:50:33 +08:00
8381dbaaf6
feat(prisma): add seed data
2025-03-09 17:45:13 +08:00