@@ -32,6 +32,10 @@ textual MLIR.
3232 complete documentation build cannot finish because the local Graphviz
3333 ` dot ` executable is absent; Sphinx reached notebook execution before this
3434 unrelated environment failure.
35+ - [x] (2026-08-26 16:43Z) Fixed all nine clang-tidy findings from the draft PR
36+ and added Python binding tests for gate histograms, static depth, SCF, and
37+ dynamic register indices. The focused Python tests pass on Python 3.11
38+ through 3.14.
3539
3640## Surprises & Discoveries
3741
@@ -52,6 +56,9 @@ textual MLIR.
5256 executable for an existing notebook. Evidence: Sphinx stopped in
5357 ` docs/dd_package.md ` with
5458 ` ExecutableNotFound: failed to execute PosixPath('dot') ` .
59+ - Observation: ` getConstantIntValue ` is declared by
60+ ` mlir/Dialect/Utils/StaticValueUtils.h ` , not ` mlir/IR/Matchers.h ` . The draft
61+ PR's include-cleaner check identified the indirect declaration.
5562
5663## Decision Log
5764
@@ -73,10 +80,11 @@ textual MLIR.
7380## Outcomes & Retrospective
7481
7582The C++ and Python APIs are implemented. All 136 compiler tests and the full
76- lint suite pass. A Python smoke test returns ` {'ctrl': 1, 'h': 1, 'x': 1} ` and
77- depth 2 for two parallel gates followed by a controlled gate. The generated stub
78- and Python guide expose both methods. The complete documentation build remains
79- unavailable only because the local Graphviz executable is missing.
83+ lint suite pass. Focused Python tests pass on Python 3.11 through 3.14. A Python
84+ smoke test returns ` {'ctrl': 1, 'h': 1, 'x': 1} ` and depth 2 for two parallel
85+ gates followed by a controlled gate. The generated stub and Python guide expose
86+ both methods. The complete documentation build remains unavailable only because
87+ the local Graphviz executable is missing.
8088
8189## Context and Orientation
8290
@@ -196,4 +204,5 @@ the compiler library. Do not introduce a new external dependency.
196204
197205Plan revision note: Finalized after implementation and validation. Recorded the
198206successful compiler tests, stub generation, Python smoke test, and lint suite,
199- as well as the unrelated local documentation dependency failure.
207+ as well as the unrelated local documentation dependency failure. Updated after
208+ the draft PR review to record the clang-tidy fixes and Python tests.
0 commit comments