- Home
- Categories
- Python Automation
Python Automation
Workflow automation, data pipelines, web scraping, REST APIs, data apps with Streamlit, Flask web services, and ML-powered tooling — all in Python.
All
Combining Four Search Signals Without Making Them Agree: Reciprocal Rank Fusion
BM25, vector similarity, citation PageRank, and recency decay return scores on incompatible scales. Reciprocal Rank Fusion fuses them by rank position rather than raw score — no normalization required, robust to distribution shifts between scorers.
Measuring Search Ranking Quality Without Labeled Data: Team Draft Interleaving
Position bias makes raw click-through rate a misleading metric for search quality. Team draft interleaving weaves two ranked lists together so each algorithm gets equal position exposure, letting you count statistically meaningful wins per query without any relevance labels.
Your Flask App Is a Monolith Until You Learn the Factory: How `create_app`, Blueprints, and Jinja2 Inheritance Turn a Script Into a Scalable Project
A deep dive into the architectural patterns that transform a single-file Flask script into a maintainable, scalable web application — covering the application factory, Blueprint organization, and Jinja2 template inheritance.
Splitting Atoms in a Word Document: Surgical Run Manipulation and Real-Time Audio Normalization
A deep dive into the algorithms that power STORM DAT's document annotation and audio normalization engines, revealing how to transform complex data structures in place without corruption.
Your Flask App Accepts File Uploads — But Can It Survive a Malicious One?
A deep dive into building a secure file upload pipeline in Flask, covering extension whitelisting, memory-efficient size checks, path traversal prevention, and security headers.
One Dictionary, Seven Colors, and 200 Paragraphs: Engineering a Document Compliance Engine
A deep dive into the acronym sweep engine of STORM DAT, a Python-based document analysis tool that uses regex and state machines to enforce complex compliance rules across multi-page Word documents.