Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Run static analysis on a Stata .do or .ado file and report style and best-practice issues.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | -19% | 0% |
| case-17 | ✗→✓ | ▲ Improved | -39% | 0% |
| case-18 | ✗→✓ | ▲ Improved | -73% | 0% |
| case-11 | ✓→✗ | ▼ Worse | -29% | 0% |
| case-13 | ✓→✗ | ▼ Worse | -74% | 0% |
The argument is the absolute path to a .do or .ado file.
stata_inspect_data(action="lint", path=<argument>).cd, preserve/restore, #delimit, hardcoded paths, long lines, missing version statement<filename>.".do or .ado file.Other measured skills in the registry, with their headline benchmark lift.