Skip to content

Commit

Permalink
Tagboxes: debug_log to ease checking abbr/sectiononly scoring
Browse files Browse the repository at this point in the history
tracks internal commit ccdf0b0fce2e613d8f94e90794d77d9c3f651ed8
  • Loading branch information
jamiemccarthy committed Sep 22, 2009
1 parent 5d88c3c commit cdca8b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tagboxes/FHEditorPop/FHEditorPop.pm
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,8 @@ sub run_process {
}

$popularity = $firehose->getEntryPopularityForColorLevel($color_level) + $extra_pop;
$self->debug_log('starting editorpop for %d: %.3f (color level %d)',
$affected_id, $popularity, $color_level);

# Add up nods and nixes.

Expand Down
2 changes: 2 additions & 0 deletions tagboxes/FireHoseScores/FireHoseScores.pm
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ sub run_process {

my $popularity = $firehose_db->getEntryPopularityForColorLevel($color_level) + $extra_pop;
$popularity = $min_pop if $popularity < $min_pop;
$self->debug_log('starting popularity for %d: %.3f (color level %d)',
$affected_id, $popularity, $color_level);

if ($options->{starting_only}) {
return $popularity if $options->{return_only};
Expand Down

0 comments on commit cdca8b6

Please sign in to comment.