Skip to content

Instantly share code, notes, and snippets.

@mikeckennedy
mikeckennedy / test_pypi_security_audit.py
Last active January 7, 2026 20:01
Add pip-audit checks to your pytest / CI tests
"""
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
@rodonn
rodonn / simulate.py
Last active November 22, 2024 00:32
Causal DAG simulator
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)
@veekaybee
veekaybee / normcore-llm.md
Last active January 19, 2026 05:36
Normcore LLM Reads

Anti-hype LLM reading list

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.

Foundational Concepts

Screenshot 2023-12-18 at 10 40 27 PM

Pre-Transformer Models