Page 12 of 14 « First<1011121314>
Topic Options
#183742 - 2007-12-16 11:01 PM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: Benny69]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Yo Dale,

keep 'em coming tomorrow ;\)
_________________________



Top
#183743 - 2007-12-17 02:57 AM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: Jochen]
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
Okay, the test cases have been modified as follows:
1) All test cases had their leading/trailing spaces removed.
2) Test case 5 has then be changed to re-introduce the validation of leading/middle/trailing spaces.

Package has been uploaded to http://s91376351.onlinehome.us/kixtart/kixgolf_tg.zip

Private coding deadline has been extended to Monday 6pm and public coding will then be extended to Thursday 10pm.

Hope this is the last time I have to modify the test cases.
_________________________
There are two types of vessels, submarines and targets.

Top
#183744 - 2007-12-17 06:46 AM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: Sealeopard]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Lol.

Now my code fails 2 of 5 test cases
Well, this is a blow I can't eat so early in the morning.
I'll have to get up first drionl my coffees, get to work. I'll report then.
_________________________



Top
#183745 - 2007-12-17 07:38 AM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: Jochen]
DrillSergeant Offline
MM club member
*****

Registered: 2004-07-09
Posts: 1164
Loc: Eijsden, the Netherlands
There's an incorrect leading space in test 2 in the output of sentence 'this-should-be-counted-as-one-word' and 'should-be-counted-as-one-
word should-be-counted-as-one-word'
_________________________
The Code is out there

Top
#183746 - 2007-12-17 08:19 AM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: DrillSergeant]
RemcovC Offline
Starting to like KiXtart
*****

Registered: 2006-09-13
Posts: 174
Loc: Holland
I have also 2 failed tests:

Test 2: Reason in the answer ini there are 2 spaces in front of 2 line in stead of 1
 Code:
Knight:  this-should-be-counted-as-one-word~
Knight:  should-be-counted-as-one-word should-be-counted-as-one-word~

Should be:
 Code:
Knight: this-should-be-counted-as-one-word~
Knight: should-be-counted-as-one-word should-be-counted-as-one-word~

And test 5: reason the input to the function is incorrect, the input to the function appears to have no leading space (maybe that's the way kix works with ini files, removing leading spaces itself)

This can be solver by putting quotes around the input of test 5
 Code:
Input=' We,  The  Knights,  Seek  101  Holy  Grails! '

Hope this helps \:\)

*off topic*
This is my 100st post \:D \:D
_________________________
It's better to have scripted and died, then to never have scripted at all

Top
#183747 - 2007-12-17 08:22 AM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: RemcovC]
RemcovC Offline
Starting to like KiXtart
*****

Registered: 2006-09-13
Posts: 174
Loc: Holland
If I adjust the ini conform what I have written above, this is the result:

Your solution passed all tests

KiXtart
KiXtart Version = 4.60
KiXGolf Script = kixgolf_tg.kix

Computer
OS = Windows Vista Ultimate Edition
CPU = Intel Pentium Model 15
Speed = 1662 MHz
Memory = 1014 MB

KiXGolf Scoring Engine
Scoring Engine = 3.3

KiXtart Golf Score
Tournament = Taunt Generator
Processing Start = 2007/12/17 08:21:32.720
Processing End = 2007/12/17 08:21:33.026
Duration = 0000/00/00 00:00:00.306
KiXGolf Score = 887
_________________________
It's better to have scripted and died, then to never have scripted at all

Top
#183748 - 2007-12-17 08:40 AM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: RemcovC]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
All the points you mentioned are the ones I found but didn't post an hour before because of my provider at home sometimes doesn't like korg (well, it is sometimes a general pig) \:\)

The problem with test case 5 is that readprofilestring(), or the underlying API, strips trailing spaces that are not inside quotes...

Having said all this and ammended the ini file to reflect the changes my new result is....
_________________________



Top
#183749 - 2007-12-17 08:41 AM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: Jochen]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
....


Your solution passed all tests

KiXtart
KiXtart Version  = 4.53
KiXGolf Script   = kixgolf_tg.kix

Computer
OS               = Windows 2000 Professional
CPU              =               Intel(R) Pentium(R) 4 CPU 2.80GHz
Speed            = 2793 MHz
Memory           = 504 MB

KiXGolf Scoring Engine
Scoring Engine   = 3.3

KiXtart Golf Score
Tournament       = Taunt Generator
Processing Start = 2007/12/17 08:40:34.609
Processing End   = 2007/12/17 08:40:34.656
Duration         = 0000/00/00 00:00:00.046
KiXGolf Score    = 1013

Thank you for participating in KiXtart Golf!

_________________________



Top
#183750 - 2007-12-17 09:04 AM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: Jochen]
DrillSergeant Offline
MM club member
*****

Registered: 2004-07-09
Posts: 1164
Loc: Eijsden, the Netherlands
With the suggested quotes and fixed Test 2:



Your solution passed all tests

KiXtart
KiXtart Version = 4.60
KiXGolf Script = kixgolf_tg.KIX

Computer
OS = Windows XP Professional
CPU = Intel(R) Pentium(R) 4 CPU 2.40GHz
Speed = 2392 MHz
Memory = 1016 MB

KiXGolf Scoring Engine
Scoring Engine = 3.3

KiXtart Golf Score
Tournament = Taunt Generator
Processing Start = 2007/12/17 09:02:02.812
Processing End = 2007/12/17 09:02:02.912
Duration = 0000/00/00 00:00:00.099
KiXGolf Score = 968

Thank you for participating in KiXtart Golf!
_________________________
The Code is out there

Top
#183751 - 2007-12-17 09:07 AM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: DrillSergeant]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
hmmm ... 46 strokes? I don't think that my approach leaves so much many possibilities \:\(

Edited by Jochen (2007-12-17 09:07 AM)
_________________________



Top
#183752 - 2007-12-17 09:10 AM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: Jochen]
DrillSergeant Offline
MM club member
*****

Registered: 2004-07-09
Posts: 1164
Loc: Eijsden, the Netherlands
 Originally Posted By: Jochen
hmmm ... 46 strokes? I don't think that my approach leaves so much many possibilities \:\(


I've heard that before! And then just before the deadline you shave off 50+ strokes! ;\)
_________________________
The Code is out there

Top
#183753 - 2007-12-17 09:12 AM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: DrillSergeant]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Lol!

well, at least I keep trying ;\)
_________________________



Top
#183754 - 2007-12-17 09:19 AM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: Jochen]
DrillSergeant Offline
MM club member
*****

Registered: 2004-07-09
Posts: 1164
Loc: Eijsden, the Netherlands
I don't think I'll be able to shave off 81+ either, but I'm also not going to give up without a fight:



Your solution passed all tests

KiXtart
KiXtart Version = 4.60
KiXGolf Script = kixgolf_tg.KIX

Computer
OS = Windows XP Professional
CPU = Intel(R) Pentium(R) 4 CPU 2.40GHz
Speed = 2392 MHz
Memory = 1016 MB

KiXGolf Scoring Engine
Scoring Engine = 3.3

KiXtart Golf Score
Tournament = Taunt Generator
Processing Start = 2007/12/17 09:18:10.313
Processing End = 2007/12/17 09:18:10.393
Duration = 0000/00/00 00:00:00.079
KiXGolf Score = 963

Thank you for participating in KiXtart Golf!
_________________________
The Code is out there

Top
#183755 - 2007-12-17 09:30 AM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: Jochen]
RemcovC Offline
Starting to like KiXtart
*****

Registered: 2006-09-13
Posts: 174
Loc: Holland
 Originally Posted By: Jochen
hmmm ... 46 strokes? I don't think that my approach leaves so much many possibilities \:\(


127 strokes should be your aim ^^
_________________________
It's better to have scripted and died, then to never have scripted at all

Top
#183756 - 2007-12-17 09:42 AM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: RemcovC]
DrillSergeant Offline
MM club member
*****

Registered: 2004-07-09
Posts: 1164
Loc: Eijsden, the Netherlands
So if there are no more extensions, this is the deadline:

