fix(generation): localize structural wiki pages

Analysed against 002c768210 files changedby lntutor
Open PR on GitHub

Change-risk score

9.4out of 10Elevated
Repository health
6.0to6.4base against this head

This change sits in the top third of this repository's own risk distribution, the band worth reviewing closely. It is riskier than 75% of this repository's own commits.

The largest health movement is in test_deterministic_templates.py, down 0.4. Nothing outside this PR depends on a contract it changed.

Files changed
10
in this diff
Contracts changed
0
removed or signature
Outside callers
0
not in this diff
Findings added
1
3 resolved

The repository map needs the file index from this snapshot, which is not available yet. Everything below is unaffected.

What this PR added, and what it took away

Introduced findings are the ones inside the lines this PR added, not the file's existing ones. The resolved column is the only place in the product that lists them.

Introduced (1)
  • mediumlarge assertion block
    tests/unit/generation/test_deterministic_templates.py:165

    test_structural_pages_render_german_labels runs 16 assertions in one block

Resolved (3)
  • function hotspot
    packages/core/src/repowise/core/generation/page_generator/pertype.py
  • brain method
    packages/core/src/repowise/core/generation/page_generator/pertype.py
  • function hotspot
    packages/core/src/repowise/core/generation/page_generator/core.py

Who else knows this code

The primary author of each changed file by share of its recent commits, mined from git history. Advisory: it says who has context, not who must review.

  • tests/unit/generation/test_question_text_reaches_search.pySwati Ahuja 100% of 1 commits
  • packages/core/src/repowise/core/generation/page_generator/core.pyRaghav Chamadiya 94% of 24 commits
  • tests/unit/generation/test_kg_aware_file_pages.pySwati Ahuja 74% of 3 commits
  • packages/core/src/repowise/core/generation/page_generator/pertype.pyRaghav Chamadiya 86% of 18 commits
  • tests/unit/generation/test_styles.pyRaghav Chamadiya 88% of 3 commits

Tests that cover this change

Test files that import a file this PR changes. Not a coverage measurement: it is the import graph, so it says which tests are worth running, not which lines they reach.

  • tests/unit/generation/test_models.py
  • tests/unit/generation/test_page_generator.py
  • tests/unit/generation/test_decision_harvest.py
  • tests/unit/generation/test_provenance.py
  • tests/unit/cli/test_update_renderer_gate.py
  • tests/unit/generation/test_structural_salt.py

7 changed files have no test importing them.

Get this on your own pull requests

This page came from an index of repowise-dev/repowise. No model calls, no configuration, and it refreshes on every push. Install the bot and every pull request gets one of these.

fix(generation): localize structural wiki pages · repowise-dev/repowise #1102 · Repowise