Sourcebae
Website:
sourcebae.com
Job details:
Job Description
Job Description: Senior Python Engineer
(High-Performance Simulation Systems)
Shift - UK timezone (BST preferred)
Experience - 8+ Years
*HIPPA compliance necessary*
*Heathcare domain experience should be there.*
About the Role
We are looking for a Senior Python Engineer to design and build a high-performance,
memory-efficient simulation layer operating within a web service worker environment.
This is a deep engineering role, requiring strong expertise in Python internals,
performance optimization, and scientific computing — not just application-level
development.
Key Responsibilities
1. Core Architecture & Type System
● Design and implement scalable, maintainable system architecture using Python
● Build robust abstractions using:
○ typing.Protocol
○ Abstract Base Classes (ABCs)
● Ensure strict static typing compliance (mypy strict mode – zero ignores)
● Implement correct dunder methods (__lt__, etc.) following total ordering principles
● Validate interfaces using runtime checks (isinstance)
2. Memory Management & Performance
● Optimize long-running processes for zero memory leakage
● Work with:
○ Python Garbage Collector (GC)
○ weakref
○ __slots__
● Perform memory profiling using:
○ tracemalloc
○ objgraph
● Ensure stable memory usage under continuous workloads
3. Scientific Computing & Optimization
● Build high-performance simulation and forecasting logic
● Implement:
○ NumPy vectorization (no Python loops over datasets)
○ SciPy interpolation (interp1d)
● Develop efficient computation strategies (e.g., lazy rebuild mechanisms)
● Profile performance using cProfile
● Achieve sub-10ms execution time for datasets under 10k rows
4. Algorithm Development (Pharmacometric / Mathematical Models)
● Implement mathematically accurate descriptor algorithms
● Work with:
○ Numerical integration
○ Stateless functional programming
● Ensure correctness against defined specifications
● Write robust unit tests covering:
○ Edge cases (empty inputs, single data points)
○ Verified outputs against benchmark datasets
● Use frozen dataclasses for thread-safe implementations
5. Data Structures & Serialization
● Design efficient, immutable data models
● Work extensively with:
○ Pandas (optimized usage)
● Ensure:
○ Correct dtype handling (float64, datetime64)
○ No unnecessary memory duplication
● Handle complex boundary conditions in data processing
6. Code Quality, Reviews & Mentorship
● Review code contributions from other developers and data scientists
● Enforce:
○ Clean architecture principles
○ Vectorized implementations
● Maintain high code standards:
○ PEP8 compliance (via Ruff/Black)
○ Cyclomatic complexity ≤ 10
● Ensure all public APIs are well documented with docstrings
● Contribute to CI/CD and static analysis pipelines
*Required Skills & Experience*
*Must-Have*
● Strong expertise in core Python internals
● Deep understanding of:
○ Python Data Model
○ Object-oriented design patterns
● Hands-on experience with:
○ NumPy, SciPy
○ Performance optimization & profiling
● Experience with strict typing (mypy)
● Strong understanding of:
○ Memory management in Python
○ Writing efficient, scalable code for long-running processes
*Good to Have*
● Experience with simulation systems or scientific computing
● Exposure to pharmacometrics or mathematical modeling
● Familiarity with:
○ tracemalloc, objgraph
○ Functional programming paradigms
● Experience working in high-performance or compute-heavy systems
Working Model
● Full-time, dedicated role (approx. 160 hours/month)
● Remote / distributed team
● Overlapping work hours with UK timezone (BST preferred)
What This Role Is NOT
● Not a CRUD / API development role
● Not a beginner/intermediate Python position
● Not suitable for developers without performance engineering experience
What Success Looks Like
● Zero memory leaks in production systems
● Highly optimized, vectorized computation pipelines
● Clean, type-safe, maintainable codebase
● Strong code governance across the engineering team
Click on Apply to know more.