Referenced from lesson Checking Your Work
A “helpful” Data Scientist gives you access to the following functions:
# old-dogs-nametags:: (animals :: Table) -> Table # consumes a table of animals, and produces a table containing only # dogs 5 years or older, with an extra column showing their name in red
You can use the function, but you can’t see the code for it! How do you know if you can trust their code?
1) What qualities would a verification subset need to have?
2) Create your verification subset! In the space below, list the name and index of each animal in your subset.
Name |
---|
|
|
|
|
|
|
|
|
These materials were developed partly through support of the National Science Foundation, (awards 1042210, 1535276, 1648684, and 1738598). Bootstrap:Data Science by Emmanuel Schanzer, Nancy Pfenning, Emma Youndtsmith, Jennifer Poole, Shriram Krishnamurthi, Joe Politz, Ben Lerner, Flannery Denny, and Dorai Sitaram with help from Eric Allatta and Joy Straub is licensed under a Creative Commons 4.0 Unported License. Based on a work at www.BootstrapWorld.org. Permissions beyond the scope of this license may be available by contacting schanzer@BootstrapWorld.org.