Yes, it should be (ws + wt) not (ws - wt), thanks for catching that. - Don
On Mon, 2007-02-05 at 16:30 -0600, Nick Apperson wrote: > question: > > should " if ( (bs + bt) - (ws - wt) > komi ) then black_wins else > white_wins." be " if ( (bs + bt) - (ws + wt) > komi ) then black_wins > else white_wins." ? or maybe you meant "if ( (bs + bt - ws - wt) > > komi ) then black_wins else white_wins." ? > > and floats are rounded down when converting to ints so even with komi > as a float this should work. This is how I do it too. > > On 2/5/07, Don Dailey <[EMAIL PROTECTED]> wrote: > Did you look at the games? Sometimes there is something > obvious. > For instance does it pass too early or lose games on forfeit? > > Although I can't see your code, I would suspect the following > problems: > > 1. Is the eye avoid routine 100% correct? > > 2. Are the moves actually uniformly random? You cannot > just > shuffle the list of moves for instance (without doing > other > things too.) > > 3. Make sure you are scoring the end of game correctly. > > 4. See if black is winning a lot more than white or visa > versa. > > For 3, you must consider komi correctly > and you must keep stats on the wins and losses, not on the > amount of territory for each side - that would weaken you > signficiantly. > > Here is how my program scores: > > if ( (bs + bt) - (ws - wt) > komi ) then black_wins else > white_wins. > > bs = black stones > bt = black territory > ws = white stones > wt = white territory > komi = integer komi (but it works with fractions too.) > > - Don > > > > On Mon, 2007-02-05 at 16:57 -0500, Chris Fant wrote: > > I must still have some bugs. Here's my current numbers: > > > > Stoned100k 1286 > > Stoned10k 1009 > > Stoned1k 755 > > > > > > On 2/5/07, Christoph Birk <[EMAIL PROTECTED]> wrote: > > > On Sat, 3 Feb 2007, Don Dailey wrote: > > > > > > > GenericMC_300K 1455.0 > > > > GenericMC_200K 1391.6 > > > > GenericMC_10000 1142.9 > > > > GenericMC_100K 1453.9 > > > > > > I run theses once a week for a few hours to keep them on > the CGOS list. > > > > > > myCtest1 10k 1075 > > > myCtest5 50k 1385 > > > myCtest25 250k 1445 > > > > > > They do random playouts (from root) without any "tricks" > until only > > > 1 point-eyes are left. > > > > > > Christoph > > > _______________________________________________ > > > computer-go mailing list > > > [email protected] > > > http://www.computer-go.org/mailman/listinfo/computer-go/ > > > > > _______________________________________________ > > computer-go mailing list > > [email protected] > > http://www.computer-go.org/mailman/listinfo/computer-go/ > > _______________________________________________ > computer-go mailing list > [email protected] > http://www.computer-go.org/mailman/listinfo/computer-go/ > _______________________________________________ computer-go mailing list [email protected] http://www.computer-go.org/mailman/listinfo/computer-go/
