First of all:
Your program is fantastic and very helpful. I have learned so much about Mahjong hands and their scoring.
But some mistakes you should remove:
.) Since two weeks the program did often not generate hands with bamboo 2, because the site
http://mahjonghand.appspot.com/images/b2.png could not be loaded, like your example 3:
m 234b 234d h 567b567dDg w gD self_draw
.) h b789 c9 m DwDwDw DrDrDrDr WsWsWs w c9
(here 4 points for Outside Hand are missing)
.) m b789 h c234 d67 b222 DwDw w d5
(Chicken Hand is scoring only 8 points not 12)
.) m c999 b789 WnWnWn h d46 DgDg rw Wn w d5
(here 1 point is missing for Pung of Terminals: c999)
.) m c78c9 h b333 c555 d88 DwDw w d8
There are only Two Concealed Pungs! The third Pung, melded with Hu, counts as Melded Pung, so Mr. Otto Myslivec from Mahjong Club Baden said (he reached the 2. place by the GMO 2009 and he is Staatsmeister 2009 from Austria; it is also the meaning from other strong Austrian Mahjong players).
.) m DwDwDw WwWwWw h d999 d88 c67 w c8 rw Ww sw Ww
Here a Double Pung is shown, but DwDwDw, WwWwWw are no "Double Pungs"
But I repeat it: You have made a good and helpful program for all Mahjong players!