fix: backfill binaryDecision, fix boolean criterion lookup, add assign buttons
All checks were successful
Build and Push Docker Image / build (push) Successful in 10m9s

- Backfilled 166 evaluations' binaryDecision from criterionScoresJson on production DB
- Fixed roundEvaluationScores and ai-ranking to look in EvaluationForm.criteriaJson
  instead of round.configJson for the boolean "Move to the Next Stage?" criterion
- Added advanceMode (count/threshold) toggle to round config Advancement Targets
- Added "Assign to Jurors" button on Unassigned Projects section and Projects tab bulk bar

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-02 12:48:08 +01:00
parent 19b58e4434
commit 2df9c54de2
6 changed files with 142 additions and 70 deletions

View File

@@ -12,6 +12,8 @@ import type { RoundType, AwardEligibilityMode, AwardScoringMode, AwardStatus } f
const generalSettingsFields = {
startupAdvanceCount: z.number().int().nonnegative().optional(),
conceptAdvanceCount: z.number().int().nonnegative().optional(),
advanceMode: z.enum(['count', 'threshold']).default('count'),
advanceScoreThreshold: z.number().min(0).max(10).optional(),
notifyOnEntry: z.boolean().default(false),
notifyOnAdvance: z.boolean().default(false),
}