From 272441e6d1951668af6af8469636c8b9173d9bdb Mon Sep 17 00:00:00 2001
From: Benedikt Bastin <benedikt@benedikt-bastin.de>
Date: Thu, 7 Sep 2023 15:05:03 +0200
Subject: [PATCH 1/6] feat: Aktueller Stand Statistiken 2023-09-07

---
 scripts/data.csv                          | 10 +++++-----
 slides/aktueller_stand_strukturaufbau.tex | 12 ++++++------
 slides/bundesweite_ziele.tex              |  4 ++--
 3 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/scripts/data.csv b/scripts/data.csv
index 3625ed7..2550ac2 100644
--- a/scripts/data.csv
+++ b/scripts/data.csv
@@ -1,6 +1,6 @@
 Kategorie,Bonn,Bund
-Ausgefüllte Gesprächsbögen,217,3078
-TVStud-Botschafter*innen,64,1208
-Streikbereit,139,2316
-Aktionsbereit,118,1760
-Gewerkschaftsmitglied,41,1093
+Ausgefüllte Gesprächsbögen,231,3078
+TVStud-Botschafter*innen,66,1208
+Streikbereit,146,2316
+Aktionsbereit,129,1760
+Gewerkschaftsmitglied,42,1093
diff --git a/slides/aktueller_stand_strukturaufbau.tex b/slides/aktueller_stand_strukturaufbau.tex
index 573487f..a879bff 100644
--- a/slides/aktueller_stand_strukturaufbau.tex
+++ b/slides/aktueller_stand_strukturaufbau.tex
@@ -2,16 +2,16 @@
     \renewcommand{\arraystretch}{1.5}
     \begin{tabularx}{\textwidth}{Xrrr}
         \textbf{Kategorie} & \textbf{Bonn} & \textbf{Bund} \\
-        Ausgefüllte Gesprächsbögen & 217 & 3078 \\
-        TVStud-Botschafter*innen & 64 & 1208 \\
-        Streikbereit & 139 & 2316 \\
-        Aktionsbereit & 118 & 1760 \\
+        Ausgefüllte Gesprächsbögen & 231 & 3078 \\
+        TVStud-Botschafter*innen & 66 & 1208 \\
+        Streikbereit & 146 & 2316 \\
+        Aktionsbereit & 129 & 1760 \\
         Gewerkschaftsmitglied \newline
-        {\footnotesize ver.di oder GEW} & 41 & 1093
+        {\footnotesize ver.di oder GEW} & 42 & 1093
     \end{tabularx}
 
     \vspace{3em}
-    {\small Stand: 2023-09-06}
+    {\small Stand: 2023-09-07}
 \end{frame}
 
 \endinput
diff --git a/slides/bundesweite_ziele.tex b/slides/bundesweite_ziele.tex
index 114d9f7..8005238 100644
--- a/slides/bundesweite_ziele.tex
+++ b/slides/bundesweite_ziele.tex
@@ -6,11 +6,11 @@
         Gesprächsbögen & 3100 & 3300 & 3500 & \emph{3078} \\
         ver.di-Neueintritte & 275 & - & - & \emph{\textasciitilde{}~200} \\
         Tarifbotschafter*innen & 100 & - & - & \emph{?} \\
-        digitale Befragung & 1500 & 2500 & 3500 & \emph{1574}
+        digitale Befragung & 1500 & 2500 & 3500 & \emph{1636}
     \end{tabularx}
 
     \vspace{6em}
-    {\small Stand:~2023-09-06}
+    {\small Stand:~2023-09-07}
 \end{frame}
 
 \endinput

From f4031b61d30b43b3022befcd06fa6adde8ac1a8a Mon Sep 17 00:00:00 2001
From: Benedikt Bastin <benedikt@benedikt-bastin.de>
Date: Thu, 7 Sep 2023 15:45:36 +0200
Subject: [PATCH 2/6] =?UTF-8?q?ci:=20Pr=C3=A4sentation=20GJ=20aus=20CI=20e?=
 =?UTF-8?q?ntfernt?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../workflows/build-praesentation_at_gj.yaml   | 18 ------------------
 1 file changed, 18 deletions(-)
 delete mode 100644 .github/workflows/build-praesentation_at_gj.yaml

