Repository: conbench/conbench (language: python)

Issue:
Use IPA in the conbench transcription
A follow on from #879, uses IPA for transcription now (so we're not connected to a particular English variety as a referent)


Discussion / hints:

Fix patch:
diff --git a/conbench/templates/index.html b/conbench/templates/index.html
index 9021dacd0..f90042394 100755
--- a/conbench/templates/index.html
+++ b/conbench/templates/index.html
@@ -3,7 +3,7 @@
 {% block app_content %}
 
 
-<h1 class="display-3 text-center" style="margin-bottom: 40px">/kənˈben(t)SH/</h1>
+<h1 class="display-3 text-center" style="margin-bottom: 40px">/ˈkɒnbɛnʧ/</h1>
 
 <div class="p-0"><h3>Recent runs</h3></div>
 <hr class="border border-danger border-1 opacity-50">
diff --git a/conbench/templates/register.html b/conbench/templates/register.html
index 57a9b178b..036d0dc0d 100644
--- a/conbench/templates/register.html
+++ b/conbench/templates/register.html
@@ -18,7 +18,7 @@ <h1>{{ title }}</h1>
 
   <div class="media-body">
     <h4 class="media-heading">Con·bench</h4>
-     <h4>/kənˈben(t)SH/</h4>
+     <h4>/ˈkɒnbɛnʧ/</h4>
      <h5><i>noun</i></h5>
      <h3>Language-independent Continuous Benchmarking (CB) Framework</h3>
   </div>
diff --git a/docker-compose.yml b/docker-compose.yml
index 52278bb15..53d2f0e74 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -35,7 +35,7 @@ services:
       - dex
       - db
     environment:
-      APPLICATION_NAME: "conbench-for-pytest"
+      APPLICATION_NAME: "local-dev-conbench"
       DB_USERNAME: "postgres"
       # From the docker-compose docs: "By default Compose sets up a single
       # network for your app. Each container for a service joins the default


Test patch:
diff --git a/conbench/tests/api/_expected_docs.py b/conbench/tests/api/_expected_docs.py
index 991c86d0f..fccc66e4e 100644
--- a/conbench/tests/api/_expected_docs.py
+++ b/conbench/tests/api/_expected_docs.py
@@ -1329,7 +1329,7 @@
             },
         },
     },
-    "info": {"title": "conbench-for-pytest", "version": "1.0.0"},
+    "info": {"title": "local-dev-conbench", "version": "1.0.0"},
     "openapi": "3.0.2",
     "paths": {
         "/api/": {
diff --git a/conbench/tests/app/_asserts.py b/conbench/tests/app/_asserts.py
index f8ab24866..5a9535563 100644
--- a/conbench/tests/app/_asserts.py
+++ b/conbench/tests/app/_asserts.py
@@ -66,16 +66,16 @@ def assert_registration_page(self, r):
 
     def assert_index_page(self, r):
         self.assert_200_ok(r)
-        assert b"conbench-for-pytest" in r.data
+        assert b"local-dev-conbench" in r.data
         assert b'<html lang="en">' in r.data
         # assert b"Login" in r.data
 
     def assert_page(self, r, title):
         self.assert_200_ok(r)
         # The HTML <title> tag starts with the conbench deployment name, in
-        # this case `conbench-for-pytest` and then contains a " - " seperator,
+        # this case `local-dev-conbench` and then contains a " - " seperator,
         # followed by the more specific page name
-        assert b"conbench-for-pytest - " in r.data
+        assert b"local-dev-conbench - " in r.data
 
     def create_benchmark(self, client):
         self.authenticate(client)
@@ -199,16 +199,16 @@ def test_public_data_off(self, client, monkeypatch):
         # be reworked.
         # assert new_id.encode() not in r2.data
 
-        assert b"conbench-for-pytest - Sign In" in r2.data, r2.data
+        assert b"local-dev-conbench - Sign In" in r2.data, r2.data
 
     def test_unknown(self, client):
         self.authenticate(client)
         unknown_url = self.url.format("unknown")
         response = client.get(unknown_url, follow_redirects=True)
         if getattr(self, "redirect_on_unknown", True):
-            assert b"conbench-for-pytest - Home" in response.data, response.data
+            assert b"local-dev-conbench - Home" in response.data, response.data
         else:
-            title = f"conbench-for-pytest - {self.title}".encode()
+            title = f"local-dev-conbench - {self.title}".encode()
             assert title in response.data, response.data