| from django.contrib import admin | |
| from .models import * | |
| class BenchmarkSuiteAdmin(admin.ModelAdmin): | |
| list_display = ("name", "suite_type", "version", "is_active", "created_at") | |
| list_filter = ("suite_type", "is_active") | |
| class BenchmarkTestAdmin(admin.ModelAdmin): | |
| list_display = ("name", "suite", "category", "metric_name", "weight", "is_active") | |
| list_filter = ("category", "suite", "is_active") | |
| class BenchmarkRunAdmin(admin.ModelAdmin): | |
| list_display = ("id_short", "listing", "suite", "status", "created_at") | |
| list_filter = ("status",) | |
| def id_short(self, obj): | |
| return obj.id.hex[:8] | |
| class BenchmarkResultAdmin(admin.ModelAdmin): | |
| list_display = ( | |
| "test", | |
| "listing", | |
| "batch_size", | |
| "precision", | |
| "metric_value", | |
| "normalized_score", | |
| ) | |
| list_filter = ("test__suite", "precision", "is_valid") | |
| class ListingBenchmarkScoreAdmin(admin.ModelAdmin): | |
| list_display = ( | |
| "listing", | |
| "composite_score", | |
| "training_score", | |
| "inference_score", | |
| "llm_score", | |
| ) | |
Xet Storage Details
- Size:
- 1.26 kB
- Xet hash:
- 3beb894991ee48c1cadb6f2f85f5ce5270f574dd923736a763af7adfc6ee13c2
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.