After using Codesrtiker for a while, I've decided to edit codestriker.conf and add
one new entry in $comment_state_metrics. The UI picked the change right
away, but wouldn't let me change the value of the new new metric for any comment.
The Topic Information page showed zeroes for all categories of the new metric.
 
Running install.pl didn't help. After some poking around in the the code I
was able to fix the problem by running the following statement in MySQL:
 
insert into commentstatemetric
select distinct id, <new metric name>, <new metric default value> from commentstatemetric;
 
Is there a better way to update the set of comment state metrics once
the database has been initialized? (I'm using 1.9.1) Would it make sense
to put this logic in install.pl?
 
-- Vlad