DPChallenge: A Digital Photography Contest You are not logged in. (log in or register
 

DPChallenge Forums >> The Critique Club >> Priority queue structure
Pages:  
Showing posts 26 - 27 of 27, (reverse)
AuthorThread
12/27/2005 07:25:21 PM · #26
Originally posted by Prof_Fate:

Not knowing the back end of thingsat DPC, code wise, the coding shold just be one big IF statement, possibly a nested fugly one, but still not insane. However, that type of thing CAN slow down the calculation - and at times rollover takes too long now.

I am in favor of some change - the choice of one or the other challenge has worked well, so something needs to be done to reduce the CC backlog - not because it is so big, but because SOOO many are not getting critiqued.

I don't have the numbers - does anyone know haw many un CC'd images get tossed out of the queue at rollovers?

Not really a very nested one I believe. e.g.

sub priorityfinder()
{
$priority = 0

if ( #challenges == 0 ) { $priority = $priority + 50 ; }
if ( #comments < 5 ) { $priority = $priority + 10 ; }
elsif (#comments < 10 ) { $priority = $priority + 6; }

if ( AverageScore < 5.0 ) {....... }

return($priority)
}

Smaller if-else statements

Also this doesn't need to coincide with the rollover time. May be flush the queue and hour or 2 later after the rollover.
12/27/2005 07:53:08 PM · #27
I would have to agree that more info from the photographer should be required for a critique. An in-depth critique is a two-way street with a lot of info coming from the photographer as the first pass, then the critique coming from the critiquer.

As to restructure how photos are doled out - make it a revolving bottom 25. The 25 lowest are in the queue, one is randomly taken out, next lowest is put in the queue.

This is trivial to code, exceeding trivial to code, and gets the critiques to those entries that need it.

There's no need to pull in past performance, past critiques, past anything - the critiquer can, and should, take into account past information.

This method is literally a two-liner in coding, critiques are randomly doled out with the most-needed first, and on a per-challenge basis.

As to the "check for critique" box - the photographer should be required to fill out basic photo information before it's available.
Pages:  
Current Server Time: 11/20/2025 02:45:55 AM

Please log in or register to post to the forums.


Home - Challenges - Community - League - Photos - Cameras - Lenses - Learn - Help - Terms of Use - Privacy - Top ^
DPChallenge, and website content and design, Copyright © 2001-2025 Challenging Technologies, LLC.
All digital photo copyrights belong to the photographers and may not be used without permission.
Current Server Time: 11/20/2025 02:45:55 AM EST.