[Cs5500] Fwd: [Cs4800] Tonight's Tournament

Karl Lieberherr lieber at ccs.neu.edu
Tue Nov 8 06:27:44 EST 2011


The config file issue creates "cheating" avatars! A high priority item.
Matthew's code is probably perfect.

Please retest the HSR tournament after repairs. We ran the tests weeks ago
but not carefully enough.

-- Karl

---------- Forwarded message ----------
From: Matthew Pelland <mtpelland at gmail.com>
Date: Mon, Nov 7, 2011 at 10:59 PM
Subject: Re: [Cs4800] Tonight's Tournament
To: Karl Lieberherr <lieber at ccs.neu.edu>
Cc: Srinivas N Jay <srinivasnjay at gmail.com>


It appears that the config parser is broken. My avatar is wkn32 but I
most certainly did not cheat.

My generate random claim function is:

108 /** Generates random claim */
109     private Claim generateRandomClaim(){
110         HSRConfig hsr_cfg = (HSRConfig)config.getDomainConfig();
111         int maxN = hsr_cfg.getMaxN();
112         int k = this.rand.nextInt(maxN) + 1;
113         int n = this.rand.nextInt(maxN) + 1;
114
115         // To Change: The protocol instance must be one of the
116         // allowed protocols mentioned in SCGConfig
117         Cons<FullyQualifiedClassName> protocolsAllowed =
config.getScgCfg().getProtocols();
118         ProtocolI protocol =
generateRandomAllowedProtocol(protocolsAllowed);
119
120         /**
121          * Can't have n == 0 because we always know rung 0 is
safe, so n must
122          * be greater than 0. Also k == 0 is a special case where n = 1.
123          */
124         if (n == 0 || k == 0)
125             return new Claim(new HSRInstanceSet(new
HSRInstance(1,k)), protocol, 0, 1);
126
127         return new Claim(new HSRInstanceSet(new HSRInstance(n,k)),
protocol, this.getOptimumQ(n, k) / new Double(n), 1);
128     }

So unless I've made an error that I am unaware of, it appears as if
config.getMaxN() is returning N>1000.


Please clear my name on the mailing list. It won't look very good if I
just proclaim, "No I wasn't cheating I swear".

Thanks,
Matt

On Mon, Nov 7, 2011 at 10:34 PM, Dennis Zografos <dzog at ccs.neu.edu> wrote:
> Hi,
>
> It appears there was rampant cheating in tonight's warm-up.
>
> My avatar fielded requests where N>1000, and was also handed
> scg.protocol.ForAllExistsMax and scg.protocol.ForAllExistsEquals.
>
> See:
>
>
http://tank.ccs.neu.edu:7007/tournament_details?resource=raw_history&session=E249F7A1D666D2BD&tournament_id=45&history_file=wkn32%20vs%20TheGreatGonzo11-07-11-22-13-48.txt
>
>
> ----- "Srinivas N Jay" <srinivasnjay at gmail.com> wrote:
>
>> Hi Guys,
>>
>> I see following avatars are not ready yet. Need any help??
>>
>> 1. kangdong
>> 2. iGalaxy
>> 3. wkn32
>>
>> Thanks,
>> Srinivas
>>
>>
>> On Mon, Nov 7, 2011 at 7:54 PM, Srinivas N Jay <
>> srinivasnjay at gmail.com > wrote:
>>
>>
>> Hi Guys,
>>
>> I am hosting a tournament tonight at 2200hrs. Registration starts at
>> 2000hrs.
>>
>> Machine: Tank (URL: http://tank.ccs.neu.edu:7007/signup ).
>>
>> Signups will be approved Every 15mins till 2100hrs. After 2100hrs, I
>> will approve them every 5mins starting at 2130hrs.
>>
>> Do let me know if you have any questions.
>>
>> Update:
>> 1. minStrengthening is now 10^(-10)
>> 2. No changes to SCG Source code. So there is no need to get the
>> latest source code from SourceForge for now
>>
>> Thanks,
>> Srinivas
>>
>>
>> On Sat, Nov 5, 2011 at 12:42 PM, srinivasnjay < srinivasnjay at gmail.com
>> > wrote:
>>
>>
>> Hi Guys,
>>
>> I know what it means :). Sorry about yesterday's tournament. It was
>> Friday. So I don't know what happened :)
>>
>> How about a tournament at 1400hrs? Registration begins at 1330hrs.
>> Let's see how many can make it. If any of you cannot participate in
>> this tournament, send me an email, we can have one in the evening too.
>>
>> Best,
>> N Jay
>>
>>
>>
>>
>> On Nov 5, 2011, at 1:09, Dennis Zografos < dzog at ccs.neu.edu > wrote:
>>
>> > Help!! My once temperate avatar is turning morose, bellicose and
>> belligerent.
>> >
>> > If it does not cut its teeth soon, I fear for the worst.
>> >
>> > It just told me, "Oh, how I long for a taste of true battle fatigue!
>> But
>> > alas, I must contend with the languor of ennui to lull me to sleep
>> when the
>> > day is done. I cannot go on like this. No longer can I resist. I'm
>> getting
>> > stronger, the days are geting longer, and I feel like it's going
>> nowhere. I
>> > simply cannot go on on like this."
>> >
>> > What do you think this means???
>> >
>> >
>> >
>> > ----- "Dennis Zografos" < dzog at ccs.neu.edu > wrote:
>> >
>> >> Where can I find the arena?
>> >>
>> >>
>> >> ----- "Karl Lieberherr" < lieber at ccs.neu.edu > wrote:
>> >>
>> >>> On the way home I saw Srinivas who runs your tournaments.
>> >>> He said that there will be an extra tournament tonight at 10 pm.
>> >>>
>> >>>
>> >>> The tournament schedule is here:
>> >>>
>> >>
>>
http://www.ccs.neu.edu/home/lieber/courses/algorithms/cs4800/f11/competitions/schedule
>> >>>
>> >>>
>> >>> -- Karl
>> >>> _______________________________________________
>> >>> Cs4800 mailing list
>> >>> Cs4800 at lists.ccs.neu.edu
>> >>> https://lists.ccs.neu.edu/bin/listinfo/cs4800
>> >>
>> >> _______________________________________________
>> >> Cs4800 mailing list
>> >> Cs4800 at lists.ccs.neu.edu
>> >> https://lists.ccs.neu.edu/bin/listinfo/cs4800
>>
>>
>>
>> --
>> ***Race A Race Where You Are The Goal For Every Opponent! - N Jay ***
>>
>> Srinivas N Jay
>> srinivasnjay at gmail.com
>> +1(617)-817-0913
>>
>>
>>
>> --
>> ***Race A Race Where You Are The Goal For Every Opponent! - N Jay ***
>>
>> Srinivas N Jay
>> srinivasnjay at gmail.com
>> +1(617)-817-0913
>>
>> _______________________________________________
>> Cs4800 mailing list
>> Cs4800 at lists.ccs.neu.edu
>> https://lists.ccs.neu.edu/bin/listinfo/cs4800
>
> _______________________________________________
> Cs4800 mailing list
> Cs4800 at lists.ccs.neu.edu
> https://lists.ccs.neu.edu/bin/listinfo/cs4800
>



--
Matthew Pelland, Computer Science Major, Northeastern University  Class of
2012
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the Cs5500 mailing list