Exclude SEPARATE_POOL award projects from main pool finalization
All checks were successful
Build and Push Docker Image / build (push) Successful in 9m47s
All checks were successful
Build and Push Docker Image / build (push) Successful in 9m47s
- finalizeResults now queries confirmed SEPARATE_POOL shortlist and excludes those projects from the main pool ELIGIBLE set - Finalize confirmation dialog shows breakdown: main pool vs award-routed - Finalize toast includes award-routed count - Audit log records routedToAwards count Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -250,6 +250,7 @@ export function FilteringDashboard({ competitionId, roundId }: FilteringDashboar
|
||||
utils.project.list.invalidate()
|
||||
toast.success(
|
||||
`Finalized: ${data.passed} passed, ${data.filteredOut} filtered out` +
|
||||
(data.routedToAwards > 0 ? `, ${data.routedToAwards} routed to award tracks` : '') +
|
||||
(data.advancedToStageName ? `. Next round: ${data.advancedToStageName}` : '')
|
||||
)
|
||||
if (data.categoryWarnings.length > 0) {
|
||||
@@ -483,7 +484,12 @@ export function FilteringDashboard({ competitionId, roundId }: FilteringDashboar
|
||||
This will mark PASSED projects as eligible and FILTERED_OUT projects as rejected.
|
||||
{stats && (
|
||||
<span className="block mt-2 font-medium">
|
||||
{stats.passed} will pass, {stats.filteredOut} will be filtered out, {stats.flagged} flagged for review.
|
||||
{stats.passed - (stats.routedToAwards || 0)} will pass to main pool, {stats.filteredOut} will be filtered out{stats.flagged > 0 ? `, ${stats.flagged} flagged for review` : ''}.
|
||||
{(stats.routedToAwards || 0) > 0 && (
|
||||
<span className="block text-amber-700">
|
||||
{stats.routedToAwards} already routed to award tracks (excluded from main pool).
|
||||
</span>
|
||||
)}
|
||||
</span>
|
||||
)}
|
||||
This action can be reversed but requires manual intervention.
|
||||
|
||||
Reference in New Issue
Block a user