sagemath / sage

Main repository of SageMath
https://www.sagemath.org
Other
1.4k stars 473 forks source link

Optional package database_sloane_oeis-2005-12.spkg is outdated #15779

Closed 3a5ab40a-5e15-47f8-8025-1665d51c0660 closed 10 years ago

3a5ab40a-5e15-47f8-8025-1665d51c0660 commented 10 years ago

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 ...

CC: @sagetrac-tmonteil @rwst @haraldschilly

Component: packages: optional

Keywords: optional database sloane

Author: Wilfried Luebbe

Issue created by migration from https://trac.sagemath.org/ticket/15779

3a5ab40a-5e15-47f8-8025-1665d51c0660 commented 10 years ago

Description changed:

--- 
+++ 
@@ -1,6 +1,6 @@
 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 (with no obvious sort logic):
+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,

rwst commented 10 years ago
comment:3

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.

3a5ab40a-5e15-47f8-8025-1665d51c0660 commented 10 years ago

Description changed:

--- 
+++ 
@@ -30,4 +30,4 @@
 A000001 Number of groups of order n.
 A000002 ...

-striped 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 ... +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 ...

3a5ab40a-5e15-47f8-8025-1665d51c0660 commented 10 years ago
comment:5

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!

vbraun commented 10 years ago
comment:8

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

haraldschilly commented 10 years ago
comment:9

yes, it's gone.