Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'delta-test' failures #133

Closed
gheber opened this issue Mar 13, 2019 · 8 comments
Closed

'delta-test' failures #133

gheber opened this issue Mar 13, 2019 · 8 comments
Assignees
Milestone

Comments

@gheber
Copy link
Owner

gheber commented Mar 13, 2019

 --------------------------------
 SOFT-DELTA []: 
      Unexpected Error: #<TYPE-ERROR expected-type: (SATISFIES CAT-8:SOFT-DLOP-P) datum: D15>
The value D15 is not of type (SATISFIES CAT-8:SOFT-DLOP-P) when binding CAT-8:GMSM..
 --------------------------------
 --------------------------------
 SOFT-DELTA-INFINITY []: 
      Unexpected Error: #<TYPE-ERROR expected-type: (SATISFIES CAT-8:SOFT-DLOP-P) datum: D42>
The value D42 is not of type (SATISFIES CAT-8:SOFT-DLOP-P) when binding CAT-8:GMSM..
 --------------------------------
 --------------------------------
 DELTA-DGNL []: 
      Unexpected Error: #<SB-INT:INVALID-ARRAY-INDEX-ERROR expected-type: (INTEGER 0 (62)) datum: 170>
Invalid index 170 for (SIMPLE-ARRAY FIXNUM (62)), should be a non-negative integer below 62...
 --------------------------------
 --------------------------------
 DELTA-BNDR []: 
      Unexpected Error: #<SB-INT:INVALID-ARRAY-INDEX-ERROR expected-type: (INTEGER 0 (62)) datum: 63>
Invalid index 63 for (SIMPLE-ARRAY FIXNUM (62)), should be a non-negative integer below 62...
 --------------------------------
 --------------------------------
 DELTA-FACE []: 
      Unexpected Error: #<TYPE-ERROR expected-type: (SATISFIES CAT-8:SOFT-DLOP-P) datum: D15>
The value D15 is not of type (SATISFIES CAT-8:SOFT-DLOP-P) when binding CAT-8:GMSM..
 --------------------------------
@gheber gheber added this to the Kenzo-8 milestone Mar 13, 2019
@gheber gheber self-assigned this Mar 13, 2019
@gheber
Copy link
Owner Author

gheber commented Mar 17, 2019

Commit cefa352 fixes 1, 2, and 5.

@gheber
Copy link
Owner Author

gheber commented Mar 17, 2019

There are the following new delta-test failures.

--------------------------------
 SOFT-DELTA []: 
      Unexpected Error: #<TYPE-ERROR expected-type: FIXNUM datum: 4611686018427387904>
The value 4611686018427387904 is not of type FIXNUM..
 --------------------------------
 --------------------------------
 SOFT-DELTA-INFINITY []: 
      Unexpected Error: #<TYPE-ERROR expected-type: FIXNUM datum: 4611686018427387904>
The value 4611686018427387904 is not of type FIXNUM..
 --------------------------------
 --------------------------------
 DELTA-DGNL []: 
      Unexpected Error: #<SB-INT:INVALID-ARRAY-INDEX-ERROR expected-type: (INTEGER 0 (62)) datum: 170>
Invalid index 170 for (SIMPLE-ARRAY FIXNUM (62)), should be a non-negative integer below 62...
 --------------------------------
 --------------------------------
 DELTA-BNDR []: 
      Unexpected Error: #<SB-INT:INVALID-ARRAY-INDEX-ERROR expected-type: (INTEGER 0 (62)) datum: 63>
Invalid index 63 for (SIMPLE-ARRAY FIXNUM (62)), should be a non-negative integer below 62...
 --------------------------------
 --------------------------------
 DELTA-FACE []: 
      Unexpected Error: #<TYPE-ERROR expected-type: FIXNUM datum: 4611686018427387904>
The value 4611686018427387904 is not of type FIXNUM..
 --------------------------------

This seems to be some kind of overflow as 4611686018427387903 is the largest fixnum on my machine. The simplest test that fails is in soft-delta where d3
is (cat:soft-delta 3) and the failing line is:

(cat:face d3 1 2 (cat:d 21))

The DELTA-[DGNL,BNDR] failures also seem to point to an index overflow (by 1).

@gheber
Copy link
Owner Author

gheber commented Mar 17, 2019

There's a similar failure now in the cobar-test.

--------------------------------
 VRTC-COBAR []: 
      Unexpected Error: #<TYPE-ERROR expected-type: FIXNUM datum: 4611686018427387904>
The value 4611686018427387904 is not of type FIXNUM..
 --------------------------------

The failing test is

(test vrtc-cobar
      (cat:cat-init)
      (let ((v (cat:vrtc-cobar (cat:soft-delta-infinity))))
        (dotimes (i 10) (print (random-allp 5)))
        (dotimes (i 10)
          (let ((allp (random-allp 3)))
            (print allp)
            (print (cat:? v (apply #'+ (mapcar #'car (cat:allp-list allp)))
                          allp))
            (print (cat:? v (cat:? v (apply #'+ (mapcar #'car
                                                        (cat:allp-list allp)))
                                   allp)))))))

@gheber
Copy link
Owner Author

gheber commented Mar 17, 2019

Ditto in the bar-test.

--------------------------------
 VRTC-BAR []: 
      Unexpected Error: #<TYPE-ERROR expected-type: FIXNUM datum: 4611686018427387904>
The value 4611686018427387904 is not of type FIXNUM..
 --------------------------------

@sphyynx
Copy link
Collaborator

sphyynx commented Mar 20, 2019 via email

@sphyynx
Copy link
Collaborator

sphyynx commented Mar 20, 2019 via email

@gheber
Copy link
Owner Author

gheber commented May 13, 2019

Fixed in fe7f3d6

@gheber gheber closed this as completed May 13, 2019
@sphyynx
Copy link
Collaborator

sphyynx commented May 13, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants