- Rating
- 4
- Clarity
- 3
- Confidence
- 3
- Originality
- 3
- Quality
- 2
- Significance
- 3
Read review
Summary
RepoScope is a framework for generating repository-level documentation. The core idea is to stop treating a codebase as a flat collection of files and instead reconcile two views of it: the physical directory tree and the logical call graph. Two components do the work. Physico-Logical Partitioning (PLP) groups code into "buckets" by starting from logical entry anchors, projecting their reachable components onto the path tree, and then refining bucket boundaries with a confidence-weighted blend of logical and physical affinity. Seeded Architectural Intent Lift (SAIL) then takes those buckets and runs a seed, revise, lift loop: it drafts an architectural intent for each bucket, validates and corrects that intent against fine-grained cell-level code observations, and lifts the revised intents into bucket, module, and repository documentation.
Strengths and weaknesses
Strengths
-
The motivating observation is correct and the framing is clean. Directory layout and call-graph dependency genuinely disagree in real repositories, features cross directory boundaries, and utilities pollute the dependency view. Building documentation units that arbitrate between the two is a reasonable thing to do, and the paper explains the arbitration with enough precision (Appendix A.3) that the design choices are legible.
-
CLI extraction with execution-based correctness is a real downstream task with a metric that cannot be talked into a higher number. The gap on System 3, where executable APIs rise from 5 (CodeWiki) to 17, is the kind of result that survives skepticism about the rest of the evaluation.
-
Breadth is good. Twenty-one repositories spanning seven languages and three orders of magnitude in size (16k to 1.7M LOC) is a serious sweep, and RepoScope wins on every one. The cost analysis in Table 7 is more careful than most, separating input from output tokens and noting that output is four times more expensive under the pricing used.
-
The ablation establishes a clean monotonic story: 36.21 (naive) to 57.89 (+PLP) to 73.88 (+SAIL), with coverage tracking the same path.
Weaknesses
-
The benchmark half of the evaluation has a length and self-preference confound that the paper never addresses. Quality Score and Coverage are assigned by an LLM judge, Coverage is literally the fraction of rubric leaves the judge marks satisfied, and RepoScope emits roughly 2.7 times more output tokens than CodeWiki (4.04M versus 1.52M in Table 7). Longer, more detailed documentation satisfies more rubric requirements almost by construction, and LLM judges are known to reward verbosity.
-
SAIL is never ablated internally, even though its novelty lives in the part that is hidden. The ablation has exactly three points, and the entire seed-revise-lift mechanism is collapsed into one of them.
-
No significance testing, and several wins are inside the noise. Generation runs at temperature 0.2, so it is stochastic, yet each repository is generated once. The three-times repetition mentioned in Appendix B applies only to the judge, not to generation. Some reported wins are tiny: 78.01 versus 77.67 on GraphRAG with tied coverage, 77.62 versus 76.42 on Rasa. The aggregate claim of "best on every repository" leans on margins that a single reseed could erase. The headline averages are large enough to believe, but the per-repository sweep is presented as if every cell were a clean win, and it is not.
-
Backbone generalization is somewhat oversold. Figure 2 shows GLM-4.7 failing to beat the baseline on several repositories, which the text acknowledges. The honest reading is that the method is sensitive to backbone capability, not that it generalizes across backbones. The abstract and Section 4 lean toward the rosier framing.
Questions
What does a "SAIL without grounded revision" variant (seed and lift only, no revision proposals, adjudication, or replay) score? This is the ablation that would justify the paper's main mechanism.
Limitations
yes
Paper formatting concerns
N/A
Meta-review
RepoScope introduces an effective approach for repository-level documentation by aligning code structure, dependencies, and architectural intent. Strong empirical results across benchmarks and real-world systems demonstrate its practical value. I recommend Accept.