Scale Signal

Role-specialized cooperation changes engineering fitness rather than uniformly improving it

November 12, 2025 · Shafin et al.
CooperationContextCoordinationVerification
Evidence boundary: The evidence covers 100 Python class-generation tasks, three LLM backends and five workflow configurations, yielding 1,500 generated samples. It is a controlled benchmark comparison rather than a production deployment or a longitudinal study of repeated engineering work.
Evidence record

Source → Observed → Interpretation → Model implication

SOURCE

Evaluating Software Process Models for Multi-Agent Class-Level Code Generation

View source →
OBSERVED

The study assigns four specialized LLM agents to Requirement Engineer, Architect, Developer, and Tester roles. Their work is coordinated through sequential artifacts and formal handoffs from requirements to design, implementation, and testing, with feedback used for self-refinement between stages.

The evaluation uses 100 human-curated ClassEval Python class-generation tasks, three LLM backends (GPT-4o-mini, DeepSeek-Chat, and Claude-3.5-Haiku), a direct RawPrompt baseline, and four Waterfall configurations: full workflow and variants omitting Requirement, Design, or Testing.

The authors manually evaluated 1,500 generated code samples across the 100 tasks, three models, and five workflows, executing each sample against the corresponding ClassEval unit tests and separately analyzing code quality with SonarQube.

On class-level Pass@1, the RawPrompt baseline scored 0.35 for GPT-4o-mini, 0.46 for DeepSeek-Chat, and 0.21 for Claude-3.5-Haiku. The full Waterfall workflow scored 0.21, 0.32, and 0.22 respectively, showing large regressions for the first two models and a small improvement for Claude-3.5-Haiku.

Waterfall workflows changed code-quality characteristics even when correctness regressed. The authors report cleaner and more maintainable outputs overall, while detailed SonarQube results show the effect varies by quality attribute and model; consistency issue density improves across the full Waterfall setup, while reliability and adaptability often worsen.

Activity ablations show that process structure materially changes outcomes. Requirement and Design have comparatively modest effects, while Testing has the strongest influence on verification behavior and failure characteristics.

The Testing stage generates test cases and executable tests, produces a test report, and allows the Developer agent up to three bug-fix cycles. Removing Testing produces the highest runtime-error counts in several configurations, while including structured testing can also introduce additional reasoning and validation failures.

Across Waterfall variants, the study reports that runtime-error profiles shift: some structural failures such as missing code decline, while semantic failures, return mismatches, and validation-related errors become more prominent.

INTERPRETATION

This is direct comparative evidence for the Cooperation claim because the same coding problem is attempted either through a direct single-model prompt or through a coordinated system of specialized roles with artifact handoffs and feedback. Cooperation is not uniformly fitter: two model backends lose substantial class-level correctness under the full workflow, while one improves slightly, even as several cleanliness and structural properties improve. The result makes cooperation a multi-objective, model-dependent engineering configuration rather than an automatic progression toward higher fitness. It also shows that adding verification and coordination can shift failure modes instead of simply removing them.

MODEL IMPLICATION

REFINES. The study materially advances C03 by providing a cooperating-versus-isolated comparison and showing that cooperation can improve some dimensions of software quality while harming others. Whether cooperation increases engineering fitness depends on the model, workflow structure, verification design, and which outcome is optimized. A useful Cooperation claim therefore needs to account for coordination and verification trade-offs rather than treating role specialization or additional process structure as inherently beneficial.

Epistemic boundaries

What this does not establish

OPEN QUESTION

Under equal compute and supervision budgets, which forms of role specialization, handoff structure, and verification make cooperating agents outperform useful isolated operation across repeated repository-level engineering work?