_________________________
The Code is out there

Top
#183758 - 2007-12-17 09:51 AM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: DrillSergeant]
RemcovC Offline
Starting to like KiXtart
*****

Registered: 2006-09-13
Posts: 174
Loc: Holland
Ok have to hurry then, with adjustments to ini like specified above:

Your solution passed all tests

KiXtart
KiXtart Version = 4.60
KiXGolf Script = kixgolf_tg.kix

Computer
OS = Windows Vista Ultimate Edition
CPU = Intel Pentium Model 15
Speed = 1662 MHz
Memory = 1014 MB

KiXGolf Scoring Engine
Scoring Engine = 3.3

KiXtart Golf Score
Tournament = Taunt Generator
Processing Start = 2007/12/17 09:49:59.292
Processing End = 2007/12/17 09:49:59.620
Duration = 0000/00/00 00:00:00.328
KiXGolf Score = 886
_________________________
It's better to have scripted and died, then to never have scripted at all

Top
#183759 - 2007-12-17 10:39 AM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: RemcovC]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany


Your solution passed all tests

KiXtart
KiXtart Version  = 4.53
KiXGolf Script   = kixgolf_tg.kix

Computer
OS               = Windows 2000 Professional
CPU              =               Intel(R) Pentium(R) 4 CPU 2.80GHz
Speed            = 2793 MHz
Memory           = 504 MB

KiXGolf Scoring Engine
Scoring Engine   = 3.3

KiXtart Golf Score
Tournament       = Taunt Generator
Processing Start = 2007/12/17 10:37:54.703
Processing End   = 2007/12/17 10:37:54.875
Duration         = 0000/00/00 00:00:00.171
KiXGolf Score    = 1008

Thank you for participating in KiXtart Golf!

_________________________



Top
#183760 - 2007-12-17 10:43 AM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: Jochen]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
... and


Your solution passed all tests

KiXtart
KiXtart Version  = 4.53
KiXGolf Script   = kixgolf_tg.kix

Computer
OS               = Windows 2000 Professional
CPU              =               Intel(R) Pentium(R) 4 CPU 2.80GHz
Speed            = 2793 MHz
Memory           = 504 MB

KiXGolf Scoring Engine
Scoring Engine   = 3.3

KiXtart Golf Score
Tournament       = Taunt Generator
Processing Start = 2007/12/17 10:42:12.156
Processing End   = 2007/12/17 10:42:12.218
Duration         = 0000/00/00 00:00:00.061
KiXGolf Score    = 1004

Thank you for participating in KiXtart Golf!

_________________________



Top
#183761 - 2007-12-17 11:02 AM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: Jochen]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
*Gnnnnn*


Your solution passed all tests

KiXtart
KiXtart Version  = 4.53
KiXGolf Script   = kixgolf_tg.kix

Computer
OS               = Windows 2000 Professional
CPU              =               Intel(R) Pentium(R) 4 CPU 2.80GHz
Speed            = 2793 MHz
Memory           = 504 MB

KiXGolf Scoring Engine
Scoring Engine   = 3.3

KiXtart Golf Score
Tournament       = Taunt Generator
Processing Start = 2007/12/17 11:00:36.218
Processing End   = 2007/12/17 11:00:36.281
Duration         = 0000/00/00 00:00:00.063
KiXGolf Score    = 1003

Thank you for participating in KiXtart Golf!

_________________________



Top
#183762 - 2007-12-17 11:06 AM Re: KiXgolf 2007: Taunt Generator - Private Round [Re: Jochen]
DrillSergeant Offline
MM club member
*****

Registered: 2004-07-09
Posts: 1164
Loc: Eijsden, the Netherlands
 Originally Posted By: Jochen
*Gnnnnn*


Constipated?
_________________________
The Code is out there

Top
Page 12 of 14 « First<1011121314>


Moderator:  Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 761 anonymous users online.
Newest Members
Timothy, Jojo67, MaikSimon, kvn317, kixtarts2025
17874 Registered Users

Generated in 0.125 seconds in which 0.048 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org