Tutorials
Step-by-step, hands-on walkthroughs that take you from a blank shell to a fully analyzed, custom-ruled, plugin-extended COGANT workflow. Each tutorial is self-contained and runnable; later tutorials build on the vocabulary introduced earlier.
Contents
| Page | Description | Level |
|---|---|---|
| 01 Quickstart | Install COGANT and scan a tiny sample project end-to-end | Beginner |
| 02 Small Repo Walkthrough | Walk every pipeline stage on a small Python repository | Beginner |
| 03 Flask Walkthrough | Run COGANT against a real-world Flask application | Intermediate |
| 04 Custom Rules | Author and register your own translation rules | Intermediate |
| 05 GNN Interpretation | Read, debug, and visualize a generated GNN package | Intermediate |
| 06 Reverse Mode | Synthesize runnable code from a GNN markdown file | Advanced |
| 07 Plugin Authoring | Build a parser, translator, validator, or exporter plugin | Advanced |
Stable Examples
These pages predate the NN_slug.md numbering scheme and are kept as
compact worked examples that some of the numbered tutorials link to.
They are stable but should not be extended in place — new content goes
into a new numbered tutorial. See AGENTS.md for
the retention policy.
| Page | Description | Status |
|---|---|---|
| Calculator Example | Tiny calculator project referenced by 02_small_repo_walkthrough.md |
Stable, kept for inbound links |
| Flask Example | Auxiliary Flask example sources and notes referenced by 03_flask_walkthrough.md |
Stable, kept for inbound links |
Recommended Reading Order
- 01 Quickstart — get a working install and your first scan in under five minutes.
- 02 Small Repo Walkthrough — tour every stage of the pipeline on a controlled input.
- 03 Flask Walkthrough — see how COGANT behaves on a non-trivial real codebase.
- 05 GNN Interpretation — learn to read the artifacts you just generated.
- 04 Custom Rules — start customizing the translation engine.
- 06 Reverse Mode — close the roundtrip by going from GNN back to code.
- 07 Plugin Authoring — extend COGANT with your own components.
Related modules
- ../getting-started/README.md — shorter onboarding before the tutorials.
- ../cookbook/README.md — outcome-first recipes once you know the basics.
- ../notebooks/README.md — runnable notebook versions of several tutorials.
- ../concepts/README.md — background theory the tutorials assume.
Agent notes: AGENTS.md - Hub: ../index.md