diff --git a/.github/workflows/build-praesentation_at_gj.yaml b/.github/workflows/build-praesentation_at_gj.yaml
deleted file mode 100644
index 6ec48e0..0000000
--- a/.github/workflows/build-praesentation_at_gj.yaml
+++ /dev/null
@@ -1,18 +0,0 @@
-name: Build Praesentation_AT_GJ.tex
-on: [push]
-jobs:
-  build_Praesentation_AT_GJ:
-    runs-on: ubuntu-latest
-    steps:
-      - name: Set up Git repository
-        uses: actions/checkout@v3
-      - name: Compile Praesentation_AT_GJ.tex
-        uses: xu-cheng/latex-action@v2
-        with:
-          root_file: Praesentation_AT_GJ.tex
-          latexmk_use_lualatex: true
-      - name: Upload PDF file
-        uses: actions/upload-artifact@v3
-        with:
-          name: Praesentation_AT_GJ.pdf
-          path: Praesentation_AT_GJ.pdf

From 2f53468135eedc99c8ecce86cf84ee0b8b9ac9a9 Mon Sep 17 00:00:00 2001
From: Benedikt Bastin <benedikt@benedikt-bastin.de>
Date: Thu, 7 Sep 2023 16:13:03 +0200
Subject: [PATCH 3/6] feat: Aktueller Stand Bundesweit 2023-08-29

---
 scripts/data.csv | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/scripts/data.csv b/scripts/data.csv
index 2550ac2..107b1f1 100644
--- a/scripts/data.csv
+++ b/scripts/data.csv
@@ -1,6 +1,6 @@
 Kategorie,Bonn,Bund
-Ausgefüllte Gesprächsbögen,231,3078
-TVStud-Botschafter*innen,66,1208
-Streikbereit,146,2316
-Aktionsbereit,129,1760
-Gewerkschaftsmitglied,42,1093
+Ausgefüllte Gesprächsbögen,231,3186
+TVStud-Botschafter*innen,66,1245
+Streikbereit,146,2378
+Aktionsbereit,129,1804
+Gewerkschaftsmitglied,42,1125

From 77b474f77bd7fadca91f5f318ce3e7f30434da90 Mon Sep 17 00:00:00 2001
From: Benedikt Bastin <benedikt@benedikt-bastin.de>
Date: Thu, 7 Sep 2023 16:15:26 +0200
Subject: [PATCH 4/6] =?UTF-8?q?feat:=20Stand=20nach=20Bonn/Bund=20aufgesch?=
 =?UTF-8?q?l=C3=BCsselt?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 scripts/data.csv                                     |  1 +
 scripts/stats.py                                     |  1 -
 scripts/templates/aktueller_stand_strukturaufbau.tex |  2 +-
 slides/aktueller_stand_strukturaufbau.tex            | 12 ++++++------
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/scripts/data.csv b/scripts/data.csv
index 107b1f1..cff63d2 100644
--- a/scripts/data.csv
+++ b/scripts/data.csv
@@ -4,3 +4,4 @@ TVStud-Botschafter*innen,66,1245
 Streikbereit,146,2378
 Aktionsbereit,129,1804
 Gewerkschaftsmitglied,42,1125
+Stand,2023-09-07,2023-08-29
diff --git a/scripts/stats.py b/scripts/stats.py
index 546c4b7..38a6723 100644
--- a/scripts/stats.py
+++ b/scripts/stats.py
@@ -47,7 +47,6 @@ def generate_aktueller_stand_strukturaufbau():
     return template.render(
         bonn=data["Bonn"],
         bund=data["Bund"],
-        stand=date.fromtimestamp(os.path.getmtime(data_file)).isoformat(),
     )
 
 
diff --git a/scripts/templates/aktueller_stand_strukturaufbau.tex b/scripts/templates/aktueller_stand_strukturaufbau.tex
index 0f95728..c53e63a 100644
--- a/scripts/templates/aktueller_stand_strukturaufbau.tex
+++ b/scripts/templates/aktueller_stand_strukturaufbau.tex
@@ -11,7 +11,7 @@
     \end{tabularx}
 
     \vspace{3em}
-    {\small Stand: {{ stand }}}
+    {\small Stand: {{ bonn[5] }} (Bonn), {{ bund[5] }} (Bund)}
 \end{frame}
 
 \endinput
