pearmut 0.3.1__tar.gz → 0.3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pearmut-0.3.1 → pearmut-0.3.2}/PKG-INFO +2 -2
- {pearmut-0.3.1 → pearmut-0.3.2}/README.md +1 -1
- {pearmut-0.3.1 → pearmut-0.3.2}/pearmut.egg-info/PKG-INFO +2 -2
- {pearmut-0.3.1 → pearmut-0.3.2}/pyproject.toml +1 -1
- {pearmut-0.3.1 → pearmut-0.3.2}/server/cli.py +6 -2
- {pearmut-0.3.1 → pearmut-0.3.2}/LICENSE +0 -0
- {pearmut-0.3.1 → pearmut-0.3.2}/pearmut.egg-info/SOURCES.txt +0 -0
- {pearmut-0.3.1 → pearmut-0.3.2}/pearmut.egg-info/dependency_links.txt +0 -0
- {pearmut-0.3.1 → pearmut-0.3.2}/pearmut.egg-info/entry_points.txt +0 -0
- {pearmut-0.3.1 → pearmut-0.3.2}/pearmut.egg-info/requires.txt +0 -0
- {pearmut-0.3.1 → pearmut-0.3.2}/pearmut.egg-info/top_level.txt +0 -0
- {pearmut-0.3.1 → pearmut-0.3.2}/server/app.py +0 -0
- {pearmut-0.3.1 → pearmut-0.3.2}/server/assignment.py +0 -0
- {pearmut-0.3.1 → pearmut-0.3.2}/server/static/basic.bundle.js +0 -0
- {pearmut-0.3.1 → pearmut-0.3.2}/server/static/basic.html +0 -0
- {pearmut-0.3.1 → pearmut-0.3.2}/server/static/dashboard.bundle.js +0 -0
- {pearmut-0.3.1 → pearmut-0.3.2}/server/static/dashboard.html +0 -0
- {pearmut-0.3.1 → pearmut-0.3.2}/server/static/favicon.svg +0 -0
- {pearmut-0.3.1 → pearmut-0.3.2}/server/static/index.html +0 -0
- {pearmut-0.3.1 → pearmut-0.3.2}/server/static/style.css +0 -0
- {pearmut-0.3.1 → pearmut-0.3.2}/server/utils.py +0 -0
- {pearmut-0.3.1 → pearmut-0.3.2}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pearmut
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.2
|
|
4
4
|
Summary: A tool for evaluation of model outputs, primarily MT.
|
|
5
5
|
Author-email: Vilém Zouhar <vilem.zouhar@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -308,7 +308,7 @@ Management link (shown when adding campaigns or running server) provides:
|
|
|
308
308
|
- Task progress reset (data preserved)
|
|
309
309
|
- Download progress and annotations
|
|
310
310
|
|
|
311
|
-
<img width="1000" alt="Management dashboard" src="https://github.com/user-attachments/assets/
|
|
311
|
+
<img width="1000" alt="Management dashboard" src="https://github.com/user-attachments/assets/5a27271c-1e80-4e54-b242-c361265df86e" />
|
|
312
312
|
|
|
313
313
|
Completion tokens are shown at annotation end for verification (download correct tokens from dashboard). Incorrect tokens can be shown if quality control fails.
|
|
314
314
|
|
|
@@ -288,7 +288,7 @@ Management link (shown when adding campaigns or running server) provides:
|
|
|
288
288
|
- Task progress reset (data preserved)
|
|
289
289
|
- Download progress and annotations
|
|
290
290
|
|
|
291
|
-
<img width="1000" alt="Management dashboard" src="https://github.com/user-attachments/assets/
|
|
291
|
+
<img width="1000" alt="Management dashboard" src="https://github.com/user-attachments/assets/5a27271c-1e80-4e54-b242-c361265df86e" />
|
|
292
292
|
|
|
293
293
|
Completion tokens are shown at annotation end for verification (download correct tokens from dashboard). Incorrect tokens can be shown if quality control fails.
|
|
294
294
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pearmut
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.2
|
|
4
4
|
Summary: A tool for evaluation of model outputs, primarily MT.
|
|
5
5
|
Author-email: Vilém Zouhar <vilem.zouhar@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -308,7 +308,7 @@ Management link (shown when adding campaigns or running server) provides:
|
|
|
308
308
|
- Task progress reset (data preserved)
|
|
309
309
|
- Download progress and annotations
|
|
310
310
|
|
|
311
|
-
<img width="1000" alt="Management dashboard" src="https://github.com/user-attachments/assets/
|
|
311
|
+
<img width="1000" alt="Management dashboard" src="https://github.com/user-attachments/assets/5a27271c-1e80-4e54-b242-c361265df86e" />
|
|
312
312
|
|
|
313
313
|
Completion tokens are shown at annotation end for verification (download correct tokens from dashboard). Incorrect tokens can be shown if quality control fails.
|
|
314
314
|
|
|
@@ -45,7 +45,7 @@ def _run(args_unknown):
|
|
|
45
45
|
|
|
46
46
|
uvicorn.run(
|
|
47
47
|
app,
|
|
48
|
-
host="
|
|
48
|
+
host="0.0.0.0",
|
|
49
49
|
port=args.port,
|
|
50
50
|
reload=False,
|
|
51
51
|
# log_level="info",
|
|
@@ -182,7 +182,7 @@ def _add_single_campaign(data_file, overwrite, server):
|
|
|
182
182
|
# Template defaults to "basic" if not specified
|
|
183
183
|
assignment = campaign_data["info"]["assignment"]
|
|
184
184
|
# use random words for identifying users
|
|
185
|
-
rng = random.Random(
|
|
185
|
+
rng = random.Random()
|
|
186
186
|
rword = wonderwords.RandomWord(rng=rng)
|
|
187
187
|
|
|
188
188
|
# Parse users specification from info
|
|
@@ -265,6 +265,10 @@ def _add_single_campaign(data_file, overwrite, server):
|
|
|
265
265
|
raise ValueError("'users' list must contain all strings or all dicts.")
|
|
266
266
|
else:
|
|
267
267
|
raise ValueError("'users' must be an integer or a list.")
|
|
268
|
+
|
|
269
|
+
if "protocol" not in campaign_data["info"]:
|
|
270
|
+
campaign_data["info"]["protocol"] = "ESA"
|
|
271
|
+
print("Warning: 'protocol' not specified in campaign info. Defaulting to 'ESA'.")
|
|
268
272
|
|
|
269
273
|
# For task-based, data is a dict mapping user_id -> tasks
|
|
270
274
|
# For single-stream, data is a flat list (shared among all users)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|