Skip to content

complexity

toolboxes

  • this repo has some commands for estimating complexity
  • I'll be ading tools as I encounter the need for these new methods

cartesian product

  • the definition of complexity is still being defined
  • regardless when I am working and I run into mazes created by nature or people I like to know how deep the s#@$$hole goes lol
  • the cartesian product is the number possible combinations
  • this demo uses 3 example lists
  • I used this when I was running software tests
  • the software design became a jenga tower that was falling over from feature collapse
cli a c
combinations
[('dev', 'one', 'four'), ('dev', 'one', 'five'), ('dev', 'one', 'six'), ('dev', 'two', 'four'), ('dev', 'two', 'five'), ('dev', 'two', 'six'), ('dev', 'three', 'four'), ('dev', 'three', 'five'), ('dev', 'three', 'six'), ('test', 'one', 'four'), ('test', 'one', 'five'), ('test', 'one', 'six'), ('test', 'two', 'four'), ('test', 'two', 'five'), ('test', 'two', 'six'), ('test', 'three', 'four'), ('test', 'three', 'five'), ('test', 'three', 'six'), ('uat', 'one', 'four'), ('uat', 'one', 'five'), ('uat', 'one', 'six'), ('uat', 'two', 'four'), ('uat', 'two', 'five'), ('uat', 'two', 'six'), ('uat', 'three', 'four'), ('uat', 'three', 'five'), ('uat', 'three', 'six'), ('prod', 'one', 'four'), ('prod', 'one', 'five'), ('prod', 'one', 'six'), ('prod', 'two', 'four'), ('prod', 'two', 'five'), ('prod', 'two', 'six'), ('prod', 'three', 'four'), ('prod', 'three', 'five'), ('prod', 'three', 'six')]
count
36

the complexity rabbit hole