I created a plugin called LastFM AutoRate to autorate tracks using data from LastFM using a formula I developed. I used Last.fm.ng plugin code as a reference. It worked pretty well for me, but I wrote a plugin for another app that works better for me.
I figured I’d release it in case anyone is interested. To install, copy the whole folder into your Picard plugins folder.