Skip to content

DOOM ObjC call-graph oracle: test the vendored filter (Part of #6097) - #6749

Merged
squid-shepherd[bot] merged 4 commits into
mainfrom
churn/6097-20261026T1700Z
Oct 26, 2026
Merged

squid-shepherd[bot] merged 4 commits into
mainfrom
churn/6097-20261026T1700Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #6097. Checklist: done [c:7aa491be]

Change

One hand-written file: tests/tools/test_callgraph_oracle.py gains test_the_objc_oracle_drops_vendored_code_too (the one untested loader named as a sibling gap in #6747). Regenerated: tests/tools/docs_read_by_tests.txt (one line, from the test's zlib dir). No engine or golden change.

Class / Sibling gaps

Class: DOOM-study readers of a scan's function_data that must not count vendored code: distribution.load_metrics, lineage, doom_scorer, doom_rosetta_check.read_scan, callgraph_oracle, ts_callgraph_oracle, objc_callgraph_oracle, subsystem_distribution, study_report. Each now has a vendored-filter test; the baseline re-measure was closed in #6747. Sibling gaps: none (the ts_callgraph_oracle bulk baseline does not exist, so there is nothing to re-measure).

Facts checked

  • test_callgraph_oracle.py: 21 passed. pr_gates.py --fast: 8/9, derived stale because of the new test dir; regenerated with change_classifier.py --write, test_change_classifier then passes. --ratchets not run (test-only).

Remaining slices

None for this checklist item.

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 26, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review October 26, 2026 17:06
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 26, 2026 17:06
@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #6749 @ 2715380: 2 failed check(s)

== full-suite (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40365432440/job/121725031536
repro: python -m pytest -q tests
errors:
##[error]Process completed with exit code 1.
log tail:
Commit: 21505ad2541d5be6135ed84fc33697146cf75b8e
Build Date: 2026-10-21T00:45:21Z
Worker ID: {26899301-83dd-4bc6-86f3-44f566537393}
Region: eastus
Cloud: Azure
##[endgroup]
##[group]Operating System
Ubuntu
24.04.5
LTS
##[endgroup]
##[group]Runner Image
Image: ubuntu-24.04
Version: 20261012.334.1
Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20261012.334/images/ubuntu/Ubuntu2404-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20261012.334
##[endgroup]
##[group]GITHUB_TOKEN Permissions
Contents: read
Metadata: read
##[endgroup]
Secret source: Actions
Cache mode: write
Prepare workflow directory
Prepare all required actions
Complete job name: full-suite
##[group]Run echo "full-suite parts: $PARTS (tested-tree skip: $SKIP, suite plan: $PLAN)"
echo "full-suite parts: $PARTS (tested-tree skip: $SKIP, suite plan: $PLAN)"
# #4935: "skipped" is a pass only when the gate proved this tree green on the PR; otherwise it is a failure.
# #6278: or when the suite plan proved the PR changes only prose no test or engine code opens (mode skip).
test "$PARTS" = "success" || { test "$PARTS" = "skipped" && { test "$SKIP" = "true" || test "$PLAN" = "skip"; }; }
shell: /usr/bin/bash -e {0}
env:
PARTS: failure
SKIP:
PLAN: full
##[endgroup]
full-suite parts: failure (tested-tree skip: , suite plan: full)
##[error]Process completed with exit code 1.
Cleaning up orphan processes

== full-suite part 1/3 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40365432440/job/121722385647
repro: python -m pytest -q tests
errors:
fail-on-cache-miss: false
[--ai-guardrails] [--fail-on-secrets]
[--fail-on-malware]
--fail-on-secrets CI/CD Gate: Fail build if hardcoded secrets are
--fail-on-malware CI/CD Gate: Fail build if ML threat inference flags
CI/CD Gate: Fail build if any file exceeds this risk
CI/CD Gate: fail the build if any file's structural
FAIL tests/tools/test_evidence_report.py::test_the_release_gate_fails_while_a_level_is_stale: 15.3s is over 15s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
##[error]Process completed with exit code 1.
log tail:
env:
PYTHONUTF8: 1
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
OMP_NUM_THREADS: 1
pythonLocation: /opt/hostedtoolcache/Python/3.12.15/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib
PYTEST_ADDOPTS: --ignore=tests/cobol_mainframe
##[endgroup]
With the provided path, there will be 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: test-times-part-1.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 212594
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is bcf7c94fc3d1215ab302362440e3a8253d5fa08fb0c489ed9abde9a48029e24d
Finalizing artifact upload
Artifact test-times-part-1 successfully finalized. Artifact ID 12670861088
Artifact test-times-part-1 has been successfully uploaded! Final size is 212594 bytes. Artifact ID is 12670861088
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/40365432440/artifacts/12670861088
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/12d28e9d-7cd9-484e-b855-31ccb4588b17' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/gitgalaxy/gitgalaxy
Removing SSH command configuration
[command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Cleaning up orphan processes

@squid-shepherd squid-shepherd Bot added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 26, 2026
@squid-shepherd squid-shepherd Bot removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 26, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

CI shepherd: the head of this PR (b2270d1) is not the one a maintainer labelled shepherd:merge on (new commits, or never approved), so the label was removed and nothing merges unreviewed code. Re-add the label when the new head is ready (shepherd:reapprove marks this PR until then).

@squid-shepherd
squid-shepherd Bot disabled auto-merge October 26, 2026 17:52
@squid-shepherd squid-shepherd Bot added shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md labels Oct 26, 2026
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Oct 26, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 26, 2026 17:58
@squid-shepherd squid-shepherd Bot added shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md and removed shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md labels Oct 26, 2026
@squid-shepherd
squid-shepherd Bot merged commit 7e7b6f5 into main Oct 26, 2026
49 of 51 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/6097-20261026T1700Z branch October 26, 2026 18:33
squid-shepherd Bot pushed a commit that referenced this pull request Oct 30, 2026
…prose (follow-up to #6097) (#7147)

* DOOM study: rescan at 6c7c6c1, one scan for every table, refresh the prose (follow-up to #6097)

Rescanned all 44 licensed ports at main 6c7c6c1 (42/44 PERFECT; callgraph
passes everywhere after #7019) and regenerated the sfs subway table on the same
scans, so no table mixes scan dates any more.

Prose: drop the defect and "not done" text that #6700/#6703/#6705/#6749 fixed,
state the sqldoom/cssdoom #5876 ruling, explain the median-0 complexity of the
JVM/Rust ports (method size, measured), fix the dist range and date line.
study_report.py: the scorecard's last column was "functions now" but counts only
ctags-language files (doom-fx read 1, dartdoom 0); relabel it and say so.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* DOOM study: read wiring similarity against its floor; cross-subsystem wiring (follow-up to #6097)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* DOOM study: subway table reads cross wiring over a shuffled null; negative controls

study_report.py shows sfs's cross_wiring, its shuffled-placement null and the gap
when subway.csv has them (sfs PR #21), sorted by the gap; old CSVs keep the old table.
Prose: raw wiring flatters (doomf77 0.91 is +0.05 over null); doom-scheme and gore
keep cross wiring +0.51/+0.50 over null like chocolate-doom; JVM/C#/Fortran ports
and reimplementations show none. Negative controls (WinQuake, Quake II, Lua at the
same engine) give the null levels; graph-shape distance does not separate them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* DOOM study: restructure as findings first, tables as appendices; twin cross-check, controls, blind placement

Findings lead (twins 93% precise vs source text at 6c7c6c1; textscreen shared sideways;
Scheme/Go wiring above chance and blind placement kappa 0.50/0.31/0.26; names kept,
bodies rewritten; extraction accuracy), then what this does not show, then Appendices
A-G (the generated tables, unchanged) and a new hand-quoted Appendix H (twin
cross-check, descent, unrelated programs).

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Joe Esquibel <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant