Fix AI assignment errors and tag matching
- Add missing updatedAt column to AssignmentJob table - Fix algorithmic assignment to use AI-assigned projectTags instead of raw CSV tags - Add case-insensitive tag matching for better expertise matching - Scores should now properly reflect tag matches between judges and projects Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
-- Add missing updatedAt column to AssignmentJob table
|
||||
|
||||
DO $$
|
||||
BEGIN
|
||||
IF NOT EXISTS (
|
||||
SELECT 1 FROM information_schema.columns
|
||||
WHERE table_name = 'AssignmentJob' AND column_name = 'updatedAt'
|
||||
) THEN
|
||||
ALTER TABLE "AssignmentJob" ADD COLUMN "updatedAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP;
|
||||
END IF;
|
||||
END $$;
|
||||
Reference in New Issue
Block a user