Skip to content
View AndyRCC's full-sized avatar
👾
👾

Block or report AndyRCC

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
AndyRCC/README.md
Andy Casafranca — Instrumentation & SCADA Engineer · Lima, Peru

Mechatronics engineer (UPC, top 10%) working as Instrumentation & SCADA Engineer at LabProjects: I keep Peruvian water utilities' SCADA systems running and their flowmeters honest. Outside work I build things that touch the physical world, and lately I've been doing computational number theory. My math repos ship with the code that regenerates every result.

Selected work

Instrumentation & SCADA

  • Bulk Meter Verification · case study ↗
    Field verification of 53 bulk water meters at a utility's wells and reservoirs against a portable clamp-on ultrasonic reference. 41 tested on site; 15 corrected in the field without cutting supply, all re-verified.
  • Reservoir Outlet 3D · live ↗
    Three.js simulation driven by real 1D hydraulics (Manning; H2, H3 and S2 profiles; vena contracta). Shows why an electromagnetic flowmeter on a partly full outlet over-reads by about 35%, and how a gooseneck fixes it.

Software & ML

  • HydraDetect-AI · live demo ↗
    Finds clandestine water bypasses from the echo of a controlled water hammer. The same 17-feature extractor runs bit-exact on the desktop trainer and on an Arduino Q, where a soft-voting ensemble works offline; 89% accuracy in a field pilot (n = 36).
  • Hoardling
    A C# / .NET WPF desktop pet that tracks my Claude Code and Antigravity usage limits through local hooks, with no telemetry.

Mathematics

  • ErdĹ‘s–Straus: blind shifts · DOI 10.5281/zenodo.24569380
    For every shift $c \equiv 3 \pmod 4$, the primes $n \le N$ at which the shift fails number $\asymp N(\log N)^{-3/2}$, extending Dahan's theorem for $c = 7$ and settling $c = 3$ (via Fuchs–Hsu–Rickards–Schindler–Stange). Also conditional results on $m(p)$, and its exact value for all 128,671,219 "hard" primes below $10^{11}$. Not a proof of the conjecture.
  • Period–trace correlations: an audit · DOI 10.5281/zenodo.24450625
    Independent audit of recent claims linking Frobenius traces $a_p$ to the invariants in the BSD formula, on Cremona's tables ($N < 10^5$). The headline correlation replicates; at rank 0 the BSD identity routes it through the Tamagawa product, where the bad-prime Euler factor acts as a collider, and at ranks 1–2 it reverses sign within strata (a Simpson effect).
  • Upstream fix in JohnCremona/ecdata
    Found and reported a documentation error in the allgens file format; my fix (#8) was merged by John Cremona.

Toolbox

  • Instrumentation: electromagnetic and ultrasonic flowmeters, clamp-on verification, FUXA SCADA/HMI, Siemens S7-1200
  • Systems: Linux, Docker, VPS hardening
  • Code: Python (NumPy, Numba, scikit-learn, FastAPI, PyQt5), C# / .NET (WPF), JavaScript (Three.js), C++ (Arduino)
  • Math: PARI/GP, SymPy, segmented sieves, reproducible pipelines

andyrcc.github.io · LinkedIn · andycasafranca@hotmail.com

Pinned Loading

  1. HydraDetect-AI HydraDetect-AI Public

    Machine Learning-Driven Detection of Clandestine Water Connections via Hydraulic Transient Analysis

    HTML

  2. simulacion-reservorio-3d simulacion-reservorio-3d Public

    3D simulation of a reservoir outlet with a 45° drop: why an electromagnetic flowmeter over-reads in a partly full pipe, and how a gooseneck fixes it

    JavaScript

  3. bsd-period-trace-audit bsd-period-trace-audit Public

    Independent audit of period-trace correlations among elliptic curves over Q (Cremona data, N < 10^5): code, results and preprint.

    Python

  4. hoardling hoardling Public

    A tiny dragon that lives on your Windows desktop and keeps an eye on your Claude Code and Antigravity limits. Puts on its glasses when they're working, naps when they're closed.

    C#

  5. contrastacion-emapica contrastacion-emapica Public

    Case study: field verification of 53 bulk water meters against a clamp-on ultrasonic reference

    HTML

  6. erdos-straus erdos-straus Public

    Erdős–Straus conjecture: blind sets for every shift c ≡ 3 (mod 4), conditional results on m(p) and verified computations

    Python