GithubHelp home page GithubHelp logo

Comments (4)

kurtseifried avatar kurtseifried commented on July 20, 2024

TEST data: how do we ensure the test data cannot be used in production, e.g. "example.org" like "example-data-NAME"? Use random strings for package names (that will be impossible to eyeball and match up, ugh)? Stick emojis into the data? Use 1900-1920 as the year?

from gsd-tools.

raphaelahrens avatar raphaelahrens commented on July 20, 2024

What about a special branch (orphan branch) or better a separate repo?

from gsd-tools.

kurtseifried avatar kurtseifried commented on July 20, 2024

we can't use "example" because a lot of stuff uses that name:

https://pypi.org/search/?q=example
https://www.npmjs.com/search?q=example

  1. I think explicit meta data (e.g. going back to the "what is this, a vulnerability? incident? test-data")
  2. Titles/descriptions can't really be used, e.g. if we use "this is a test data entry" then what happens if that string ends up legitimately in a real entry?
  3. We can't just use dates in the distant past, we want test data that includes current dates, and the test data will be updated (e.g. y2038 related problems? only 16 years away...)

I think having said this we add a giant root level tag labelling this as TEST DATA that cannot and will not ever occur in production data. Then we don't have to be all clever and try to come up with magic strings/dates/etc.

from gsd-tools.

kurtseifried avatar kurtseifried commented on July 20, 2024

As far as using a special branch/etc we need the actual data to be clearly test data because people will accidentally pull it in otherwise.

from gsd-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.