Buglet in Show Differences

Buglet in Show Differences

de Anton Dil -
Número de respuestas: 2

Greetings Richard,

We've encountered a small issue in showing and hiding differences involving a newline character.

An example of what the student saw is below. They have an extra System.out.println() in their code. On first viewing the results you can see there is an extra line in their output. Pressing Show Differences does not highlight this (I am not sure how it could), then on pressing Hide Differences that newline is stripped out, and it looks like the student's results are correct, as illustrated.

Since the question involves stripping out spaces we can't just use near exact match.  (I wonder if it is an OU thing!)

Regards,

Anton

example

En respuesta a Anton Dil

Re: Buglet in Show Differences

de Richard Lobb -
Sorry, but I can't replicate this Anton. Could you give me some "steps to reproduce" starting with an out-of-the-box CodeRunner, please?

Here's my attempt to reproduce:

Initial response seen by student

And after Show differences is clicked:

After clicking Show differences

Clickikng Hide differences just takes me back to the previous images.

What version of CodeRunner are you using? And what question type?

En respuesta a Richard Lobb

Re: Buglet in Show Differences

de Anton Dil -

Hi Richard, 

Thank you for checking this out.

This is a java class type question with a customised template, but I don't think that's the issue - it just adds an exception handler, but no exception occurs here.

I'm asking for some local help on this.