Opened 8 years ago

Closed 8 years ago

#15779 closed defect (fixed)

Optional package database_sloane_oeis-2005-12.spkg is outdated

Reported by: wluebbe Owned by: rws
Priority: minor Milestone: sage-6.2
Component: packages: optional Keywords: optional database sloane
Cc: tmonteil, rws, schilly Merged in:
Authors: Wilfried Luebbe Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by wluebbe)

I guess the optional spkg database_sloane_oeis-2005-12.spkg could be removed.

The package contains a sloane-oeis.bz2 which expands to a 20.165.423 Bytes file sloane-oeis. This file has 113134 records (apparently sorted by "OEIS lexicographic order"):

A000004 ,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
A112316 ,0,0,0 ...

On the other hand the module \src\sage\databases\sloane.py downloads a current file http://oeis.org/stripped.gz (17.971.650 Bytes).

This expands to a 45.252.744 Bytes file with 236976 records (including the 4 header records):

# OEIS Sequence Data (http://oeis.org/stripped.gz)
# Last Modified: February  2 08:48 UTC 2014
# Use of this content is governed by the
# OEIS End-User License: http://oeis.org/LICENSE
A000001 ,1,1,1,2,1,2,1,5,2,2,1,5,1,2,1,14,1,5,1,5,2,2,1,15,2,2,5,4,1,4,1,51,1,2,1,14,1,2,2,14,1,6,1,4,2,2,1,52,2,5,1,5,1,15,2,13,2,2,1,13,1,2,4,267,1,4,1,5,1,4,1,50,1,2,3,4,1,6,1,52,15,2,1,15,1,2,1,12,1,10,1,4,2,
A000002 ...

sloane.py also downloads http://oeis.org/names.gz with (8.330.058.251 Bytes (expanded 20.853.789 Bytes) and some same number of records as strippd.gz:

# OEIS Sequence Names (http://oeis.org/names.gz)
# Last Modified: February  2 03:48 EST 2014
# Use of this content is governed by the
# OEIS End-User License: http://oeis.org/LICENSE
A000001 Number of groups of order n.
A000002 ...

stripped contains more than double the number of sequence records compared to sloane-oeis. Often the sequences have additional elements. The new file may also contain corrected errors ...

Change History (10)

comment:1 Changed 8 years ago by wluebbe

  • Description modified (diff)

comment:2 Changed 8 years ago by vbraun_spam

  • Milestone changed from sage-6.1 to sage-6.2

comment:3 Changed 8 years ago by rws

  • Cc rws added

I confirm that the 2005 package is outdated and thus incomplete, and is included in the current stripped.gz file. So, if this file is actually used, the 2005 package is completely useless, except for historical purposes.

comment:4 Changed 8 years ago by rws

  • Owner changed from (none) to rws

comment:5 Changed 8 years ago by wluebbe

  • Description modified (diff)

Comparing the sequences of the outdated spkg with the current list of sequences there are about 2.000 sequences with errors. This is without counting those that only acquired some new initial elements (like 0, 1, -1, or 2) or those that grew longer.

The spkg should clearly to be removed!

comment:6 Changed 8 years ago by wluebbe

  • Status changed from new to needs_review

comment:7 Changed 8 years ago by rws

  • Status changed from needs_review to positive_review

comment:8 Changed 8 years ago by vbraun

  • Cc schilly added

Harald, can you delete the spkg from the web server?

comment:9 Changed 8 years ago by schilly

yes, it's gone.

comment:10 Changed 8 years ago by vbraun

  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.