From: Mischa POSLAWSKY Date: Sun, 5 Dec 2010 23:45:14 +0000 (+0100) Subject: browser: full score for prefixed features X-Git-Tag: v1.4~67 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/18390ca4b265302bb60246c40736ac72c3d801bb browser: full score for prefixed features Experimental features are supposed to be prefixed, do not penalise for adhering to standards. --- diff --git a/browser.plp b/browser.plp index 1f5cfc0..73db2a9 100644 --- a/browser.plp +++ b/browser.plp @@ -131,7 +131,7 @@ print "\n"; sub featurescore { # relative amount of support for given feature - state $statspts = { y=>10, 'y x'=>9, a=>5, 'a x'=>5, j=>2, 'p j'=>2, p=>1 }; + state $statspts = { y=>10, 'y x'=>10, a=>5, 'a x'=>5, j=>2, 'p j'=>2, p=>1 }; my $rank = 0; if (my $row = shift) { if ($canihas) {