diff --git a/docs/family_oracle_readings.md b/docs/family_oracle_readings.md
index 715ac983dd..d5c0bc49bf 100644
--- a/docs/family_oracle_readings.md
+++ b/docs/family_oracle_readings.md
@@ -70,7 +70,7 @@ Per-language readings that differ from the shared sentence:
| Ruby | `\|\|=` and `&&=` count under `short_circuit`; `rescue` / `ensure` are handlers, not branches (corollary 1) | aligned |
| Kotlin, Swift | conjunction and disjunction nodes count under `short_circuit` | aligned |
| Scala | a `case` clause under a `catch` is a handler, not a decision (corollary 1) | aligned |
-| C++ | `std::cout <<` / `std::cerr <<` / `clog <<` chains count as one `debug_prints` (and no `bitwise_ops`); `cin >>` as one `io`; `catch` is a handler, not a branch (corollary 1); no `closures` oracle | aligned |
+| C++ | `std::cout <<` / `std::cerr <<` / `clog <<` chains count as one `debug_prints` (and no `bitwise_ops`); `cin >>` as one `io`; a `<<` chain holding a string literal is a stream insertion, never `bitwise_ops`; `(Type)&x` (tree-sitter reads it as a binary `&`) is a cast, not `bitwise_ops`; member `.` / `->` calls, qualified socket verbs and `std::bind` are not `io` (#9335); `catch` is a handler, not a branch (corollary 1); no `closures` oracle | aligned |
| shell | `&&` / `\|\|` list chaining counts under `short_circuit` | aligned |
The non-Python `branch` cells in `tests/family_validity_baseline.json` were measured before this realignment and there is no
@@ -82,6 +82,9 @@ Ruled 2026-11-24 (#8862, closed): `assert` is not an abort; `doc` is the structu
1. Does `comprehensions` include generator expressions? The oracle counts them until ruled (the contract's "inline iteration form" may cover them; `lazy_evaluation` excludes them, which is a different family).
2. Is `??` (and `??=`) a `short_circuit` operator in C# and PHP? Until ruled it counts under `branch`.
+Also pending, C++ `decorators` (#9335): is `[[maybe_unused]]` on a local variable declaration inside a function an attribute "on the function"? The
+ contract says an attribute attaches to the declaration it precedes, so the rule counts it; the oracle reads only attributes on the
+ function itself. Two functions on the pinned crucible; the cell stays red on the oracle side until ruled.
Answered, no longer open: the `llm_api` absence entries (a rule only for python, javascript and typescript; every other
language is a stated absence, #9275, `### llm_api stated absences` in `docs/unplanted_family_contracts.md`).
diff --git a/docs/self_scan/family_validity_chart.svg b/docs/self_scan/family_validity_chart.svg
index 8417cd3861..02424aa889 100644
--- a/docs/self_scan/family_validity_chart.svg
+++ b/docs/self_scan/family_validity_chart.svg
@@ -21,13 +21,13 @@
Keyword families: how much is checked, and how well
-2,936 language-by-family rules are defined. 206 are measured against a parser (17 languages), 1,752 more only by a decoy test, 978 not tested yet.
-
+2,936 language-by-family rules are defined. 205 are measured against a parser (17 languages), 1,753 more only by a decoy test, 978 not tested yet.
+
-206 measured against a parser
-
+205 measured against a parser
+
-1,752 decoy test only
+1,753 decoy test only
978 not tested yet
@@ -372,8 +372,7 @@
32
P
-
-0
+–
·
closures
@@ -441,150 +440,150 @@
·
·
·
-cleanup
-
-92
-R
-·
-·
-·
-·
-·
-·
-·
-·
-·
-·
-·
-·
-·
-·
-·
+thread_sleeps
+
+100
+P
+
+94†
+P
+
+89†
+R
+
+80†
+P
+
+100
+
+25†
+R
+
+100
+P
+
+100
+
+100
+
+65†
+P
+
+89†
+P
+–
+
+100†
+P
+
+0
+
+83
+P
+
+100
·
-decorators
+cleanup
-91
-P
-
-90
-P
-
-0
-R
-
-94
-P
-
-54†
-P
-
-97†
-R
-
-50
-
-96
-R
-–
+92
+R
+·
+·
+·
+·
+·
+·
+·
+·
·
-
-95
-P
-
-98
-P
-–
+·
+·
+·
·
-
-0
+·
+·
·
-doc
-
-84
-R
+decorators
+
+91
+P
-91
+90
P
-
-91
-P
-
-100
-P
-
-100
-P
+
+0
+R
+
+94
+P
+
+54†
+P
-90
-P
-
-89
-P
-
-89
-P
-
-86
-P
-
-2
-P
-
-90
+97†
+R
+
+50
+
+96
+R
+–
+·
+
+95
P
-
-95
-P
-
-86†
-P
-–
-·
+
+98
+P
+–
+·
-80
+0
·
-thread_sleeps
-
-100
-P
+doc
+
+84
+R
-94†
+91
P
-
-89†
-R
-
-80†
-P
-
-100
-
-25†
-R
-
-100
-P
-
-100
-
-100
-
-65†
+
+91
+P
+
+100
+P
+
+100
+P
+
+90
+P
+
+89
+P
+
+89
+P
+
+86
+P
+
+2
P
-89†
+90
P
-–
-
-100†
-P
-
-0
-
-83
-P
+
+95
+P
+
+86†
+P
+–
+·
-0
+80
·
serialization_parsing
@@ -664,91 +663,96 @@
·
·
·
-time_date_logic
-
-93
+bitwise_ops
+
+84
R
-
-78†
-R
+
+100
+P
100
P
-12†
+46†
R
-
-79
-R
-
-36†
-R
-
-100
+
+13
+P
+
+100
+
+91
+R
-38†
+0
R
-
-100
+
+11
+R
-20
-R
+4†
+P
-93
-P
+96
+R
-59†
-R
-
-52†
-R
-
-100
-
-26
-P
-–
+76†
+P
+
+96
+P
+
+52
+P
+
+0
+
+88
+R
·
-regex_execution
+time_date_logic
-94
+93
R
-
-39†
+
+78†
R
-
-56†
-P
-
-55†
-P
-
-98
-R
+
+100
+P
+
+12†
+R
+
+79
+R
-14†
+36†
R
-
-82
-P
-
-0
-
-81
-P
-
-67
+
+100
+
+38†
+R
+
+100
+
+20
R
-–
-
-0
-
-100
-
-74
-R
-
-94
+
+93
+P
+
+59†
+R
+
+52†
+R
+
+100
+
+26
P
–
·
@@ -794,59 +798,53 @@
58
P
-
-8
-R
+
+83
90
P
-bitwise_ops
-
-84
+regex_execution
+
+94
R
-
-100
-P
-
-100
-P
-
-46†
-R
-
-13
-P
-
-100
-
-91
-R
-
-0
-R
-
-11
-R
-
-4†
-P
-
-96
-R
-
-76†
-P
-
-96
-P
+
+39†
+R
+
+56†
+P
+
+55†
+P
+
+98
+R
+
+14†
+R
+
+82
+P
+
+0
+
+81
+P
+
+67
+R
+–
+
+0
+
+100
-52
-P
-
-0
-
-12
-R
+74
+R
+
+94
+P
+–
·
R = the family misses constructs the parser sees; P = it fires where the parser sees none. † corpus not pinned (exploratory).
Dashed grey italic: under 10 functions. · not tested yet. – tested, construct never occurs. Rows best first.
diff --git a/docs/self_scan/family_validity_matrix.svg b/docs/self_scan/family_validity_matrix.svg
index 6c959101b2..7b79339459 100644
--- a/docs/self_scan/family_validity_matrix.svg
+++ b/docs/self_scan/family_validity_matrix.svg
@@ -22,7 +22,7 @@
Keyword-family matrix (maintainers): every language against every family
-2,936 cells have a rule: 206 measured against a parser, 1,752 decoy test only, 978 not tested; 2,320 cells are N/A. Hover a cell for numbers. The README figure is the summary of this.
+2,936 cells have a rule: 205 measured against a parser, 1,753 decoy test only, 978 not tested; 2,320 cells are N/A. Hover a cell for numbers. The README figure is the summary of this.
under 50%
@@ -751,7 +751,7 @@
c / io: recall 1.00, precision 0.93 (52 oracle, 56 family functions; language-crucible v1.9.0)
lua / io: recall 0.50, precision 1.00 (14 oracle, 7 family functions; language-crucible v1.9.0)
shell / io: recall 0.83, precision 0.58 (236 oracle, 338 family functions; language-crucible v1.9.0)
-cpp / io: recall 0.08, precision 0.50 (12 oracle, 2 family functions; language-crucible v1.9.0)
+cpp / io: recall 1.00, precision 0.83 (5 oracle, 6 family functions; language-crucible v1.9.0)
cobol / io: recall 1.00, precision 0.90 (712 oracle, 793 family functions; language-crucible v1.9.0)
abap / io: decoy test with 'SELECT': in a comment ignored (pass); in a string literal does not count; no parser result yet
acs / io: decoy test with 'GetCVar()': in a comment ignored (pass); in a string literal counts; no parser result yet
@@ -1332,7 +1332,7 @@
c / decorators: scored, but the oracle sees no instance in language-crucible v1.9.0
-cpp / decorators: recall -, precision 0.00 (0 oracle, 4 family functions; language-crucible v1.9.0)
+cpp / decorators: recall -, precision 0.00 (0 oracle, 2 family functions; language-crucible v1.9.0)
abap / decorators: decoy test with '@deprecated': in a comment ignored (pass); in a string literal counts; no parser result yet
ada / decorators: decoy test with 'pragma SPARK_Mode': in a comment ignored (pass); in a string literal counts; no parser result yet
@@ -2380,7 +2380,8 @@
c / panics_and_aborts: recall 0.97, precision 1.00 (29 oracle, 28 family functions; language-crucible v1.9.0)
lua / panics_and_aborts: recall 1.00, precision 0.86 (30 oracle, 35 family functions; language-crucible v1.9.0)
shell / panics_and_aborts: recall 1.00, precision 0.32 (58 oracle, 179 family functions; language-crucible v1.9.0)
-cpp / panics_and_aborts: recall -, precision 0.00 (0 oracle, 6 family functions; language-crucible v1.9.0)
+cpp / panics_and_aborts: scored, but the oracle sees no instance in language-crucible v1.9.0
+
cobol / panics_and_aborts: decoy test with 'STOP RUN': in a comment ignored (pass); in a string literal counts; no parser result yet
abap / panics_and_aborts: decoy test with 'RAISE EXCEPTION': in a comment ignored (pass); in a string literal counts; no parser result yet
acs / panics_and_aborts: decoy test with 'terminate': in a comment ignored (pass); in a string literal counts; no parser result yet
@@ -2451,7 +2452,7 @@
lua / thread_sleeps: recall 0.00, precision - (3 oracle, 0 family functions; language-crucible v1.9.0)
shell / thread_sleeps: recall 1.00, precision 0.83 (24 oracle, 29 family functions; language-crucible v1.9.0)
-cpp / thread_sleeps: recall 0.00, precision 0.00 (1 oracle, 1 family functions; language-crucible v1.9.0)
+cpp / thread_sleeps: recall 1.00, precision 1.00 (1 oracle, 1 family functions; language-crucible v1.9.0)
cobol / thread_sleeps: decoy test with 'EXEC CICS DELAY': in a comment ignored (pass); in a string literal counts; no parser result yet
abap / thread_sleeps: decoy test with 'WAIT UP TO': in a comment ignored (pass); in a string literal counts; no parser result yet
acs / thread_sleeps: decoy test with 'Delay()': in a comment ignored (pass); in a string literal counts; no parser result yet
@@ -2511,7 +2512,7 @@
c / bitwise_ops: recall 0.99, precision 0.96 (414 oracle, 423 family functions; language-crucible v1.9.0)
lua / bitwise_ops: recall 1.00, precision 0.52 (27 oracle, 52 family functions; language-crucible v1.9.0)
shell / bitwise_ops: recall 0.00, precision - (2 oracle, 0 family functions; language-crucible v1.9.0)
-cpp / bitwise_ops: recall 0.12, precision 0.50 (112 oracle, 26 family functions; language-crucible v1.9.0)
+cpp / bitwise_ops: recall 0.88, precision 0.91 (57 oracle, 55 family functions; language-crucible v1.9.0)
cobol / bitwise_ops: decoy test with 'FUNCTION BIT-AND': in a comment ignored (pass); in a string literal counts; no parser result yet
abap / bitwise_ops: decoy test with 'BIT-AND': in a comment ignored (pass); in a string literal counts; no parser result yet
acs / bitwise_ops: decoy test with 'a << 1': in a comment ignored (pass); in a string literal counts; no parser result yet
@@ -2971,7 +2972,7 @@
java / regex_execution: recall -, precision 0.00 (0 oracle, 1 family functions; language-crucible v1.9.0)
javascript / regex_execution: recall 0.94, precision 0.81 (36 oracle, 42 family functions; language-crucible v1.9.0)
ruby / regex_execution: recall 0.67, precision 0.94 (24 oracle, 17 family functions; language-crucible v1.9.0)
-rust / regex_execution: scored, but the oracle sees no instance in tokio (not pinned)
+rust / regex_execution: scored, but the oracle sees no instance in language-crucible v1.9.0
swift / regex_execution: recall -, precision 0.00 (0 oracle, 1 family functions; vapor (not pinned))
diff --git a/gitgalaxy/standards/language_standards/languages/cpp.py b/gitgalaxy/standards/language_standards/languages/cpp.py
index eb96157bb0..ecca5cfb8b 100644
--- a/gitgalaxy/standards/language_standards/languages/cpp.py
+++ b/gitgalaxy/standards/language_standards/languages/cpp.py
@@ -540,6 +540,8 @@
r"\b(std::fstream|std::ifstream|std::ofstream|std::filesystem|fopen|fread|fwrite|socket|recv|send|asio::|curl_easy_perform|std::cin)\b"
# #8868 libc/POSIX transfer calls, call form only; member calls and longer names stay out.
r"|(?\w])(?:fgets|fputs|fgetc|fputc|mmap|pread|pwrite|recvfrom|sendto|recvmsg|sendmsg)[ \t]{0,4}\("
+ # #9335 a capitalised class's static open (`FileAccess::open(`, `DirAccess::open(`): a file or directory handle.
+ r"|\b[A-Z]\w{2,40}::open[ \t]{0,4}\("
),
# 10. api (Public Surface Area)
# Code exposed to the world. Explicit visibility and module exports.
@@ -656,7 +658,9 @@
re.M,
),
# 19. decorators (Decorators / Annotations)
- "decorators": re.compile(r"\[\[\s*[" + ID_START + r":][^\]]*\]\]"),
+ # #9335: `[[fallthrough]];` / `[[likely]];` stand alone as a statement and attach to no declaration; an
+ # attribute that precedes a declaration or statement is not followed by `;`.
+ "decorators": re.compile(r"\[\[\s*[" + ID_START + r":][^\]]*\]\](?![ \t]*;)"),
# 20. generics (Generics / Type Parameters)
"generics": re.compile(r"\btemplate\s*<[^>]*>|\b(?:concept|requires)\b"),
# 21. comprehensions (Iterators / Comprehensions)
@@ -795,13 +799,39 @@
+ r"]"
),
# 41. panics_and_aborts (Error Exits: raise/throw/abort)
- "panics_and_aborts": re.compile(r"\b(throw|abort|exit|_Exit|quick_exit|std::terminate|longjmp)\b"),
+ # #9335: process-exit names count in call form (`exit(1)`, `std::abort()`), never as a bare identifier or a
+ # member call (godot's `bool exit = false;`, `while (!exit)`, `span.exit()`); `exit` takes no space before `(` so prose in a
+ # string (`"leaked at exit (run with"`) is not a call; `throw` and `std::terminate` stay keywords.
+ "panics_and_aborts": re.compile(
+ r"\bthrow\b|\bstd::terminate\b|(?\w])(?:(?:abort|_Exit|quick_exit|longjmp)[ \t]*\(|exit\()"
+ ),
# 42. thread_sleeps (Sleeps & Timed Waits: a call that blocks the thread or forces a delay)
# Admission of race conditions or lazy polling.
- "thread_sleeps": re.compile(r"\b(sleep|delay|usleep|nanosleep|std::this_thread::sleep_for)\b"),
+ # #9335: call form, so `"--frame-delay"` and a `delay` variable are not sleeps; `Sleep` / `SleepEx` (Win32) and
+ # `thrd_sleep` are the same call under another spelling.
+ "thread_sleeps": re.compile(
+ r"(?\w])(?:sleep|usleep|nanosleep|Sleep|SleepEx|thrd_sleep|delay)[ \t]*\("
+ r"|\bsleep_(?:for|until)[ \t]*\("
+ ),
# 43. bitwise_ops (Bitwise Operations)
- # Low-level byte manipulation. CRITICAL: Removed bare `<<` and `>>` to prevent catastrophic false positives on `std::cout` and `std::cin` streams. Explicit bitwise assignments (`<<=`, `&=`) are retained as they are unambiguous.
- "bitwise_ops": re.compile(r"\^|(?>=|&=|\|=|\^="),
+ # Low-level byte manipulation. A bare `<<` / `>>` is a stream insertion or a template close far more often than a
+ # shift, so (#9335) a shift counts only beside a numeric or ALL_CAPS operand with no string literal against the
+ # operator; `&` / `|` count only against a numeric mask or an ALL_CAPS flag (a bare `T &x` is a reference, `a | b`
+ # between lowercase names is not told from a lambda or a stream). `~` is a complement only after an operator, never a
+ # destructor name. `^` and the compound assignments are unambiguous.
+ "bitwise_ops": re.compile(
+ r"\^"
+ r"|(?:(??!]|\breturn\b)[ \t]*~"
+ r"|<<=|>>=|&=|\|="
+ r"|\b\d[\w']{0,20}[ \t]*<<(?![=<])"
+ r"|<<(?![=<])[ \t]*(?:\d|[A-Z][A-Z0-9_]{2,}\b)"
+ r"|>>(?![=>])[ \t]*(?:\d|[A-Z][A-Z0-9_]{2,}\b)"
+ r"|[\w)\]][ \t]*&(?![&=])[ \t]*(?:\d|[A-Z][A-Z0-9_]{2,}\b)"
+ r"|\b[A-Z][A-Z0-9_]{2,}[ \t]*&(?![&=])[ \t]*[\w(]"
+ r"|\b(?:0[xX][0-9A-Fa-f]+|\d+)[ \t]*&(?![&=])"
+ r"|\b[A-Z][A-Z0-9_]{2,}[ \t]*(? bool:
+ return bool(_RULES[rule].search(_PRISM.split_streams(src, "cpp")["code_stream"]))
+
+
+@pytest.mark.parametrize(
+ "src",
+ [
+ "[[nodiscard]] int f();",
+ "[[maybe_unused]] auto x = g();",
+ "struct [[deprecated]] S {};",
+ "[[gnu::always_inline]] void f();",
+ ],
+)
+def test_attribute_before_a_declaration_counts(src):
+ assert _fires("decorators", src), src
+
+
+@pytest.mark.parametrize("src", ["case 1:\n f();\n [[fallthrough]];\ncase 2:", "[[likely]];"])
+def test_statement_attribute_does_not_count(src):
+ assert not _fires("decorators", src), src
+
+
+@pytest.mark.parametrize(
+ "src",
+ [
+ "void f() { throw std::runtime_error(m); }",
+ "void f() { std::terminate(); }",
+ "void f() { abort(); }",
+ "void f() { std::exit(1); }",
+ "void f() { exit(2); }",
+ "void f() { ::_Exit(3); }",
+ "void f() { quick_exit(0); }",
+ "void f() { longjmp(env, 1); }",
+ ],
+)
+def test_exit_in_call_form_counts(src):
+ assert _fires("panics_and_aborts", src), src
+
+
+@pytest.mark.parametrize(
+ "src",
+ [
+ "bool exit = false;\nexit = true;",
+ "while (!exit) { step(); }",
+ "span.exit();",
+ "p->abort();",
+ "int should_exit_now = 1;",
+ "// we never abort here",
+ 'auto m = "leaked at exit (run with -v)";',
+ ],
+)
+def test_bare_exit_word_does_not_count(src):
+ assert not _fires("panics_and_aborts", src), src
+
+
+@pytest.mark.parametrize(
+ "src",
+ [
+ "void f() { sleep(1); }",
+ "void f() { usleep(500); }",
+ "void f() { Sleep(10000); }",
+ "void f() { SleepEx(5, TRUE); }",
+ "void f() { std::this_thread::sleep_for(std::chrono::seconds(1)); }",
+ "void f() { std::this_thread::sleep_until(t); }",
+ "void f() { delay(20); }",
+ ],
+)
+def test_sleep_calls_count(src):
+ assert _fires("thread_sleeps", src), src
+
+
+@pytest.mark.parametrize(
+ "src",
+ [
+ 'auto a = "--frame-delay";',
+ "int delay = 3;",
+ "timer.delay(5);",
+ "int sleep_time = 3;",
+ ],
+)
+def test_sleep_words_do_not_count(src):
+ assert not _fires("thread_sleeps", src), src
+
+
+@pytest.mark.parametrize(
+ "src",
+ [
+ "x = a ^ b;",
+ "x ^= m;",
+ "x = ~mask;",
+ "y = f(~0u);",
+ "return ~x;",
+ "x <<= 2;",
+ "auto m = 1 << n;",
+ "auto m = x << 3;",
+ "auto m = (uint64_t(v)) << SLOT_BITS;",
+ "y = x >> 8;",
+ "if (flags & PROPERTY_USAGE_STORAGE) {}",
+ "auto b = (int)get_mask() & 0x7;",
+ "if (wParam&PM_REMOVE) {}",
+ "auto k = Mod::META | Mod::CTRL | Key::KEY_5;",
+ "auto k = FLAG_A | FLAG_B;",
+ "x |= y;",
+ "x &= y;",
+ ],
+)
+def test_bitwise_forms_count(src):
+ assert _fires("bitwise_ops", src), src
+
+
+@pytest.mark.parametrize(
+ "src",
+ [
+ 'LOG_DEBUG(L"offset " << offset << L" is past the end");',
+ 's<isHidden;',
+ 'std::cout << "hi" << std::endl;',
+ "std::cin >> n;",
+ "std::vector> grid;",
+ "Foo::~Foo() {\n}",
+ "virtual ~Foo();",
+ "p->~String();",
+ "for (const String &extension : extensions) {}",
+ "Ref &r = x;",
+ "if (a && b) {}",
+ "if (a || b) {}",
+ "auto f = [&](int x) { return x; };",
+ "foo(&x, &y);",
+ "if (a && FLAG_ON) {}",
+ "if (a || FLAG_ON) {}",
+ ],
+)
+def test_non_bitwise_forms_do_not_count(src):
+ assert not _fires("bitwise_ops", src), src
+
+
+@pytest.mark.parametrize("src", ["auto f = FileAccess::open(p, FileAccess::READ);", "DirAccess::open(path);"])
+def test_static_open_is_io(src):
+ assert _fires("io", src), src
+
+
+@pytest.mark.parametrize("src", ["auto f = obj.open(p);", "foo::open_all(x);", "x = lower::open(a);"])
+def test_other_open_is_not_io(src):
+ assert not _fires("io", src), src
diff --git a/tests/family_validity_baseline.json b/tests/family_validity_baseline.json
index efa51ac375..011fd0e731 100644
--- a/tests/family_validity_baseline.json
+++ b/tests/family_validity_baseline.json
@@ -168,12 +168,12 @@
"bitwise_ops": {
"corpus": "language-crucible v1.9.0",
"functions": 1075,
- "n_family": 26,
- "n_oracle": 112,
+ "n_family": 55,
+ "n_oracle": 57,
"pinned": true,
- "precision": 0.5,
- "recall": 0.116,
- "status": "both"
+ "precision": 0.909,
+ "recall": 0.877,
+ "status": "ok"
},
"branch": {
"corpus": "language-crucible v1.9.0",
@@ -198,7 +198,7 @@
"decorators": {
"corpus": "language-crucible v1.9.0",
"functions": 1075,
- "n_family": 4,
+ "n_family": 2,
"n_oracle": 0,
"pinned": true,
"precision": 0.0,
@@ -218,22 +218,22 @@
"io": {
"corpus": "language-crucible v1.9.0",
"functions": 1075,
- "n_family": 2,
- "n_oracle": 12,
+ "n_family": 6,
+ "n_oracle": 5,
"pinned": true,
- "precision": 0.5,
- "recall": 0.083,
- "status": "both"
+ "precision": 0.833,
+ "recall": 1.0,
+ "status": "ok"
},
"panics_and_aborts": {
"corpus": "language-crucible v1.9.0",
"functions": 1075,
- "n_family": 6,
+ "n_family": 0,
"n_oracle": 0,
"pinned": true,
- "precision": 0.0,
+ "precision": null,
"recall": null,
- "status": "over-counts"
+ "status": "no-instances"
},
"regex_execution": {
"corpus": "language-crucible v1.9.0",
@@ -261,9 +261,9 @@
"n_family": 1,
"n_oracle": 1,
"pinned": true,
- "precision": 0.0,
- "recall": 0.0,
- "status": "both"
+ "precision": 1.0,
+ "recall": 1.0,
+ "status": "ok"
},
"time_date_logic": {
"corpus": "language-crucible v1.9.0",
@@ -1646,11 +1646,11 @@
"status": "ok"
},
"regex_execution": {
- "corpus": "tokio",
- "functions": 6826,
+ "corpus": "language-crucible v1.9.0",
+ "functions": 1905,
"n_family": 0,
"n_oracle": 0,
- "pinned": false,
+ "pinned": true,
"precision": null,
"recall": null,
"status": "no-instances"
diff --git a/tests/golden_master_audit/12_scan_output_snapshots/gpu_json.json b/tests/golden_master_audit/12_scan_output_snapshots/gpu_json.json
index e10b7de4a3..72549d635d 100644
--- a/tests/golden_master_audit/12_scan_output_snapshots/gpu_json.json
+++ b/tests/golden_master_audit/12_scan_output_snapshots/gpu_json.json
@@ -5,14 +5,14 @@
],
"value": {
"Galaxy Column Digests": {
- "a_dists": "42a9853fd45e",
+ "a_dists": "12e8bd9d2ebe",
"a_ids": "529e8956061a",
"author_distribution": "5acef44b54c3",
"c_ids": "2ef7a64c140f",
"cog_raw": "9a205530c984",
"d_locs": "75aea44b2cb6",
"edges": "78d79f2f7a56",
- "hits_flat": "5aa1db72a801",
+ "hits_flat": "d9c56b1ec43d",
"imports": "fde8a141807a",
"lang_ids": "c269e521d16c",
"locs": "d21eb7150ea8",
@@ -23,7 +23,7 @@
"ownership_entropy": "5acef44b54c3",
"raw_churn_freq": "5acef44b54c3",
"risks_flat": "367e2ee71797",
- "satellite_data_flat": "a812e4e449dc",
+ "satellite_data_flat": "56caa0f640b8",
"tel_aid": "a8488426a414",
"tel_cfr": "9db83eebdefa",
"tel_lt": "2e98c9899324",
@@ -1102,43 +1102,43 @@
"cpp/NVDA/core.py": "c220477ed52c",
"cpp/NVDA/ensureuv.ps1": "d8194a018c69",
"cpp/NVDA/espeak.py": "ed134a36157d",
- "cpp/NVDA/inProcess.cpp": "b37573186e8a",
+ "cpp/NVDA/inProcess.cpp": "5d0fc9b8578d",
"cpp/NVDA/nvdaControllerInternal.cpp": "73eac98405ba",
"cpp/NVDA/readme.md": "3bfd300aab28",
- "cpp/NVDA/storage.cpp": "cc5b4082a476",
+ "cpp/NVDA/storage.cpp": "0e75a8e27abd",
"cpp/SOURCES.md": "cab6b5b51762",
"cpp/godot/AUTHORS.md": "fed82ebf95a7",
"cpp/godot/DONORS.md": "4936442ff39e",
"cpp/godot/LICENSE.txt": "8678a17bf7e5",
- "cpp/godot/editor_node.cpp": "a34d456bad38",
- "cpp/godot/editor_node.h": "ce688e189b0f",
- "cpp/godot/gdscript_vm.cpp": "530a6ce8e98d",
- "cpp/godot/main.cpp": "6551413ded1b",
+ "cpp/godot/editor_node.cpp": "f069e8a05c08",
+ "cpp/godot/editor_node.h": "352675883bf2",
+ "cpp/godot/gdscript_vm.cpp": "5a7d96647dfa",
+ "cpp/godot/main.cpp": "747003004e72",
"cpp/godot/main.h": "82b74bc09ff4",
- "cpp/godot/node.cpp": "dc069b9b1d2a",
- "cpp/godot/node.h": "734c5484c576",
- "cpp/godot/object.cpp": "7371742d0ca7",
+ "cpp/godot/node.cpp": "7664b08d9ec9",
+ "cpp/godot/node.h": "a026383e246b",
+ "cpp/godot/object.cpp": "6ee3450bc866",
"cpp/godot/object.h": "ab08572ba5c3",
- "cpp/godot/rendering_server_default.cpp": "2cf93bb673e6",
- "cpp/godot/rendering_server_default.h": "cada6622b6e9",
- "cpp/godot/variant.cpp": "314ba53b3577",
+ "cpp/godot/rendering_server_default.cpp": "6f1256a803e0",
+ "cpp/godot/rendering_server_default.h": "ca8fbc03a25d",
+ "cpp/godot/variant.cpp": "7d14d55ea41c",
"cpp/godot/variant.h": "b6983aac9ea8",
- "cpp/mlir/flatbuffer_export.cc": "f2875f135216",
+ "cpp/mlir/flatbuffer_export.cc": "5a9bcb8413f8",
"cpp/mlir/glob_lit_test.bzl": "576b8dafeb58",
"cpp/mlir/mlir_bridge_rollout_policy.cc": "507db62cbb06",
"cpp/mlir/mlir_graph_optimization_pass.cc": "c52d48de7123",
"cpp/mlir/stablehlo.cc": "a2c8cdd47a91",
"cpp/mlir/tf_mlir_opt_main.cc": "a47876e721cb",
"cpp/mlir/tf_tfl_translate.cc": "bb5e0a36252a",
- "cpp/powertoys/FancyZones.cpp": "c1ee92d59ec1",
+ "cpp/powertoys/FancyZones.cpp": "c45a7017b8e8",
"cpp/powertoys/FancyZones.h": "5c54861d2892",
"cpp/powertoys/ImageResizerExt.cpp": "d56f18d98cdc",
- "cpp/powertoys/centralized_kb_hook.cpp": "a04ad95efa9d",
- "cpp/powertoys/logger.cpp": "21599db58544",
- "cpp/powertoys/main.cpp": "0246f2bebd92",
+ "cpp/powertoys/centralized_kb_hook.cpp": "5142b9c37974",
+ "cpp/powertoys/logger.cpp": "9aa6755c346e",
+ "cpp/powertoys/main.cpp": "8c73892ce84a",
"cpp/powertoys/powertoy_module.h": "95564d5a6816",
- "cpp/serenity_ak_siphash_cpu/CPUFeatures.cpp": "ce05ea28e10a",
- "cpp/serenity_ak_siphash_cpu/SipHash.cpp": "590b2876178e",
+ "cpp/serenity_ak_siphash_cpu/CPUFeatures.cpp": "4972c2a21291",
+ "cpp/serenity_ak_siphash_cpu/SipHash.cpp": "26ee509262bf",
"crystal/SOURCES.md": "e1b6659f1274",
"crystal/crystal_stdlib_http/client.cr": "dc9da6f43dc3",
"crystal/crystal_stdlib_http/client_response.cr": "0103970bcc0f",
@@ -4252,7 +4252,7 @@
"Galaxy Row Count": 4216,
"Global Summary": {
"File Composition Distribution": "bbf1cf35960f",
- "Function Archetype Distribution": "56f0cb3454ad",
+ "Function Archetype Distribution": "167781f29513",
"Global Architectural Fingerprint": "bcbbf9770137",
"Repository Composition Archetype": "0108c50af9ef",
"Repository Composition Fit (Z-Score)": "8aed642bf511",
diff --git a/tests/golden_master_audit/12_scan_output_snapshots/graph_sqlite.json b/tests/golden_master_audit/12_scan_output_snapshots/graph_sqlite.json
index 86b6da0221..cd25ecc5ba 100644
--- a/tests/golden_master_audit/12_scan_output_snapshots/graph_sqlite.json
+++ b/tests/golden_master_audit/12_scan_output_snapshots/graph_sqlite.json
@@ -1084,16 +1084,16 @@
"cpp/godot/DONORS.md": "41a3f0a28c1b",
"cpp/godot/LICENSE.txt": "af052de44287",
"cpp/godot/editor_node.cpp": "cdb0bf2b4565",
- "cpp/godot/editor_node.h": "3eab84eb8be5",
+ "cpp/godot/editor_node.h": "1e4ee22295aa",
"cpp/godot/gdscript_vm.cpp": "4a2347204f5f",
- "cpp/godot/main.cpp": "b6a7206fe2ba",
+ "cpp/godot/main.cpp": "797aaa9deea4",
"cpp/godot/main.h": "03388075b4f7",
- "cpp/godot/node.cpp": "8ff0c718d9e6",
+ "cpp/godot/node.cpp": "e476f9dd2bf9",
"cpp/godot/node.h": "ec13473fd433",
- "cpp/godot/object.cpp": "41b966f4ab04",
+ "cpp/godot/object.cpp": "829beb02ea21",
"cpp/godot/object.h": "6ee7edb71568",
"cpp/godot/rendering_server_default.cpp": "5e9173a2043f",
- "cpp/godot/rendering_server_default.h": "abe4e741c817",
+ "cpp/godot/rendering_server_default.h": "356d30fc7f97",
"cpp/godot/variant.cpp": "f34f67f015b2",
"cpp/godot/variant.h": "b1642febcf22",
"cpp/mlir/flatbuffer_export.cc": "0d7007dcff2a",
@@ -1108,10 +1108,10 @@
"cpp/powertoys/ImageResizerExt.cpp": "4e2e6e3e8269",
"cpp/powertoys/centralized_kb_hook.cpp": "9578ab05c1bf",
"cpp/powertoys/logger.cpp": "f2824ce8be2a",
- "cpp/powertoys/main.cpp": "6dc403875144",
+ "cpp/powertoys/main.cpp": "f08a66b00a12",
"cpp/powertoys/powertoy_module.h": "7dc54e3b120d",
"cpp/serenity_ak_siphash_cpu/CPUFeatures.cpp": "0a9f5554696a",
- "cpp/serenity_ak_siphash_cpu/SipHash.cpp": "83a14808337e",
+ "cpp/serenity_ak_siphash_cpu/SipHash.cpp": "65747d263119",
"crystal/SOURCES.md": "076755951ae9",
"crystal/crystal_stdlib_http/client.cr": "109a6d68cca1",
"crystal/crystal_stdlib_http/client_response.cr": "4bd570cd39fa",
@@ -5251,42 +5251,42 @@
"cpp/NVDA/core.py": "817e26851e57",
"cpp/NVDA/ensureuv.ps1": "18b8302a5efc",
"cpp/NVDA/espeak.py": "4760336ff661",
- "cpp/NVDA/inProcess.cpp": "bb070789b69f",
+ "cpp/NVDA/inProcess.cpp": "b4692b186f14",
"cpp/NVDA/nvdaControllerInternal.cpp": "650dee8a418b",
"cpp/NVDA/readme.md": "98abc8712a96",
- "cpp/NVDA/storage.cpp": "28c36774156a",
+ "cpp/NVDA/storage.cpp": "2a634a911145",
"cpp/SOURCES.md": "ff111c6ac112",
"cpp/godot/AUTHORS.md": "fde39d0f154e",
"cpp/godot/DONORS.md": "8bc0b9ba827e",
- "cpp/godot/editor_node.cpp": "a692a35f8b40",
- "cpp/godot/editor_node.h": "1d79cc14db22",
- "cpp/godot/gdscript_vm.cpp": "2a84d70b4f5a",
- "cpp/godot/main.cpp": "b3e4063e4df1",
+ "cpp/godot/editor_node.cpp": "b2dd2aed97d4",
+ "cpp/godot/editor_node.h": "bae87d0c27db",
+ "cpp/godot/gdscript_vm.cpp": "abfa7bd804ab",
+ "cpp/godot/main.cpp": "e1f33f739859",
"cpp/godot/main.h": "9c6f0f37de74",
- "cpp/godot/node.cpp": "361c02be0c79",
- "cpp/godot/node.h": "cbf9a4748648",
- "cpp/godot/object.cpp": "d4b47909d480",
+ "cpp/godot/node.cpp": "a69f36e262a8",
+ "cpp/godot/node.h": "e9ea44e40b03",
+ "cpp/godot/object.cpp": "42f20080e46d",
"cpp/godot/object.h": "b44fc5c635e5",
- "cpp/godot/rendering_server_default.cpp": "2a4748dd46e2",
- "cpp/godot/rendering_server_default.h": "27e5be7eac8b",
- "cpp/godot/variant.cpp": "5722188ed6e5",
+ "cpp/godot/rendering_server_default.cpp": "06d8e23a92bd",
+ "cpp/godot/rendering_server_default.h": "2efd777042e4",
+ "cpp/godot/variant.cpp": "727fa82f0169",
"cpp/godot/variant.h": "a934de32bc0a",
- "cpp/mlir/flatbuffer_export.cc": "1103511b814a",
+ "cpp/mlir/flatbuffer_export.cc": "bad614c069d6",
"cpp/mlir/glob_lit_test.bzl": "d128ab5e2b35",
"cpp/mlir/mlir_bridge_rollout_policy.cc": "1b34c9172971",
"cpp/mlir/mlir_graph_optimization_pass.cc": "3ef6db1bcecc",
"cpp/mlir/stablehlo.cc": "21bd05b03eb9",
"cpp/mlir/tf_mlir_opt_main.cc": "302c2434d925",
"cpp/mlir/tf_tfl_translate.cc": "6a78bc6242a5",
- "cpp/powertoys/FancyZones.cpp": "18fea5da0623",
+ "cpp/powertoys/FancyZones.cpp": "40376dc9f89f",
"cpp/powertoys/FancyZones.h": "2f9e57121d48",
"cpp/powertoys/ImageResizerExt.cpp": "39b2003a56e3",
- "cpp/powertoys/centralized_kb_hook.cpp": "21944bbdb6b3",
- "cpp/powertoys/logger.cpp": "ea7d39dcabfb",
- "cpp/powertoys/main.cpp": "fbd2bf693b41",
+ "cpp/powertoys/centralized_kb_hook.cpp": "cf499e5e31f6",
+ "cpp/powertoys/logger.cpp": "54249eba534d",
+ "cpp/powertoys/main.cpp": "c2c8f9c87173",
"cpp/powertoys/powertoy_module.h": "73dfaaead6c2",
- "cpp/serenity_ak_siphash_cpu/CPUFeatures.cpp": "d0b66f3a9912",
- "cpp/serenity_ak_siphash_cpu/SipHash.cpp": "7e05c44705ce",
+ "cpp/serenity_ak_siphash_cpu/CPUFeatures.cpp": "b9b13ac1ac51",
+ "cpp/serenity_ak_siphash_cpu/SipHash.cpp": "f86c030f7104",
"crystal/SOURCES.md": "ff111c6ac112",
"crystal/crystal_stdlib_http/client.cr": "e98fdafdef78",
"crystal/crystal_stdlib_http/client_response.cr": "a138951d32fb",
@@ -9385,10 +9385,10 @@
"cpp/NVDA/inProcess.cpp": "1060cf16e7a2",
"cpp/NVDA/nvdaControllerInternal.cpp": "b0ec1ec03c29",
"cpp/NVDA/storage.cpp": "f510e8cf0884",
- "cpp/godot/editor_node.cpp": "f0e282c9967d",
+ "cpp/godot/editor_node.cpp": "d70f50ad4171",
"cpp/godot/editor_node.h": "429094f2b570",
"cpp/godot/gdscript_vm.cpp": "2d3e21f9e0f5",
- "cpp/godot/main.cpp": "3d82bd9b5ae5",
+ "cpp/godot/main.cpp": "aa9558495fe1",
"cpp/godot/node.cpp": "ee11065be655",
"cpp/godot/node.h": "1e757be8b15b",
"cpp/godot/object.cpp": "f11e8ac91b5c",
@@ -14012,7 +14012,7 @@
},
"Row Counts": {
"Artifacts": 4216,
- "DNA Hits": 56185,
+ "DNA Hits": 56180,
"Directory Groups": 447,
"Functions": 66971,
"Inbound Dependencies": 974,
diff --git a/tests/golden_master_audit/12_scan_output_snapshots/llm_brief.json b/tests/golden_master_audit/12_scan_output_snapshots/llm_brief.json
index 7de48f65b8..aac0eb241d 100644
--- a/tests/golden_master_audit/12_scan_output_snapshots/llm_brief.json
+++ b/tests/golden_master_audit/12_scan_output_snapshots/llm_brief.json
@@ -215,10 +215,10 @@
"| memory | 18409 | 1100 | 8 | `typescript/typescript_compiler/checker.ts` |",
"| cleanup | 4959 | 773 | 2 | `zig/zig/Sema.zig` |",
"| guards | 71410 | 1899 | 23 | `zig/zig/Sema.zig` |",
- "| danger | 31837 | 1786 | 15 | `fortran/wrf/regtest_hwrf.csh` |",
- "| concurrency | 6892 | 661 | 2 | `typescript/playwright/frames.ts` |",
+ "| danger | 31821 | 1785 | 15 | `fortran/wrf/regtest_hwrf.csh` |",
+ "| concurrency | 6889 | 660 | 2 | `typescript/playwright/frames.ts` |",
"| connectivity | 29716 | 1628 | 12 | `typescript/typescript_compiler/types.ts` |",
- "| io | 16807 | 1168 | 6 | `fortran/wrf/regtest.csh` |",
+ "| io | 16814 | 1170 | 6 | `fortran/wrf/regtest.csh` |",
"| crypto | 19 | 11 | 0 | `python/twisted/transport.py` |",
"| ipc | 1754 | 343 | 0 | `cobol/gnucobol/numeric-dump.cob` |",
"| time | 2196 | 302 | 0 | `elixir/elixir_stdlib/calendar_date.ex` |",
@@ -985,7 +985,7 @@
"**Structural Signatures (Net Mitigated Signals):**",
"* *Structure:* Branches & Conditionals `branch: 1764`, Structural Keywords (return/def/void/export) `structural_boundaries: 527`, Calls & Signatures With Arguments `args: 1114`, Function Declarations `func_start: 300`",
"* *Risk/State:* Unsafe Constructs (sprintf/strcpy/void*/any) `safety_bypasses: 2`, State Mutation `state_mutation: 761`, Commented-Out Code `dead_code: 3`, TODO / Stub Markers `planned_debt: 8`, FIXME / HACK Markers `fragile_debt: 7`, Unreferenced Definitions `unreferenced_by_name: 212`",
- "* *Architecture:* Imports & Includes `import: 156`",
+ "* *Architecture:* File & Network I/O `io: 3`, Imports & Includes `import: 156`",
"* *Defense:* Defensive Checks (assert/try/guards) `safety: 1`, Locks & Synchronization `sync_locks: 2`, Immutability (const/readonly/final) `immutability_locks: 322`",
"* *Network Topology:*",
" * `Ecosystem Role:` Pure Consumer (Orchestrator) | `Dependency Blast Radius (PageRank):` 0.257",
@@ -1479,7 +1479,7 @@
"",
"- **`debug_prints`:** 8861 literal sites + 504 sites through wrappers = 9365",
"- **`memory_alloc`:** 3310 literal sites + 11 sites through wrappers = 3321",
- "- **`panics_and_aborts`:** 6589 literal sites + 224 sites through wrappers = 6813",
+ "- **`panics_and_aborts`:** 6573 literal sites + 224 sites through wrappers = 6797",
"",
"- `wrf_error_fatal` (function, debug_prints, primitive): 177 call sites in 9 files -- `fortran/wrf/module_initialize_real.F`",
"- `wrf_error_fatal` (function, panics_and_aborts, primitive): 177 call sites in 9 files -- `fortran/wrf/module_initialize_real.F`",
diff --git a/tests/golden_master_audit/2_global_ecosystem_summary/function_archetype_distribution.json b/tests/golden_master_audit/2_global_ecosystem_summary/function_archetype_distribution.json
index 1d909e5f6e..127ffc0e0c 100644
--- a/tests/golden_master_audit/2_global_ecosystem_summary/function_archetype_distribution.json
+++ b/tests/golden_master_audit/2_global_ecosystem_summary/function_archetype_distribution.json
@@ -7,15 +7,15 @@
"Annotated & Test Methods": "3.3% (2027)",
"C Struct Operations": "0.1% (87)",
"Callbacks & Closures": "2.0% (1246)",
- "Compute Cores": "10.2% (6331)",
+ "Compute Cores": "10.2% (6329)",
"Defensive Guards": "8.6% (5337)",
"Encapsulated Accessors": "4.5% (2805)",
"Generic / Templated Code": "5.7% (3543)",
"I/O & Config Routines": "14.8% (9205)",
"Interface Declarations": "16.1% (10007)",
- "Many-Argument Workhorses": "6.4% (3951)",
+ "Many-Argument Workhorses": "6.4% (3952)",
"Parameter Forwarders": "12.8% (7961)",
- "State Mutators": "8.4% (5248)",
+ "State Mutators": "8.4% (5249)",
"Stateful Encapsulated Methods": "4.1% (2578)",
"Type Conversions": "3.0% (1875)"
}
diff --git a/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/11_scan_db_snapshot/function_archetype.json b/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/11_scan_db_snapshot/function_archetype.json
index 0c1b75f5ea..d4de0c4744 100644
--- a/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/11_scan_db_snapshot/function_archetype.json
+++ b/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/11_scan_db_snapshot/function_archetype.json
@@ -20623,7 +20623,7 @@
"set_convert_old_scene@952": "Parameter Forwarders",
"show_about@836": "Interface Declarations",
"step@1055": "Parameter Forwarders",
- "~EditorProgressBG@1060": "I/O & Config Routines"
+ "~EditorProgressBG@1060": "State Mutators"
},
"cpp/godot/gdscript_vm.cpp": {
"GDScriptFunction::_get_call_error@155": "Many-Argument Workhorses",
@@ -20687,7 +20687,7 @@
"Node::_duplicate@2776": "Many-Argument Workhorses",
"Node::_duplicate_properties@3070": "Many-Argument Workhorses",
"Node::_duplicate_scripts@3053": "Compute Cores",
- "Node::_duplicate_signals@3130": "Compute Cores",
+ "Node::_duplicate_signals@3130": "Many-Argument Workhorses",
"Node::_emit_editor_state_changed@3044": "Interface Declarations",
"Node::_generate_serial_child_name@1604": "Compute Cores",
"Node::_get_child_by_name@1894": "Type Conversions",
@@ -21073,7 +21073,7 @@
"ObjectDB::cleanup@2522": "I/O & Config Routines",
"ObjectDB::debug_objects@2373": "Compute Cores",
"ObjectDB::get_object_count@2437": "Interface Declarations",
- "ObjectDB::remove_instance@2485": "Compute Cores",
+ "ObjectDB::remove_instance@2485": "I/O & Config Routines",
"ObjectDB::setup@2518": "Interface Declarations",
"ObjectGDExtension::create_gdtype@116": "Interface Declarations",
"ObjectGDExtension::destroy_gdtype@123": "Type Conversions",
diff --git a/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/3_architectural_profile/composition_fit_z_score.json b/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/3_architectural_profile/composition_fit_z_score.json
index 5bcb2c9725..12b50e8d10 100644
--- a/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/3_architectural_profile/composition_fit_z_score.json
+++ b/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/3_architectural_profile/composition_fit_z_score.json
@@ -1218,13 +1218,13 @@
"cpp/godot/DONORS.md": 0.0,
"cpp/godot/LICENSE.txt": 0.0,
"cpp/godot/editor_node.cpp": 0.138,
- "cpp/godot/editor_node.h": 1.442,
+ "cpp/godot/editor_node.h": 1.455,
"cpp/godot/gdscript_vm.cpp": 1.343,
"cpp/godot/main.cpp": 0.161,
"cpp/godot/main.h": 1.188,
- "cpp/godot/node.cpp": 0.015,
+ "cpp/godot/node.cpp": -0.005,
"cpp/godot/node.h": 0.636,
- "cpp/godot/object.cpp": -0.192,
+ "cpp/godot/object.cpp": -0.206,
"cpp/godot/object.h": 0.672,
"cpp/godot/rendering_server_default.cpp": 0.265,
"cpp/godot/rendering_server_default.h": 0.093,
diff --git a/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/3_architectural_profile/function_archetype_mix.json b/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/3_architectural_profile/function_archetype_mix.json
index e222569d97..c76426b92a 100644
--- a/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/3_architectural_profile/function_archetype_mix.json
+++ b/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/3_architectural_profile/function_archetype_mix.json
@@ -3918,10 +3918,9 @@
},
"cpp/godot/editor_node.h": {
"Compute Cores": 1,
- "I/O & Config Routines": 1,
"Interface Declarations": 27,
"Parameter Forwarders": 3,
- "State Mutators": 1,
+ "State Mutators": 2,
"Type Conversions": 1
},
"cpp/godot/gdscript_vm.cpp": {
@@ -3938,10 +3937,10 @@
},
"cpp/godot/main.h": {},
"cpp/godot/node.cpp": {
- "Compute Cores": 79,
+ "Compute Cores": 78,
"I/O & Config Routines": 26,
"Interface Declarations": 61,
- "Many-Argument Workhorses": 17,
+ "Many-Argument Workhorses": 18,
"Parameter Forwarders": 47,
"Type Conversions": 6
},
@@ -3955,8 +3954,8 @@
"State Mutators": 3
},
"cpp/godot/object.cpp": {
- "Compute Cores": 44,
- "I/O & Config Routines": 17,
+ "Compute Cores": 43,
+ "I/O & Config Routines": 18,
"Interface Declarations": 22,
"Many-Argument Workhorses": 13,
"Parameter Forwarders": 25,
diff --git a/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/3_architectural_profile/repository_drift_centroid_distance.json b/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/3_architectural_profile/repository_drift_centroid_distance.json
index 52b85d2335..45d10ae878 100644
--- a/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/3_architectural_profile/repository_drift_centroid_distance.json
+++ b/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/3_architectural_profile/repository_drift_centroid_distance.json
@@ -1218,16 +1218,16 @@
"cpp/godot/DONORS.md": 0.0,
"cpp/godot/LICENSE.txt": 0.0,
"cpp/godot/editor_node.cpp": 8.22,
- "cpp/godot/editor_node.h": 5.968,
+ "cpp/godot/editor_node.h": 6.066,
"cpp/godot/gdscript_vm.cpp": 9.307,
- "cpp/godot/main.cpp": 6.753,
+ "cpp/godot/main.cpp": 6.756,
"cpp/godot/main.h": 4.455,
- "cpp/godot/node.cpp": 8.24,
+ "cpp/godot/node.cpp": 8.238,
"cpp/godot/node.h": 7.875,
- "cpp/godot/object.cpp": 6.245,
+ "cpp/godot/object.cpp": 6.257,
"cpp/godot/object.h": 7.375,
"cpp/godot/rendering_server_default.cpp": 6.859,
- "cpp/godot/rendering_server_default.h": 7.584,
+ "cpp/godot/rendering_server_default.h": 7.586,
"cpp/godot/variant.cpp": 7.305,
"cpp/godot/variant.h": 8.476
},
@@ -1246,12 +1246,12 @@
"cpp/powertoys/ImageResizerExt.cpp": 4.762,
"cpp/powertoys/centralized_kb_hook.cpp": 6.316,
"cpp/powertoys/logger.cpp": 6.046,
- "cpp/powertoys/main.cpp": 6.945,
+ "cpp/powertoys/main.cpp": 6.953,
"cpp/powertoys/powertoy_module.h": 5.472
},
"cpp/serenity_ak_siphash_cpu": {
"cpp/serenity_ak_siphash_cpu/CPUFeatures.cpp": 7.227,
- "cpp/serenity_ak_siphash_cpu/SipHash.cpp": 8.057
+ "cpp/serenity_ak_siphash_cpu/SipHash.cpp": 7.829
},
"crystal": {
"crystal/SOURCES.md": 0.0
diff --git a/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/3_architectural_profile/repository_fingerprint.json b/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/3_architectural_profile/repository_fingerprint.json
index c6b50cdb1b..afa7873c17 100644
--- a/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/3_architectural_profile/repository_fingerprint.json
+++ b/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/3_architectural_profile/repository_fingerprint.json
@@ -20693,44 +20693,44 @@
"cpp/godot/DONORS.md": {},
"cpp/godot/LICENSE.txt": {},
"cpp/godot/editor_node.cpp": {
- "file_cluster_0": 16.579,
+ "file_cluster_0": 16.58,
"file_cluster_1": 90.921,
"file_cluster_10": 16.156,
"file_cluster_11": 14.972,
"file_cluster_12": 15.111,
- "file_cluster_13": 16.164,
- "file_cluster_14": 24.689,
+ "file_cluster_13": 16.168,
+ "file_cluster_14": 24.687,
"file_cluster_15": 13.732,
- "file_cluster_16": 14.456,
+ "file_cluster_16": 14.457,
"file_cluster_17": 16.051,
"file_cluster_2": 15.926,
"file_cluster_3": 43.806,
"file_cluster_4": 8.22,
- "file_cluster_5": 18.341,
+ "file_cluster_5": 18.343,
"file_cluster_6": 11.489,
- "file_cluster_7": 18.968,
+ "file_cluster_7": 18.969,
"file_cluster_8": 22.721,
- "file_cluster_9": 14.929
+ "file_cluster_9": 14.93
},
"cpp/godot/editor_node.h": {
- "file_cluster_0": 10.042,
- "file_cluster_1": 100.779,
- "file_cluster_10": 9.348,
- "file_cluster_11": 5.968,
- "file_cluster_12": 8.915,
- "file_cluster_13": 8.8,
- "file_cluster_14": 20.618,
- "file_cluster_15": 6.677,
- "file_cluster_16": 8.207,
- "file_cluster_17": 8.147,
- "file_cluster_2": 8.789,
- "file_cluster_3": 53.566,
- "file_cluster_4": 11.528,
- "file_cluster_5": 13.105,
- "file_cluster_6": 19.609,
- "file_cluster_7": 13.169,
- "file_cluster_8": 32.118,
- "file_cluster_9": 12.453
+ "file_cluster_0": 10.027,
+ "file_cluster_1": 100.785,
+ "file_cluster_10": 9.367,
+ "file_cluster_11": 6.066,
+ "file_cluster_12": 8.993,
+ "file_cluster_13": 8.787,
+ "file_cluster_14": 20.694,
+ "file_cluster_15": 6.761,
+ "file_cluster_16": 8.255,
+ "file_cluster_17": 8.144,
+ "file_cluster_2": 8.876,
+ "file_cluster_3": 53.579,
+ "file_cluster_4": 11.603,
+ "file_cluster_5": 13.103,
+ "file_cluster_6": 19.652,
+ "file_cluster_7": 13.19,
+ "file_cluster_8": 32.142,
+ "file_cluster_9": 12.513
},
"cpp/godot/gdscript_vm.cpp": {
"file_cluster_0": 39.87,
@@ -20753,24 +20753,24 @@
"file_cluster_9": 38.071
},
"cpp/godot/main.cpp": {
- "file_cluster_0": 22.822,
+ "file_cluster_0": 22.823,
"file_cluster_1": 80.949,
- "file_cluster_10": 22.454,
- "file_cluster_11": 21.657,
- "file_cluster_12": 21.813,
- "file_cluster_13": 22.474,
- "file_cluster_14": 29.157,
+ "file_cluster_10": 22.453,
+ "file_cluster_11": 21.658,
+ "file_cluster_12": 21.814,
+ "file_cluster_13": 22.473,
+ "file_cluster_14": 29.156,
"file_cluster_15": 20.962,
"file_cluster_16": 21.316,
- "file_cluster_17": 22.223,
- "file_cluster_2": 22.198,
+ "file_cluster_17": 22.222,
+ "file_cluster_2": 22.197,
"file_cluster_3": 33.731,
- "file_cluster_4": 12.893,
- "file_cluster_5": 24.175,
- "file_cluster_6": 6.753,
+ "file_cluster_4": 12.895,
+ "file_cluster_5": 24.177,
+ "file_cluster_6": 6.756,
"file_cluster_7": 24.539,
- "file_cluster_8": 12.903,
- "file_cluster_9": 21.292
+ "file_cluster_8": 12.904,
+ "file_cluster_9": 21.293
},
"cpp/godot/main.h": {
"file_cluster_0": 7.545,
@@ -20793,24 +20793,24 @@
"file_cluster_9": 11.442
},
"cpp/godot/node.cpp": {
- "file_cluster_0": 13.166,
+ "file_cluster_0": 13.17,
"file_cluster_1": 95.99,
- "file_cluster_10": 12.647,
- "file_cluster_11": 10.88,
- "file_cluster_12": 11.582,
- "file_cluster_13": 12.563,
- "file_cluster_14": 22.567,
- "file_cluster_15": 9.564,
- "file_cluster_16": 10.826,
- "file_cluster_17": 12.315,
- "file_cluster_2": 12.307,
- "file_cluster_3": 48.767,
- "file_cluster_4": 8.24,
- "file_cluster_5": 15.484,
- "file_cluster_6": 15.132,
- "file_cluster_7": 16.033,
- "file_cluster_8": 27.382,
- "file_cluster_9": 12.709
+ "file_cluster_10": 12.652,
+ "file_cluster_11": 10.886,
+ "file_cluster_12": 11.585,
+ "file_cluster_13": 12.568,
+ "file_cluster_14": 22.569,
+ "file_cluster_15": 9.569,
+ "file_cluster_16": 10.829,
+ "file_cluster_17": 12.32,
+ "file_cluster_2": 12.311,
+ "file_cluster_3": 48.766,
+ "file_cluster_4": 8.238,
+ "file_cluster_5": 15.487,
+ "file_cluster_6": 15.13,
+ "file_cluster_7": 16.037,
+ "file_cluster_8": 27.381,
+ "file_cluster_9": 12.71
},
"cpp/godot/node.h": {
"file_cluster_0": 9.563,
@@ -20833,24 +20833,24 @@
"file_cluster_9": 12.816
},
"cpp/godot/object.cpp": {
- "file_cluster_0": 12.659,
- "file_cluster_1": 94.855,
- "file_cluster_10": 12.058,
- "file_cluster_11": 10.399,
- "file_cluster_12": 9.709,
- "file_cluster_13": 11.939,
- "file_cluster_14": 19.951,
- "file_cluster_15": 8.922,
- "file_cluster_16": 10.25,
- "file_cluster_17": 11.568,
- "file_cluster_2": 11.667,
- "file_cluster_3": 47.49,
- "file_cluster_4": 6.245,
- "file_cluster_5": 13.592,
- "file_cluster_6": 13.297,
- "file_cluster_7": 13.696,
- "file_cluster_8": 25.893,
- "file_cluster_9": 11.493
+ "file_cluster_0": 12.664,
+ "file_cluster_1": 94.856,
+ "file_cluster_10": 12.062,
+ "file_cluster_11": 10.404,
+ "file_cluster_12": 9.715,
+ "file_cluster_13": 11.944,
+ "file_cluster_14": 19.953,
+ "file_cluster_15": 8.93,
+ "file_cluster_16": 10.257,
+ "file_cluster_17": 11.573,
+ "file_cluster_2": 11.67,
+ "file_cluster_3": 47.491,
+ "file_cluster_4": 6.257,
+ "file_cluster_5": 13.598,
+ "file_cluster_6": 13.303,
+ "file_cluster_7": 13.701,
+ "file_cluster_8": 25.896,
+ "file_cluster_9": 11.5
},
"cpp/godot/object.h": {
"file_cluster_0": 10.996,
@@ -20873,44 +20873,44 @@
"file_cluster_9": 12.716
},
"cpp/godot/rendering_server_default.cpp": {
- "file_cluster_0": 11.486,
+ "file_cluster_0": 11.487,
"file_cluster_1": 95.034,
- "file_cluster_10": 10.753,
- "file_cluster_11": 8.518,
- "file_cluster_12": 10.283,
- "file_cluster_13": 10.52,
- "file_cluster_14": 21.699,
- "file_cluster_15": 7.672,
- "file_cluster_16": 9.433,
- "file_cluster_17": 10.303,
- "file_cluster_2": 10.213,
- "file_cluster_3": 47.738,
+ "file_cluster_10": 10.75,
+ "file_cluster_11": 8.52,
+ "file_cluster_12": 10.288,
+ "file_cluster_13": 10.516,
+ "file_cluster_14": 21.707,
+ "file_cluster_15": 7.67,
+ "file_cluster_16": 9.432,
+ "file_cluster_17": 10.294,
+ "file_cluster_2": 10.206,
+ "file_cluster_3": 47.739,
"file_cluster_4": 6.859,
- "file_cluster_5": 14.488,
- "file_cluster_6": 13.874,
- "file_cluster_7": 14.704,
- "file_cluster_8": 26.246,
- "file_cluster_9": 12.207
+ "file_cluster_5": 14.495,
+ "file_cluster_6": 13.875,
+ "file_cluster_7": 14.705,
+ "file_cluster_8": 26.247,
+ "file_cluster_9": 12.21
},
"cpp/godot/rendering_server_default.h": {
- "file_cluster_0": 10.608,
- "file_cluster_1": 100.573,
- "file_cluster_10": 9.792,
- "file_cluster_11": 7.65,
- "file_cluster_12": 8.705,
- "file_cluster_13": 9.556,
- "file_cluster_14": 19.955,
- "file_cluster_15": 7.584,
- "file_cluster_16": 8.466,
- "file_cluster_17": 7.76,
+ "file_cluster_0": 10.61,
+ "file_cluster_1": 100.574,
+ "file_cluster_10": 9.794,
+ "file_cluster_11": 7.653,
+ "file_cluster_12": 8.708,
+ "file_cluster_13": 9.557,
+ "file_cluster_14": 19.958,
+ "file_cluster_15": 7.586,
+ "file_cluster_16": 8.468,
+ "file_cluster_17": 7.759,
"file_cluster_2": 9.126,
- "file_cluster_3": 53.288,
- "file_cluster_4": 11.383,
- "file_cluster_5": 12.809,
- "file_cluster_6": 19.26,
- "file_cluster_7": 12.695,
+ "file_cluster_3": 53.289,
+ "file_cluster_4": 11.385,
+ "file_cluster_5": 12.813,
+ "file_cluster_6": 19.261,
+ "file_cluster_7": 12.696,
"file_cluster_8": 31.79,
- "file_cluster_9": 11.155
+ "file_cluster_9": 11.157
},
"cpp/godot/variant.cpp": {
"file_cluster_0": 14.822,
@@ -21197,24 +21197,24 @@
"file_cluster_9": 9.03
},
"cpp/powertoys/main.cpp": {
- "file_cluster_0": 16.066,
+ "file_cluster_0": 16.084,
"file_cluster_1": 88.941,
- "file_cluster_10": 15.275,
- "file_cluster_11": 14.534,
- "file_cluster_12": 14.318,
- "file_cluster_13": 15.51,
+ "file_cluster_10": 15.284,
+ "file_cluster_11": 14.541,
+ "file_cluster_12": 14.329,
+ "file_cluster_13": 15.562,
"file_cluster_14": 23.101,
- "file_cluster_15": 13.925,
- "file_cluster_16": 14.191,
- "file_cluster_17": 15.255,
+ "file_cluster_15": 13.928,
+ "file_cluster_16": 14.194,
+ "file_cluster_17": 15.254,
"file_cluster_2": 15.247,
- "file_cluster_3": 41.556,
- "file_cluster_4": 6.945,
- "file_cluster_5": 17.162,
- "file_cluster_6": 8.361,
- "file_cluster_7": 17.464,
- "file_cluster_8": 20.064,
- "file_cluster_9": 13.003
+ "file_cluster_3": 41.557,
+ "file_cluster_4": 6.953,
+ "file_cluster_5": 17.183,
+ "file_cluster_6": 8.366,
+ "file_cluster_7": 17.479,
+ "file_cluster_8": 20.066,
+ "file_cluster_9": 13.01
},
"cpp/powertoys/powertoy_module.h": {
"file_cluster_0": 9.616,
@@ -21259,24 +21259,24 @@
"file_cluster_9": 7.59
},
"cpp/serenity_ak_siphash_cpu/SipHash.cpp": {
- "file_cluster_0": 13.933,
- "file_cluster_1": 89.537,
- "file_cluster_10": 14.987,
- "file_cluster_11": 13.838,
- "file_cluster_12": 14.483,
- "file_cluster_13": 14.344,
- "file_cluster_14": 24.05,
- "file_cluster_15": 13.227,
- "file_cluster_16": 14.029,
- "file_cluster_17": 14.589,
- "file_cluster_2": 14.617,
- "file_cluster_3": 42.388,
- "file_cluster_4": 8.057,
- "file_cluster_5": 16.44,
- "file_cluster_6": 10.277,
- "file_cluster_7": 17.935,
- "file_cluster_8": 21.264,
- "file_cluster_9": 15.784
+ "file_cluster_0": 13.965,
+ "file_cluster_1": 89.517,
+ "file_cluster_10": 14.924,
+ "file_cluster_11": 13.744,
+ "file_cluster_12": 14.431,
+ "file_cluster_13": 14.714,
+ "file_cluster_14": 23.969,
+ "file_cluster_15": 13.078,
+ "file_cluster_16": 13.892,
+ "file_cluster_17": 14.423,
+ "file_cluster_2": 14.466,
+ "file_cluster_3": 42.345,
+ "file_cluster_4": 7.829,
+ "file_cluster_5": 16.511,
+ "file_cluster_6": 10.09,
+ "file_cluster_7": 17.947,
+ "file_cluster_8": 21.177,
+ "file_cluster_9": 15.69
}
},
"crystal": {
diff --git a/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/bitwise_operations.json b/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/bitwise_operations.json
index 6cda55ede5..a78940c0a0 100644
--- a/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/bitwise_operations.json
+++ b/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/bitwise_operations.json
@@ -1208,31 +1208,31 @@
"cpp/NVDA/core.py": 0,
"cpp/NVDA/ensureuv.ps1": 0,
"cpp/NVDA/espeak.py": 0,
- "cpp/NVDA/inProcess.cpp": 0,
+ "cpp/NVDA/inProcess.cpp": 1,
"cpp/NVDA/nvdaControllerInternal.cpp": 0,
"cpp/NVDA/readme.md": 0,
- "cpp/NVDA/storage.cpp": 2
+ "cpp/NVDA/storage.cpp": 0
},
"cpp/godot": {
"cpp/godot/AUTHORS.md": 0,
"cpp/godot/DONORS.md": 0,
"cpp/godot/LICENSE.txt": 0,
- "cpp/godot/editor_node.cpp": 9,
- "cpp/godot/editor_node.h": 3,
- "cpp/godot/gdscript_vm.cpp": 3,
- "cpp/godot/main.cpp": 14,
+ "cpp/godot/editor_node.cpp": 54,
+ "cpp/godot/editor_node.h": 0,
+ "cpp/godot/gdscript_vm.cpp": 10,
+ "cpp/godot/main.cpp": 16,
"cpp/godot/main.h": 0,
- "cpp/godot/node.cpp": 1,
- "cpp/godot/node.h": 1,
- "cpp/godot/object.cpp": 12,
+ "cpp/godot/node.cpp": 22,
+ "cpp/godot/node.h": 5,
+ "cpp/godot/object.cpp": 28,
"cpp/godot/object.h": 198,
- "cpp/godot/rendering_server_default.cpp": 1,
+ "cpp/godot/rendering_server_default.cpp": 0,
"cpp/godot/rendering_server_default.h": 1,
- "cpp/godot/variant.cpp": 14,
+ "cpp/godot/variant.cpp": 4,
"cpp/godot/variant.h": 2
},
"cpp/mlir": {
- "cpp/mlir/flatbuffer_export.cc": 4,
+ "cpp/mlir/flatbuffer_export.cc": 5,
"cpp/mlir/glob_lit_test.bzl": 0,
"cpp/mlir/mlir_bridge_rollout_policy.cc": 0,
"cpp/mlir/mlir_graph_optimization_pass.cc": 0,
@@ -1241,17 +1241,17 @@
"cpp/mlir/tf_tfl_translate.cc": 0
},
"cpp/powertoys": {
- "cpp/powertoys/FancyZones.cpp": 0,
+ "cpp/powertoys/FancyZones.cpp": 9,
"cpp/powertoys/FancyZones.h": 0,
"cpp/powertoys/ImageResizerExt.cpp": 0,
- "cpp/powertoys/centralized_kb_hook.cpp": 1,
- "cpp/powertoys/logger.cpp": 0,
- "cpp/powertoys/main.cpp": 0,
+ "cpp/powertoys/centralized_kb_hook.cpp": 8,
+ "cpp/powertoys/logger.cpp": 1,
+ "cpp/powertoys/main.cpp": 5,
"cpp/powertoys/powertoy_module.h": 0
},
"cpp/serenity_ak_siphash_cpu": {
- "cpp/serenity_ak_siphash_cpu/CPUFeatures.cpp": 3,
- "cpp/serenity_ak_siphash_cpu/SipHash.cpp": 30
+ "cpp/serenity_ak_siphash_cpu/CPUFeatures.cpp": 9,
+ "cpp/serenity_ak_siphash_cpu/SipHash.cpp": 39
},
"crystal": {
"crystal/SOURCES.md": 0
diff --git a/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/decorators_annotations_attributes.json b/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/decorators_annotations_attributes.json
index 576c0ccddf..447b36bd8e 100644
--- a/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/decorators_annotations_attributes.json
+++ b/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/decorators_annotations_attributes.json
@@ -1217,7 +1217,7 @@
"cpp/godot/AUTHORS.md": 0,
"cpp/godot/DONORS.md": 0,
"cpp/godot/LICENSE.txt": 0,
- "cpp/godot/editor_node.cpp": 1,
+ "cpp/godot/editor_node.cpp": 0,
"cpp/godot/editor_node.h": 0,
"cpp/godot/gdscript_vm.cpp": 0,
"cpp/godot/main.cpp": 0,
@@ -1246,12 +1246,12 @@
"cpp/powertoys/ImageResizerExt.cpp": 0,
"cpp/powertoys/centralized_kb_hook.cpp": 0,
"cpp/powertoys/logger.cpp": 0,
- "cpp/powertoys/main.cpp": 1,
+ "cpp/powertoys/main.cpp": 0,
"cpp/powertoys/powertoy_module.h": 0
},
"cpp/serenity_ak_siphash_cpu": {
"cpp/serenity_ak_siphash_cpu/CPUFeatures.cpp": 2,
- "cpp/serenity_ak_siphash_cpu/SipHash.cpp": 6
+ "cpp/serenity_ak_siphash_cpu/SipHash.cpp": 0
},
"crystal": {
"crystal/SOURCES.md": 0
diff --git a/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/error_exits_raise_throw_abort.json b/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/error_exits_raise_throw_abort.json
index 7c0d231345..98d9294e40 100644
--- a/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/error_exits_raise_throw_abort.json
+++ b/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/error_exits_raise_throw_abort.json
@@ -1217,17 +1217,17 @@
"cpp/godot/AUTHORS.md": 0,
"cpp/godot/DONORS.md": 0,
"cpp/godot/LICENSE.txt": 0,
- "cpp/godot/editor_node.cpp": 1,
+ "cpp/godot/editor_node.cpp": 0,
"cpp/godot/editor_node.h": 0,
"cpp/godot/gdscript_vm.cpp": 0,
- "cpp/godot/main.cpp": 11,
+ "cpp/godot/main.cpp": 0,
"cpp/godot/main.h": 0,
"cpp/godot/node.cpp": 0,
"cpp/godot/node.h": 0,
- "cpp/godot/object.cpp": 1,
+ "cpp/godot/object.cpp": 0,
"cpp/godot/object.h": 0,
- "cpp/godot/rendering_server_default.cpp": 2,
- "cpp/godot/rendering_server_default.h": 1,
+ "cpp/godot/rendering_server_default.cpp": 0,
+ "cpp/godot/rendering_server_default.h": 0,
"cpp/godot/variant.cpp": 0,
"cpp/godot/variant.h": 0
},
diff --git a/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/file_network_i_o.json b/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/file_network_i_o.json
index 88edd2aa2b..d53edb0666 100644
--- a/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/file_network_i_o.json
+++ b/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/file_network_i_o.json
@@ -1217,10 +1217,10 @@
"cpp/godot/AUTHORS.md": 0,
"cpp/godot/DONORS.md": 0,
"cpp/godot/LICENSE.txt": 0,
- "cpp/godot/editor_node.cpp": 0,
+ "cpp/godot/editor_node.cpp": 3,
"cpp/godot/editor_node.h": 0,
"cpp/godot/gdscript_vm.cpp": 0,
- "cpp/godot/main.cpp": 0,
+ "cpp/godot/main.cpp": 4,
"cpp/godot/main.h": 0,
"cpp/godot/node.cpp": 0,
"cpp/godot/node.h": 0,
diff --git a/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/sleeps_timed_waits.json b/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/sleeps_timed_waits.json
index 0b3e617ed8..96abcbbe14 100644
--- a/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/sleeps_timed_waits.json
+++ b/tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/sleeps_timed_waits.json
@@ -1220,7 +1220,7 @@
"cpp/godot/editor_node.cpp": 0,
"cpp/godot/editor_node.h": 0,
"cpp/godot/gdscript_vm.cpp": 0,
- "cpp/godot/main.cpp": 4,
+ "cpp/godot/main.cpp": 0,
"cpp/godot/main.h": 0,
"cpp/godot/node.cpp": 0,
"cpp/godot/node.h": 0,
@@ -1246,7 +1246,7 @@
"cpp/powertoys/ImageResizerExt.cpp": 0,
"cpp/powertoys/centralized_kb_hook.cpp": 0,
"cpp/powertoys/logger.cpp": 0,
- "cpp/powertoys/main.cpp": 0,
+ "cpp/powertoys/main.cpp": 1,
"cpp/powertoys/powertoy_module.h": 0
},
"cpp/serenity_ak_siphash_cpu": {
diff --git a/tests/golden_master_zero_dep_audit/12_scan_output_snapshots/gpu_json.json b/tests/golden_master_zero_dep_audit/12_scan_output_snapshots/gpu_json.json
index b5c80513df..459e5e416f 100644
--- a/tests/golden_master_zero_dep_audit/12_scan_output_snapshots/gpu_json.json
+++ b/tests/golden_master_zero_dep_audit/12_scan_output_snapshots/gpu_json.json
@@ -5,14 +5,14 @@
],
"value": {
"Galaxy Column Digests": {
- "a_dists": "42a9853fd45e",
+ "a_dists": "12e8bd9d2ebe",
"a_ids": "529e8956061a",
"author_distribution": "5acef44b54c3",
"c_ids": "2ef7a64c140f",
"cog_raw": "9a205530c984",
"d_locs": "75aea44b2cb6",
"edges": "78d79f2f7a56",
- "hits_flat": "5aa1db72a801",
+ "hits_flat": "d9c56b1ec43d",
"imports": "fde8a141807a",
"lang_ids": "c269e521d16c",
"locs": "d21eb7150ea8",
@@ -23,7 +23,7 @@
"ownership_entropy": "5acef44b54c3",
"raw_churn_freq": "5acef44b54c3",
"risks_flat": "367e2ee71797",
- "satellite_data_flat": "a812e4e449dc",
+ "satellite_data_flat": "56caa0f640b8",
"tel_aid": "a8488426a414",
"tel_cfr": "9db83eebdefa",
"tel_lt": "2e98c9899324",
@@ -1102,43 +1102,43 @@
"cpp/NVDA/core.py": "c220477ed52c",
"cpp/NVDA/ensureuv.ps1": "d8194a018c69",
"cpp/NVDA/espeak.py": "ed134a36157d",
- "cpp/NVDA/inProcess.cpp": "b37573186e8a",
+ "cpp/NVDA/inProcess.cpp": "5d0fc9b8578d",
"cpp/NVDA/nvdaControllerInternal.cpp": "73eac98405ba",
"cpp/NVDA/readme.md": "3bfd300aab28",
- "cpp/NVDA/storage.cpp": "cc5b4082a476",
+ "cpp/NVDA/storage.cpp": "0e75a8e27abd",
"cpp/SOURCES.md": "cab6b5b51762",
"cpp/godot/AUTHORS.md": "fed82ebf95a7",
"cpp/godot/DONORS.md": "4936442ff39e",
"cpp/godot/LICENSE.txt": "8678a17bf7e5",
- "cpp/godot/editor_node.cpp": "a34d456bad38",
- "cpp/godot/editor_node.h": "ce688e189b0f",
- "cpp/godot/gdscript_vm.cpp": "530a6ce8e98d",
- "cpp/godot/main.cpp": "6551413ded1b",
+ "cpp/godot/editor_node.cpp": "f069e8a05c08",
+ "cpp/godot/editor_node.h": "352675883bf2",
+ "cpp/godot/gdscript_vm.cpp": "5a7d96647dfa",
+ "cpp/godot/main.cpp": "747003004e72",
"cpp/godot/main.h": "82b74bc09ff4",
- "cpp/godot/node.cpp": "dc069b9b1d2a",
- "cpp/godot/node.h": "734c5484c576",
- "cpp/godot/object.cpp": "7371742d0ca7",
+ "cpp/godot/node.cpp": "7664b08d9ec9",
+ "cpp/godot/node.h": "a026383e246b",
+ "cpp/godot/object.cpp": "6ee3450bc866",
"cpp/godot/object.h": "ab08572ba5c3",
- "cpp/godot/rendering_server_default.cpp": "2cf93bb673e6",
- "cpp/godot/rendering_server_default.h": "cada6622b6e9",
- "cpp/godot/variant.cpp": "314ba53b3577",
+ "cpp/godot/rendering_server_default.cpp": "6f1256a803e0",
+ "cpp/godot/rendering_server_default.h": "ca8fbc03a25d",
+ "cpp/godot/variant.cpp": "7d14d55ea41c",
"cpp/godot/variant.h": "b6983aac9ea8",
- "cpp/mlir/flatbuffer_export.cc": "f2875f135216",
+ "cpp/mlir/flatbuffer_export.cc": "5a9bcb8413f8",
"cpp/mlir/glob_lit_test.bzl": "576b8dafeb58",
"cpp/mlir/mlir_bridge_rollout_policy.cc": "507db62cbb06",
"cpp/mlir/mlir_graph_optimization_pass.cc": "c52d48de7123",
"cpp/mlir/stablehlo.cc": "a2c8cdd47a91",
"cpp/mlir/tf_mlir_opt_main.cc": "a47876e721cb",
"cpp/mlir/tf_tfl_translate.cc": "bb5e0a36252a",
- "cpp/powertoys/FancyZones.cpp": "c1ee92d59ec1",
+ "cpp/powertoys/FancyZones.cpp": "c45a7017b8e8",
"cpp/powertoys/FancyZones.h": "5c54861d2892",
"cpp/powertoys/ImageResizerExt.cpp": "d56f18d98cdc",
- "cpp/powertoys/centralized_kb_hook.cpp": "a04ad95efa9d",
- "cpp/powertoys/logger.cpp": "21599db58544",
- "cpp/powertoys/main.cpp": "0246f2bebd92",
+ "cpp/powertoys/centralized_kb_hook.cpp": "5142b9c37974",
+ "cpp/powertoys/logger.cpp": "9aa6755c346e",
+ "cpp/powertoys/main.cpp": "8c73892ce84a",
"cpp/powertoys/powertoy_module.h": "95564d5a6816",
- "cpp/serenity_ak_siphash_cpu/CPUFeatures.cpp": "ce05ea28e10a",
- "cpp/serenity_ak_siphash_cpu/SipHash.cpp": "590b2876178e",
+ "cpp/serenity_ak_siphash_cpu/CPUFeatures.cpp": "4972c2a21291",
+ "cpp/serenity_ak_siphash_cpu/SipHash.cpp": "26ee509262bf",
"crystal/SOURCES.md": "e1b6659f1274",
"crystal/crystal_stdlib_http/client.cr": "dc9da6f43dc3",
"crystal/crystal_stdlib_http/client_response.cr": "0103970bcc0f",
@@ -4252,7 +4252,7 @@
"Galaxy Row Count": 4216,
"Global Summary": {
"File Composition Distribution": "bbf1cf35960f",
- "Function Archetype Distribution": "56f0cb3454ad",
+ "Function Archetype Distribution": "167781f29513",
"Global Architectural Fingerprint": "bcbbf9770137",
"Repository Composition Archetype": "0108c50af9ef",
"Repository Composition Fit (Z-Score)": "8aed642bf511",
diff --git a/tests/golden_master_zero_dep_audit/12_scan_output_snapshots/graph_sqlite.json b/tests/golden_master_zero_dep_audit/12_scan_output_snapshots/graph_sqlite.json
index 19a3a30e34..aee5ef8c75 100644
--- a/tests/golden_master_zero_dep_audit/12_scan_output_snapshots/graph_sqlite.json
+++ b/tests/golden_master_zero_dep_audit/12_scan_output_snapshots/graph_sqlite.json
@@ -1084,16 +1084,16 @@
"cpp/godot/DONORS.md": "41a3f0a28c1b",
"cpp/godot/LICENSE.txt": "af052de44287",
"cpp/godot/editor_node.cpp": "cdb0bf2b4565",
- "cpp/godot/editor_node.h": "3eab84eb8be5",
+ "cpp/godot/editor_node.h": "1e4ee22295aa",
"cpp/godot/gdscript_vm.cpp": "4a2347204f5f",
- "cpp/godot/main.cpp": "b6a7206fe2ba",
+ "cpp/godot/main.cpp": "797aaa9deea4",
"cpp/godot/main.h": "03388075b4f7",
- "cpp/godot/node.cpp": "8ff0c718d9e6",
+ "cpp/godot/node.cpp": "e476f9dd2bf9",
"cpp/godot/node.h": "ec13473fd433",
- "cpp/godot/object.cpp": "41b966f4ab04",
+ "cpp/godot/object.cpp": "829beb02ea21",
"cpp/godot/object.h": "6ee7edb71568",
"cpp/godot/rendering_server_default.cpp": "5e9173a2043f",
- "cpp/godot/rendering_server_default.h": "abe4e741c817",
+ "cpp/godot/rendering_server_default.h": "356d30fc7f97",
"cpp/godot/variant.cpp": "f34f67f015b2",
"cpp/godot/variant.h": "b1642febcf22",
"cpp/mlir/flatbuffer_export.cc": "0d7007dcff2a",
@@ -1108,10 +1108,10 @@
"cpp/powertoys/ImageResizerExt.cpp": "4e2e6e3e8269",
"cpp/powertoys/centralized_kb_hook.cpp": "9578ab05c1bf",
"cpp/powertoys/logger.cpp": "f2824ce8be2a",
- "cpp/powertoys/main.cpp": "6dc403875144",
+ "cpp/powertoys/main.cpp": "f08a66b00a12",
"cpp/powertoys/powertoy_module.h": "7dc54e3b120d",
"cpp/serenity_ak_siphash_cpu/CPUFeatures.cpp": "0a9f5554696a",
- "cpp/serenity_ak_siphash_cpu/SipHash.cpp": "83a14808337e",
+ "cpp/serenity_ak_siphash_cpu/SipHash.cpp": "65747d263119",
"crystal/SOURCES.md": "076755951ae9",
"crystal/crystal_stdlib_http/client.cr": "109a6d68cca1",
"crystal/crystal_stdlib_http/client_response.cr": "4bd570cd39fa",
@@ -5251,42 +5251,42 @@
"cpp/NVDA/core.py": "817e26851e57",
"cpp/NVDA/ensureuv.ps1": "18b8302a5efc",
"cpp/NVDA/espeak.py": "4760336ff661",
- "cpp/NVDA/inProcess.cpp": "bb070789b69f",
+ "cpp/NVDA/inProcess.cpp": "b4692b186f14",
"cpp/NVDA/nvdaControllerInternal.cpp": "650dee8a418b",
"cpp/NVDA/readme.md": "98abc8712a96",
- "cpp/NVDA/storage.cpp": "28c36774156a",
+ "cpp/NVDA/storage.cpp": "2a634a911145",
"cpp/SOURCES.md": "ff111c6ac112",
"cpp/godot/AUTHORS.md": "fde39d0f154e",
"cpp/godot/DONORS.md": "8bc0b9ba827e",
- "cpp/godot/editor_node.cpp": "a692a35f8b40",
- "cpp/godot/editor_node.h": "1d79cc14db22",
- "cpp/godot/gdscript_vm.cpp": "2a84d70b4f5a",
- "cpp/godot/main.cpp": "b3e4063e4df1",
+ "cpp/godot/editor_node.cpp": "b2dd2aed97d4",
+ "cpp/godot/editor_node.h": "bae87d0c27db",
+ "cpp/godot/gdscript_vm.cpp": "abfa7bd804ab",
+ "cpp/godot/main.cpp": "e1f33f739859",
"cpp/godot/main.h": "9c6f0f37de74",
- "cpp/godot/node.cpp": "361c02be0c79",
- "cpp/godot/node.h": "cbf9a4748648",
- "cpp/godot/object.cpp": "d4b47909d480",
+ "cpp/godot/node.cpp": "a69f36e262a8",
+ "cpp/godot/node.h": "e9ea44e40b03",
+ "cpp/godot/object.cpp": "42f20080e46d",
"cpp/godot/object.h": "b44fc5c635e5",
- "cpp/godot/rendering_server_default.cpp": "2a4748dd46e2",
- "cpp/godot/rendering_server_default.h": "27e5be7eac8b",
- "cpp/godot/variant.cpp": "5722188ed6e5",
+ "cpp/godot/rendering_server_default.cpp": "06d8e23a92bd",
+ "cpp/godot/rendering_server_default.h": "2efd777042e4",
+ "cpp/godot/variant.cpp": "727fa82f0169",
"cpp/godot/variant.h": "a934de32bc0a",
- "cpp/mlir/flatbuffer_export.cc": "1103511b814a",
+ "cpp/mlir/flatbuffer_export.cc": "bad614c069d6",
"cpp/mlir/glob_lit_test.bzl": "d128ab5e2b35",
"cpp/mlir/mlir_bridge_rollout_policy.cc": "1b34c9172971",
"cpp/mlir/mlir_graph_optimization_pass.cc": "3ef6db1bcecc",
"cpp/mlir/stablehlo.cc": "21bd05b03eb9",
"cpp/mlir/tf_mlir_opt_main.cc": "302c2434d925",
"cpp/mlir/tf_tfl_translate.cc": "6a78bc6242a5",
- "cpp/powertoys/FancyZones.cpp": "18fea5da0623",
+ "cpp/powertoys/FancyZones.cpp": "40376dc9f89f",
"cpp/powertoys/FancyZones.h": "2f9e57121d48",
"cpp/powertoys/ImageResizerExt.cpp": "39b2003a56e3",
- "cpp/powertoys/centralized_kb_hook.cpp": "21944bbdb6b3",
- "cpp/powertoys/logger.cpp": "ea7d39dcabfb",
- "cpp/powertoys/main.cpp": "fbd2bf693b41",
+ "cpp/powertoys/centralized_kb_hook.cpp": "cf499e5e31f6",
+ "cpp/powertoys/logger.cpp": "54249eba534d",
+ "cpp/powertoys/main.cpp": "c2c8f9c87173",
"cpp/powertoys/powertoy_module.h": "73dfaaead6c2",
- "cpp/serenity_ak_siphash_cpu/CPUFeatures.cpp": "d0b66f3a9912",
- "cpp/serenity_ak_siphash_cpu/SipHash.cpp": "7e05c44705ce",
+ "cpp/serenity_ak_siphash_cpu/CPUFeatures.cpp": "b9b13ac1ac51",
+ "cpp/serenity_ak_siphash_cpu/SipHash.cpp": "f86c030f7104",
"crystal/SOURCES.md": "ff111c6ac112",
"crystal/crystal_stdlib_http/client.cr": "e98fdafdef78",
"crystal/crystal_stdlib_http/client_response.cr": "a138951d32fb",
@@ -9385,10 +9385,10 @@
"cpp/NVDA/inProcess.cpp": "1060cf16e7a2",
"cpp/NVDA/nvdaControllerInternal.cpp": "b0ec1ec03c29",
"cpp/NVDA/storage.cpp": "f510e8cf0884",
- "cpp/godot/editor_node.cpp": "f0e282c9967d",
+ "cpp/godot/editor_node.cpp": "d70f50ad4171",
"cpp/godot/editor_node.h": "429094f2b570",
"cpp/godot/gdscript_vm.cpp": "2d3e21f9e0f5",
- "cpp/godot/main.cpp": "3d82bd9b5ae5",
+ "cpp/godot/main.cpp": "aa9558495fe1",
"cpp/godot/node.cpp": "ee11065be655",
"cpp/godot/node.h": "1e757be8b15b",
"cpp/godot/object.cpp": "f11e8ac91b5c",
@@ -14012,7 +14012,7 @@
},
"Row Counts": {
"Artifacts": 4216,
- "DNA Hits": 56185,
+ "DNA Hits": 56180,
"Directory Groups": 447,
"Functions": 66971,
"Inbound Dependencies": 974,
diff --git a/tests/golden_master_zero_dep_audit/12_scan_output_snapshots/llm_brief.json b/tests/golden_master_zero_dep_audit/12_scan_output_snapshots/llm_brief.json
index 61283baadd..3aedf303c4 100644
--- a/tests/golden_master_zero_dep_audit/12_scan_output_snapshots/llm_brief.json
+++ b/tests/golden_master_zero_dep_audit/12_scan_output_snapshots/llm_brief.json
@@ -218,10 +218,10 @@
"| memory | 18409 | 1100 | 8 | `typescript/typescript_compiler/checker.ts` |",
"| cleanup | 4959 | 773 | 2 | `zig/zig/Sema.zig` |",
"| guards | 71410 | 1899 | 23 | `zig/zig/Sema.zig` |",
- "| danger | 31837 | 1786 | 15 | `fortran/wrf/regtest_hwrf.csh` |",
- "| concurrency | 6892 | 661 | 2 | `typescript/playwright/frames.ts` |",
+ "| danger | 31821 | 1785 | 15 | `fortran/wrf/regtest_hwrf.csh` |",
+ "| concurrency | 6889 | 660 | 2 | `typescript/playwright/frames.ts` |",
"| connectivity | 29716 | 1628 | 12 | `typescript/typescript_compiler/types.ts` |",
- "| io | 16807 | 1168 | 6 | `fortran/wrf/regtest.csh` |",
+ "| io | 16814 | 1170 | 6 | `fortran/wrf/regtest.csh` |",
"| crypto | 19 | 11 | 0 | `python/twisted/transport.py` |",
"| ipc | 1754 | 343 | 0 | `cobol/gnucobol/numeric-dump.cob` |",
"| time | 2196 | 302 | 0 | `elixir/elixir_stdlib/calendar_date.ex` |",
@@ -988,7 +988,7 @@
"**Structural Signatures (Net Mitigated Signals):**",
"* *Structure:* Branches & Conditionals `branch: 1764`, Structural Keywords (return/def/void/export) `structural_boundaries: 527`, Calls & Signatures With Arguments `args: 1114`, Function Declarations `func_start: 300`",
"* *Risk/State:* Unsafe Constructs (sprintf/strcpy/void*/any) `safety_bypasses: 2`, State Mutation `state_mutation: 761`, Commented-Out Code `dead_code: 3`, TODO / Stub Markers `planned_debt: 8`, FIXME / HACK Markers `fragile_debt: 7`, Unreferenced Definitions `unreferenced_by_name: 212`",
- "* *Architecture:* Imports & Includes `import: 156`",
+ "* *Architecture:* File & Network I/O `io: 3`, Imports & Includes `import: 156`",
"* *Defense:* Defensive Checks (assert/try/guards) `safety: 1`, Locks & Synchronization `sync_locks: 2`, Immutability (const/readonly/final) `immutability_locks: 322`",
"* *Network Topology:*",
" * `Ecosystem Role:` Pure Consumer (Orchestrator) | `Dependency Blast Radius (PageRank):` 0.257",
@@ -1482,7 +1482,7 @@
"",
"- **`debug_prints`:** 8861 literal sites + 504 sites through wrappers = 9365",
"- **`memory_alloc`:** 3310 literal sites + 11 sites through wrappers = 3321",
- "- **`panics_and_aborts`:** 6589 literal sites + 224 sites through wrappers = 6813",
+ "- **`panics_and_aborts`:** 6573 literal sites + 224 sites through wrappers = 6797",
"",
"- `wrf_error_fatal` (function, debug_prints, primitive): 177 call sites in 9 files -- `fortran/wrf/module_initialize_real.F`",
"- `wrf_error_fatal` (function, panics_and_aborts, primitive): 177 call sites in 9 files -- `fortran/wrf/module_initialize_real.F`",
diff --git a/tests/golden_master_zero_dep_audit/2_global_ecosystem_summary/function_archetype_distribution.json b/tests/golden_master_zero_dep_audit/2_global_ecosystem_summary/function_archetype_distribution.json
index 1d909e5f6e..127ffc0e0c 100644
--- a/tests/golden_master_zero_dep_audit/2_global_ecosystem_summary/function_archetype_distribution.json
+++ b/tests/golden_master_zero_dep_audit/2_global_ecosystem_summary/function_archetype_distribution.json
@@ -7,15 +7,15 @@
"Annotated & Test Methods": "3.3% (2027)",
"C Struct Operations": "0.1% (87)",
"Callbacks & Closures": "2.0% (1246)",
- "Compute Cores": "10.2% (6331)",
+ "Compute Cores": "10.2% (6329)",
"Defensive Guards": "8.6% (5337)",
"Encapsulated Accessors": "4.5% (2805)",
"Generic / Templated Code": "5.7% (3543)",
"I/O & Config Routines": "14.8% (9205)",
"Interface Declarations": "16.1% (10007)",
- "Many-Argument Workhorses": "6.4% (3951)",
+ "Many-Argument Workhorses": "6.4% (3952)",
"Parameter Forwarders": "12.8% (7961)",
- "State Mutators": "8.4% (5248)",
+ "State Mutators": "8.4% (5249)",
"Stateful Encapsulated Methods": "4.1% (2578)",
"Type Conversions": "3.0% (1875)"
}
diff --git a/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/11_scan_db_snapshot/function_archetype.json b/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/11_scan_db_snapshot/function_archetype.json
index 0c1b75f5ea..d4de0c4744 100644
--- a/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/11_scan_db_snapshot/function_archetype.json
+++ b/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/11_scan_db_snapshot/function_archetype.json
@@ -20623,7 +20623,7 @@
"set_convert_old_scene@952": "Parameter Forwarders",
"show_about@836": "Interface Declarations",
"step@1055": "Parameter Forwarders",
- "~EditorProgressBG@1060": "I/O & Config Routines"
+ "~EditorProgressBG@1060": "State Mutators"
},
"cpp/godot/gdscript_vm.cpp": {
"GDScriptFunction::_get_call_error@155": "Many-Argument Workhorses",
@@ -20687,7 +20687,7 @@
"Node::_duplicate@2776": "Many-Argument Workhorses",
"Node::_duplicate_properties@3070": "Many-Argument Workhorses",
"Node::_duplicate_scripts@3053": "Compute Cores",
- "Node::_duplicate_signals@3130": "Compute Cores",
+ "Node::_duplicate_signals@3130": "Many-Argument Workhorses",
"Node::_emit_editor_state_changed@3044": "Interface Declarations",
"Node::_generate_serial_child_name@1604": "Compute Cores",
"Node::_get_child_by_name@1894": "Type Conversions",
@@ -21073,7 +21073,7 @@
"ObjectDB::cleanup@2522": "I/O & Config Routines",
"ObjectDB::debug_objects@2373": "Compute Cores",
"ObjectDB::get_object_count@2437": "Interface Declarations",
- "ObjectDB::remove_instance@2485": "Compute Cores",
+ "ObjectDB::remove_instance@2485": "I/O & Config Routines",
"ObjectDB::setup@2518": "Interface Declarations",
"ObjectGDExtension::create_gdtype@116": "Interface Declarations",
"ObjectGDExtension::destroy_gdtype@123": "Type Conversions",
diff --git a/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/3_architectural_profile/composition_fit_z_score.json b/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/3_architectural_profile/composition_fit_z_score.json
index 5bcb2c9725..12b50e8d10 100644
--- a/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/3_architectural_profile/composition_fit_z_score.json
+++ b/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/3_architectural_profile/composition_fit_z_score.json
@@ -1218,13 +1218,13 @@
"cpp/godot/DONORS.md": 0.0,
"cpp/godot/LICENSE.txt": 0.0,
"cpp/godot/editor_node.cpp": 0.138,
- "cpp/godot/editor_node.h": 1.442,
+ "cpp/godot/editor_node.h": 1.455,
"cpp/godot/gdscript_vm.cpp": 1.343,
"cpp/godot/main.cpp": 0.161,
"cpp/godot/main.h": 1.188,
- "cpp/godot/node.cpp": 0.015,
+ "cpp/godot/node.cpp": -0.005,
"cpp/godot/node.h": 0.636,
- "cpp/godot/object.cpp": -0.192,
+ "cpp/godot/object.cpp": -0.206,
"cpp/godot/object.h": 0.672,
"cpp/godot/rendering_server_default.cpp": 0.265,
"cpp/godot/rendering_server_default.h": 0.093,
diff --git a/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/3_architectural_profile/function_archetype_mix.json b/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/3_architectural_profile/function_archetype_mix.json
index e222569d97..c76426b92a 100644
--- a/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/3_architectural_profile/function_archetype_mix.json
+++ b/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/3_architectural_profile/function_archetype_mix.json
@@ -3918,10 +3918,9 @@
},
"cpp/godot/editor_node.h": {
"Compute Cores": 1,
- "I/O & Config Routines": 1,
"Interface Declarations": 27,
"Parameter Forwarders": 3,
- "State Mutators": 1,
+ "State Mutators": 2,
"Type Conversions": 1
},
"cpp/godot/gdscript_vm.cpp": {
@@ -3938,10 +3937,10 @@
},
"cpp/godot/main.h": {},
"cpp/godot/node.cpp": {
- "Compute Cores": 79,
+ "Compute Cores": 78,
"I/O & Config Routines": 26,
"Interface Declarations": 61,
- "Many-Argument Workhorses": 17,
+ "Many-Argument Workhorses": 18,
"Parameter Forwarders": 47,
"Type Conversions": 6
},
@@ -3955,8 +3954,8 @@
"State Mutators": 3
},
"cpp/godot/object.cpp": {
- "Compute Cores": 44,
- "I/O & Config Routines": 17,
+ "Compute Cores": 43,
+ "I/O & Config Routines": 18,
"Interface Declarations": 22,
"Many-Argument Workhorses": 13,
"Parameter Forwarders": 25,
diff --git a/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/3_architectural_profile/repository_drift_centroid_distance.json b/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/3_architectural_profile/repository_drift_centroid_distance.json
index 52b85d2335..45d10ae878 100644
--- a/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/3_architectural_profile/repository_drift_centroid_distance.json
+++ b/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/3_architectural_profile/repository_drift_centroid_distance.json
@@ -1218,16 +1218,16 @@
"cpp/godot/DONORS.md": 0.0,
"cpp/godot/LICENSE.txt": 0.0,
"cpp/godot/editor_node.cpp": 8.22,
- "cpp/godot/editor_node.h": 5.968,
+ "cpp/godot/editor_node.h": 6.066,
"cpp/godot/gdscript_vm.cpp": 9.307,
- "cpp/godot/main.cpp": 6.753,
+ "cpp/godot/main.cpp": 6.756,
"cpp/godot/main.h": 4.455,
- "cpp/godot/node.cpp": 8.24,
+ "cpp/godot/node.cpp": 8.238,
"cpp/godot/node.h": 7.875,
- "cpp/godot/object.cpp": 6.245,
+ "cpp/godot/object.cpp": 6.257,
"cpp/godot/object.h": 7.375,
"cpp/godot/rendering_server_default.cpp": 6.859,
- "cpp/godot/rendering_server_default.h": 7.584,
+ "cpp/godot/rendering_server_default.h": 7.586,
"cpp/godot/variant.cpp": 7.305,
"cpp/godot/variant.h": 8.476
},
@@ -1246,12 +1246,12 @@
"cpp/powertoys/ImageResizerExt.cpp": 4.762,
"cpp/powertoys/centralized_kb_hook.cpp": 6.316,
"cpp/powertoys/logger.cpp": 6.046,
- "cpp/powertoys/main.cpp": 6.945,
+ "cpp/powertoys/main.cpp": 6.953,
"cpp/powertoys/powertoy_module.h": 5.472
},
"cpp/serenity_ak_siphash_cpu": {
"cpp/serenity_ak_siphash_cpu/CPUFeatures.cpp": 7.227,
- "cpp/serenity_ak_siphash_cpu/SipHash.cpp": 8.057
+ "cpp/serenity_ak_siphash_cpu/SipHash.cpp": 7.829
},
"crystal": {
"crystal/SOURCES.md": 0.0
diff --git a/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/3_architectural_profile/repository_fingerprint.json b/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/3_architectural_profile/repository_fingerprint.json
index c6b50cdb1b..afa7873c17 100644
--- a/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/3_architectural_profile/repository_fingerprint.json
+++ b/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/3_architectural_profile/repository_fingerprint.json
@@ -20693,44 +20693,44 @@
"cpp/godot/DONORS.md": {},
"cpp/godot/LICENSE.txt": {},
"cpp/godot/editor_node.cpp": {
- "file_cluster_0": 16.579,
+ "file_cluster_0": 16.58,
"file_cluster_1": 90.921,
"file_cluster_10": 16.156,
"file_cluster_11": 14.972,
"file_cluster_12": 15.111,
- "file_cluster_13": 16.164,
- "file_cluster_14": 24.689,
+ "file_cluster_13": 16.168,
+ "file_cluster_14": 24.687,
"file_cluster_15": 13.732,
- "file_cluster_16": 14.456,
+ "file_cluster_16": 14.457,
"file_cluster_17": 16.051,
"file_cluster_2": 15.926,
"file_cluster_3": 43.806,
"file_cluster_4": 8.22,
- "file_cluster_5": 18.341,
+ "file_cluster_5": 18.343,
"file_cluster_6": 11.489,
- "file_cluster_7": 18.968,
+ "file_cluster_7": 18.969,
"file_cluster_8": 22.721,
- "file_cluster_9": 14.929
+ "file_cluster_9": 14.93
},
"cpp/godot/editor_node.h": {
- "file_cluster_0": 10.042,
- "file_cluster_1": 100.779,
- "file_cluster_10": 9.348,
- "file_cluster_11": 5.968,
- "file_cluster_12": 8.915,
- "file_cluster_13": 8.8,
- "file_cluster_14": 20.618,
- "file_cluster_15": 6.677,
- "file_cluster_16": 8.207,
- "file_cluster_17": 8.147,
- "file_cluster_2": 8.789,
- "file_cluster_3": 53.566,
- "file_cluster_4": 11.528,
- "file_cluster_5": 13.105,
- "file_cluster_6": 19.609,
- "file_cluster_7": 13.169,
- "file_cluster_8": 32.118,
- "file_cluster_9": 12.453
+ "file_cluster_0": 10.027,
+ "file_cluster_1": 100.785,
+ "file_cluster_10": 9.367,
+ "file_cluster_11": 6.066,
+ "file_cluster_12": 8.993,
+ "file_cluster_13": 8.787,
+ "file_cluster_14": 20.694,
+ "file_cluster_15": 6.761,
+ "file_cluster_16": 8.255,
+ "file_cluster_17": 8.144,
+ "file_cluster_2": 8.876,
+ "file_cluster_3": 53.579,
+ "file_cluster_4": 11.603,
+ "file_cluster_5": 13.103,
+ "file_cluster_6": 19.652,
+ "file_cluster_7": 13.19,
+ "file_cluster_8": 32.142,
+ "file_cluster_9": 12.513
},
"cpp/godot/gdscript_vm.cpp": {
"file_cluster_0": 39.87,
@@ -20753,24 +20753,24 @@
"file_cluster_9": 38.071
},
"cpp/godot/main.cpp": {
- "file_cluster_0": 22.822,
+ "file_cluster_0": 22.823,
"file_cluster_1": 80.949,
- "file_cluster_10": 22.454,
- "file_cluster_11": 21.657,
- "file_cluster_12": 21.813,
- "file_cluster_13": 22.474,
- "file_cluster_14": 29.157,
+ "file_cluster_10": 22.453,
+ "file_cluster_11": 21.658,
+ "file_cluster_12": 21.814,
+ "file_cluster_13": 22.473,
+ "file_cluster_14": 29.156,
"file_cluster_15": 20.962,
"file_cluster_16": 21.316,
- "file_cluster_17": 22.223,
- "file_cluster_2": 22.198,
+ "file_cluster_17": 22.222,
+ "file_cluster_2": 22.197,
"file_cluster_3": 33.731,
- "file_cluster_4": 12.893,
- "file_cluster_5": 24.175,
- "file_cluster_6": 6.753,
+ "file_cluster_4": 12.895,
+ "file_cluster_5": 24.177,
+ "file_cluster_6": 6.756,
"file_cluster_7": 24.539,
- "file_cluster_8": 12.903,
- "file_cluster_9": 21.292
+ "file_cluster_8": 12.904,
+ "file_cluster_9": 21.293
},
"cpp/godot/main.h": {
"file_cluster_0": 7.545,
@@ -20793,24 +20793,24 @@
"file_cluster_9": 11.442
},
"cpp/godot/node.cpp": {
- "file_cluster_0": 13.166,
+ "file_cluster_0": 13.17,
"file_cluster_1": 95.99,
- "file_cluster_10": 12.647,
- "file_cluster_11": 10.88,
- "file_cluster_12": 11.582,
- "file_cluster_13": 12.563,
- "file_cluster_14": 22.567,
- "file_cluster_15": 9.564,
- "file_cluster_16": 10.826,
- "file_cluster_17": 12.315,
- "file_cluster_2": 12.307,
- "file_cluster_3": 48.767,
- "file_cluster_4": 8.24,
- "file_cluster_5": 15.484,
- "file_cluster_6": 15.132,
- "file_cluster_7": 16.033,
- "file_cluster_8": 27.382,
- "file_cluster_9": 12.709
+ "file_cluster_10": 12.652,
+ "file_cluster_11": 10.886,
+ "file_cluster_12": 11.585,
+ "file_cluster_13": 12.568,
+ "file_cluster_14": 22.569,
+ "file_cluster_15": 9.569,
+ "file_cluster_16": 10.829,
+ "file_cluster_17": 12.32,
+ "file_cluster_2": 12.311,
+ "file_cluster_3": 48.766,
+ "file_cluster_4": 8.238,
+ "file_cluster_5": 15.487,
+ "file_cluster_6": 15.13,
+ "file_cluster_7": 16.037,
+ "file_cluster_8": 27.381,
+ "file_cluster_9": 12.71
},
"cpp/godot/node.h": {
"file_cluster_0": 9.563,
@@ -20833,24 +20833,24 @@
"file_cluster_9": 12.816
},
"cpp/godot/object.cpp": {
- "file_cluster_0": 12.659,
- "file_cluster_1": 94.855,
- "file_cluster_10": 12.058,
- "file_cluster_11": 10.399,
- "file_cluster_12": 9.709,
- "file_cluster_13": 11.939,
- "file_cluster_14": 19.951,
- "file_cluster_15": 8.922,
- "file_cluster_16": 10.25,
- "file_cluster_17": 11.568,
- "file_cluster_2": 11.667,
- "file_cluster_3": 47.49,
- "file_cluster_4": 6.245,
- "file_cluster_5": 13.592,
- "file_cluster_6": 13.297,
- "file_cluster_7": 13.696,
- "file_cluster_8": 25.893,
- "file_cluster_9": 11.493
+ "file_cluster_0": 12.664,
+ "file_cluster_1": 94.856,
+ "file_cluster_10": 12.062,
+ "file_cluster_11": 10.404,
+ "file_cluster_12": 9.715,
+ "file_cluster_13": 11.944,
+ "file_cluster_14": 19.953,
+ "file_cluster_15": 8.93,
+ "file_cluster_16": 10.257,
+ "file_cluster_17": 11.573,
+ "file_cluster_2": 11.67,
+ "file_cluster_3": 47.491,
+ "file_cluster_4": 6.257,
+ "file_cluster_5": 13.598,
+ "file_cluster_6": 13.303,
+ "file_cluster_7": 13.701,
+ "file_cluster_8": 25.896,
+ "file_cluster_9": 11.5
},
"cpp/godot/object.h": {
"file_cluster_0": 10.996,
@@ -20873,44 +20873,44 @@
"file_cluster_9": 12.716
},
"cpp/godot/rendering_server_default.cpp": {
- "file_cluster_0": 11.486,
+ "file_cluster_0": 11.487,
"file_cluster_1": 95.034,
- "file_cluster_10": 10.753,
- "file_cluster_11": 8.518,
- "file_cluster_12": 10.283,
- "file_cluster_13": 10.52,
- "file_cluster_14": 21.699,
- "file_cluster_15": 7.672,
- "file_cluster_16": 9.433,
- "file_cluster_17": 10.303,
- "file_cluster_2": 10.213,
- "file_cluster_3": 47.738,
+ "file_cluster_10": 10.75,
+ "file_cluster_11": 8.52,
+ "file_cluster_12": 10.288,
+ "file_cluster_13": 10.516,
+ "file_cluster_14": 21.707,
+ "file_cluster_15": 7.67,
+ "file_cluster_16": 9.432,
+ "file_cluster_17": 10.294,
+ "file_cluster_2": 10.206,
+ "file_cluster_3": 47.739,
"file_cluster_4": 6.859,
- "file_cluster_5": 14.488,
- "file_cluster_6": 13.874,
- "file_cluster_7": 14.704,
- "file_cluster_8": 26.246,
- "file_cluster_9": 12.207
+ "file_cluster_5": 14.495,
+ "file_cluster_6": 13.875,
+ "file_cluster_7": 14.705,
+ "file_cluster_8": 26.247,
+ "file_cluster_9": 12.21
},
"cpp/godot/rendering_server_default.h": {
- "file_cluster_0": 10.608,
- "file_cluster_1": 100.573,
- "file_cluster_10": 9.792,
- "file_cluster_11": 7.65,
- "file_cluster_12": 8.705,
- "file_cluster_13": 9.556,
- "file_cluster_14": 19.955,
- "file_cluster_15": 7.584,
- "file_cluster_16": 8.466,
- "file_cluster_17": 7.76,
+ "file_cluster_0": 10.61,
+ "file_cluster_1": 100.574,
+ "file_cluster_10": 9.794,
+ "file_cluster_11": 7.653,
+ "file_cluster_12": 8.708,
+ "file_cluster_13": 9.557,
+ "file_cluster_14": 19.958,
+ "file_cluster_15": 7.586,
+ "file_cluster_16": 8.468,
+ "file_cluster_17": 7.759,
"file_cluster_2": 9.126,
- "file_cluster_3": 53.288,
- "file_cluster_4": 11.383,
- "file_cluster_5": 12.809,
- "file_cluster_6": 19.26,
- "file_cluster_7": 12.695,
+ "file_cluster_3": 53.289,
+ "file_cluster_4": 11.385,
+ "file_cluster_5": 12.813,
+ "file_cluster_6": 19.261,
+ "file_cluster_7": 12.696,
"file_cluster_8": 31.79,
- "file_cluster_9": 11.155
+ "file_cluster_9": 11.157
},
"cpp/godot/variant.cpp": {
"file_cluster_0": 14.822,
@@ -21197,24 +21197,24 @@
"file_cluster_9": 9.03
},
"cpp/powertoys/main.cpp": {
- "file_cluster_0": 16.066,
+ "file_cluster_0": 16.084,
"file_cluster_1": 88.941,
- "file_cluster_10": 15.275,
- "file_cluster_11": 14.534,
- "file_cluster_12": 14.318,
- "file_cluster_13": 15.51,
+ "file_cluster_10": 15.284,
+ "file_cluster_11": 14.541,
+ "file_cluster_12": 14.329,
+ "file_cluster_13": 15.562,
"file_cluster_14": 23.101,
- "file_cluster_15": 13.925,
- "file_cluster_16": 14.191,
- "file_cluster_17": 15.255,
+ "file_cluster_15": 13.928,
+ "file_cluster_16": 14.194,
+ "file_cluster_17": 15.254,
"file_cluster_2": 15.247,
- "file_cluster_3": 41.556,
- "file_cluster_4": 6.945,
- "file_cluster_5": 17.162,
- "file_cluster_6": 8.361,
- "file_cluster_7": 17.464,
- "file_cluster_8": 20.064,
- "file_cluster_9": 13.003
+ "file_cluster_3": 41.557,
+ "file_cluster_4": 6.953,
+ "file_cluster_5": 17.183,
+ "file_cluster_6": 8.366,
+ "file_cluster_7": 17.479,
+ "file_cluster_8": 20.066,
+ "file_cluster_9": 13.01
},
"cpp/powertoys/powertoy_module.h": {
"file_cluster_0": 9.616,
@@ -21259,24 +21259,24 @@
"file_cluster_9": 7.59
},
"cpp/serenity_ak_siphash_cpu/SipHash.cpp": {
- "file_cluster_0": 13.933,
- "file_cluster_1": 89.537,
- "file_cluster_10": 14.987,
- "file_cluster_11": 13.838,
- "file_cluster_12": 14.483,
- "file_cluster_13": 14.344,
- "file_cluster_14": 24.05,
- "file_cluster_15": 13.227,
- "file_cluster_16": 14.029,
- "file_cluster_17": 14.589,
- "file_cluster_2": 14.617,
- "file_cluster_3": 42.388,
- "file_cluster_4": 8.057,
- "file_cluster_5": 16.44,
- "file_cluster_6": 10.277,
- "file_cluster_7": 17.935,
- "file_cluster_8": 21.264,
- "file_cluster_9": 15.784
+ "file_cluster_0": 13.965,
+ "file_cluster_1": 89.517,
+ "file_cluster_10": 14.924,
+ "file_cluster_11": 13.744,
+ "file_cluster_12": 14.431,
+ "file_cluster_13": 14.714,
+ "file_cluster_14": 23.969,
+ "file_cluster_15": 13.078,
+ "file_cluster_16": 13.892,
+ "file_cluster_17": 14.423,
+ "file_cluster_2": 14.466,
+ "file_cluster_3": 42.345,
+ "file_cluster_4": 7.829,
+ "file_cluster_5": 16.511,
+ "file_cluster_6": 10.09,
+ "file_cluster_7": 17.947,
+ "file_cluster_8": 21.177,
+ "file_cluster_9": 15.69
}
},
"crystal": {
diff --git a/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/bitwise_operations.json b/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/bitwise_operations.json
index 6cda55ede5..a78940c0a0 100644
--- a/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/bitwise_operations.json
+++ b/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/bitwise_operations.json
@@ -1208,31 +1208,31 @@
"cpp/NVDA/core.py": 0,
"cpp/NVDA/ensureuv.ps1": 0,
"cpp/NVDA/espeak.py": 0,
- "cpp/NVDA/inProcess.cpp": 0,
+ "cpp/NVDA/inProcess.cpp": 1,
"cpp/NVDA/nvdaControllerInternal.cpp": 0,
"cpp/NVDA/readme.md": 0,
- "cpp/NVDA/storage.cpp": 2
+ "cpp/NVDA/storage.cpp": 0
},
"cpp/godot": {
"cpp/godot/AUTHORS.md": 0,
"cpp/godot/DONORS.md": 0,
"cpp/godot/LICENSE.txt": 0,
- "cpp/godot/editor_node.cpp": 9,
- "cpp/godot/editor_node.h": 3,
- "cpp/godot/gdscript_vm.cpp": 3,
- "cpp/godot/main.cpp": 14,
+ "cpp/godot/editor_node.cpp": 54,
+ "cpp/godot/editor_node.h": 0,
+ "cpp/godot/gdscript_vm.cpp": 10,
+ "cpp/godot/main.cpp": 16,
"cpp/godot/main.h": 0,
- "cpp/godot/node.cpp": 1,
- "cpp/godot/node.h": 1,
- "cpp/godot/object.cpp": 12,
+ "cpp/godot/node.cpp": 22,
+ "cpp/godot/node.h": 5,
+ "cpp/godot/object.cpp": 28,
"cpp/godot/object.h": 198,
- "cpp/godot/rendering_server_default.cpp": 1,
+ "cpp/godot/rendering_server_default.cpp": 0,
"cpp/godot/rendering_server_default.h": 1,
- "cpp/godot/variant.cpp": 14,
+ "cpp/godot/variant.cpp": 4,
"cpp/godot/variant.h": 2
},
"cpp/mlir": {
- "cpp/mlir/flatbuffer_export.cc": 4,
+ "cpp/mlir/flatbuffer_export.cc": 5,
"cpp/mlir/glob_lit_test.bzl": 0,
"cpp/mlir/mlir_bridge_rollout_policy.cc": 0,
"cpp/mlir/mlir_graph_optimization_pass.cc": 0,
@@ -1241,17 +1241,17 @@
"cpp/mlir/tf_tfl_translate.cc": 0
},
"cpp/powertoys": {
- "cpp/powertoys/FancyZones.cpp": 0,
+ "cpp/powertoys/FancyZones.cpp": 9,
"cpp/powertoys/FancyZones.h": 0,
"cpp/powertoys/ImageResizerExt.cpp": 0,
- "cpp/powertoys/centralized_kb_hook.cpp": 1,
- "cpp/powertoys/logger.cpp": 0,
- "cpp/powertoys/main.cpp": 0,
+ "cpp/powertoys/centralized_kb_hook.cpp": 8,
+ "cpp/powertoys/logger.cpp": 1,
+ "cpp/powertoys/main.cpp": 5,
"cpp/powertoys/powertoy_module.h": 0
},
"cpp/serenity_ak_siphash_cpu": {
- "cpp/serenity_ak_siphash_cpu/CPUFeatures.cpp": 3,
- "cpp/serenity_ak_siphash_cpu/SipHash.cpp": 30
+ "cpp/serenity_ak_siphash_cpu/CPUFeatures.cpp": 9,
+ "cpp/serenity_ak_siphash_cpu/SipHash.cpp": 39
},
"crystal": {
"crystal/SOURCES.md": 0
diff --git a/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/decorators_annotations_attributes.json b/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/decorators_annotations_attributes.json
index 576c0ccddf..447b36bd8e 100644
--- a/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/decorators_annotations_attributes.json
+++ b/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/decorators_annotations_attributes.json
@@ -1217,7 +1217,7 @@
"cpp/godot/AUTHORS.md": 0,
"cpp/godot/DONORS.md": 0,
"cpp/godot/LICENSE.txt": 0,
- "cpp/godot/editor_node.cpp": 1,
+ "cpp/godot/editor_node.cpp": 0,
"cpp/godot/editor_node.h": 0,
"cpp/godot/gdscript_vm.cpp": 0,
"cpp/godot/main.cpp": 0,
@@ -1246,12 +1246,12 @@
"cpp/powertoys/ImageResizerExt.cpp": 0,
"cpp/powertoys/centralized_kb_hook.cpp": 0,
"cpp/powertoys/logger.cpp": 0,
- "cpp/powertoys/main.cpp": 1,
+ "cpp/powertoys/main.cpp": 0,
"cpp/powertoys/powertoy_module.h": 0
},
"cpp/serenity_ak_siphash_cpu": {
"cpp/serenity_ak_siphash_cpu/CPUFeatures.cpp": 2,
- "cpp/serenity_ak_siphash_cpu/SipHash.cpp": 6
+ "cpp/serenity_ak_siphash_cpu/SipHash.cpp": 0
},
"crystal": {
"crystal/SOURCES.md": 0
diff --git a/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/error_exits_raise_throw_abort.json b/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/error_exits_raise_throw_abort.json
index 7c0d231345..98d9294e40 100644
--- a/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/error_exits_raise_throw_abort.json
+++ b/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/error_exits_raise_throw_abort.json
@@ -1217,17 +1217,17 @@
"cpp/godot/AUTHORS.md": 0,
"cpp/godot/DONORS.md": 0,
"cpp/godot/LICENSE.txt": 0,
- "cpp/godot/editor_node.cpp": 1,
+ "cpp/godot/editor_node.cpp": 0,
"cpp/godot/editor_node.h": 0,
"cpp/godot/gdscript_vm.cpp": 0,
- "cpp/godot/main.cpp": 11,
+ "cpp/godot/main.cpp": 0,
"cpp/godot/main.h": 0,
"cpp/godot/node.cpp": 0,
"cpp/godot/node.h": 0,
- "cpp/godot/object.cpp": 1,
+ "cpp/godot/object.cpp": 0,
"cpp/godot/object.h": 0,
- "cpp/godot/rendering_server_default.cpp": 2,
- "cpp/godot/rendering_server_default.h": 1,
+ "cpp/godot/rendering_server_default.cpp": 0,
+ "cpp/godot/rendering_server_default.h": 0,
"cpp/godot/variant.cpp": 0,
"cpp/godot/variant.h": 0
},
diff --git a/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/file_network_i_o.json b/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/file_network_i_o.json
index 88edd2aa2b..d53edb0666 100644
--- a/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/file_network_i_o.json
+++ b/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/file_network_i_o.json
@@ -1217,10 +1217,10 @@
"cpp/godot/AUTHORS.md": 0,
"cpp/godot/DONORS.md": 0,
"cpp/godot/LICENSE.txt": 0,
- "cpp/godot/editor_node.cpp": 0,
+ "cpp/godot/editor_node.cpp": 3,
"cpp/godot/editor_node.h": 0,
"cpp/godot/gdscript_vm.cpp": 0,
- "cpp/godot/main.cpp": 0,
+ "cpp/godot/main.cpp": 4,
"cpp/godot/main.h": 0,
"cpp/godot/node.cpp": 0,
"cpp/godot/node.h": 0,
diff --git a/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/sleeps_timed_waits.json b/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/sleeps_timed_waits.json
index 0b3e617ed8..96abcbbe14 100644
--- a/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/sleeps_timed_waits.json
+++ b/tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/7_structural_signatures_net_mitigated_signals/sleeps_timed_waits.json
@@ -1220,7 +1220,7 @@
"cpp/godot/editor_node.cpp": 0,
"cpp/godot/editor_node.h": 0,
"cpp/godot/gdscript_vm.cpp": 0,
- "cpp/godot/main.cpp": 4,
+ "cpp/godot/main.cpp": 0,
"cpp/godot/main.h": 0,
"cpp/godot/node.cpp": 0,
"cpp/godot/node.h": 0,
@@ -1246,7 +1246,7 @@
"cpp/powertoys/ImageResizerExt.cpp": 0,
"cpp/powertoys/centralized_kb_hook.cpp": 0,
"cpp/powertoys/logger.cpp": 0,
- "cpp/powertoys/main.cpp": 0,
+ "cpp/powertoys/main.cpp": 1,
"cpp/powertoys/powertoy_module.h": 0
},
"cpp/serenity_ak_siphash_cpu": {
diff --git a/tests/tools/family_oracle_specs_c.py b/tests/tools/family_oracle_specs_c.py
index 4eb4c9f4ea..2b035ef784 100644
--- a/tests/tools/family_oracle_specs_c.py
+++ b/tests/tools/family_oracle_specs_c.py
@@ -122,6 +122,58 @@ def _stream_kind(node) -> str | None:
return None
+_STRING_NODES = frozenset({"string_literal", "raw_string_literal", "concatenated_string"})
+# Socket verbs: a free or global-scope call is a socket call, `signal.connect(...)` / `Object::connect(...)` / `fn.bind(...)` /
+# `std::bind` are not (#9335, the `io` contract: data moves between the program and a system outside its runtime).
+_SOCKET_VERBS = frozenset({"connect", "bind", "accept", "listen", "send", "recv"})
+
+
+def _is_insertion(node) -> bool:
+ """True for a `<<` link of a chain that holds a string literal: a literal cannot be shifted, so the chain is a stream insertion
+ (`LOG(L"x " << n)`, `s << "a" << b`), not the shift `bitwise_ops` counts (#9335)."""
+ if node.type != "binary_expression" or _text(node.child_by_field_name("operator")) != "<<":
+ return False
+ root = node
+ while root.parent is not None and root.parent.type == "binary_expression":
+ up = root.parent
+ if _text(up.child_by_field_name("operator")) != "<<" or up.child_by_field_name("left") != root:
+ break
+ root = up
+ stack = [root]
+ while stack:
+ cur = stack.pop()
+ if cur.type in _STRING_NODES:
+ return True
+ if cur.type == "binary_expression" and _text(cur.child_by_field_name("operator")) == "<<":
+ stack.extend((cur.child_by_field_name("left"), cur.child_by_field_name("right")))
+ return False
+
+
+def _is_cast_address(node) -> bool:
+ """`(WPARAM)&func`: tree-sitter reads a C cast of an address-of as a binary `&` whose left is a parenthesised bare type name."""
+ if node.type != "binary_expression" or _text(node.child_by_field_name("operator")) != "&":
+ return False
+ left = node.child_by_field_name("left")
+ if left is None or left.type != "parenthesized_expression" or left.named_child_count != 1:
+ return False
+ inner = left.named_children[0]
+ return inner.type in ("identifier", "type_identifier", "qualified_identifier") and _text(inner)[:1].isupper()
+
+
+def _io_miscount(node) -> str | None:
+ """The io callee the base reading matched that the contract does not mean: a member call (`.write`, `->open`), a qualified
+ socket verb (`Object::connect`) or `std::bind`; None when the call stays io."""
+ full = "".join(_text(node.child_by_field_name("function")).split())
+ hit = fts._matches(full, _CPP_CALLS["io"])
+ if hit is None:
+ return None
+ if "." in full or "->" in full:
+ return hit
+ if hit in _SOCKET_VERBS and "::" in full.lstrip(":"):
+ return hit
+ return hit if full == "std::bind" else None
+
+
def _extra_params(fn) -> int:
"""Parameters the base C reading misses: defaulted (`int b = 1`), pack (`Args... a`) and a bare C-style `...`."""
d = fn.child_by_field_name("declarator")
@@ -159,8 +211,17 @@ def count(self, fn):
if ctor in pats:
n[key] += 1
tokens[key][ctor] += 1
+ if node.type == "call_expression":
+ wrong = _io_miscount(node)
+ if wrong:
+ n["io"] -= 1
+ tokens["io"][wrong] -= 1
+ continue
kind = _stream_kind(node)
if kind is None:
+ if _is_cast_address(node) or _is_insertion(node):
+ n["bitwise"] -= 1
+ tokens["bitwise"][_text(node.child_by_field_name("operator"))] -= 1
continue
op = _text(node.child_by_field_name("operator"))
n["bitwise"] -= 1 # the base oracle counted this operator as a shift
@@ -171,7 +232,7 @@ def count(self, fn):
key = "print" if kind == "out" else "io"
n[key] += 1
tokens[key]["cout" if kind == "out" else "cin"] += 1
- for key in [k for k, v in n.items() if v <= 0 and k == "bitwise"]:
+ for key in [k for k, v in n.items() if v <= 0 and k in ("bitwise", "io")]:
del n[key]
for key in [k for k, v in tokens.items() if not +v]:
del tokens[key]
diff --git a/tests/tools/test_cpp_family_oracle_9335.py b/tests/tools/test_cpp_family_oracle_9335.py
new file mode 100644
index 0000000000..6dc97ccae6
--- /dev/null
+++ b/tests/tools/test_cpp_family_oracle_9335.py
@@ -0,0 +1,70 @@
+"""#9335: the C++ family oracle's `io` and `bitwise_ops` readings (a stream insertion or `(Type)&x` cast is not bitwise; a member
+call, `std::bind` or a qualified socket verb is not io)."""
+
+import sys
+from pathlib import Path
+
+import pytest
+
+sys.path.insert(0, str(Path(__file__).resolve().parent))
+
+
+def _oracle_counts(src: str):
+ pytest.importorskip("tree_sitter_language_pack")
+ import family_oracle_specs_c as c
+ import family_oracle_ts as fts
+
+ c.register()
+ oracle = fts.get_oracle("cpp")
+ funcs = oracle.index(src)
+ assert funcs, "no function indexed"
+ n, tokens = oracle.count(next(iter(funcs.values())))
+ return n, tokens
+
+
+@pytest.mark.parametrize(
+ "body",
+ [
+ 'LOG(L"x " << n << L" y");',
+ 's << L"a" << b;',
+ "auto p = (WPARAM)&func;",
+ ],
+)
+def test_oracle_does_not_read_insertion_or_cast_as_bitwise(body):
+ n, _ = _oracle_counts("void f() {\n" + body + "\n}\n")
+ assert n.get("bitwise", 0) == 0, body
+
+
+@pytest.mark.parametrize("body", ["auto m = a & MASK;", "auto s = x << 3;", "auto k = A | B;"])
+def test_oracle_still_reads_shifts_and_masks(body):
+ n, _ = _oracle_counts("void f() {\n" + body + "\n}\n")
+ assert n.get("bitwise", 0) == 1, body
+
+
+@pytest.mark.parametrize(
+ "body",
+ [
+ "auto cb = std::bind(f, 1);",
+ "w.connect(sig, cb);",
+ "obj->write(buf, n);",
+ "Object::connect(a, b);",
+ "auto c = fn.bind(x);",
+ ],
+)
+def test_oracle_io_ignores_members_and_signals(body):
+ n, _ = _oracle_counts("void f() {\n" + body + "\n}\n")
+ assert n.get("io", 0) == 0, body
+
+
+@pytest.mark.parametrize(
+ "body",
+ [
+ "int s = socket(AF_INET, SOCK_STREAM, 0);",
+ "connect(s, addr, len);",
+ "auto f = FileAccess::open(p, m);",
+ "::bind(s, a, l);",
+ ],
+)
+def test_oracle_io_keeps_free_and_file_calls(body):
+ n, _ = _oracle_counts("void f() {\n" + body + "\n}\n")
+ assert n.get("io", 0) == 1, body