Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ You can now choose between SQLite and PostgreSQL in the menu above the schema. P
## 2026-06-14 - Relational algebra mode
You can now answer questions with relational algebra instead of SQL. Use the SQL/RA toggle to switch. Expressions are converted to SQL and run the same way, and the generated SQL is shown for reference.

## 2026-06-14 - More varied people in the database
The database now includes people who are neither students nor teachers. Some solutions that assumed every person is a student or a teacher will no longer be accepted.

## 2026-03-19 - Changelog added
A changelog has been added to the app to keep you updated on new features and bug fixes.

Expand Down
Binary file modified data/oracle.enc
Binary file not shown.
12 changes: 12 additions & 0 deletions languages/de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ const de: LanguageDefinition = {
"131017-0051",
"131017-0052",
"131017-0053",
"131017-0054",
"131017-0055",
"131017-0056",
"131017-0057",
],
postalCodes: [
"6900",
Expand All @@ -120,6 +124,10 @@ const de: LanguageDefinition = {
"4051",
"4051",
"6001",
"8002",
"6002",
"9001",
"4052",
],
phones: [
"+41 76 123 45 67",
Expand All @@ -143,6 +151,10 @@ const de: LanguageDefinition = {
"+41 78 901 23 45",
"+41 79 012 34 56",
"+41 78 250 28 55",
"+41 76 111 22 33",
"+41 77 222 33 44",
"+41 78 333 44 55",
"+41 79 444 55 66",
],

// ── Data: Courses ────────────────────────────────────────────
Expand Down
12 changes: 12 additions & 0 deletions languages/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ const en: LanguageDefinition = {
"EN-019",
"EN-020",
"EN-021",
"EN-022",
"EN-023",
"EN-024",
"EN-025",
],
postalCodes: [
"GU1 1AA",
Expand All @@ -120,6 +124,10 @@ const en: LanguageDefinition = {
"BA4 1AS",
"BA5 2AT",
"CB4 3AU",
"YO5 4AV",
"CB6 5AW",
"OX5 6AX",
"BA6 7AY",
],
phones: [
"01234567890",
Expand All @@ -143,6 +151,10 @@ const en: LanguageDefinition = {
"01234567908",
"01234567909",
"01234567910",
"01234567911",
"01234567912",
"01234567913",
"01234567914",
],

// ── Data: Courses ────────────────────────────────────────────
Expand Down
12 changes: 12 additions & 0 deletions languages/sv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ const sv: LanguageDefinition = {
"131017-0051",
"131017-0052",
"131017-0053",
"131017-0054",
"131017-0055",
"131017-0056",
"131017-0057",
],
postalCodes: [
"19122",
Expand All @@ -120,6 +124,10 @@ const sv: LanguageDefinition = {
"16966",
"16966",
"18753",
"16955",
"17012",
"18760",
"19044",
],
phones: [
"151576",
Expand All @@ -143,6 +151,10 @@ const sv: LanguageDefinition = {
"449867",
"665844",
"770691",
"112233",
"445566",
"778899",
"223344",
],

// ── Data: Courses ────────────────────────────────────────────
Expand Down
4 changes: 4 additions & 0 deletions public/languages/de-pg/data.sql
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ INSERT INTO Person VALUES ('131017-0050', 'Jean Richter', 'Abendrain 4', '4051',
INSERT INTO Person VALUES ('131017-0051', 'Pascal Baumann', 'Birkenweg 12', '4051', 'Basel', '+41 78 901 23 45');
INSERT INTO Person VALUES ('131017-0052', 'Thomas Dubois', 'Birkenweg 1', '4051', 'Basel', '+41 79 012 34 56');
INSERT INTO Person VALUES ('131017-0053', 'Marco Schmid', 'Dorfstrasse 63', '6001', 'Luzern', '+41 78 250 28 55');
INSERT INTO Person VALUES ('131017-0054', 'Monika Huber', 'Schulstrasse 14', '8002', 'Basel', '+41 76 111 22 33');
INSERT INTO Person VALUES ('131017-0055', 'Andrea Haller', 'Eichtalstrasse 7', '6002', 'Zürich', '+41 77 222 33 44');
INSERT INTO Person VALUES ('131017-0056', 'Isabelle Conti', 'Auenweg 22', '9001', 'Winterthur', '+41 78 333 44 55');
INSERT INTO Person VALUES ('131017-0057', 'Daniel Brunner', 'Burgstrasse 3', '4052', 'Lugano', '+41 79 444 55 66');
INSERT INTO Seminarraum VALUES (1, 'Jupiter', 12);
INSERT INTO Seminarraum VALUES (2, 'Orion', 24);
INSERT INTO Seminarraum VALUES (3, 'Sirius', 16);
Expand Down
2 changes: 1 addition & 1 deletion public/languages/de-pg/questionpool.json

Large diffs are not rendered by default.

Binary file modified public/languages/de/data.sqlite3
Binary file not shown.
2 changes: 1 addition & 1 deletion public/languages/de/questionpool.json

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions public/languages/en-pg/data.sql
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ INSERT INTO Person VALUES ('EN-018', 'William White', 'Station Road 4', 'BA3 9AR
INSERT INTO Person VALUES ('EN-019', 'Jane Bell', 'School Lane 12', 'BA4 1AS', 'York', '01234567908');
INSERT INTO Person VALUES ('EN-020', 'David Wood', 'School Lane 1', 'BA5 2AT', 'York', '01234567909');
INSERT INTO Person VALUES ('EN-021', 'John Clark', 'High Street 63', 'CB4 3AU', 'Cambridge', '01234567910');
INSERT INTO Person VALUES ('EN-022', 'George Grant', 'Lake Drive 14', 'YO5 4AV', 'York', '01234567911');
INSERT INTO Person VALUES ('EN-023', 'Peter Miles', 'Birch Way 7', 'CB6 5AW', 'Oxford', '01234567912');
INSERT INTO Person VALUES ('EN-024', 'Laura Palmer', 'Bridge Street 22', 'OX5 6AX', 'Brighton', '01234567913');
INSERT INTO Person VALUES ('EN-025', 'Susan Stone', 'Church Road 3', 'BA6 7AY', 'Guildford', '01234567914');
INSERT INTO Room VALUES (1, 'Jupiter', 12);
INSERT INTO Room VALUES (2, 'Orion', 24);
INSERT INTO Room VALUES (3, 'Sirius', 16);
Expand Down
2 changes: 1 addition & 1 deletion public/languages/en-pg/questionpool.json

Large diffs are not rendered by default.

Binary file modified public/languages/en/data.sqlite3
Binary file not shown.
2 changes: 1 addition & 1 deletion public/languages/en/questionpool.json

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions public/languages/sv-pg/data.sql
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ INSERT INTO Person VALUES ('131017-0050', 'Carl Nilsson', 'Strogatan 4', '16966'
INSERT INTO Person VALUES ('131017-0051', 'Eva Jung', 'Skolgatan 12', '16966', 'Solna', '449867');
INSERT INTO Person VALUES ('131017-0052', 'Lars Holm', 'Skolgatan 1', '16966', 'Solna', '665844');
INSERT INTO Person VALUES ('131017-0053', 'Bo Dahl', 'Nygatan 63', '18753', 'Täby', '770691');
INSERT INTO Person VALUES ('131017-0054', 'Sigge Grahn', 'Ekvägen 14', '16955', 'Solna', '112233');
INSERT INTO Person VALUES ('131017-0055', 'Kurt Frid', 'Bokvägen 7', '17012', 'Södertälje', '445566');
INSERT INTO Person VALUES ('131017-0056', 'Lola Berglund', 'Storgatan 22', '18760', 'Bromma', '778899');
INSERT INTO Person VALUES ('131017-0057', 'Siw Ahl', 'Ahlgatan 3', '19044', 'Sollentuna', '223344');
INSERT INTO Rum VALUES (1, 'Jupiter', 12);
INSERT INTO Rum VALUES (2, 'Orion', 24);
INSERT INTO Rum VALUES (3, 'Sirius', 16);
Expand Down
2 changes: 1 addition & 1 deletion public/languages/sv-pg/questionpool.json

Large diffs are not rendered by default.

Binary file modified public/languages/sv/data.sqlite3
Binary file not shown.
2 changes: 1 addition & 1 deletion public/languages/sv/questionpool.json

Large diffs are not rendered by default.

Loading