← BACK TO SELECTED WORK
PRJ_05 / RESEARCH / AI-ASSISTED REFACTORING

ClassMoveExplorer

Finding a better home for Java classes.

A Python research prototype combining dependency analysis, semantic embeddings, and LLM reasoning to recommend package relocations.

PythonJavaStatic AnalysisEmbeddingsLLMsStreamlit
MY ROLE & CONTEXT

Research intern · LARODEC · with a fellow student and two research mentors

DOCUMENTED OUTCOME

A research prototype with a public dashboard/CLI implementation and documented evaluation methods.

01 / CONTEXT

The problem worth solving.

A class can compile correctly while belonging to the wrong package. The project explores how structural dependencies and semantic intent can reveal misplaced classes and suggest better destinations.

02 / CONTRIBUTION

Where I contributed.

I contributed to a Python prototype combining dependency analysis, semantic embeddings, and an LLM module for class relocation recommendations. I applied static analysis and AI-assisted refactoring techniques to large Java codebases as part of a collaborative research internship.

Collaborative research, not sole authorship. The public repository documents the current tool; it may include additions beyond the original internship.

03 / ARCHITECTURE

How the pieces connect.

  1. 01Java project
  2. 02Dependency graph
  3. 03Semantic embeddings
  4. 04LLM reasoning
  5. 05Package suggestion

Conceptual flow, based on the CV and available project documentation. This is not a production topology or a live system.

04 / DECISIONS & TRADE-OFFS

The thinking behind the tools.

Combine structural and semantic evidence

Dependency graphs capture coupling; embeddings add signals about class intent. An LLM synthesizes recommendations. Combining these views can expose disagreements that a single signal would miss.

Make recommendations inspectable

The public tool offers a Streamlit dashboard and CSV export. It also documents deterministic heuristic reasoning when Hugging Face model access is unavailable.

05 / EVIDENCE & EVALUATION

What the evidence supports.

The repository describes synthetic toy-project benchmarks and a corruption test that deliberately misplaces classes. These test recovery from injected changes; they do not by themselves establish real-world architectural quality. No numeric benchmark is claimed here.

Read the repository documentation
06 / LOOKING AHEAD

Limits, and what comes next.

Next steps: compare structural-only, embedding-only, and combined variants; test on independently reviewed real Java systems; examine utility classes and cross-cutting concerns where package intent is ambiguous.

NEXT PROJECTIDRS
OPEN TO AI & SOFTWARE OPPORTUNITIES

Let’s build something
worth building.

Have a challenging problem, a research idea, or a team I could contribute to? I’d love to hear about it.

Get in touch