Topos Code Evaluation
topos_evaluate_projectEvaluate a codebase by scoring every supported file on simple, composable, and secure quality dimensions. Provides a per-file and per-language rollup to identify structural debt.
Instructions
Recursively score every supported source file in a directory on the SIMPLE / COMPOSABLE / SECURE lattice, with a project rollup (read-only).
Use for a whole tree; for a single file use topos_evaluate_file, for a
snippet topos_evaluate_code. Autodetects all supported languages
(Python, Rust, JavaScript, TypeScript, C++) in one walk — no language
argument — and skips unsupported files. Import/export-only entrypoint
modules (__init__.py, index.ts, mod.rs) are exempted so trivial
re-export hubs don't floor the verdict. The rollup takes the project-wide
minimum per dimension (weakest file floors it); progress streams via
ctx.report_progress. Returns a paginated per-file table (worst first)
plus per-language rollups; page with limit / offset.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes | Arguments for ``topos_evaluate_project``. |