Attribute scores (#7100)

* rework attributes to get scores

* show sublabel score

* formatting
This commit is contained in:
Blake Blackshear
2023-07-09 11:40:39 -05:00
committed by GitHub
parent 5e772c3625
commit 7c0d25f9da
6 changed files with 58 additions and 20 deletions

View File

@@ -38,7 +38,9 @@ class Event(Model): # type: ignore[misc]
IntegerField()
) # TODO remove when columns can be dropped without rebuilding table
retain_indefinitely = BooleanField(default=False)
ratio = FloatField(default=1.0)
ratio = FloatField(
default=1.0
) # TODO remove when columns can be dropped without rebuilding table
plus_id = CharField(max_length=30)
model_hash = CharField(max_length=32)
detector_type = CharField(max_length=32)