Skip to content
JournalsWorldThe Global Research Discovery Platform
Featured Dataset

Can Agents reconstruct microservice architecture?

Minor Correction (June 2026): Restored a missing return in one helper function in evaluation.py (calculate_metrics) and removed a stale internal version label from the docstring of scripts

👤
CreatorAnonymous Authors
📅
Published2026-05-29
🔗
DOI10.5281/zenodo.20445221
📊
Downloads9
⚖️
Licensecc-by-4.0
File Size28.3 MB
Data TypeDataset
Published2026
Licensecc-by-4.0
Total Views62
Total Downloads9

Minor Correction (June 2026): Restored a missing return in one helper function in evaluation.py (calculate_metrics) and removed a stale internal version label from the docstring of scripts/plot_topology.py (comment-only level change). Reported results are unaffected. They are reproducible from the precomputed CSVs in results/analysis/RQ1/ and results/analysis/RQ2/, and from the included .jmp files.

This replication package contains all artifacts required to reproduce the empirical study on LLM-based reconstruction of microservice architectures from source code.

Package Contents

  • Agent implementation (src/agent/)
    A tool-calling agent that explores software repositories using three tools (list_directory, read_file, and search_text) and generates a structured JSON representation of the recovered architecture, including components, connections, and endpoints.

  • Evaluation pipeline (src/evaluation/)
    Scripts for computing precision, recall, and F1-score against the ground-truth architectures, including fuzzy matching for components and endpoints.

  • Subject systems (data/applications/)
    Seventeen open-source Spring Boot microservice applications used in the empirical study.

  • Ground-truth architectures (data/groundtruth_textual/)
    Manually validated reference architectures for all subject systems.

  • Raw evaluation results (results/analysis/analysis_20runs_raw.csv)
    Per-run evaluation scores from 20 runs × 2 models × 17 applications, corresponding to the data used in the published analysis.

  • Statistical analysis inputs and JMP templates (results/analysis/RQ1/ and results/analysis/RQ2/)
    Input datasets and JMP analysis templates for the Anderson–Darling, Friedman, and Wilcoxon statistical tests.

  • Visualization script (scripts/plot_topology.py)
    Script used to regenerate the architectural element type-effect boxplot reported in the study.

Setup (Python 3.11+)

python -m venv venv && source venv/bin/activate
pip install -r requirements.txt
cp keys.env.example keys.env # add API credentials to run the agent end-to-end

Reproducing the Published Results

Reproducing the analysis without re-running the LLM

The package includes all per-run evaluation results required to reproduce the published statistical analysis and figures:

python scripts/build_analysis_inputs.py # regenerate JMP input CS

📤 Share this page

Found this useful? Share it with your network.

✓ Link copied! Paste it on ResearchGate / Academia.edu
📦
Can Agents reconstruct microservice architecture? (Full Dataset)28.3 MB
⬇
📄
ReadmeVia DOI record
↗

Files are hosted on the source repository. Click download to access the full dataset.

Anonymous Authors (2026). Can Agents reconstruct microservice architecture?. https://doi.org/10.5281/zenodo.20445221