Repository navigation
Remove CodeWiki leftovers, make docs consistent, add LICENSE - #21
Merged
Merged
Conversation
All three described CodeWiki, the documentation generator Code2Test's dependency analyzer comes from: DEVELOPMENT.md documented CodeWiki's layout and `codewiki generate`, index.html was CodeWiki's landing page, and docker/ built CodeWiki's web app from a `codewiki/` directory that no longer exists, so it could not build. Nothing referenced them. The contributor notes now live in the README's Development section. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VGBhCd3VqGRk2KLZg1Tqu2
- README: command table matches the CLI (init, version, legacy generate), a saved API key overrides OPENAI_API_KEY, Development section replaces DEVELOPMENT.md, init's config.json listed with what reads it. - architecture.md: pytest runs from a temporary directory, the benchmark runs the whole suite per mutant, prompt rules, --auto skips and reuse. - task.md: rewritten as an accurate status: what v1 does, what exists but is unused, what is not done (coverage and Markdown reports, incremental generation, config.json settings). - proposal.md marked as the original proposal; quickstart sample output matches the run summary; CI examples install Code2Test from GitHub, pass the model key and run `code2test verify`. - CLI help and messages: Python-only description, Code2Test and `code2test` instead of CodeWiki and `codewiki`, which config options Code2Test uses, report coverage marked unimplemented, init points to `code2test test`, --framework says only pytest is generated. - resolve_model no longer warns "not fully configured" when a model is set; it says when it falls back to the default model. Tests added. - pyproject description and URLs; paper no longer hard-codes the tool's test count. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VGBhCd3VqGRk2KLZg1Tqu2
Code2Test grew out of CodeWiki. Its dependency analyzer stays; the documentation generator it also carried is removed, as nothing in test generation used it: - the `generate` command and `config agent`, with their helpers (doc generator adapter, HTML/GitHub Pages generator, git manager, job model, progress, instructions, repo validator, API error messages) - the documentation backend (agent orchestrator, agent tools, module clustering, prompt templates, LLM services) and the FastAPI web app - requirements.txt, a pinned CodeWiki environment nothing referenced `config` now holds only what Code2Test uses: the API key (keychain) and the main model. Older config files still load. `config validate` resolves the model as `code2test test` does and sends it one test request (skipped with --quick). Saved settings keep their location. pyproject: drop dependencies nothing imports (GitPython, litellm, requests, networkx, psutil, PyYAML, prompt-toolkit, pydantic-settings, tree-sitter-language-pack); add the missing code2test.adapters.java and .javascript packages, without which a non-editable install could not import code2test.adapters. Unchanged: the pipeline, the dependency analyzer, the adapters and test templates for other languages (post-v1 plans). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VGBhCd3VqGRk2KLZg1Tqu2
The README and pyproject already declared MIT but the repository had no license file. The dependency analyzer is derived from CodeWiki (MIT, Copyright (c) 2025 FSoft-AI4Code), whose notice the MIT terms require to be kept. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VGBhCd3VqGRk2KLZg1Tqu2
There was a problem hiding this comment.
Your trial has ended. Reactivate Greptile to resume code reviews.
This was referenced Oct 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Code2Test grew out of CodeWiki, a documentation generator. This PR removes what was left of that product and makes the docs and CLI help match the code. The test-generation pipeline is unchanged.
Removed (CodeWiki documentation generator, unused by test generation)
DEVELOPMENT.md,index.html(CodeWiki's landing page) anddocker/(built CodeWiki's web app from acodewiki/folder that no longer exists).generatecommand,config agent, the documentation backend (agent orchestrator, agent tools, clustering, prompt templates, LLM services), the FastAPI web app, their CLI helpers, andrequirements.txt.Kept: the dependency analyzer, the whole pipeline, and the pytest/Jest/JUnit adapters and test templates (post-v1 plans).
Changed
configholds only the API key and model; old config files still load.config validateresolves the model likecode2test testand sends it one test request.code2test.adapters.java/.javascriptpackages (a non-editable install could not importcode2test.adapters), corrected description and URLs.LICENSE: MIT, keeping CodeWiki's copyright notice for the derived analyzer.Docs: README command table and model notes, Development section;
architecture.md(temp-dir pytest, whole-suite benchmark, prompt rules);task.mdrewritten as an accurate status;proposal.mdmarked as the original proposal; quickstart output; CI examples that install Code2Test, pass a key and runverify; CLI help says Python only and Code2Test.Verification
pytest: 113 passed.One fresh run (inflection, M3) kept a test as a suspected bug:
singularize("campuses")returns"campuse"in inflection 0.5.1. That is a real incorrect output, not a false alarm.🤖 Generated with Claude Code
https://claude.ai/code/session_01VGBhCd3VqGRk2KLZg1Tqu2
Generated by Claude Code