[Cs5500] Smart HSR Avatar tournament

Patrick Lannigan lannigan at ccs.neu.edu
Tue Apr 19 22:12:15 EDT 2011


There is an issue with the the active game list. The list is continually
growing, the round is always 0 and the game score is always 100. This list
should only have the games that are currently running. Nowhere is there code
that removes ActiveGames from the list. I haven't been able to see why the
scores are not changing. The tournament just ended and no players have had
their player score adjusted.

In general, the PlayerStatus and ActiveGame objects were designed to be
immutable. This way, only when the website requests the information would
these object need to be made. This way a tournament could quickly build the
TournamentStatus based on it's current state, compiling only the information
it needed. However, these classes were changed and kept persisted throughout
ever game and the entire tournament. Because of this each game and
tournament as to worry about updating the status objects every time a
reputation changes, a game starts or a game stops.

Rick,
Can you make all of the log and history files available to the class so we
can see if the scores were actually being updated, but not properly passed
to the web interface or if there is a bigger problem in the code?

Patrick


On Tue, Apr 19, 2011 at 7:18 PM, Rick Keilty <rkeilty at ccs.neu.edu> wrote:

> The registration port is 7005.  To keep things fair with network latency,
> no one should run their avatar from agentx.ccis.neu.edu.
>
> As long as people are using different systems they should be able to use
> the same port for their avatars without issue, but in case of any overlap
> (or if people don't realize they're running on the same box as someone else)
> I'll assign ports here.
>
> PRX     4000
> Astro     4001
> liang     4002
> Gautam     4003
> Boston_Chargers   4004
> harsha     4005
> Patrick     4006
> AnushRashmi  4007
> Ketan     4008
> sapna 4009
>
> If you enroll after this email, just pick a port higher than those.
>
> -Rick
>
>
> On Tue, Apr 19, 2011 at 7:12 PM, ketan mehta <mehta.ket at husky.neu.edu>wrote:
>
>> Hi Rick,
>>
>> What will be port number?
>> Can you please assign the port numbers to all the registered player so
>> that the player can start at different port.
>>
>>
>> Regards,
>> Ketan L Mehta.
>> Northeastern University,
>> Mobile: 001-857-445-1358
>>
>>
>>
>> On Tue, Apr 19, 2011 at 7:01 PM, Rick Keilty <rkeilty at ccs.neu.edu> wrote:
>>
>>> So far the following users have signed up:
>>>
>>> PRX
>>> liang
>>> Boston_Chargers
>>> harsha
>>> Patrick
>>>
>>> However only PRX has enrolled in the tournament.  The tournament will
>>> begin at 9:30pm tonight (to accommodate those who may be in class until
>>> 9pm), and registration will open at 8:30.
>>>
>>>
>>> On Tue, Apr 19, 2011 at 6:15 PM, Rick Keilty <rkeilty at ccs.neu.edu>wrote:
>>>
>>>> Thanks for the corrections, the config file now looks like:
>>>>
>>>>
>>>> scg_config[
>>>> domain: hsr.HSRDomain
>>>> protocols: scg.protocol.ForAllExists scg.protocol.ExistsForAll
>>>> tournamentStyle: full round-robin
>>>> turnDuration: 60
>>>> maxNumAvatars: 20
>>>> minStrengthening: 0.01
>>>> initialReputation: 100.0
>>>> maxReputation: 10000.0
>>>> reputationFactor: 0.4
>>>> minProposals: 1
>>>> maxProposals: 20
>>>> numRounds: 20
>>>> proposedClaimMustBeNew: true
>>>> minConfidence: 0.1 ]
>>>> hsr.HSRConfig {{ hsr_config[maxN: 1000000 ] }}
>>>>
>>>> I have added the tournament to the system using this configuration.
>>>>
>>>> -Rick
>>>>
>>>>
>>>> On Tue, Apr 19, 2011 at 5:54 PM, Anush Prabhu Ramachandran <
>>>> ramachandran.a at husky.neu.edu> wrote:
>>>>
>>>>> The protocols name is incorrect. It should be
>>>>>
>>>>>            protocols: scg.protocol.ForAllExists
>>>>> scg.protocol.ExistsForAll
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Apr 19, 2011 at 5:25 PM, Liang Yu <yu.lia at husky.neu.edu>wrote:
>>>>>
>>>>>> one place should be corrected:
>>>>>>
>>>>>> at the end, it should be hsr_config, not the csp_config.
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Tue, Apr 19, 2011 at 4:34 PM, Rick Keilty <rkeilty at ccs.neu.edu>wrote:
>>>>>>
>>>>>>> We've been using the following HSR config for testing:
>>>>>>>
>>>>>>> scg_config[domain: hsr.HSRDomain protocols: positiveStandard
>>>>>>> tournamentStyle: full round-robin turnDuration: 60 maxNumAvatars: 20
>>>>>>> minStrengthening: 0.01 initialReputation: 100.0 maxReputation: 10000.0
>>>>>>> reputationFactor: 0.4 minProposals: 1 maxProposals: 20 numRounds: 20
>>>>>>> proposedClaimMustBeNew: true minConfidence: 0.1 ] hsr.HSRConfig {{
>>>>>>> csp_config[maxN: 1000000 ] }}
>>>>>>>
>>>>>>> The latest build (as of an hour ago) is running, and you can access
>>>>>>> the signup page at http://agentx.ccis.neu.edu:7007/signup  You can
>>>>>>> then sign-in at http://agentx.ccis.neu.edu:7007/signin.
>>>>>>>
>>>>>>> Please begin signing up in the system, and when everyone has
>>>>>>> confirmed that the config looks good I'll add the tournament to the system
>>>>>>> and you can enroll.
>>>>>>>
>>>>>>> Shall I make the start time for the tournament 9pm this evening?
>>>>>>> Just a quick reminder that you can register starting 60 minutes to the
>>>>>>> tournament.
>>>>>>>
>>>>>>> -Rick
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Apr 19, 2011 at 2:41 PM, Liang Yu <yu.lia at husky.neu.edu>wrote:
>>>>>>>
>>>>>>>> could you email us a copy of yours, so that it can make sure every
>>>>>>>> body has the identical one.
>>>>>>>>
>>>>>>>> thanks
>>>>>>>>
>>>>>>>> On Tue, Apr 19, 2011 at 2:07 PM, Rick Keilty <rkeilty at ccs.neu.edu>wrote:
>>>>>>>>
>>>>>>>>> Greetings class,
>>>>>>>>>
>>>>>>>>> Based on the Professors revised acceptance schedule, we'd like to
>>>>>>>>> get a tournament going this evening with the "smart" HSR avatars.  I will
>>>>>>>>> work on getting the SCG Court system up and running on one of the public
>>>>>>>>> CCIS boxes this afternoon, and will email the class when it's up and running
>>>>>>>>> so you can enroll.
>>>>>>>>>
>>>>>>>>> Does anyone have a configuration file that they propose we use for
>>>>>>>>> the tournament?  Everyone's avatars will need to be aware of the config
>>>>>>>>> that's going to be used so no one gets kicked out during the tournament.
>>>>>>>>>
>>>>>>>>> -Rick
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Cs5500 mailing list
>>>>>>>>> Cs5500 at lists.ccs.neu.edu
>>>>>>>>> https://lists.ccs.neu.edu/bin/listinfo/cs5500
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> --
>>>>>>>> Regards,
>>>>>>>> *Liang*
>>>>>>>> College of Computer and Information Science,
>>>>>>>> Northeastern University
>>>>>>>> Tel: 718-501-0145
>>>>>>>> MSN: yuliang.name at gmail.com (this is my primary email)
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> --
>>>>>> Regards,
>>>>>> *Liang*
>>>>>> College of Computer and Information Science,
>>>>>> Northeastern University
>>>>>> Tel: 718-501-0145
>>>>>> MSN: yuliang.name at gmail.com (this is my primary email)
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Cs5500 mailing list
>>>>>> Cs5500 at lists.ccs.neu.edu
>>>>>> https://lists.ccs.neu.edu/bin/listinfo/cs5500
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>> _______________________________________________
>>> Cs5500 mailing list
>>> Cs5500 at lists.ccs.neu.edu
>>> https://lists.ccs.neu.edu/bin/listinfo/cs5500
>>>
>>>
>>
>
> _______________________________________________
> Cs5500 mailing list
> Cs5500 at lists.ccs.neu.edu
> https://lists.ccs.neu.edu/bin/listinfo/cs5500
>
>
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the Cs5500 mailing list