About

Lucas Lopes Felipe

Experience, research, software, education, and selected contributions.

Personal Information

  • Name: Lucas Lopes Felipe
  • Current roles: Data Scientist at Fiotec–Fiocruz since February 2021. Research Software Engineer across projects since January 2020.
  • Education: PhD candidate in Computer Science at UFRJ, with expected completion in March 2027.
  • Location: Rio de Janeiro, RJ, Brazil (UTC−3).
  • Contact: hi@lucaslopes.me.
  • Links: lucaslopes.me, GitHub, LinkedIn.

Work Experience

Data Scientist at Fiotec–Fiocruz

February 2021–present · Remote, Brazil

Fiocruz is a prominent global public health research institution based in Rio de Janeiro, Brazil. Fiotec provides logistical, administrative, and financial support to Fiocruz’s health projects.

Mapping cancer-care access across Brazil’s regionalized Unified Health System (SUS)

Brazil recognizes health as a universal right, yet specialized cancer services are concentrated in relatively few municipalities. The project examines how SUS treatment flows relate to Health Macroregions and geographic access.

  • Built the data pipeline behind an interactive map of access to cancer care in Brazil. It collected 59M SUS treatment records, prepared them for aggregated analysis, and connected query results to the map. Proposed the data model and API linking these stages.
  • Developed two methods for manuscripts in progress. The Adjusted Rand Index (ARI) compares flow clusters with planned Health Macroregions. Travel-time rankings across 4.5M profiles flag farther destinations despite nearer options.

Technologies: Python, DuckDB, Parquet, FastAPI, React, TypeScript, Airflow, MapLibre, deck.gl.

Links: Desloca.info project, WebApp. Manuscripts in progress: Clusters Comparison and Travel-Time Rankings.

Geographic accessibility to hospital childbirths in Brazil

Assessed SUS access to hospital births nationwide by mapping intermunicipal travel and comparing distances, journey times, and regional gaps across the 2010–2011 and 2018–2019 periods to identify underserved areas and care hubs.

  • Integrated SUS birth-admission records with maternity-facility and municipal data, estimated journeys from residence to hospital, and transformed the linked records into origin–destination flows and geographic access measures.
  • Developed a method to measure access to hospital maternity care and scaled it nationwide. Validated the method in Rio de Janeiro, then refined and replicated it in a study of 6.9M hospital births.

Technologies: Python, SQL, SQLite, Selenium, Google Maps, OpenStreetMap, Plotly.

Advisor: Bruna de Paula Fonseca e Fonseca.

Links: Rio de Janeiro study (Reports in Public Health), National study (The Lancet Regional Health – Americas).

Leadership and International Collaboration on COVID-19 Research

Examined how international collaboration and research leadership in COVID-19 publications varied across country-income groups, using bibliographic and affiliation data to trace the changing structure of global research.

  • Coauthored a study of global COVID-19 research collaboration and designed its data workflows in Python and SQL. The study drew on 470K publications. Designed the bibliographic data model, exported WHO/BVS records, processed Dimensions metadata, and linked authors, affiliations, and countries for network analysis.
  • Presented exploratory plots, collaboration trends, and methods to the research team. Interpreted findings for the paper, informing collaborators’ final figures and discussion while contributing equally to the study.

Technologies: Python, SQL, Google BigQuery, network analysis.

Advisors: Bruna de Paula Fonseca e Fonseca and Danilo Silva Carvalho.

Links: Publication (Scientometrics).

Selected Open-Source Projects

Contributor to igraph — Open-Source Graph Analysis Software

July 18, 2025 · September 30, 2026 · October 23, 2026

Leiden Algorithm for Community Detection: Correctness and Convergence

