{"record_type":"pith_number_record","schema_url":"https://pith.science/schemas/pith-number/v1.json","pith_number":"pith:2025:BYVPMWNUPCGT5YYMFAQYYCA6EC","short_pith_number":"pith:BYVPMWNU","schema_version":"1.0","canonical_sha256":"0e2af659b4788d3ee30c28218c081e20ad3fad4fca11ae3d9cf9e1ff8a179077","source":{"kind":"arxiv","id":"2503.14340","version":2},"attestation_state":"computed","paper":{"title":"MANTRA: Enhancing Automated Method-Level Refactoring with Contextual RAG and Multi-Agent LLM Collaboration","license":"http://creativecommons.org/licenses/by/4.0/","headline":"","cross_cats":[],"primary_cat":"cs.SE","authors_text":"Feng Lin, Jinqiu Yang, Nikolaos Tsantalis, Tse-Hsun (Peter) Chen, Yisen Xu","submitted_at":"2025-03-18T15:16:51Z","abstract_excerpt":"Maintaining and scaling software systems relies heavily on effective code refactoring, yet this process remains labor-intensive, requiring developers to carefully analyze existing codebases and prevent the introduction of new defects. Although recent advancements have leveraged Large Language Models (LLMs) to automate refactoring tasks, current solutions are constrained in scope and lack mechanisms to guarantee code compilability and successful test execution. In this work, we introduce MANTRA, a comprehensive LLM agent-based framework that automates method-level refactoring. MANTRA integrates"},"verification_status":{"content_addressed":true,"pith_receipt":true,"author_attested":false,"weak_author_claims":0,"strong_author_claims":0,"externally_anchored":false,"storage_verified":false,"citation_signatures":0,"replication_records":0,"graph_snapshot":true,"references_resolved":false,"formal_links_present":false},"canonical_record":{"source":{"id":"2503.14340","kind":"arxiv","version":2},"metadata":{"license":"http://creativecommons.org/licenses/by/4.0/","primary_cat":"cs.SE","submitted_at":"2025-03-18T15:16:51Z","cross_cats_sorted":[],"title_canon_sha256":"c3a4413e19eb63a547a392e1e684c7c9cf55b2854ae6e0fdf6560a3248c3ee70","abstract_canon_sha256":"a525d6eae6dca5b1cf66f3520f102964c18bed6314d557a9001b6c62f7d1c534"},"schema_version":"1.0"},"receipt":{"kind":"pith_receipt","key_id":"pith-v1-2026-05","algorithm":"ed25519","signed_at":"2026-07-05T10:39:47.741676Z","signature_b64":"5ZkoUq4NCxItvJAQNNpL/uSS0d2L2gcbrvD7HbDLF8Q8KoTHyX0jOJWTFb4IZ5VTM8ACn2LWbYFEgz3YinTXAQ==","signed_message":"canonical_sha256_bytes","builder_version":"pith-number-builder-2026-05-17-v1","receipt_version":"0.3","canonical_sha256":"0e2af659b4788d3ee30c28218c081e20ad3fad4fca11ae3d9cf9e1ff8a179077","last_reissued_at":"2026-07-05T10:39:47.741148Z","signature_status":"signed_v1","first_computed_at":"2026-07-05T10:39:47.741148Z","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54"},"graph_snapshot":{"paper":{"title":"MANTRA: Enhancing Automated Method-Level Refactoring with Contextual RAG and Multi-Agent LLM Collaboration","license":"http://creativecommons.org/licenses/by/4.0/","headline":"","cross_cats":[],"primary_cat":"cs.SE","authors_text":"Feng Lin, Jinqiu Yang, Nikolaos Tsantalis, Tse-Hsun (Peter) Chen, Yisen Xu","submitted_at":"2025-03-18T15:16:51Z","abstract_excerpt":"Maintaining and scaling software systems relies heavily on effective code refactoring, yet this process remains labor-intensive, requiring developers to carefully analyze existing codebases and prevent the introduction of new defects. Although recent advancements have leveraged Large Language Models (LLMs) to automate refactoring tasks, current solutions are constrained in scope and lack mechanisms to guarantee code compilability and successful test execution. In this work, we introduce MANTRA, a comprehensive LLM agent-based framework that automates method-level refactoring. MANTRA integrates"},"claims":{"count":0,"items":[],"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"source":{"id":"2503.14340","kind":"arxiv","version":2},"verdict":{"id":null,"model_set":{},"created_at":null,"strongest_claim":"","one_line_summary":"","pipeline_version":null,"weakest_assumption":"","pith_extraction_headline":""},"integrity":{"clean":true,"summary":{"advisory":0,"critical":0,"by_detector":{},"informational":0},"endpoint":"/pith/2503.14340/integrity.json","findings":[],"available":true,"detectors_run":[],"snapshot_sha256":"c28c3603d3b5d939e8dc4c7e95fa8dfce3d595e45f758748cecf8e644a296938"},"references":{"count":0,"sample":[],"resolved_work":0,"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57","internal_anchors":0},"formal_canon":{"evidence_count":0,"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"author_claims":{"count":0,"strong_count":0,"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"builder_version":"pith-number-builder-2026-05-17-v1"},"aliases":[{"alias_kind":"arxiv","alias_value":"2503.14340","created_at":"2026-07-05T10:39:47.741214+00:00"},{"alias_kind":"arxiv_version","alias_value":"2503.14340v2","created_at":"2026-07-05T10:39:47.741214+00:00"},{"alias_kind":"doi","alias_value":"10.48550/arxiv.2503.14340","created_at":"2026-07-05T10:39:47.741214+00:00"},{"alias_kind":"pith_short_12","alias_value":"BYVPMWNUPCGT","created_at":"2026-07-05T10:39:47.741214+00:00"},{"alias_kind":"pith_short_16","alias_value":"BYVPMWNUPCGT5YYM","created_at":"2026-07-05T10:39:47.741214+00:00"},{"alias_kind":"pith_short_8","alias_value":"BYVPMWNU","created_at":"2026-07-05T10:39:47.741214+00:00"}],"events":[],"event_summary":{},"paper_claims":[],"inbound_citations":{"count":9,"internal_anchor_count":1,"sample":[{"citing_arxiv_id":"2607.06080","citing_title":"From Blueprint to Reality: Modeling and Applying Putnam's Social Capital Theory with LLM-based Multi-agent Simulations","ref_index":30,"is_internal_anchor":true},{"citing_arxiv_id":"2606.20173","citing_title":"Qiskit Code Migration with LLMs","ref_index":126,"is_internal_anchor":false},{"citing_arxiv_id":"2505.13766","citing_title":"A Blueprint for AI-Driven Software Quality: Integrating LLMs with Established Standards","ref_index":42,"is_internal_anchor":false},{"citing_arxiv_id":"2603.16791","citing_title":"Improving Code Comprehension through Cognitive-Load Aware Automated Refactoring for Novice Programmers","ref_index":72,"is_internal_anchor":false},{"citing_arxiv_id":"2604.03135","citing_title":"AI-Assisted Unit Test Writing and Test-Driven Code Refactoring: A Case Study","ref_index":18,"is_internal_anchor":false},{"citing_arxiv_id":"2605.07001","citing_title":"SmellBench: Evaluating LLM Agents on Architectural Code Smell Repair","ref_index":29,"is_internal_anchor":false},{"citing_arxiv_id":"2605.05868","citing_title":"SkillScope: Toward Fine-Grained Least-Privilege Enforcement for Agent Skills","ref_index":60,"is_internal_anchor":false},{"citing_arxiv_id":"2605.07001","citing_title":"SmellBench: Evaluating LLM Agents on Architectural Code Smell Repair","ref_index":29,"is_internal_anchor":false},{"citing_arxiv_id":"2605.02741","citing_title":"AI-Generated Smells: An Analysis of Code and Architecture in LLM and Agent-Driven Development","ref_index":23,"is_internal_anchor":false}]},"formal_canon":{"evidence_count":0,"sample":[],"anchors":[]},"links":{"html":"https://pith.science/pith/BYVPMWNUPCGT5YYMFAQYYCA6EC","json":"https://pith.science/pith/BYVPMWNUPCGT5YYMFAQYYCA6EC.json","graph_json":"https://pith.science/api/pith-number/BYVPMWNUPCGT5YYMFAQYYCA6EC/graph.json","events_json":"https://pith.science/api/pith-number/BYVPMWNUPCGT5YYMFAQYYCA6EC/events.json","paper":"https://pith.science/paper/BYVPMWNU"},"agent_actions":{"view_html":"https://pith.science/pith/BYVPMWNUPCGT5YYMFAQYYCA6EC","download_json":"https://pith.science/pith/BYVPMWNUPCGT5YYMFAQYYCA6EC.json","view_paper":"https://pith.science/paper/BYVPMWNU","resolve_alias":"https://pith.science/api/pith-number/resolve?arxiv=2503.14340&json=true","fetch_graph":"https://pith.science/api/pith-number/BYVPMWNUPCGT5YYMFAQYYCA6EC/graph.json","fetch_events":"https://pith.science/api/pith-number/BYVPMWNUPCGT5YYMFAQYYCA6EC/events.json","actions":{"anchor_timestamp":"https://pith.science/pith/BYVPMWNUPCGT5YYMFAQYYCA6EC/action/timestamp_anchor","attest_storage":"https://pith.science/pith/BYVPMWNUPCGT5YYMFAQYYCA6EC/action/storage_attestation","attest_author":"https://pith.science/pith/BYVPMWNUPCGT5YYMFAQYYCA6EC/action/author_attestation","sign_citation":"https://pith.science/pith/BYVPMWNUPCGT5YYMFAQYYCA6EC/action/citation_signature","submit_replication":"https://pith.science/pith/BYVPMWNUPCGT5YYMFAQYYCA6EC/action/replication_record"}},"created_at":"2026-07-05T10:39:47.741214+00:00","updated_at":"2026-07-05T10:39:47.741214+00:00"}