From 99523136fa1a4e8e7c0a4c46a24dc3f70eba0335 Mon Sep 17 00:00:00 2001
From: Matthew Hague <matthew.hague@rhul.ac.uk>
Date: Thu, 3 Apr 2025 11:04:20 +0100
Subject: [PATCH] update(ldap): update programme list for ldap

---
 .../src/ldap_student_reader.py                | 36 ++++++++++--------
 ldap/rhul-programme-info.py                   | 38 +++++++++++--------
 2 files changed, 43 insertions(+), 31 deletions(-)

diff --git a/ldap/ldap_student_reader/src/ldap_student_reader.py b/ldap/ldap_student_reader/src/ldap_student_reader.py
index 9132afd..13cd80a 100644
--- a/ldap/ldap_student_reader/src/ldap_student_reader.py
+++ b/ldap/ldap_student_reader/src/ldap_student_reader.py
@@ -39,30 +39,36 @@ class LDAPStudentReader:
 
     _PROG_TITLES = {
         "1067": "BSc Computer Science",
-        "2327": "BSc Computer Science with a Year in Industry",
+        "1059": "BSc Computer Science (Artificial Intelligence)",
+        "2675": "BSc Computer Science (Information Security)",
+        "2843": "BSc Computer Science (Software Engineering)",
+        "1069": "BSc Computer Science and Mathematics",
+        "1062": "BSc Computer Science with Management",
         "2686": "MSci Computer Science",
+        "2327": "BSc Computer Science with a Year in Industry",
         "2687": "MSci Computer Science with a Year in Industry",
+        "2673": "MSci Computer Science (Artificial Intelligence)",
+        "2446": "BSc Computer Science (Artificial Intelligence) with a Year in Industry",
+        "2674": "MSci Computer Science (Artificial Intelligence) with a Year in Industry",
+        "2677": "MSci Computer Science (Information Security)",
         "2676": "BSc Computer Science (Information Security) with a Year in Industry",
-        "2675": "BSc Computer Science (Information Security)",
-        "3449": "BSc Computer Science with Integrated Foundation Year",
+        "2678": "MSci Computer Science (Information Security) with a Year in Industry",
         "2845": "MSci Computer Science (Software Engineering)",
         "2844": "BSc Computer Science (Software Engineering) with a Year in Industry",
         "2846": "MSci Computer Science (Software Engineering) with a Year in Industry",
-        "2843": "BSc Computer Science (Software Engineering)",
-        "1059": "BSc Computer Science (Artificial Intelligence)",
-        "2446": "BSc Computer Science (Artificial Intelligence) with a Year in Industry",
-        "1062": "BSc Computer Science with Management",
-        "3014": "BSc Computer Science (Distributed and Networked Systems)",
-        "2677": "MSci Computer Science (Information Security)",
-        "2678": "MSci Computer Science (Information Security) with a Year in Industry",
-        "2446": "BSc Computer Science (Artificial Intelligence) with a Year in Industry",
-        "1069": "BSc Computer Science and Mathematics",
-        "2673": "MSci Computer Science (Artificial Intelligence)",
-        "2674": "MSci Computer Science (Artificial Intelligence) with a Year in Industry",
         "3424": "BSc Computing Technologies",
+        "3014": "BSc Computer Science (Distributed and Networked Systems)",
+        "3449": "BSc Computer Science with Integrated Foundation Year",
+        "1257": "BSc Computing and Business",
+        "3015": "BSc Computer Science (Distributed and Networked Systems) with a Year in Industry",
+        "3016": "MSci Computer Science (Distributed and Networked Sysytems)",
+        "3017": "MSci Computer Science (Distributed and Networked Systems) with a Year in Industry",
         "3047": "BSc Digital Media, Culture and Technology",
         "3657": "BSc Computer Science (International)",
-        "2448": "BSc Computer Science and Mathematics with a Year in Industry",
+        "2448": "BSc Computer Science and Mathematics (Year in Industry)",
+        "3630": "BSc Computer Science and Mathematics with a Placement Year",
+        "3631": "BSc Computer Science (Artificial Intelligence) with a Placement Year",
+        "3696": "BSc Computer Science (Information Security) with a Placement Year",
     }
 
     _ATTRS = [
diff --git a/ldap/rhul-programme-info.py b/ldap/rhul-programme-info.py
index ab0e311..93f24d2 100755
--- a/ldap/rhul-programme-info.py
+++ b/ldap/rhul-programme-info.py
@@ -18,30 +18,36 @@ PROG_FILTERS_NO_YEAR = [
 
 PROG_TITLES = {
     "1067": "BSc Computer Science",
-    "2327": "BSc Computer Science with a Year in Industry",
+    "1059": "BSc Computer Science (Artificial Intelligence)",
+    "2675": "BSc Computer Science (Information Security)",
+    "2843": "BSc Computer Science (Software Engineering)",
+    "1069": "BSc Computer Science and Mathematics",
+    "1062": "BSc Computer Science with Management",
     "2686": "MSci Computer Science",
+    "2327": "BSc Computer Science with a Year in Industry",
     "2687": "MSci Computer Science with a Year in Industry",
+    "2673": "MSci Computer Science (Artificial Intelligence)",
+    "2446": "BSc Computer Science (Artificial Intelligence) with a Year in Industry",
+    "2674": "MSci Computer Science (Artificial Intelligence) with a Year in Industry",
+    "2677": "MSci Computer Science (Information Security)",
     "2676": "BSc Computer Science (Information Security) with a Year in Industry",
-    "2675": "BSc Computer Science (Information Security)",
-    "3449": "BSc Computer Science with Integrated Foundation Year",
+    "2678": "MSci Computer Science (Information Security) with a Year in Industry",
     "2845": "MSci Computer Science (Software Engineering)",
     "2844": "BSc Computer Science (Software Engineering) with a Year in Industry",
     "2846": "MSci Computer Science (Software Engineering) with a Year in Industry",
-    "2843": "BSc Computer Science (Software Engineering)",
-    "1059": "BSc Computer Science (Artificial Intelligence)",
-    "2446": "BSc Computer Science (Artificial Intelligence) with a Year in Industry",
-    "1062": "BSc Computer Science with Management",
-    "3014": "BSc Computer Science (Distributed and Networked Systems)",
-    "2677": "MSci Computer Science (Information Security)",
-    "2678": "MSci Computer Science (Information Security) with a Year in Industry",
-    "2446": "BSc Computer Science (Artificial Intelligence) with a Year in Industry",
-    "1069": "BSc Computer Science and Mathematics",
-    "2673": "MSci Computer Science (Artificial Intelligence)",
-    "2674": "MSci Computer Science (Artificial Intelligence) with a Year in Industry",
     "3424": "BSc Computing Technologies",
-    "3047": "BSc Digital Media, Culture, and Technology",
+    "3014": "BSc Computer Science (Distributed and Networked Systems)",
+    "3449": "BSc Computer Science with Integrated Foundation Year",
+    "1257": "BSc Computing and Business",
+    "3015": "BSc Computer Science (Distributed and Networked Systems) with a Year in Industry",
+    "3016": "MSci Computer Science (Distributed and Networked Sysytems)",
+    "3017": "MSci Computer Science (Distributed and Networked Systems) with a Year in Industry",
+    "3047": "BSc Digital Media, Culture and Technology",
     "3657": "BSc Computer Science (International)",
-    "2448": "BSc Computer Science and Mathematics with a Year in Industry",
+    "2448": "BSc Computer Science and Mathematics (Year in Industry)",
+    "3630": "BSc Computer Science and Mathematics with a Placement Year",
+    "3631": "BSc Computer Science (Artificial Intelligence) with a Placement Year",
+    "3696": "BSc Computer Science (Information Security) with a Placement Year",
 }
 
 URI='ldaps://directory.rhul.ac.uk'
-- 
GitLab