Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.
| """ | |
| Security audit tests using pip-audit to detect known vulnerabilities. | |
| This test runs pip-audit against the installed packages and fails if any | |
| vulnerabilities are detected, ensuring continuous security monitoring. | |
| """ | |
| import subprocess | |
| import sys | |
| from pathlib import Path |
| import graphviz as gr | |
| import pandas as pd | |
| def simulate(**kwargs): | |
| values = {} | |
| g = gr.Digraph() | |
| for k,v in kwargs.items(): | |
| parents = v.__code__.co_varnames | |
| inputs = {arg: values[arg] for arg in parents} | |
| values[k] = v(**inputs) |