Skip to content
This repository was archived by the owner on Jan 29, 2026. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
c181a60
WIP: update Submission procedure
nhamilakis Jan 27, 2023
4d52f80
WIP: update Submission file structure
nhamilakis Jan 30, 2023
148321f
WIP: db clean-up for users/auth
nhamilakis Feb 1, 2023
1ea6e50
WIP: db clean-up for challenges/models/submissions (part 1)
nhamilakis Feb 1, 2023
9335270
data dir was ignored by older .gitignore rule
nhamilakis Feb 3, 2023
0e70b25
WIP: db clean-up for challenges/models/submissions (part 2)
nhamilakis Feb 3, 2023
5e9097f
WIP: update routing (part 1)
nhamilakis Feb 3, 2023
dc90642
updated admin-commands to new database schema
nhamilakis Feb 6, 2023
05f30c8
updated api to new database schema
nhamilakis Feb 6, 2023
7dceb90
bugfix: fix imports after refactoring
nhamilakis Feb 6, 2023
406a439
new challenge list
nhamilakis Feb 6, 2023
3e33376
leaderboards data
nhamilakis Feb 8, 2023
7bf2997
various updates of api
nhamilakis Mar 1, 2023
147cd18
submissions upload
nhamilakis Mar 1, 2023
a11e581
updates
nhamilakis Mar 2, 2023
55aad6d
WIP: upload submissions & model creation
nhamilakis Mar 2, 2023
a72753d
upload
nhamilakis Mar 7, 2023
d469601
various updates on submission
nhamilakis Mar 14, 2023
a6238c7
updates
nhamilakis Mar 15, 2023
1a8919d
submission creation
nhamilakis Mar 16, 2023
4f47e28
singlepart upload
nhamilakis Mar 16, 2023
85cae79
WIP: multipart upload
nhamilakis Mar 20, 2023
ae77e6e
NOTE: bug found on multipart upload
nhamilakis Mar 20, 2023
e735066
submission upload
nhamilakis Mar 21, 2023
b4165d9
api lock mode
nhamilakis Mar 21, 2023
2922540
leaderboard updates
nhamilakis May 31, 2023
ca25cb8
leaderboard updates
nhamilakis Jun 1, 2023
ad1a9af
leaderboard updates
nhamilakis Jun 19, 2023
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
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ MANIFEST
*.env
!example.env
!docker.env
data/
*.bin

# custom shortcut files
Expand Down
19 changes: 17 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,24 @@ repository = "https://github.com/zerospeech/vocolab"
voco = "vocolab.admin.main:run_cli"

[project.optional-dependencies]

extras = [
# todo migrate towards normal install when package is published
"vocolab-ext @ https://github.com/zerospeech/vocolab-ext/archive/master.zip"
]

eval = [
"vocolab[extras]",
"celery",
]

zerospeech = [
"vocolab[extras]",
# todo migrate this to pip version
"zerospeech-benchmarks @ https://github.com/zerospeech/vocolab-ext/archive/develop.zip"
]

dev = [
"zerospeech-benchmarks[all]",
"ipython",
"jupyterlab",
"pytest",
Expand All @@ -40,7 +56,6 @@ dev = [
]



[build-system]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ requests==2.28.2
Jinja2==3.1.2
gunicorn==20.1.0
# todo: breaking update to 4.0.0
filesplit==3.0.2
filesplit>=4.0.1
toml;python_version<'3.11'
python-dateutil
numpy
Expand Down
11 changes: 11 additions & 0 deletions samples/benchmark.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[
{
"label": "test-challenge",
"start_date": "2022-06-30",
"end_date": null,
"url": "https://vocolab.com/challenge/test",
"active": false,
"evaluator": null,
"auto_eval": false
}
]
82 changes: 82 additions & 0 deletions samples/benchmark_list.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
[
{
"label": "test-challenge",
"start_date": "2022-02-21",
"end_date": null,
"url": "https://zerospeech.com/track/test",
"active": true,
"evaluator": null,
"auto_eval": false
},
{
"label": "abx15",
"start_date": "2015-01-20",
"end_date": null,
"url": "https://zerospeech.com/tasks/task_1/benchmarks_datasets/#zr2015-and-abx15",
"active": false,
"evaluator": null
},
{
"label": "abx17",
"start_date": "2017-01-20",
"end_date": null,
"url": "https://zerospeech.com/tasks/task_1/benchmarks_datasets/#zrc2017-and-abx17",
"active": false,
"evaluator": null,
"auto_eval": false
},
{
"label": "abxLS",
"start_date": "2021-12-12",
"end_date": null,
"url": "https://zerospeech.com/tasks/task_1/benchmarks_datasets/#abxls-dataset-and-benchmark",
"active": false,
"evaluator": null,
"auto_eval": false
},
{
"label": "tde15",
"start_date": "2015-01-20",
"end_date": null,
"url": "https://zerospeech.com/tasks/task_2/tasks_goals/",
"active": false,
"evaluator": null,
"auto_eval": false
},
{
"label": "tde17",
"start_date": "2017-01-20",
"end_date": null,
"url": "https://zerospeech.com/tasks/task_2/tasks_goals/",
"active": false,
"evaluator": null,
"auto_eval": false
},
{
"label": "sLM21",
"start_date": "2021-12-12",
"end_date": null,
"url": "https://zerospeech.com/tasks/task_4/tasks_goals/",
"active": false,
"evaluator": null,
"auto_eval": false
},
{
"label": "prosAudit",
"start_date": "2023-02-01",
"end_date": null,
"url": "https://zerospeech.com/tasks/task_4/tasks_goals/",
"active": true,
"evaluator": null,
"auto_eval": false
},
{
"label": "ttso19",
"start_date": "2019-01-20",
"end_date": null,
"url": "https://zerospeech.com/tasks/task_3/tasks_goals/",
"active": false,
"evaluator": null,
"auto_eval": false
}
]
8 changes: 0 additions & 8 deletions samples/challenge.json

This file was deleted.

56 changes: 0 additions & 56 deletions samples/challenges.json

This file was deleted.

58 changes: 58 additions & 0 deletions samples/leaderboards_list.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
[
{
"label": "test-leaderboard",
"benchmark_id": 1,
"archived": false,
"static_files": false,
"sorting_key": null
},
{
"label": "abx-15-leaderboard",
"benchmark_id": 2,
"archived": false,
"static_files": false,
"sorting_key": null
},
{
"label": "abx-17-leaderboard",
"benchmark_id": 3,
"archived": false,
"static_files": false,
"sorting_key": null
},
{
"label": "abx-LS-leaderboard",
"benchmark_id": 4,
"archived": false,
"static_files": false,
"sorting_key": null
},
{
"label": "sLM21-leaderboard",
"benchmark_id": 7,
"archived": false,
"static_files": false,
"sorting_key": null
},
{
"label": "tde-15-leaderboard",
"benchmark_id": 5,
"archived": false,
"static_files": false,
"sorting_key": null
},
{
"label": "tde-17-leaderboard",
"benchmark_id": 6,
"archived": false,
"static_files": false,
"sorting_key": null
},
{
"label": "tts0-leaderboard",
"benchmark_id": 8,
"archived": false,
"static_files": false,
"sorting_key": null
}
]
4 changes: 2 additions & 2 deletions tests/fixtures/db.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import pytest

from vocolab.db import zrDB, create_db
from vocolab.data.db import zrDB, build_database_from_schema


@pytest.fixture(scope="session")
async def db():
create_db()
build_database_from_schema()
# connect to Database
await zrDB.connect()

Expand Down
Loading