dyff-schema 0.2.0__tar.gz → 0.2.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.

Potentially problematic release.


This version of dyff-schema might be problematic. Click here for more details.

Files changed (55) hide show
  1. {dyff-schema-0.2.0/dyff_schema.egg-info → dyff-schema-0.2.2}/PKG-INFO +1 -1
  2. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/dyff/schema/v0/r1/platform.py +8 -0
  3. {dyff-schema-0.2.0 → dyff-schema-0.2.2/dyff_schema.egg-info}/PKG-INFO +1 -1
  4. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/.gitignore +0 -0
  5. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/.gitlab-ci.yml +0 -0
  6. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/.licenserc.yaml +0 -0
  7. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/.pre-commit-config.yaml +0 -0
  8. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/.prettierignore +0 -0
  9. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/.secrets.baseline +0 -0
  10. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/CODE_OF_CONDUCT.md +0 -0
  11. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/LICENSE +0 -0
  12. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/NOTICE +0 -0
  13. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/README.md +0 -0
  14. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/dyff/schema/__init__.py +0 -0
  15. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/dyff/schema/adapters.py +0 -0
  16. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/dyff/schema/base.py +0 -0
  17. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/dyff/schema/copydoc.py +0 -0
  18. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/dyff/schema/dataset/__init__.py +0 -0
  19. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/dyff/schema/dataset/arrow.py +0 -0
  20. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/dyff/schema/dataset/binary.py +0 -0
  21. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/dyff/schema/dataset/classification.py +0 -0
  22. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/dyff/schema/dataset/text.py +0 -0
  23. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/dyff/schema/dataset/vision.py +0 -0
  24. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/dyff/schema/ids.py +0 -0
  25. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/dyff/schema/io/__init__.py +0 -0
  26. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/dyff/schema/io/vllm.py +0 -0
  27. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/dyff/schema/platform.py +0 -0
  28. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/dyff/schema/py.typed +0 -0
  29. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/dyff/schema/quantity.py +0 -0
  30. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/dyff/schema/requests.py +0 -0
  31. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/dyff/schema/test.py +0 -0
  32. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/dyff/schema/v0/__init__.py +0 -0
  33. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/dyff/schema/v0/r1/__init__.py +0 -0
  34. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/dyff/schema/v0/r1/adapters.py +0 -0
  35. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/dyff/schema/v0/r1/base.py +0 -0
  36. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/dyff/schema/v0/r1/dataset/__init__.py +0 -0
  37. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/dyff/schema/v0/r1/dataset/arrow.py +0 -0
  38. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/dyff/schema/v0/r1/dataset/binary.py +0 -0
  39. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/dyff/schema/v0/r1/dataset/classification.py +0 -0
  40. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/dyff/schema/v0/r1/dataset/text.py +0 -0
  41. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/dyff/schema/v0/r1/dataset/vision.py +0 -0
  42. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/dyff/schema/v0/r1/io/__init__.py +0 -0
  43. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/dyff/schema/v0/r1/io/vllm.py +0 -0
  44. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/dyff/schema/v0/r1/requests.py +0 -0
  45. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/dyff/schema/v0/r1/test.py +0 -0
  46. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/dyff/schema/v0/r1/version.py +0 -0
  47. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/dyff/schema/version.py +0 -0
  48. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/dyff_schema.egg-info/SOURCES.txt +0 -0
  49. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/dyff_schema.egg-info/dependency_links.txt +0 -0
  50. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/dyff_schema.egg-info/requires.txt +0 -0
  51. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/dyff_schema.egg-info/top_level.txt +0 -0
  52. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/makefile +0 -0
  53. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/pyproject.toml +0 -0
  54. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/setup.cfg +0 -0
  55. {dyff-schema-0.2.0 → dyff-schema-0.2.2}/tests/test_import.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dyff-schema
3
- Version: 0.2.0
3
+ Version: 0.2.2
4
4
  Summary: Data models for the Dyff AI auditing platform.
5
5
  Author-email: Digital Safety Research Institute <contact@dsri.org>
6
6
  License: Apache-2.0
@@ -1069,6 +1069,11 @@ class ReportBase(DyffSchemaBaseModel):
1069
1069
  description="The evaluation (and corresponding output data) to run the report on."
1070
1070
  )
1071
1071
 
1072
+ modules: list[str] = pydantic.Field(
1073
+ default_factory=list,
1074
+ description="Additional modules to load into the report environment",
1075
+ )
1076
+
1072
1077
 
1073
1078
  class Report(DyffEntity, ReportBase):
1074
1079
  """A Report transforms raw model outputs into some useful statistics."""
@@ -1157,6 +1162,7 @@ class _EntityStatusReason(NamedTuple):
1157
1162
  terminate_command: str = "TerminateCommand"
1158
1163
  delete_command: str = "DeleteCommand"
1159
1164
  expired: str = "Expired"
1165
+ interrupted: str = "Interrupted"
1160
1166
 
1161
1167
 
1162
1168
  EntityStatusReason = _EntityStatusReason()
@@ -1351,6 +1357,7 @@ _ENTITY_CLASS = {
1351
1357
  Entities.InferenceService: InferenceService,
1352
1358
  Entities.InferenceSession: InferenceSession,
1353
1359
  Entities.Model: Model,
1360
+ Entities.Module: Module,
1354
1361
  Entities.Report: Report,
1355
1362
  }
1356
1363
 
@@ -1368,6 +1375,7 @@ DyffEntityType = Union[
1368
1375
  InferenceService,
1369
1376
  InferenceSession,
1370
1377
  Model,
1378
+ Module,
1371
1379
  Report,
1372
1380
  ]
1373
1381
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dyff-schema
3
- Version: 0.2.0
3
+ Version: 0.2.2
4
4
  Summary: Data models for the Dyff AI auditing platform.
5
5
  Author-email: Digital Safety Research Institute <contact@dsri.org>
6
6
  License: Apache-2.0
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