diff --git a/slides/aktueller_stand_strukturaufbau.tex b/slides/aktueller_stand_strukturaufbau.tex
index a879bff..0218485 100644
--- a/slides/aktueller_stand_strukturaufbau.tex
+++ b/slides/aktueller_stand_strukturaufbau.tex
@@ -2,16 +2,16 @@
     \renewcommand{\arraystretch}{1.5}
     \begin{tabularx}{\textwidth}{Xrrr}
         \textbf{Kategorie} & \textbf{Bonn} & \textbf{Bund} \\
-        Ausgefüllte Gesprächsbögen & 231 & 3078 \\
-        TVStud-Botschafter*innen & 66 & 1208 \\
-        Streikbereit & 146 & 2316 \\
-        Aktionsbereit & 129 & 1760 \\
+        Ausgefüllte Gesprächsbögen & 231 & 3186 \\
+        TVStud-Botschafter*innen & 66 & 1245 \\
+        Streikbereit & 146 & 2378 \\
+        Aktionsbereit & 129 & 1804 \\
         Gewerkschaftsmitglied \newline
-        {\footnotesize ver.di oder GEW} & 42 & 1093
+        {\footnotesize ver.di oder GEW} & 42 & 1125
     \end{tabularx}
 
     \vspace{3em}
-    {\small Stand: 2023-09-07}
+    {\small Stand: 2023-09-07 (Bonn), 2023-08-29 (Bund)}
 \end{frame}
 
 \endinput

From 389f0eaf7e17d7f5bd02721ad3931ae57c79b496 Mon Sep 17 00:00:00 2001
From: Benedikt Bastin <benedikt@benedikt-bastin.de>
Date: Fri, 8 Sep 2023 19:34:57 +0200
Subject: [PATCH 5/6] =?UTF-8?q?feat:=20Bundesweite=20B=C3=B6gen=20richtig?=
 =?UTF-8?q?=20bei=20Ziele=20einsetzen?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 scripts/stats.py             | 12 +++++++++---
 slides/bundesweite_ziele.tex |  6 +++---
 2 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/scripts/stats.py b/scripts/stats.py
index 38a6723..f732e04 100644
--- a/scripts/stats.py
+++ b/scripts/stats.py
@@ -20,8 +20,10 @@ def get_befragung():
 def generate_bundesweite_ziele_tex():
     template = env.get_template("bundesweite_ziele.tex")
 
