chore: set authorship statements in db-fill
This commit is contained in:
parent
541dd7688f
commit
996262c327
@ -657,6 +657,8 @@ fillDb = do
|
|||||||
, sheetAnonymousCorrection = True
|
, sheetAnonymousCorrection = True
|
||||||
, sheetRequireExamRegistration = Nothing
|
, sheetRequireExamRegistration = Nothing
|
||||||
, sheetAllowNonPersonalisedSubmission = True
|
, sheetAllowNonPersonalisedSubmission = True
|
||||||
|
, sheetAuthorshipStatementRequired = False
|
||||||
|
, sheetAuthorshipStatementDefinition = Just ifiAuthorshipStatement
|
||||||
}
|
}
|
||||||
insert_ $ SheetEdit gkleen now adhoc
|
insert_ $ SheetEdit gkleen now adhoc
|
||||||
feste <- insert Sheet
|
feste <- insert Sheet
|
||||||
@ -676,6 +678,8 @@ fillDb = do
|
|||||||
, sheetAnonymousCorrection = True
|
, sheetAnonymousCorrection = True
|
||||||
, sheetRequireExamRegistration = Nothing
|
, sheetRequireExamRegistration = Nothing
|
||||||
, sheetAllowNonPersonalisedSubmission = True
|
, sheetAllowNonPersonalisedSubmission = True
|
||||||
|
, sheetAuthorshipStatementRequired = False
|
||||||
|
, sheetAuthorshipStatementDefinition = Just ifiAuthorshipStatement
|
||||||
}
|
}
|
||||||
insert_ $ SheetEdit gkleen now feste
|
insert_ $ SheetEdit gkleen now feste
|
||||||
keine <- insert Sheet
|
keine <- insert Sheet
|
||||||
@ -695,6 +699,8 @@ fillDb = do
|
|||||||
, sheetAnonymousCorrection = True
|
, sheetAnonymousCorrection = True
|
||||||
, sheetRequireExamRegistration = Nothing
|
, sheetRequireExamRegistration = Nothing
|
||||||
, sheetAllowNonPersonalisedSubmission = True
|
, sheetAllowNonPersonalisedSubmission = True
|
||||||
|
, sheetAuthorshipStatementRequired = False
|
||||||
|
, sheetAuthorshipStatementDefinition = Just ifiAuthorshipStatement
|
||||||
}
|
}
|
||||||
insert_ $ SheetEdit gkleen now keine
|
insert_ $ SheetEdit gkleen now keine
|
||||||
void . insertMany $ map (\u -> CourseParticipant ffp u now Nothing CourseParticipantActive)
|
void . insertMany $ map (\u -> CourseParticipant ffp u now Nothing CourseParticipantActive)
|
||||||
@ -939,6 +945,8 @@ fillDb = do
|
|||||||
, sheetAnonymousCorrection = True
|
, sheetAnonymousCorrection = True
|
||||||
, sheetRequireExamRegistration = Nothing
|
, sheetRequireExamRegistration = Nothing
|
||||||
, sheetAllowNonPersonalisedSubmission = True
|
, sheetAllowNonPersonalisedSubmission = True
|
||||||
|
, sheetAuthorshipStatementRequired = False
|
||||||
|
, sheetAuthorshipStatementDefinition = Just ifiAuthorshipStatement
|
||||||
}
|
}
|
||||||
void . insert $ SheetEdit jost now shId
|
void . insert $ SheetEdit jost now shId
|
||||||
when (submissionModeCorrector sheetSubmissionMode) $
|
when (submissionModeCorrector sheetSubmissionMode) $
|
||||||
@ -1182,6 +1190,8 @@ fillDb = do
|
|||||||
, sheetAnonymousCorrection = True
|
, sheetAnonymousCorrection = True
|
||||||
, sheetRequireExamRegistration = Nothing
|
, sheetRequireExamRegistration = Nothing
|
||||||
, sheetAllowNonPersonalisedSubmission = True
|
, sheetAllowNonPersonalisedSubmission = True
|
||||||
|
, sheetAuthorshipStatementRequired = shNr == 14
|
||||||
|
, sheetAuthorshipStatementDefinition = Just ifiAuthorshipStatement
|
||||||
}
|
}
|
||||||
manyUsers' <- shuffleM $ take 1024 manyUsers
|
manyUsers' <- shuffleM $ take 1024 manyUsers
|
||||||
groupSizes <- getRandomRs (1, 3)
|
groupSizes <- getRandomRs (1, 3)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user