starkware-libs/cairo_native
53.2
Adequate · 16 November 2026
53.8k
lines of production code
Rust
primary language
1
measurement over time
What this system is
Behavioural changes
1 commit (0 fixes) modifying binaries/cairo-native-test-2, test\_data/scarb/alexandria
A change to existing behaviour in binaries/cairo-native-test-2, test\_data/scarb/alexandria — 1 commit, 2 files: “Add support for precompiling Cairo programs/projects (\#1528)” (refs \#1528).
_binaries/cairo-native-test-2, test\data/scarb/alexandria · low confidence · unverified
1 commit (0 fixes) modifying cairo-starknet-syscalls, debug\_utils/sierra-emu/src/starknet
A change to existing behaviour in cairo-starknet-syscalls, debug\_utils/sierra-emu/src/starknet — 1 commit, 2 files: “extract shared cairo-starknet-syscalls crate (\#1611)” (refs \#1611).
_cairo-starknet-syscalls, debug\utils/sierra-emu/src/starknet · medium confidence · unverified
1 commit (0 fixes) modifying test\_data/tests\_starknet
A change to existing behaviour in test\_data/tests\_starknet — 1 commit, 2 files: “removed pull\_external\_projects script (\#1590)” (refs \#1590).
_test\_data/tests\starknet · medium confidence · unverified
112 commits (27 fixes) modifying src/types
A change to existing behaviour in src/types — 112 commits (27 fixs), 36 files: “Avoid passing enum by value to MLIR functions (\#1487)”; “Fix \snapshot\_take\ for arrays. (\#716)”; “moved array metadata to be behind a single pointer refrence (\#1551)”; and 109 more (refs \#1487, \#716, \#1551, \#1084, \#253, …).
src/types · medium confidence · unverified
125 commits (22 fixes) modifying src/metadata
A change to existing behaviour in src/metadata — 125 commits (22 fixs), 10 files: “Use 'rem' instead of 'r' in comments”; “\[2.11.1\] Implement blake libfunc (\#1160)”; “\[Sierra-Emu\] Fix felt-dict's overflow, circuits libfuncs and implement missing EcPoint libfunc (\#1208)”; and 120 more (refs \#1160, \#1208, \#566, \#793, \#1440, …).
src/metadata · medium confidence · unverified
14 commits (2 fixes) modifying src/arch
A change to existing behaviour in src/arch — 14 commits (2 fixs), 4 files: “update native to 2.8.0 (\#774)”; “Add unit tests for AbiArgument for integers (\#737)”; “Add error handling to JitValueWithInfoWrapper::to\_bytes (\#749)”; and 11 more (refs \#774, \#737, \#749, \#1616, \#1130, …).
src/arch · medium confidence · unverified
15 commits (7 fixes) modifying test\_data/programs
A change to existing behaviour in test\_data/programs — 15 commits (7 fixs), 102 files: “(feat): Support u96\_limbs\_less\_than\_guarantee\_verify\_v2. (\#1662)”; “fix(values): support Box and Nullable nested inside aggregates in to\_ptr (\#1656)”; “fixed a bug where a single value enum whould crash in runtime (\#1643)”; and 12 more (refs \#1662, \#1656, \#1643, \#1658, \#1528, …).
_test\data/programs · medium confidence · unverified
17 commits (4 fixes) modifying src/libfuncs/starknet
A change to existing behaviour in src/libfuncs/starknet — 17 commits (4 fixs), 2 files: “Update to LLVM 18 (and Rust 1.78) (\#566)”; “Refactor visibility, dead code, names... (\#793)”; “Add Cheatcode Syscalls (\#588)”; and 14 more (refs \#566, \#793, \#588, \#1253, \#489, …).
src/libfuncs/starknet · medium confidence · unverified
2 commits (0 fixes) modifying binaries/cairo-native-compile
A change to existing behaviour in binaries/cairo-native-compile — 2 commits, 1 file: “Reorg Workspace Dependencies (\#1396)”; “Move binaries to separate crates (\#1393)” (refs \#1396, \#1393).
binaries/cairo-native-compile · medium confidence · unverified
2 commits (0 fixes) modifying fuzzer
A change to existing behaviour in fuzzer — 2 commits, 7 files: “updated sierra version 2.16 (\#1557)”; “Add fuzzing for cairo-native (\#1535)” (refs \#1557, \#1535).
fuzzer · medium confidence · unverified
2 commits (0 fixes) modifying programs/compile\_benches
A change to existing behaviour in programs/compile\_benches — 2 commits, 4 files: “Compilation time benches (\#381)”; “make benches/libfuncs.rs also run AOT benches (\#868)” (refs \#381, \#868).
_programs/compile\benches · medium confidence · unverified
2 commits (0 fixes) modifying test\_data/programs/starknet
A change to existing behaviour in test\_data/programs/starknet — 2 commits, 2 files: “Use precompiled cairo programs in integration tests (\#1531)”; “Validating that multi calls on the same state aligns vm and native. (\#1604)” (refs \#1531, \#1604).
_test\data/programs/starknet · medium confidence · unverified
2 commits (0 fixes) modifying test\_data/programs/types
A change to existing behaviour in test\_data/programs/types — 2 commits, 13 files: “Refactor unit tests \[3/3\] (\#1540)”; “array arena (\#1614)” (refs \#1540, \#1614).
_test\data/programs/types · medium confidence · unverified
21 commits (1 fix) modifying src/cache
A change to existing behaviour in src/cache — 21 commits (1 fix), 2 files: “Refactor visibility, dead code, names... (\#793)”; “Add option to never have debug names in functions and enable it on ContractExecutor, fix danling temp library file (\#794)”; “Add debug locations (\#512)”; and 18 more (refs \#793, \#794, \#512, \#1616, \#920, …).
src/cache · medium confidence · unverified
246 commits (27 fixes) modifying (repo-wide)
A change to existing behaviour in (repo-wide) — 246 commits (27 fixs), 15 files: “Add \u256\ libfuncs. (\#240)”; “improve readme”; “update native to 2.8.0 (\#774)”; and 240 more (refs \#240, \#774, \#566, \#1345, \#756, …).
(repo-wide) · low confidence · unverified
27 commits (3 fixes) modifying debug\_utils/sierra-emu/src
A change to existing behaviour in debug\_utils/sierra-emu/src — 27 commits (3 fixs), 11 files: “\[Sierra-Emu\] Fix felt-dict's overflow, circuits libfuncs and implement missing EcPoint libfunc (\#1208)”; “\[Sierra-Emu\] Implement missing syscall and nullable libfuncs (\#1205)”; “Update cairo-lang to 2.14.1-dev.1 (\#1509)”; and 24 more (refs \#1208, \#1205, \#1509, \#1188, \#1199, …).
_debug\utils/sierra-emu/src · medium confidence · unverified
27 commits (3 fixes) modifying debug\_utils/sierra-emu/src/vm
A change to existing behaviour in debug\_utils/sierra-emu/src/vm — 27 commits (3 fixs), 33 files: “(feat): Support u96\_limbs\_less\_than\_guarantee\_verify\_v2. (\#1662)”; “\[Sierra-Emu\] Fix felt-dict's overflow, circuits libfuncs and implement missing EcPoint libfunc (\#1208)”; “\[Sierra-Emu\] Implement missing syscall and nullable libfuncs (\#1205)”; and 24 more (refs \#1662, \#1208, \#1205, \#1509, \#1611, …).
_debug\utils/sierra-emu/src/vm · medium confidence · unverified
28 commits (7 fixes) modifying src/utils
A change to existing behaviour in src/utils — 28 commits (7 fixs), 9 files: “\[2.11.1\] Implement blake libfunc (\#1160)”; “Refactor visibility, dead code, names... (\#793)”; “bounded int offset refactor (\#1606)”; and 25 more (refs \#1160, \#793, \#1606, \#1053, \#1472, …).
src/utils · medium confidence · unverified
3 commits (0 fixes) modifying debug\_utils/sierra-emu/examples
A change to existing behaviour in debug\_utils/sierra-emu/examples — 3 commits, 2 files: “Update cairo-lang to 2.14.0 (\#1471)”; “updated sierra version 2.16 (\#1557)”; “Minor improvements to Sierra Emu crate (\#1202)” (refs \#1471, \#1557, \#1202).
_debug\utils/sierra-emu/examples · medium confidence · unverified
3 commits (0 fixes) modifying programs/disabled\_benches
A change to existing behaviour in programs/disabled\_benches — 3 commits, 1 file: “Update cairo-lang to 2.14.1-dev.1 (\#1509)”; “Move all links to starkware-libs (\#1584)”; “Bump cairo lang 2.15.0 (\#1517)” (refs \#1509, \#1584, \#1517).
_programs/disabled\benches · medium confidence · unverified
3 commits (0 fixes) modifying test\_data/contracts
A change to existing behaviour in test\_data/contracts — 3 commits, 34 files: “Add support for precompiling Cairo programs/projects (\#1528)”; “Use precompiled cairo programs in integration tests (\#1531)”; “moved boxes and nullables to arena (\#1593)” (refs \#1528, \#1531, \#1593).
_test\data/contracts · medium confidence · unverified
3 commits (1 fix) modifying binaries/cairo-native-run
A change to existing behaviour in binaries/cairo-native-run — 3 commits (1 fix), 1 file: “Update cairo-lang to 2.14.0 (\#1471)”; “Fixed clippy issues. (\#1634)”; “Move binaries to separate crates (\#1393)” (refs \#1471, \#1634, \#1393).
binaries/cairo-native-run · medium confidence · unverified
3 commits (1 fix) modifying debug\_utils/src
A change to existing behaviour in debug\_utils/src — 3 commits (1 fix), 1 file: “updated sierra version 2.16 (\#1557)”; “Fixed clippy issues. (\#1634)”; “Add script to compile and generete debug files (\#1350)” (refs \#1557, \#1634, \#1350).
_debug\utils/src · medium confidence · unverified
31 commits (1 fix) modifying benches
A change to existing behaviour in benches — 31 commits (1 fix), 4 files: “update native to 2.8.0 (\#774)”; “Add option to never have debug names in functions and enable it on ContractExecutor, fix danling temp library file (\#794)”; “Add heavy circuit bench (\#1415)”; and 28 more (refs \#774, \#794, \#1415, \#385, \#1509, …).
benches · medium confidence · unverified
312 commits (85 fixes) modifying src/libfuncs
A change to existing behaviour in src/libfuncs — 312 commits (85 fixs), 33 files: “Refactor struct libfuncs to use the BlockExt trait (\#650)”; “backport starknet array fix from 2.6.3 PR (\#516)”; “Avoid passing enum by value to MLIR functions (\#1487)”; and 309 more (refs \#650, \#516, \#1487, \#673, \#1551, …).
src/libfuncs · medium confidence · unverified
332 commits (72 fixes) modifying src
A change to existing behaviour in src — 332 commits (72 fixs), 21 files: “Avoid passing enum by value to MLIR functions (\#1487)”; “Fix \snapshot\_take\ for arrays. (\#716)”; “Small refactor and util for \OptLevel\ (\#570)”; and 329 more (refs \#1487, \#716, \#570, \#673, \#1551, …).
src · medium confidence · unverified
37 commits (9 fixes) modifying scripts
A change to existing behaviour in scripts — 37 commits (9 fixs), 12 files: “Parallelized test data generation - and reordered tests - so longest would start early. (\#1635)”; “Update to LLVM 18 (and Rust 1.78) (\#566)”; “Add bench-starknet-compilation script (\#1382)”; and 34 more (refs \#1635, \#566, \#1382, \#313, \#1338, …).
scripts · medium confidence · unverified
4 commits (0 fixes) modifying debug\_utils/cairo-native-stress
A change to existing behaviour in debug\_utils/cairo-native-stress — 4 commits, 2 files: “arena for dict (\#1616)”; “Update cairo-lang to 2.14.0 (\#1471)”; “updated sierra version 2.16 (\#1557)”; and 1 more (refs \#1616, \#1471, \#1557, \#1393).
_debug\utils/cairo-native-stress · medium confidence · unverified
4 commits (0 fixes) modifying vendor
A change to existing behaviour in vendor — 4 commits, 1 file: “Update cairo-lang dependencies to version 2.19 (\#1620)”; “(feat): Update cairo-lang dependencies to 2.19.6. (\#1661)”; “removed pull\_external\_projects script (\#1590)”; and 1 more (refs \#1620, \#1661, \#1590, \#1631).
vendor · medium confidence · unverified
4 commits (1 fix) modifying test\_data/programs/cases
A change to existing behaviour in test\_data/programs/cases — 4 commits (1 fix), 118 files: “Use precompiled cairo programs in integration tests (\#1531)”; “Refactor unit tests \[3/3\] (\#1540)”; “refactor(ec): store EcState in projective coordinates (\#1654)”; and 1 more (refs \#1531, \#1540, \#1654, \#1603).
_test\data/programs/cases · medium confidence · unverified
5 commits (0 fixes) modifying debug\_utils/casm-data-flow
A change to existing behaviour in debug\_utils/casm-data-flow — 5 commits, 12 files: “Improve sierra2casm-dbg (\#1206)”; “updated sierra version 2.16 (\#1557)”; “removed dependacy of the vm and use the cairo-lang-runner for testing (\#1585)”; and 2 more (refs \#1206, \#1557, \#1585, \#1620, \#1387).
_debug\utils/casm-data-flow · medium confidence · unverified
5 commits (0 fixes) modifying test\_utils
A change to existing behaviour in test\_utils — 5 commits, 3 files: “Add support for precompiling Cairo programs/projects (\#1528)”; “updated sierra version 2.16 (\#1557)”; “Add fuzzing for cairo-native (\#1535)”; and 2 more (refs \#1528, \#1557, \#1535, \#1620, \#1623).
_test\utils · medium confidence · unverified
55 commits (9 fixes) modifying examples
A change to existing behaviour in examples — 55 commits (9 fixs), 4 files: “keccak self mut (\#331)”; “update native to 2.8.0 (\#774)”; “Make some structs mutable for integration with SiR (\#305)”; and 52 more (refs \#331, \#774, \#305, \#793, \#794, …).
examples · medium confidence · unverified
6 commits (0 fixes) modifying debug\_utils/sierra-emu
A change to existing behaviour in debug\_utils/sierra-emu — 6 commits, 8 files: “\[Sierra-Emu\] Run corelib's tests (\#1188)”; “Add support for precompiling Cairo programs/projects (\#1528)”; “Refactor unit tests \[3/3\] (\#1540)”; and 3 more (refs \#1188, \#1528, \#1540, \#1180, \#1202, …).
_debug\utils/sierra-emu · medium confidence · unverified
6 commits (0 fixes) modifying programs/benches
A change to existing behaviour in programs/benches — 6 commits, 6 files: “Update cairo lang deps (\#349)”; “Add benchmarks comparing to Cairo VM (\#692)”; “Add builtin usage stats. (\#419)”; and 3 more (refs \#349, \#692, \#419, \#323, \#325, …).
programs/benches · medium confidence · unverified
6 commits (1 fix) modifying programs/examples
A change to existing behaviour in programs/examples — 6 commits (1 fix), 3 files: “more tests and port old tests (\#288)”; “Add syscall impls (\#244)”; “Pass gas to syscalls, fix examples, allow cairo-native-dump to compile contracts (\#313)”; and 3 more (refs \#288, \#244, \#313, \#390, \#217, …).
programs/examples · medium confidence · unverified
7 commits (0 fixes) modifying binaries/cairo-native-bin-utils
A change to existing behaviour in binaries/cairo-native-bin-utils — 7 commits, 4 files: “Update cairo-lang to 2.14.0 (\#1471)”; “refactor: Simplified EcState native representation to a plain EcPoint. (\#1633)”; “Add more Cairo tests (\#1494)”; and 4 more (refs \#1471, \#1633, \#1494, \#1417, \#1429, …).
binaries/cairo-native-bin-utils · medium confidence · unverified
7 commits (0 fixes) modifying binaries/cairo-native-test
A change to existing behaviour in binaries/cairo-native-test — 7 commits, 2 files: “Update cairo-lang to 2.14.1-dev.1 (\#1509)”; “Update cairo-lang to 2.14.0 (\#1471)”; “Add more Cairo tests (\#1494)”; and 4 more (refs \#1509, \#1471, \#1494, \#1557, \#1620, …).
binaries/cairo-native-test · medium confidence · unverified
7 commits (1 fix) modifying test\_data/programs/libfuncs
A change to existing behaviour in test\_data/programs/libfuncs — 7 commits (1 fix), 151 files: “Refactor unit tests \[2/3\] (\#1536)”; “added const support for EcPoint type (\#1588)”; “refactor: share comparison-predicate selection across int libfuncs (\#1627)”; and 4 more (refs \#1536, \#1588, \#1627, \#1557, \#1600, …).
_test\data/programs/libfuncs · medium confidence · unverified
84 commits (13 fixes) modifying src/executor
A change to existing behaviour in src/executor — 84 commits (13 fixs), 5 files: “moved array metadata to be behind a single pointer refrence (\#1551)”; “Specify sierra version in Contract Executor (\#1078)”; “Add lockfile support for the \AotContractExecutor\. (\#1075)”; and 81 more (refs \#1551, \#1078, \#1075, \#566, \#793, …).
src/executor · medium confidence · unverified
9 commits (2 fixes) modifying programs
A change to existing behaviour in programs — 9 commits (2 fixs), 14 files: “comparision tests + macos (\#210)”; “Pass gas to syscalls, fix examples, allow cairo-native-dump to compile contracts (\#313)”; “Pedersen libfunc (\#216)”; and 6 more (refs \#210, \#313, \#216, \#201, \#205, …).
programs · medium confidence · unverified
Fixes
1 commit (1 fix) fixing test\_data/programs/coupons\_function\_param
A fix in test\_data/programs/coupons\_function\_param — 1 commit (1 fix), 3 files: “fixed a bug where coupons type is not calculated correctly at return types (\#1630)” (refs \#1630).
_test\_data/programs/coupons\_function\param · medium confidence · unverified
Test coverage
1 commit adding/updating tests in test\_data/tests; 36 commits adding/updating tests in tests/tests/starknet; 6 commits adding/updating tests in debug\_utils/sierra-emu/tests/common; 7 commits adding/updating tests in tests/common; 70 commits adding/updating tests in tests/tests; 9 commits adding/updating tests in debug\_utils/sierra-emu/tests.
Dependencies
217 commits updating dependencies (20 manifests)
A dependency / build maintenance change in (dependencies) — 217 commits (19 fixs), 20 files: “\[2.11.1\] Implement blake libfunc (\#1160)”; “Remove panics in values.rs (\#925)”; “update native to 2.8.0 (\#774)”; and 214 more (refs \#1160, \#925, \#774, \#1208, \#566, …).
(dependencies) · medium confidence · unverified
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Baseline
- First survey — no prior run to compare against. CAI 53.2.
Lenses
- Code Health 46.0
- Architecture 96.6
- Maturity 70.9
- Readiness 61.1
- Security 46.5
- Performance 90.0
Changes since last survey
- 300 commits — 235 feature/other, 65 fixes
By area
- src/libfuncs — 93 commits
- (root) — 53 commits
- src/metadata — 25 commits
- debug_utils/sierra-emu — 24 commits
- .github/workflows — 20 commits
- src/executor — 10 commits
- (repo) — 9 commits
- test_data/programs — 9 commits
- src/compiler.rs — 6 commits
- corelib/src — 5 commits
- src/arch.rs — 4 commits
- src/values.rs — 4 commits
- tests/tests — 4 commits
- .github/ISSUE_TEMPLATE — 3 commits
- src/bin — 3 commits
- src/types — 3 commits
- binaries/starknet-native-compile — 2 commits
- debug_utils/casm-data-flow — 2 commits
- scripts/compile_test_data.py — 2 commits
- src/executor.rs — 2 commits
Notable commits
- fix: Fix BoundedInt Add libfunc (#1463)
- fix: Fix BoundedInt Constrain libfunc (#1462)
- fix: Fix BoundedInt Sub libfunc (#1465)
- fix: Fix BoundedInt is_zero libfunc (#1464)
- fix: Fix felt_const arithmetic operations (#1420)
- fix: Fix uint128_mul_guarantee_verify range check counting (#1299)
- fix: Fix uint512_div_mod range check increment (#1291)
- fix: Fix bench target command (#1532)
- fix: Fix bounded_int_trim libfunc (#1472)
- fix: Fix build_divmod() range_check increment (#1296)
- fix: Fix build_from_felt252() range_check increment (#1302)
- fix: Fix build_point_from_x() range_check increment (#1288)
- fix: Fix build_square_root() range_check increment (#1298)
- fix: Fix build_state_add_mul() ec_op increment (#1295)
- fix: Fix build_u128s_from_felt252() range_check increment (#1300)
- fix: Fix build_u256_guarantee_inv_mod_n() range_check increment (#1287)
- fix: Fix clippy
- fix: Fix comparison of bounded_int_constrain (#1480)
- fix: Fix daily workflow (#1486)
- fix: Fix downcast for bounded ints (#1474)
- …and 280 more
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
starkware-libs/cairo_native was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 16 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 180daed4448c599bd9aa7a45c3ef3b166c51e408 — the exact code this score is about.
- Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.83+preprod-a489942cf94b.