fix submittion null score

This commit is contained in:
2026-10-23 23:35:38 +02:00
parent f75a1b0338
commit f42649b888
4 changed files with 52 additions and 14 deletions
+3 -3
View File
@@ -400,9 +400,9 @@ class PuzzleResponse(models.Model):
puzzle_name = models.CharField(
max_length=255, help_text="Puzzle name as detected by OCR"
)
cost = models.IntegerField(blank=True, help_text="Cost value from OCR")
cycles = models.IntegerField(blank=True, help_text="Cycles value from OCR")
area = models.IntegerField(blank=True, help_text="Area value from OCR")
cost = models.IntegerField(null=True, blank=True, help_text="Cost value from OCR")
cycles = models.IntegerField(null=True, blank=True, help_text="Cycles value from OCR")
area = models.IntegerField(null=True, blank=True, help_text="Area value from OCR")
# Validation flags
needs_manual_validation = models.BooleanField(