Page 2 of 5 <12345>
Topic Options
#148974 - 2005-10-03 02:27 AM Re: KiXgolf: Fragmentation
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
so, the current low is 313?

hmm...
I will give this a final test this evening after I watched an episode of warrior princess...
_________________________
!

download KiXnet

Top
#148975 - 2005-10-03 10:54 AM Re: KiXgolf: Fragmentation
MightyR1 Offline
MM club member
*****

Registered: 1999-09-09
Posts: 1264
Loc: The Netherlands
OK,

I've read the rules. Gettting the length is easy. Now to put them in the right order.
_________________________
Greetz,
Patrick Rutten

- We'll either find a way or make one...
- Knowledge is power; knowing how to find it is more powerful...
- Problems don't exist; they are challenges...

Top
#148976 - 2005-10-03 12:15 PM Re: KiXgolf: Fragmentation
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
k, I had a infinite loop issue last time.
thanks to that, my UDF never got passed the test14.
and damn my laptop can be noisy.

anyway, was playing with the golf scoring engine or actually with it's output.
I say it is giving way too much information.
iirc, in the beginning it used to print out some status info, no?

anyway, I've edited the script every round now to be able to run my semi working UDF's with it too.

if someone wants to give it a go or even suggest their own editions, it's here:
KiXgolf Testing kix
_________________________
!

download KiXnet

Top
#148977 - 2005-10-03 12:59 PM Re: KiXgolf: Fragmentation
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
and...
I'm still running my tests.
after an hour am at test 25.

just hope that it gets all done before the deadline...
the tests around 80 look killers for my code.

[edit]
got passed 25 and am now watching the code play with 43.
seems that I will be lucky to get this passing the test.
I won't be part of the private golfing itself.

[€dit2]
still running test 43...
getting frustrated


Edited by Jooel (2005-10-03 03:04 PM)
_________________________
!

download KiXnet

Top
#148978 - 2005-10-03 03:38 PM Re: KiXgolf: Fragmentation
maciep Offline
Korg Regular
*****

Registered: 2002-06-14
Posts: 947
Loc: Pittsburgh
Wow
Top
#148979 - 2005-10-03 05:25 PM Re: KiXgolf: Fragmentation
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
still at test43.
if it's not done that test when I get back home some hours later, I will kill the script.
it has wasted about 4.5 hours of processor time already and not even close to half way through.
_________________________
!

download KiXnet

Top
#148980 - 2005-10-03 08:20 PM Re: KiXgolf: Fragmentation
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
k, killed it.
can't see what is going wrong but it can't get passed test43.
_________________________
!

download KiXnet

Top
#148981 - 2005-10-03 08:27 PM Re: KiXgolf: Fragmentation
Allen Administrator Offline
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4549
Loc: USA
Quote:


my 264 code works but it's flawed. If i change the order of some of the inputs, it doesn't work.

I have working working code with a score 317





Do you mean it passes all the tests, but there are other tests it would fail?

Top
#148982 - 2005-10-03 08:40 PM Re: KiXgolf: Fragmentation
maciep Offline
Korg Regular
*****

Registered: 2002-06-14
Posts: 947
Loc: Pittsburgh
yeah, it passes all of the tests but i knew it wasn't 'right'.

So, for example, I took the array for the second test and swapped the first two elements - that broke the script. So i fixed it up a bit, because it bothered me. I'd rather have it working all of the time as opposed to just against the test cases.

Maybe i'll get back to golfing the 317 code tonight a little bit (or maybe come up with a new approach all together)

Top
#148983 - 2005-10-03 08:59 PM Re: KiXgolf: Fragmentation
Allen Administrator Offline
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4549
Loc: USA
I'll be the first one to admit I'm not too sure my code is "right" either. However, I tried what you suggested, swapping the first two values in the second test, and it still works. (shew)

Jens, should that be added as another test case.

Top
#148984 - 2005-10-03 09:37 PM Re: KiXgolf: Fragmentation
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
heh...
I say pull of at least half of the current tests.
they are way too many
_________________________
!

download KiXnet

Top
#148985 - 2005-10-03 09:44 PM Re: KiXgolf: Fragmentation
maciep Offline
Korg Regular
*****

Registered: 2002-06-14
Posts: 947
Loc: Pittsburgh
How about we just use test 43 and none of the others
Top
#148986 - 2005-10-03 09:55 PM Re: KiXgolf: Fragmentation
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
lol.
_________________________
!

download KiXnet

Top
#148987 - 2005-10-03 11:32 PM Re: KiXgolf: Fragmentation
MightyR1 Offline
MM club member
*****

Registered: 1999-09-09
Posts: 1264
Loc: The Netherlands
Code:


KiXtart Engine
KiXtart Version = 4.50
KiXGolf Script = kixgolf_fragmentation.kix

Computer
OS = Windows XP Professional
CPU = Intel Pentium Model 13
Speed = 1994 MHz
Memory = 1024 MB

KiXGolf Scoring Engine
Scoring Engine = 3.0.3

KiXGolf Score
Tournament = Fragmentation
Processing Start = 2005/10/03 23:09:37.206
Processing End = 2005/10/03 23:09:38.117
Duration = 0000/00/00 00:00:00.910
Used Processor Time = 0,4706768
# Tests Run = 180
# Tests Passed = 180
# Tests Failed = 0
Result = passed
KiXGolf Score = 405

Thank you for participating in KiXtart Golf!

_________________________
Greetz,
Patrick Rutten

- We'll either find a way or make one...
- Knowledge is power; knowing how to find it is more powerful...
- Problems don't exist; they are challenges...

Top
#148988 - 2005-10-04 12:41 AM Re: KiXgolf: Fragmentation
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
OK!
Code:

KiXtart Engine
KiXtart Version = 4.50
KiXGolf Script = kixgolf_fragmentation.kix

Computer
OS = Windows 2000 Professional
CPU = Intel Pentium III
Speed = 797 MHz
Memory = 376 MB

KiXGolf Scoring Engine
Scoring Engine = 3.0.3

KiXGolf Score
Tournament = Fragmentation
Processing Start = 2005/10/04 01:16:32.110
Processing End = 2005/10/04 01:18:55.867
Duration = 0000/00/00 00:02:23.757
# Tests Run = 180
# Tests Passed = 180
# Tests Failed = 0
Result = passed
KiXGolf Score = 246

Thank you for participating in KiXtart Golf!
Press any key to continue...

_________________________
!

download KiXnet

Top
#148989 - 2005-10-04 12:43 AM Re: KiXgolf: Fragmentation
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
hmm...
need to fix the code font in this forum.
looks ugly now.

also, my test on the kixgolf testing engine failed to run.
got error on line 74 which is second call to processortime()

somehow kixtart just blows it up. if someone can figure it out, I would be pleased.
_________________________
!

download KiXnet

Top
#148990 - 2005-10-04 12:49 AM Re: KiXgolf: Fragmentation
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
now it looks lot better.
I must admit, I have grown to love courier new.
_________________________
!

download KiXnet

Top
#148991 - 2005-10-04 12:52 AM Re: KiXgolf: Fragmentation
Allen Administrator Offline
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4549
Loc: USA
Quote:


Duration = 0000/00/00 00:02:23.757
# Tests Run = 180
# Tests Passed = 180
# Tests Failed = 0
Result = passed
KiXGolf Score = 246






!@#$ grumble grumble! Gawd!

>2 minutes ... at least mine is faster!

Top
#148992 - 2005-10-04 12:54 AM Re: KiXgolf: Fragmentation
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
well, 2 minutes is lot less than 20 hours

iirc, it was hoby (or was it?) who had a code that ran for about 100 hours before he decided it was in endless loop
_________________________
!

download KiXnet

Top
#148993 - 2005-10-04 01:34 AM Re: KiXgolf: Fragmentation
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
jens, there is a buggie boo in your atrim()
I think it's caused by the explicit which it does not apply.

moving my UDF up over it makes it work fine again.
and here is the test engine:
kixgolf test engine
_________________________
!

download KiXnet

Top
Page 2 of 5 <12345>


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

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

Generated in 0.08 seconds in which 0.029 seconds were spent on a total of 12 queries. Zlib compression enabled.

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