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
New/changed patchbot coverage plugin?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
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
 
Simon King  
View profile  
 More options Aug 31 2012, 1:04 pm
From: Simon King <simon.k...@uni-jena.de>
Date: Fri, 31 Aug 2012 17:04:41 +0000 (UTC)
Local: Fri, Aug 31 2012 1:04 pm
Subject: New/changed patchbot coverage plugin?
Hi!

At #13370, I just noticed that the patchbot isn't even running the
doctest, because plugins.coverage complains. I think it is a bad idea to
not run the tests just because plugins.commit_messages or
plugins.coverage or plugins.trailing_whitespace fails.

In addition, I don't understand why the plugin is complaining: All
functions introduced by my patch have a test, and I even add a test that
refers to the ticket (showin that some problem is fixed). So, what
criteria are to meet for making the plugin happy?

Best regards,
Simon


 
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.
Robert Bradshaw  
View profile  
 More options Aug 31 2012, 2:16 pm
From: Robert Bradshaw <rober...@math.washington.edu>
Date: Fri, 31 Aug 2012 11:16:06 -0700
Local: Fri, Aug 31 2012 2:16 pm
Subject: Re: [sage-devel] New/changed patchbot coverage plugin?

On Fri, Aug 31, 2012 at 10:04 AM, Simon King <simon.k...@uni-jena.de> wrote:
> Hi!

Hi. Yeah, I've been making a lot of improvements over the last couple
of days. Glad to see someone noticed :).

> At #13370, I just noticed that the patchbot isn't even running the
> doctest, because plugins.coverage complains. I think it is a bad idea to
> not run the tests just because plugins.commit_messages or
> plugins.coverage or plugins.trailing_whitespace fails.

Yes, very true. This particular patchbot is running in a "plugin only"
mode for testing and quick coverage; the normal behavior has not
changed.

> In addition, I don't understand why the plugin is complaining: All
> functions introduced by my patch have a test, and I even add a test that
> refers to the ticket (showin that some problem is fixed). So, what
> criteria are to meet for making the plugin happy?

Looking at http://patchbot.sagemath.org/log/13370/debian/lenny/sid/x86_64/2.6.24...
, I see

Decreased doctests misc/cachefunc.pyx from 56 / 63 = 88% to 60 / 68 = 88%

which indicates that there were formerly 7 undoctested functions in
this file and now there are 8. Now it's quite possible that sage
-coverageall has a bug in it, which is beyond the scope of the
patchbot.

Also, unhappy plugins shouldn't be a blocker, rather they should be
something the reviewer should at least be aware of (which may of
course indicate a blocker, if there are for example new undoctested
functions).

- Robert


 
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.
Simon King  
View profile  
 More options Aug 31 2012, 4:39 pm
From: Simon King <simon.k...@uni-jena.de>
Date: Fri, 31 Aug 2012 20:39:35 +0000 (UTC)
Local: Fri, Aug 31 2012 4:39 pm
Subject: Re: New/changed patchbot coverage plugin?
Hi Robert,

On 2012-08-31, Robert Bradshaw <rober...@math.washington.edu> wrote:

> On Fri, Aug 31, 2012 at 10:04 AM, Simon King <simon.k...@uni-jena.de> wrote:
>> In addition, I don't understand why the plugin is complaining: All
>> functions introduced by my patch have a test, and I even add a test that
>> refers to the ticket (showin that some problem is fixed). So, what
>> criteria are to meet for making the plugin happy?

> Looking at http://patchbot.sagemath.org/log/13370/debian/lenny/sid/x86_64/...
> , I see

> Decreased doctests misc/cachefunc.pyx from 56 / 63 = 88% to 60 / 68 = 88%

> which indicates that there were formerly 7 undoctested functions in
> this file and now there are 8.

The point is that my patch doesn't touch misc/cachefunc.pyx.

Cheers,
Simon


 
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.
Robert Bradshaw  
View profile  
 More options Aug 31 2012, 5:21 pm
From: Robert Bradshaw <rober...@math.washington.edu>
Date: Fri, 31 Aug 2012 14:21:19 -0700
Local: Fri, Aug 31 2012 5:21 pm
Subject: Re: [sage-devel] Re: New/changed patchbot coverage plugin?

I see that you have 5 dependencies; perhaps one of them does? (It
computes the diff against pristine sage-main, dependencies and all.)
It doesn't try to build/run/test the union of your dependencies minus
the new patches (though that's arguably a sane feature request).

- Robert


 
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.
Simon King  
View profile  
 More options Aug 31 2012, 5:41 pm
From: Simon King <simon.k...@uni-jena.de>
Date: Fri, 31 Aug 2012 21:41:34 +0000 (UTC)
Local: Fri, Aug 31 2012 5:41 pm
Subject: Re: New/changed patchbot coverage plugin?
Hi Robert,

On 2012-08-31, Robert Bradshaw <rober...@math.washington.edu> wrote:

>> The point is that my patch doesn't touch misc/cachefunc.pyx.

> I see that you have 5 dependencies; perhaps one of them does?

The plugin compares sage-5.3.rc0 with sage-5.3.rc0+#13370. Two of the five
dependencies of the ticket are already part of sage-5.3.rc0. With the
dependencies of the dependencies, we have to consider #715, #11521,
#12215 and #12313.

#715 doesn't touch misc/cachefunc.pyx. Neither does #11521 or #12313.

#12215 introduces a new class in nisc/cachefunc. Both the class itself and its
methods `__init__`, `__call__`, `is_in_cache` and `set_cache` are
tested. I could imagine, though, that the plugin does not recognise all
of the tests: The class is called WeakCachedFunction, but it gives rise
to a decorator called weak_cached_function.

Cheers,
Simon


 
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.
Robert Bradshaw  
View profile  
 More options Aug 31 2012, 5:51 pm
From: Robert Bradshaw <rober...@math.washington.edu>
Date: Fri, 31 Aug 2012 14:50:41 -0700
Local: Fri, Aug 31 2012 5:50 pm
Subject: Re: [sage-devel] Re: New/changed patchbot coverage plugin?

#12215 looks like the culprit:

http://patchbot.sagemath.org/log/12215/Fedora/17/x86_64/3.5.2-3.fc17....

which boils down to a broken sage -coverageall . File a ticket! :-)

- Robert


 
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.
End of messages
« Back to Discussions « Newer topic     Older topic »