-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #282 from hpi-swa-teaching/develop
Final release 2024
- Loading branch information
Showing
904 changed files
with
3,515 additions
and
2,820 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
"class" : { | ||
}, | ||
"instance" : { | ||
"baseline:" : "FLST 6/24/2024 09:16" } } | ||
"baseline:" : "FLST 7/4/2024 10:57" } } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
Answers belonging currently all Questions have this type. However, this might be later split up into different question modes. | ||
Notable Instance Variables: | ||
- choicesRanking: An OrderedCollection of all the choices the participant voted. | ||
- choicesRanking: An OrderedCollection of all the choices the participant voted. | ||
|
6 changes: 6 additions & 0 deletions
6
packages/Liquid-Core.package/LQAnswer.class/class/newWithQuestion..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
class initialization | ||
newWithQuestion: aQuestion | ||
|
||
^ LQFreeTextAnswer new | ||
questionId: aQuestion id; | ||
yourself |
7 changes: 0 additions & 7 deletions
7
packages/Liquid-Core.package/LQAnswer.class/class/newWithQuestion.andVotes..st
This file was deleted.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
packages/Liquid-Core.package/LQAnswer.class/instance/answer.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
answer | ||
|
||
^ '' |
4 changes: 0 additions & 4 deletions
4
packages/Liquid-Core.package/LQAnswer.class/instance/choicesRanking..st
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
packages/Liquid-Core.package/LQAnswer.class/instance/choicesRanking.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
accessing | ||
choicesRanking | ||
|
||
^ choicesRanking | ||
^ OrderedCollection new |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 1 addition & 9 deletions
10
packages/Liquid-Core.package/LQAnswer.class/instance/printDataOn..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,4 @@ | ||
printing | ||
printDataOn: aStream | ||
|
||
self choicesRanking ifEmpty: [^ self]. | ||
self choicesRanking | ||
collect: [:votedChoice | | ||
aStream nextPutAll: votedChoice. | ||
aStream nextPutAll: ':'] | ||
from: 1 | ||
to: self choicesRanking size - 1. | ||
|
||
aStream nextPutAll: self choicesRanking last | ||
SubclassResponsibility |
11 changes: 5 additions & 6 deletions
11
packages/Liquid-Core.package/LQAnswer.class/methodProperties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
{ | ||
"class" : { | ||
"newWithQuestion:andVotes:" : "Anton Eichstädt 6/5/2024 17:28" }, | ||
"newWithQuestion:" : "FLST 7/11/2024 20:42" }, | ||
"instance" : { | ||
"choicesRanking" : "Anton Eichstädt 5/24/2024 15:23", | ||
"choicesRanking:" : "Anton Eichstädt 5/24/2024 15:24", | ||
"containsVoteForChoice:" : "Anton Eichstädt 5/24/2024 15:23", | ||
"answer" : "FLST 7/11/2024 20:42", | ||
"choicesRanking" : "FLST 7/11/2024 20:42", | ||
"id" : "JT 8/2/2022 16:59", | ||
"id:" : "JT 8/2/2022 16:59", | ||
"initialize" : "Anton Eichstädt 5/24/2024 15:24", | ||
"printDataOn:" : "Anton Eichstädt 5/24/2024 15:23", | ||
"initialize" : "FLST 7/11/2024 20:42", | ||
"printDataOn:" : "FLST 7/11/2024 20:42", | ||
"questionId" : "JT 8/2/2022 17:01", | ||
"questionId:" : "JT 8/2/2022 17:01" } } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/Liquid-Core.package/LQAnswerSet.class/instance/initialize.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
initialize-release | ||
initialize | ||
|
||
super initialize. | ||
self answers: Dictionary new. | ||
self id: UUID new asString |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
packages/Liquid-Core.package/LQAnswerSet.class/methodProperties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
{ | ||
"class" : { | ||
"newWithAnswers:for:" : "bwe 8/5/2022 18:05" }, | ||
"newWithAnswers:for:" : "FLST 7/11/2024 20:42" }, | ||
"instance" : { | ||
"addAnswer:" : "CG 7/30/2021 19:06", | ||
"answers" : "JT 8/2/2022 16:51", | ||
"answers:" : "bn 7/14/2022 22:40", | ||
"id" : "JT 8/2/2022 16:52", | ||
"id:" : "kge 6/25/2022 16:44", | ||
"initialize" : "JT 8/2/2022 16:53", | ||
"initialize" : "FLST 7/11/2024 20:42", | ||
"pollId" : "JS 5/18/2021 18:38", | ||
"pollId:" : "JS 5/18/2021 18:37", | ||
"printDataOn:for:with:" : "leli 5/21/2024 11:35", | ||
"printDataOn:for:with:" : "FLST 7/11/2024 20:42", | ||
"token" : "JT 8/2/2022 16:55", | ||
"token:" : "JT 8/2/2022 16:55" } } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/Liquid-Core.package/LQChoice.class/instance/excludesGroup..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
accessing | ||
excludesGroup: aString | ||
|
||
^ self excludedGroups includes: aString |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,6 @@ initialize | |
|
||
super initialize. | ||
|
||
self | ||
self | ||
description: ''; | ||
excludedGroups: OrderedCollection new |
2 changes: 1 addition & 1 deletion
2
packages/Liquid-Core.package/LQChoice.class/instance/rawString..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
accessing | ||
rawString: aString | ||
|
||
rawString := aString |
2 changes: 1 addition & 1 deletion
2
packages/Liquid-Core.package/LQChoice.class/instance/rawString.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
accessing | ||
rawString | ||
|
||
^ rawString |
10 changes: 5 additions & 5 deletions
10
packages/Liquid-Core.package/LQChoice.class/methodProperties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
{ | ||
"class" : { | ||
"newFrom:" : "JT 8/5/2022 18:20" }, | ||
"newFrom:" : "FLST 7/11/2024 20:42" }, | ||
"instance" : { | ||
"description" : "JT 8/2/2022 16:55", | ||
"description:" : "JT 8/2/2022 16:55", | ||
"excludedGroups" : "JT 8/2/2022 16:55", | ||
"excludedGroups:" : "JT 8/2/2022 16:56", | ||
"excludesGroup:" : "kge 8/3/2022 20:52", | ||
"initialize" : "JT 8/2/2022 16:55", | ||
"rawString" : "JT 8/2/2022 16:56", | ||
"rawString:" : "bn 6/12/2022 20:16" } } | ||
"excludesGroup:" : "FLST 7/11/2024 20:42", | ||
"initialize" : "FLST 7/11/2024 20:42", | ||
"rawString" : "FLST 7/11/2024 20:42", | ||
"rawString:" : "FLST 7/11/2024 20:42" } } |
11 changes: 5 additions & 6 deletions
11
packages/Liquid-Core.package/LQChoiceProcessor.class/instance/extractDescription..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
extracting | ||
extractDescription: aString | ||
|
||
| firstBracketLocation rawDescription | | ||
|
||
firstBracketLocation := aString findString: '['. | ||
(firstBracketLocation == 0) ifTrue: [^ aString withBlanksTrimmed]. | ||
|
||
rawDescription := aString copyFrom: 1 to: (firstBracketLocation - 1). | ||
| firstBracketLocation rawDescription | | ||
firstBracketLocation := aString findString: '['. | ||
firstBracketLocation isZero ifTrue: [^ aString withBlanksTrimmed]. | ||
|
||
rawDescription := aString copyFrom: 1 to: firstBracketLocation - 1. | ||
^ rawDescription withBlanksTrimmed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
7 changes: 7 additions & 0 deletions
7
packages/Liquid-Core.package/LQChoicesAnswer.class/class/newWithQuestion.andVotes..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
as yet unclassified | ||
newWithQuestion: aQuestion andVotes: anOrderedCollection | ||
|
||
^ LQChoicesAnswer new | ||
questionId: aQuestion id; | ||
choicesRanking: (anOrderedCollection collect: [:each | each description]); | ||
yourself |
4 changes: 4 additions & 0 deletions
4
packages/Liquid-Core.package/LQChoicesAnswer.class/instance/choicesRanking..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
choicesRanking: anObject | ||
|
||
votedChoiceList := anObject |
4 changes: 4 additions & 0 deletions
4
packages/Liquid-Core.package/LQChoicesAnswer.class/instance/choicesRanking.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
choicesRanking | ||
|
||
^ votedChoiceList |
2 changes: 1 addition & 1 deletion
2
....class/instance/containsVoteForChoice..st → ....class/instance/containsVoteForChoice..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
evaluation | ||
accessing | ||
containsVoteForChoice: aChoice | ||
|
||
^ self choicesRanking includes: aChoice description |
12 changes: 12 additions & 0 deletions
12
packages/Liquid-Core.package/LQChoicesAnswer.class/instance/printDataOn..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
printing | ||
printDataOn: aStream | ||
|
||
self choicesRanking ifEmpty: [^ self]. | ||
self choicesRanking | ||
collect: [:votedChoice | | ||
aStream nextPutAll: votedChoice. | ||
aStream nextPutAll: ':'] | ||
from: 1 | ||
to: self choicesRanking size - 1. | ||
|
||
aStream nextPutAll: self choicesRanking last |
8 changes: 8 additions & 0 deletions
8
packages/Liquid-Core.package/LQChoicesAnswer.class/methodProperties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"class" : { | ||
"newWithQuestion:andVotes:" : "FLST 7/11/2024 20:42" }, | ||
"instance" : { | ||
"choicesRanking" : "FLST 7/11/2024 20:42", | ||
"choicesRanking:" : "FLST 7/11/2024 20:42", | ||
"containsVoteForChoice:" : "FLST 7/11/2024 20:42", | ||
"printDataOn:" : "FLST 7/11/2024 20:42" } } |
14 changes: 14 additions & 0 deletions
14
packages/Liquid-Core.package/LQChoicesAnswer.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"category" : "Liquid-Core", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
"votedChoiceList" ], | ||
"name" : "LQChoicesAnswer", | ||
"pools" : [ | ||
], | ||
"super" : "LQAnswer", | ||
"type" : "normal" } |
Oops, something went wrong.