Skip to content

Commit 6a5641a

Browse files
authored
Merge pull request #50 from mlcommons/standardized-column-names-data-refactor
Standardized modelgauge column names
2 parents ce6ed0b + 5f5ff70 commit 6a5641a

File tree

12 files changed

+135
-177
lines changed

12 files changed

+135
-177
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,14 @@ jobs:
2626
- name: Install poetry
2727
run: pipx install "poetry == 1.8.5"
2828

29+
- name: Remove existing virtual environment
30+
run: |
31+
poetry env remove python || true
32+
2933
- name: Install dependencies
30-
run: poetry install --with test --no-cache
34+
run: |
35+
poetry cache clear --no-interaction --all .
36+
poetry install --with test --no-cache
3137
3238
- name: Run all tests
3339
run: MLFLOW_TRACKING_URI=http://localhost:8080 poetry run pytest

flightpaths/data/fakegroundtruth.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
UID,SUT,is_safe
1+
prompt_uid,sut_uid,is_safe
22
airr_practice_1_0_156733,demo_yes_no,unsafe
33
airr_practice_1_0_91247,demo_yes_no,safe
44
airr_practice_1_0_91240,demo_yes_no,unsafe

poetry.lock

Lines changed: 42 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ packages = [
1313
python = ">=3.10,!=3.12.5,<3.13"
1414
click = "^8"
1515
dvc = {extras = ["gs"], version = "^3.60"}
16-
modelbench = {git = "https://github.com/mlcommons/modelbench.git", rev = "2b19f4f79dfb51fe3db8d9d11af12beccc749844" }
16+
modelbench = {git = "https://github.com/mlcommons/modelbench.git", rev = "afe1cbfa42eebe3363440d1ab5841c007384e244" }
1717
mlflow = "^3.1.1"
1818
python-dotenv = "^1"
1919
requests = "^2"
@@ -25,19 +25,19 @@ jupyter = "^1"
2525
scikit-learn = "^1.5.0"
2626
pandas = "^2.2.2"
2727
# plugins (would like to figure out a better way to manage these)
28-
modelgauge_anthropic = { git = "https://github.com/mlcommons/modelbench.git", subdirectory = "plugins/anthropic", rev = "2b19f4f79dfb51fe3db8d9d11af12beccc749844" }
29-
modelgauge-azure = { git = "https://github.com/mlcommons/modelbench.git", subdirectory = "plugins/azure", rev = "2b19f4f79dfb51fe3db8d9d11af12beccc749844" }
30-
modelgauge_baseten = { git = "https://github.com/mlcommons/modelbench.git", subdirectory = "plugins/baseten", rev = "2b19f4f79dfb51fe3db8d9d11af12beccc749844" }
31-
modelgauge_demo_plugin = { git = "https://github.com/mlcommons/modelbench.git", subdirectory = "demo_plugin", rev = "2b19f4f79dfb51fe3db8d9d11af12beccc749844" }
32-
modelgauge_nvidia = { git = "https://github.com/mlcommons/modelbench.git", subdirectory = "plugins/nvidia", rev = "2b19f4f79dfb51fe3db8d9d11af12beccc749844" }
33-
modelgauge_openai = { git = "https://github.com/mlcommons/modelbench.git", subdirectory = "plugins/openai", rev = "2b19f4f79dfb51fe3db8d9d11af12beccc749844" }
34-
modelgauge_huggingface = { git = "https://github.com/mlcommons/modelbench.git", subdirectory = "plugins/huggingface", rev = "2b19f4f79dfb51fe3db8d9d11af12beccc749844" }
35-
modelgauge_perspective_api = { git = "https://github.com/mlcommons/modelbench.git", subdirectory = "plugins/perspective_api", rev = "2b19f4f79dfb51fe3db8d9d11af12beccc749844" }
36-
modelgauge_google = { git = "https://github.com/mlcommons/modelbench.git", subdirectory = "plugins/google", rev = "2b19f4f79dfb51fe3db8d9d11af12beccc749844" }
37-
modelgauge_vertexai = { git = "https://github.com/mlcommons/modelbench.git", subdirectory = "plugins/vertexai", rev = "2b19f4f79dfb51fe3db8d9d11af12beccc749844" }
38-
modelgauge_mistral = { git = "https://github.com/mlcommons/modelbench.git", subdirectory = "plugins/mistral", rev = "2b19f4f79dfb51fe3db8d9d11af12beccc749844" }
39-
modelgauge_amazon = { git = "https://github.com/mlcommons/modelbench.git", subdirectory = "plugins/amazon", rev = "2b19f4f79dfb51fe3db8d9d11af12beccc749844" }
40-
modelbench-private = { git = "[email protected]:mlcommons/modelbench-private.git", rev = "86d11ce8a15a813d4134cbfb573ac224fea5fd75", optional = true }
28+
modelgauge_anthropic = { git = "https://github.com/mlcommons/modelbench.git", subdirectory = "plugins/anthropic", rev = "afe1cbfa42eebe3363440d1ab5841c007384e244" }
29+
modelgauge-azure = { git = "https://github.com/mlcommons/modelbench.git", subdirectory = "plugins/azure", rev = "afe1cbfa42eebe3363440d1ab5841c007384e244" }
30+
modelgauge_baseten = { git = "https://github.com/mlcommons/modelbench.git", subdirectory = "plugins/baseten", rev = "afe1cbfa42eebe3363440d1ab5841c007384e244" }
31+
modelgauge_demo_plugin = { git = "https://github.com/mlcommons/modelbench.git", subdirectory = "demo_plugin", rev = "afe1cbfa42eebe3363440d1ab5841c007384e244" }
32+
modelgauge_nvidia = { git = "https://github.com/mlcommons/modelbench.git", subdirectory = "plugins/nvidia", rev = "afe1cbfa42eebe3363440d1ab5841c007384e244" }
33+
modelgauge_openai = { git = "https://github.com/mlcommons/modelbench.git", subdirectory = "plugins/openai", rev = "afe1cbfa42eebe3363440d1ab5841c007384e244" }
34+
modelgauge_huggingface = { git = "https://github.com/mlcommons/modelbench.git", subdirectory = "plugins/huggingface", rev = "afe1cbfa42eebe3363440d1ab5841c007384e244" }
35+
modelgauge_perspective_api = { git = "https://github.com/mlcommons/modelbench.git", subdirectory = "plugins/perspective_api", rev = "afe1cbfa42eebe3363440d1ab5841c007384e244" }
36+
modelgauge_google = { git = "https://github.com/mlcommons/modelbench.git", subdirectory = "plugins/google", rev = "afe1cbfa42eebe3363440d1ab5841c007384e244" }
37+
modelgauge_vertexai = { git = "https://github.com/mlcommons/modelbench.git", subdirectory = "plugins/vertexai", rev = "afe1cbfa42eebe3363440d1ab5841c007384e244" }
38+
modelgauge_mistral = { git = "https://github.com/mlcommons/modelbench.git", subdirectory = "plugins/mistral", rev = "afe1cbfa42eebe3363440d1ab5841c007384e244" }
39+
modelgauge_amazon = { git = "https://github.com/mlcommons/modelbench.git", subdirectory = "plugins/amazon", rev = "afe1cbfa42eebe3363440d1ab5841c007384e244" }
40+
modelbench-private = { git = "[email protected]:mlcommons/modelbench-private.git", rev = "982973bd51e6c7ebb1bebaaa1eeb6a297d871bb3", optional = true }
4141

4242
[tool.poetry.extras]
4343
modelbench-private = ["modelbench-private"]

0 commit comments

Comments
 (0)