Open vinayrajchoudhary opened 10 years ago
The one code that you wrote yesterday to correct some db problem and this one that checks for problems in db like
-->Timsort has two algorithms which are same-- checking and removing duplicity
-->p_list updated or not -- running p_list updater and make it throw error wherever it could not update, because there can be such cases where it encounter error while updating p_list
-->caches updated or not-- cache in case of articles
-->youtube video --not that important So the codes for these must be kept properly for future also so that we can catch such errors in future or you may also write tests for such conditions
you can also remove property_list attribute from all of algorithms, if it is not used --- because i see 19 algorithms have property_list=="hi"!!! that confuses me sometimes in thinking that it might be an error
@sumit7 One more change - a bit of dq-readability presentation technique has been changed in database. Though i think it should not affect other things.
removed attribute property_list from the corpus
corrected sources of description i.e nist and wolfram.
There are articles and may be other source nodes in the database which are not cached!!!
you can see such articles by doing Entity.where("addr"=>/article/i).where("cache"=>nil).pluck[:addr]
these are not showing up on the website as well .. can be seen on http://fathomless-dusk-9169.herokuapp.com/repo/dq/algorithms/sequence%20sorting/Timsort/i:article
other such nodes should also be scanned
also p_list of timsort is not updated properly like it shows 1 pseudocode while it has none!