+    data = get_aktueller_stand_data()
+
     return template.render(
-        boegen="3078",
+        boegen=data["Bund"][0],
         eintritte="\\textasciitilde{}~200",
         botschafter="?",
         befragung=get_befragung(),
@@ -37,12 +39,16 @@ def update_bundesweite_ziele_tex():
         f.write("\n")
         f.write("\n")
 
+def get_aktueller_stand_data():
+    data_file = "data.csv"
+    data = pd.read_csv(data_file)
+
+    return data
 
 def generate_aktueller_stand_strukturaufbau():
     template = env.get_template("aktueller_stand_strukturaufbau.tex")
 
-    data_file = "data.csv"
-    data = pd.read_csv(data_file)
+    data = get_aktueller_stand_data()
 
     return template.render(
         bonn=data["Bonn"],
diff --git a/slides/bundesweite_ziele.tex b/slides/bundesweite_ziele.tex
index 8005238..fa50859 100644
--- a/slides/bundesweite_ziele.tex
+++ b/slides/bundesweite_ziele.tex
@@ -3,14 +3,14 @@
     \renewcommand{\arraystretch}{1.5}
     \begin{tabularx}{\textwidth}{Xrrrr}
         \textbf{Kategorie} & \textbf{Erfolg} & \textbf{großer Erfolg} & \textbf{sehr großer Erfolg} & \textbf{Stand} \\
-        Gesprächsbögen & 3100 & 3300 & 3500 & \emph{3078} \\
+        Gesprächsbögen & 3100 & 3300 & 3500 & \emph{3186} \\
         ver.di-Neueintritte & 275 & - & - & \emph{\textasciitilde{}~200} \\
         Tarifbotschafter*innen & 100 & - & - & \emph{?} \\
-        digitale Befragung & 1500 & 2500 & 3500 & \emph{1636}
+        digitale Befragung & 1500 & 2500 & 3500 & \emph{1693}
     \end{tabularx}
 
     \vspace{6em}
-    {\small Stand:~2023-09-07}
+    {\small Stand:~2023-09-08}
 \end{frame}
 
 \endinput

From 5db7be1126777246f68a07e14af9e5ff39b232be Mon Sep 17 00:00:00 2001
From: Benedikt Bastin <benedikt@benedikt-bastin.de>
Date: Fri, 15 Sep 2023 18:14:05 +0200
Subject: [PATCH 6/6] feat: Aktueller Stand Statistiken 2023-09-15

---
 scripts/data.csv                          | 12 ++++++------
 slides/aktueller_stand_strukturaufbau.tex | 12 ++++++------
 slides/bundesweite_ziele.tex              |  6 +++---
 3 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/scripts/data.csv b/scripts/data.csv
index cff63d2..0abdebf 100644
--- a/scripts/data.csv
+++ b/scripts/data.csv
@@ -1,7 +1,7 @@
 Kategorie,Bonn,Bund
-Ausgefüllte Gesprächsbögen,231,3186
-TVStud-Botschafter*innen,66,1245
-Streikbereit,146,2378
-Aktionsbereit,129,1804
-Gewerkschaftsmitglied,42,1125
-Stand,2023-09-07,2023-08-29
+Ausgefüllte Gesprächsbögen,231,3380
+TVStud-Botschafter*innen,66,1316
+Streikbereit,146,2507
+Aktionsbereit,129,1884
+Gewerkschaftsmitglied,43,1190
+Stand,2023-09-07,2023-09-12
diff --git a/slides/aktueller_stand_strukturaufbau.tex b/slides/aktueller_stand_strukturaufbau.tex
index 0218485..6bb8e44 100644
--- a/slides/aktueller_stand_strukturaufbau.tex
+++ b/slides/aktueller_stand_strukturaufbau.tex
@@ -2,16 +2,16 @@
     \renewcommand{\arraystretch}{1.5}
     \begin{tabularx}{\textwidth}{Xrrr}
         \textbf{Kategorie} & \textbf{Bonn} & \textbf{Bund} \\
-        Ausgefüllte Gesprächsbögen & 231 & 3186 \\
-        TVStud-Botschafter*innen & 66 & 1245 \\
-        Streikbereit & 146 & 2378 \\
-        Aktionsbereit & 129 & 1804 \\
+        Ausgefüllte Gesprächsbögen & 231 & 3380 \\
+        TVStud-Botschafter*innen & 66 & 1316 \\
+        Streikbereit & 146 & 2507 \\
+        Aktionsbereit & 129 & 1884 \\
         Gewerkschaftsmitglied \newline
-        {\footnotesize ver.di oder GEW} & 42 & 1125
+        {\footnotesize ver.di oder GEW} & 43 & 1190
     \end{tabularx}
 
     \vspace{3em}
-    {\small Stand: 2023-09-07 (Bonn), 2023-08-29 (Bund)}
+    {\small Stand: 2023-09-07 (Bonn), 2023-09-12 (Bund)}
 \end{frame}
 
 \endinput
diff --git a/slides/bundesweite_ziele.tex b/slides/bundesweite_ziele.tex
index fa50859..d3b7c87 100644
--- a/slides/bundesweite_ziele.tex
+++ b/slides/bundesweite_ziele.tex
@@ -3,14 +3,14 @@
     \renewcommand{\arraystretch}{1.5}
     \begin{tabularx}{\textwidth}{Xrrrr}
         \textbf{Kategorie} & \textbf{Erfolg} & \textbf{großer Erfolg} & \textbf{sehr großer Erfolg} & \textbf{Stand} \\
-        Gesprächsbögen & 3100 & 3300 & 3500 & \emph{3186} \\
+        Gesprächsbögen & 3100 & 3300 & 3500 & \emph{3380} \\
         ver.di-Neueintritte & 275 & - & - & \emph{\textasciitilde{}~200} \\
         Tarifbotschafter*innen & 100 & - & - & \emph{?} \\
-        digitale Befragung & 1500 & 2500 & 3500 & \emph{1693}
+        digitale Befragung & 1500 & 2500 & 3500 & \emph{2182}
     \end{tabularx}
 
     \vspace{6em}
-    {\small Stand:~2023-09-08}
+    {\small Stand:~2023-09-15}
 \end{frame}
 
 \endinput