Skip to content

fix(docs): sync architecture.md DAG with web/ package structure (issue #247)#249

Merged
ArtVsMark merged 1 commit into
mainfrom
docs/architecture-sync-247
Jul 9, 2026
Merged

fix(docs): sync architecture.md DAG with web/ package structure (issue #247)#249
ArtVsMark merged 1 commit into
mainfrom
docs/architecture-sync-247

Conversation

@ArtVsMark

Copy link
Copy Markdown
Owner

Summary

Test plan

  • pytest tests/test_check_docs_guardrails.py -q — 9 passed (1 pre-existing unrelated Windows subprocess flake on retry, confirmed via direct python scripts/check_docs_guardrails.py run — all 322 local Markdown links resolve)
  • Manual read-through comparing each doc's claims against grep'd actual imports in src/stepik_grader/web/*.py

🤖 Generated with Claude Code

…#247)

docs/architecture.md and docs/project-structure.md still described the
project's web layer as a single web.py module -- stale since the
web.py -> web/ package refactor that landed alongside issue #125, long
before #186/#187/#129 built on top of it.

architecture.md: replaced the single web.py row with the five actual
modules (server.py/viewmodels.py/downloader_adapter.py/glossary_adapter.py/
commands.py), each with its real layer and description; updated the DAG
diagram to the modules' actual imports (verified by grepping each file's
`from stepik_grader...` lines rather than assuming); updated the bottom
layer diagram and the "future web layer" note (now closed, not future).

project-structure.md: replaced the web.py tree line with the web/ package's
actual file tree (including static/); added core/result.py and core/runner.py,
which existed in the codebase but were missing from this tree entirely;
corrected the stale "660+ тестов" count to the current order of magnitude
(967 collected).

cli/interactive.py and cli/rendering.py were already present in both docs
from earlier work -- verified, no changes needed there.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@ArtVsMark ArtVsMark merged commit 9ec95d9 into main Jul 9, 2026
9 checks passed
@ArtVsMark ArtVsMark deleted the docs/architecture-sync-247 branch July 9, 2026 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant