# Racket handin with structures types

**URL:** <https://racket.discourse.group/t/racket-handin-with-structures-types/1762>\
**Category:** Questions & Answers\
**Tags:** question\
**Created:** [March 7, 2023, 12:26am UTC](https://racket.discourse.group/t/racket-handin-with-structures-types/1762 "2023-03-07T00:26:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jestarray](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/jestarray/32/433_2.png) [@jestarray](https://racket.discourse.group/u/jestarray)\
**Post date:** [March 7, 2023, 12:26am UTC](https://racket.discourse.group/t/racket-handin-with-structures-types/1762/1 "2023-03-07T00:26:07Z")

</div>

anyone here work with racket handin-server?

```scheme
(define-struct box [size angle])
(@test "tock#1" "err: our speeds are: GROWTH: 1, ROTATION-SPEED: 4" (tock (make-box 4 6)) (make-box 5 10) 1)

```

so for checking structure def problems i get this error:

```scheme
Test: tock#1
your code failed a test: (tock (make-box 4 6)) evaluated to '(box 5 10 false), expecting '(box ...)

```

No idea where the `false` is coming from. It's not from the client side tock function:

```scheme
(define (tock bx) 
    (make-box (+ (box-size bx) GROWTH-SPEED)
              (+ (box-angle bx) ROTATION-SPEED)))

```

---

<div class="post-metadata">

**Author:** ![jestarray](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/jestarray/32/433_2.png) [@jestarray](https://racket.discourse.group/u/jestarray)\
**Post date:** [March 7, 2023, 3:33am UTC](https://racket.discourse.group/t/racket-handin-with-structures-types/1762/2 "2023-03-07T03:33:44Z")

</div>

samth said to replace the answer check `(make-box 5 10)` with `((submission-eval) '(make-box 5 10))`  
while **removing** grader side struct defs  
`(@test "tock#1" "err: our speeds are: GROWTH: 1, ROTATION-SPEED: 4" (tock (make-box 4 6)) ((submission-eval) '(make-box 5 10)) 1)`
