Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion testing of sage
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
rjf  
View profile  
 More options Apr 10 2012, 10:01 am
From: rjf <fate...@gmail.com>
Date: Tue, 10 Apr 2012 07:01:08 -0700 (PDT)
Local: Tues, Apr 10 2012 10:01 am
Subject: testing of sage
William Stein seems to think that doctest works, and I don't.

What do you think it should do?

I think it should attempt to verify that an answer is
(a) mathematically correct
  and
(b) in an acceptably simple form.

He thinks  (I am guessing here...) that it should compare the output
string of
a command being tested to a pre-determined computed result.

The difficulty with Stein's view is that some results depend on
irrelevant factors
such as the sequence of tests.  For example, calling Maxima repeatedly
may
increment counters for "dummy index names".
So inserting a new test can cause a subsequent one to fail.

Re-setting index counters can also make tests fail.

Now sometimes answers change.  e.g. the form of the result of an
indefinite integration can change, as can its actual value (since
there may
be a different implicit constant of integration.) or it may be
simplified better
or worse.

Many global settings in Maxima can change the form of results, as
well.
e.g. powerdisp, logexpand, fpprec,

Stein's version of doctest is too dumb.  My proposed version is
probably
too hard (being, in general, not computable, as are so many advanced
computations that need to be simplified over "all mathematics".)

So what to do?

Consider this an attempt to get sage-flame back on track, too.

RJF


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.