id,summary,reporter,owner,description,type,status,priority,milestone,component,resolution,keywords,cc,merged,author,reviewer,upstream,work_issues,branch,commit,dependencies,stopgaps
13555,Doctests of random functions needs to be improved.,JoalHeagney,mvngu,"Currently a lot of random functions are skipped during doc-testing, as their results can't be predicted.
However, in ticket [http://trac.sagemath.org/sage_trac/ticket/13554 #13554], it is clear that errors are slipping through, and __'''properties'''__ of random objects should be checked when possible.
For example, in ticket [http://trac.sagemath.org/sage_trac/ticket/13554 #13554], the generated matrices should at least be tested for the following (if they aren't already):
* Presence of zero entries when method/documentation states that no zero entries should be created, unless density= keyword is used.
* method=echelon_form produces matrices in echelon form.
* method=echelonizable can be echelonized.
* method=unimodular has a determinant of 1.
* method=diagonizable can be diagonalized and eigenvalues are integers.
* x= , y= has all entries between x (inclusive) and y (non-inclusive), unless density= keyword is used and 0 isn't between x and y. (In that case entries should be either between x and y, or zero.)",defect,new,major,sage-6.4,doctest coverage,,"random, matrices, random_matrix, properties of random objects, properties",,,,,N/A,,,,,