Contributed bug fixes in C to igraph, an open-source graph analysis library. Also extended igraph’s C and Python APIs for hedonic experiments.

  • Fixed Leiden’s negative-iteration logic to run until convergence instead of stopping after one iteration (PR #2799).
  • Preserved moves at the final aggregation level, fixing disconnected clusters and non-terminating cases (PR #2935).
  • Corrected self-loop weight accounting during cluster refinement (PR #2939).

Technologies: C, Python, igraph, python-igraph, Git.

Upstream maintainers: Szabolcs Horvát and Vincent Traag.

Links: Contribution details, Changelog, C fork, Python fork.

Contributor at OpenMined — Open-Source AI and Privacy Community

November–December 2024

Common Ground — Privacy-Preserving e-Voting

Built a privacy-preserving voting web app with Vue.js and Python. It uses SyftBox for decentralized preference aggregation.

  • Selected as a pioneer in OpenMined’s #30DaysOfFLCode challenge on secure, decentralized AI.
  • Presented the application to the OpenMined community and shared feedback on SyftBox’s developer experience and app packaging.
  • Built a web app for rated voting and hierarchical budgeting with Paillier encryption and homomorphic tallying.

Technologies: Vue.js, Python, SyftBox, privacy-enhancing technologies.

Advisors: Andrew Trask and Ionesio Junior.

Links: Project and source code, Web app, Presentation.

Education

PhD in Computer Science at the Federal University of Rio de Janeiro

March 2022–March 2027 (expected) · UFRJ, Brazil

From Decentralized Decisions to Collective Mechanisms

Doctoral research studies decentralized decision-making in networked systems, linking resource allocation, coalition formation, and voting to examine how individual choices shape collective outcomes across social settings.

  • Advanced parallel studies of online learning for network load balancing and auto-scaling (IFIP Networking 2024) and game-theoretic coalition formation for graph community detection (MAMA 2025 and ACM SIGMETRICS 2025 SRC).
  • Combined queue-based resource allocation and coalition formation in a synthetic closed-loop economy with a shared, regenerating resource stock, enabling controlled comparisons of each mechanism alone and together.

Technologies: Python, C, Rust, TypeScript, Git, LaTeX.

Advisor: Daniel Sadoc Menasche.

Links: Doctoral research project, 3 Minute Thesis (3MT) video (Brazilian Portuguese with AI dubs in English and Spanish).

MSc in Computer Science at the Federal University of Rio de Janeiro

March 2018–May 2021 · UFRJ, Brazil

From Leiden to Pleasure Island: The Constant Potts Model for Community Detection as a Hedonic Game

Reinterpreted Leiden’s Constant Potts Model objective for network clustering as a competitive coalition game, modeling nodes as agents with preferences in a shared environment where individual incentives align with collective partition quality.

  • Turned a research prototype into an open-source Python API backed by C during my MSc in Computer Science. The prototype used SageMath, and the API uses igraph.
  • Introduced the Familiarity Index as a threshold between social and antisocial preferences.

Technologies: SageMath, Python, C, igraph, Graphviz, Git, LaTeX.

Advisors: Daniel Sadoc Menasche and Konstantin Avrachenkov.

Links: Publication (Physica A – Elsevier), Dissertation (Brazilian Portuguese), Visualizer, Source code.

BSc in Computer Science at Veiga de Almeida University

March 2014–December 2017 · UVA, Brazil

From Individual Preferences to Collective Routes: The Reciprocity Heuristic for the Traveling Salesman Problem

Proposed and implemented a reciprocity-based heuristic that converts individual distance preferences into a collective Hamiltonian route for the Traveling Salesman Problem.

  • Converted individual route preferences into reciprocal links forming a global route.
  • Measured route quality and computational cost on large traveling-salesperson problems.

Technologies: JavaScript, Python, Git, graph algorithms, combinatorial optimization.

Advisor: Ana Maria Vianna.

Links: Monograph (Brazilian Portuguese), Visualizer, Source code.

Research Visits

Research Software Engineer (Sandwich PhD) at IMT Atlantique

November 2023–August 2024 · IMT Atlantique, Brest, France

Online Learning of Weakly Coupled Markov Decision Processes (MDPs) for Load Balancing and Auto Scaling

Participated as a member of the RAMONaaS Project (Resource Allocation Methods for Optical Networks as a Service), supported through grants by CAPES (315110/2020-1), CNPq (E-26/211.144/2019), and FAPERJ (E-26/201.376/2021).

  • Built a Python API at IMT Atlantique to evaluate load balancing and autoscaling policies. The API grew out of a research prototype and supported experiments and visualizations of linear programming and online learning for allocating shared resources.

Technologies: Python, PyTorch, NumPy, Numba, Jupyter Notebook, Google Colab, Git, LaTeX.

Advisor: Alexandre Reiffers-Masson.

Links: Publication (arXiv), Visualizer, Source code.

Research Software Engineer (Research Internship) at Inria

January–March 2020 · Inria, Sophia Antipolis, France

Community Detection as a Hedonic Game: When Social and Antisocial Preferences Agree

The visit studied community partitions as coalitions, where each node selects the available group that maximizes friends and minimizes strangers. The internship was shortened by COVID-19.

  • Defined robustness as the fraction of nodes whose assigned group has the most friends and fewest strangers.

Technologies: Python, igraph, NetworkX, Graphviz, Jupyter Notebook, Git, LaTeX.

Advisor: Konstantin Avrachenkov.

Links: Publication (arXiv), Visualizer, Source code.

Awards

Teaching & Presentations

Presentation at Stony Brook University

June 13, 2025 · Stony Brook University, New York, USA

Conference: Mathematical Performance Modeling and Analysis (MAMA) 2025.

Presented how the Ising Model extends to the Potts Model for community detection, linking ferro- and antiferromagnetic interactions to social and antisocial choices, with frustration when the two preferences conflict.

Links: Publication, Slides.

Lab Session at IMT Atlantique

June 25, 2024 · IMT Atlantique, Brest, France

Summer school: Resource Allocation Problems in Communication Networks (Linear Programming-based MDPs).

Developed a hands-on Python and Plotly lab for PhD students at IMT Atlantique. The lab used interactive visualizations to explain Markov chains and resource-allocation policies based on linear programming.

Links: Source code, Colab notebook.

Presentation at Aristotle University of Thessaloniki

June 4, 2024 · Aristotle University of Thessaloniki, Greece

Conference: IFIP/IEEE Networking 2024.

Represented my co-authors in my first conference presentation, explaining the joint formulation of load balancing and auto scaling, the behavior of optimal policies, and how to learn them when system parameters are unknown.

Links: Publication, Slides, Video.

Extracurricular

Development Team at UFRJ Analytica — Academic Data Science League

August–November 2023 · UFRJ Analytica

Participatory Budgeting for Rio de Janeiro’s “Naves do Conhecimento” (Community Knowledge Hubs)

Designed participatory budgeting for Rio’s Naves do Conhecimento using community preferences.

  • Represented UFRJ Analytica in a science-and-technology partnership with Rio’s municipality.

Advisor: Carlos Antonio.

Link: Proposal (Brazilian Portuguese).

Skills

  • Programming: Python, C, JavaScript, TypeScript, Rust.
  • Scientific computing: PyTorch, NumPy, Numba, igraph.
  • Open-source tools: Git, PySyft, SyftBox.
  • Mathematics: logic, linear algebra, calculus, probability and statistics.
  • Interpersonal: proactive collaboration, cross-disciplinary engagement, public speaking.
  • Adaptability: rapid learning, tool exploration, and practical application.

Languages

  • English (ETS TOEFL iBT 99/120, May 2023). Reading 21/30, Listening 30/30, Speaking 22/30, Writing 26/30.
  • French: basic.
  • Fluent in Spanish.
  • Native speaker of Brazilian Portuguese.

Academic work

Presentations

Software