Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#15257 closed enhancement (fixed)

Update of doctests for book on k-Schur functions

Reported by: aschilling Owned by:
Priority: major Milestone: sage-5.13
Component: combinatorics Keywords: k-Schur functions, book
Cc: sage-combinat, zabrocki Merged in: sage-5.13.beta1
Authors: Anne Schilling, Mike Zabrocki Reviewers: Anne Schilling, Mike Zabrocki
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

This patch reflects the changes in the doctests in the book on k-Schur functions.

Attachments (1)

trac_15257-book-as.patch (30.0 KB) - added by aschilling 9 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 9 years ago by aschilling

  • Status changed from new to needs_review

comment:2 Changed 9 years ago by zabrocki

  • Status changed from needs_review to positive_review

Looks good and all tests pass.

comment:3 Changed 9 years ago by jdemeyer

  • Status changed from positive_review to needs_work

Some of these tests need # long time and the last two take too long and should be disabled, even for # long time:

sage -t --warn-long 2.0 devel/sage/sage/tests/book_schilling_zabrocki_kschur_primer.py
**********************************************************************
File "devel/sage/sage/tests/book_schilling_zabrocki_kschur_primer.py", line 74, in sage.tests.book_schilling_zabrocki_kschur_primer
Failed example:
    W = WeylGroup(['A',4,1])
Test ran for 5.47 s
**********************************************************************
File "devel/sage/sage/tests/book_schilling_zabrocki_kschur_primer.py", line 159, in sage.tests.book_schilling_zabrocki_kschur_primer
Failed example:
    P = Poset([C, ord], cover_relations = False)
Test ran for 3.99 s
**********************************************************************
File "devel/sage/sage/tests/book_schilling_zabrocki_kschur_primer.py", line 694, in sage.tests.book_schilling_zabrocki_kschur_primer
Failed example:
    ks(H[3,2])
Test ran for 2.11 s
**********************************************************************
File "devel/sage/sage/tests/book_schilling_zabrocki_kschur_primer.py", line 719, in sage.tests.book_schilling_zabrocki_kschur_primer
Failed example:
    p(ks3z[2, 2, 2, 2, 2, 2, 2, 2])
Test ran for 24.75 s
**********************************************************************
File "devel/sage/sage/tests/book_schilling_zabrocki_kschur_primer.py", line 728, in sage.tests.book_schilling_zabrocki_kschur_primer
Failed example:
    ks3z[3, 3, 3, 3]*ks3z[2, 1]
Test ran for 14.76 s
**********************************************************************
File "devel/sage/sage/tests/book_schilling_zabrocki_kschur_primer.py", line 736, in sage.tests.book_schilling_zabrocki_kschur_primer
Failed example:
    dks[2, 1, 1]*dks[3, 2, 1]
Test ran for 44.70 s
**********************************************************************
File "devel/sage/sage/tests/book_schilling_zabrocki_kschur_primer.py", line 780, in sage.tests.book_schilling_zabrocki_kschur_primer
Failed example:
    Kks3[3,1]*Kks3[2]
Test ran for 11.85 s
**********************************************************************
File "devel/sage/sage/tests/book_schilling_zabrocki_kschur_primer.py", line 798, in sage.tests.book_schilling_zabrocki_kschur_primer
Failed example:
    G31 = SymQ3.AffineGrothendieckPolynomial([3,1], 8)
Test ran for 73.06 s
**********************************************************************
File "devel/sage/sage/tests/book_schilling_zabrocki_kschur_primer.py", line 799, in sage.tests.book_schilling_zabrocki_kschur_primer
Failed example:
    for d in range(5,10):
        for la in Partitions(d,max_part=3):
            c = (G1*G31).lift().scalar(Kks3(la))
            if c!=0:
                print la, c
Test ran for 119.23 s
**********************************************************************

Changed 9 years ago by aschilling

comment:4 follow-up: Changed 9 years ago by aschilling

  • Status changed from needs_work to needs_review

comment:5 in reply to: ↑ 4 Changed 9 years ago by aschilling

I added long time markers and removed the last test (Mike, I tried lower degrees in

G31 = SymQ3.AffineGrothendieckPolynomial([3,1], 8)

but then the answers are wrong.

Anne

comment:6 Changed 9 years ago by zabrocki

  • Status changed from needs_review to positive_review

I don't think that we need the last example because we have other tests which at least verify the code works.

Tests pass in 20.7 s and 75.3 s with --long.

comment:7 follow-up: Changed 9 years ago by jdemeyer

  • Merged in set to sage-5.13.beta1
  • Resolution set to fixed
  • Status changed from positive_review to closed

comment:8 in reply to: ↑ 7 Changed 9 years ago by aschilling

Test whether email works again!

Note: See TracTickets for help on using tickets.