Skip to content

Approve PR #226's ClassConstant transitions - #227

Merged
johnsonlee merged 1 commit into
mainfrom
policy/approve-226-class-constant-transitions
Nov 16, 2026
Merged

johnsonlee merged 1 commit into
mainfrom
policy/approve-226-class-constant-transitions

Conversation

@johnsonlee

Copy link
Copy Markdown
Owner

Change

Policy-only change to the trusted file the required benchmark compiles from main (benchmark/README.md, "Intentional semantic changes"). It approves the three directed transitions that #226 introduces on purpose. benchmark/src/transitions.rs is excluded from the product identity, so this PR leaves main's identity unchanged.

benchmark/src/transitions.rs gains three rules keyed to base identity a6edb46687a91a227ff24425efd131fafe93a5375657d54a948e9d3398be0dc7 (main at d4dd8ee) and head identity aa06cf4f607352d4b5b7d1850cbccb6e2df12c02d54a4f61ee684c2c823d49f0 (#226 at c69f543). Both are read from run 43729611853's prepared/*/product-identity.txt, and the digests come from its results/native/semantic-transitions.json.

Case Change
schema-label-histogram IntConstant 157,407 → 126,774, plus a new ClassConstant row of 30,633. The total is conserved and every other label is unchanged.
schema-relationship-histogram IntConstant→CallSite DATAFLOW −35,112 and IntConstant→Local DATAFLOW −10,881 return as ClassConstant buckets with exactly those counts. They push Float→Return (385) and Null→CallSite CONTROL_FLOW (194) out of the top 40.
shape-label-scan-constant Rows that read 0 for a class literal now read its JVM descriptor, for example Ljavax/xml/validation/SchemaFactory;.

The query digests are identical on both sides. The remaining 70 of the 73 cases match exactly.

Verification

🤖 Generated with Claude Code

https://claude.ai/code/session_01Y7fuheyv6BkFkWh5taa18M

Three reviewed directed expectations for #226 (head c69f543, base main
d4dd8ee, run 43729611853): schema-label-histogram,
schema-relationship-histogram and shape-label-scan-constant change
because class literals become ClassConstant nodes instead of
IntConstant(0). Policy files are excluded from product identities, so
main's identity is unchanged by this commit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y7fuheyv6BkFkWh5taa18M
@github-actions

Copy link
Copy Markdown

📊 Test Coverage

Module Line Coverage
core ✅ 100.00% (3029/3029)
cypher ✅ 100.00% (6752/6752)
explore ✅ 100.00% (5501/5501)
ir ✅ 100.00% (180/180)
query ✅ 100.00% (363/363)
sootup ✅ 100.00% (5979/5979)
webgraph ✅ 100.00% (8249/8249)

View full logs

@github-actions

Copy link
Copy Markdown

Benchmark report

Base: d4dd8ee618b0345bb91de3f90c7c238b3f4425f9 · Head: ac41b3b7e8ec691a6501dd34d0c57694a054d296

Workflow and raw evidence · Full report

Benchmark correctness and OOM: PASS

Timing differences are report-only; correctness, OOM and required coverage decide this gate. GitHub runner timings do not establish performance acceptance.

Base: d4dd8ee618b0345bb91de3f90c7c238b3f4425f9
Head: ac41b3b7e8ec691a6501dd34d0c57694a054d296

frontend-build-save

  • PASS base frontend build/save correctness: fresh real64 build/save plus whole Tika/Hive/Kotlin correctness/readback complete; 7 G1 JVM receipts under 4 GiB; ExitOnOutOfMemoryError rejects even recoverable production OOM
  • PASS base frontend build/save heap: fresh real64 build/save plus whole Tika/Hive/Kotlin correctness/readback complete; 7 G1 JVM receipts under 4 GiB; ExitOnOutOfMemoryError rejects even recoverable production OOM
  • PASS base frontend build/save coverage: fresh real64 build/save plus whole Tika/Hive/Kotlin correctness/readback complete; 7 G1 JVM receipts under 4 GiB; ExitOnOutOfMemoryError rejects even recoverable production OOM
  • PASS head frontend build/save correctness: fresh real64 build/save plus whole Tika/Hive/Kotlin correctness/readback complete; 7 G1 JVM receipts under 4 GiB; ExitOnOutOfMemoryError rejects even recoverable production OOM
  • PASS head frontend build/save heap: fresh real64 build/save plus whole Tika/Hive/Kotlin correctness/readback complete; 7 G1 JVM receipts under 4 GiB; ExitOnOutOfMemoryError rejects even recoverable production OOM
  • PASS head frontend build/save coverage: fresh real64 build/save plus whole Tika/Hive/Kotlin correctness/readback complete; 7 G1 JVM receipts under 4 GiB; ExitOnOutOfMemoryError rejects even recoverable production OOM
  • PASS host OOM events: before=Some({"high": 0, "low": 0, "max": 0, "oom": 0, "oom_group_kill": 0, "oom_kill": 0, "sock_throttled": 0}); after=Some({"high": 0, "low": 0, "max": 0, "oom": 0, "oom_group_kill": 0, "oom_kill": 0, "sock_throttled": 0})
Case Stage Measurement N base/head Base ms Head ms Delta ms Delta %
real64-build-save frontend-build-save JMH SingleShotTime 1/1 344207.671 350707.901 6500.230 +1.89%

native-real64

  • PASS base-real64-pressure-correctness: All complete responses, repeated-request stability and semantic scope assertions passed
  • PASS head-real64-pressure-correctness: All complete responses, repeated-request stability and semantic scope assertions passed
  • PASS matched-real-source-inputs: source JAR/shard hashes match: true; exact 73 query texts match: true
  • PASS base-head-reviewed-semantics: Exact queries and complete typed responses, or compiled-in directed expectations bound to both product content identities; exact query match: true; exact response match: true; see semantic-transitions.json
  • PASS fixed-real64-pressure-protocol: 73 cases; concurrency4; first-use1/warmup2/pressure20; pressure p50<100ms selects isolated40 at concurrency1. Selection changes reporting only, never acceptance.
  • PASS native-host-oom: Linux cgroup OOM counters must remain unchanged; every native process must survive all requests. JVM heap ceilings are checked by frontend-build-save
  • PASS base-native-concurrent-error-recovery: Separate real64 server: four concurrent complete requests, outcome metrics, invalid inputs and exact recovery results passed; deterministic rejection/deadline contracts are covered by production-handler unit tests, not these paired network probes; no performance samples
  • PASS head-native-concurrent-error-recovery: Separate real64 server: four concurrent complete requests, outcome metrics, invalid inputs and exact recovery results passed; deterministic rejection/deadline contracts are covered by production-handler unit tests, not these paired network probes; no performance samples
Case Stage Measurement N base/head Base ms Head ms Delta ms Delta %
real64-loading registry-ready single fresh-process boundary 1/1 36872.621 37691.956 819.335 +2.22%
real64-loading startup-through-first-use-oracle single fresh-process boundary 1/1 38142.032 38973.844 831.812 +2.18%
zero/global-wide-four-properties pressure nearest-rank p50 20/20 1.031 1.025 -0.006 -0.54%
zero/global-wide-four-properties pressure nearest-rank p95 20/20 7.311 5.530 -1.781 -24.36%
zero/global-wide-class-pair pressure nearest-rank p50 20/20 0.826 1.603 0.777 +94.07%
zero/global-wide-class-pair pressure nearest-rank p95 20/20 2.878 6.013 3.135 +108.90%
zero/global-wide-name-pair pressure nearest-rank p50 20/20 0.547 0.724 0.176 +32.26%
zero/global-wide-name-pair pressure nearest-rank p95 20/20 5.669 2.951 -2.718 -47.95%
zero/global-wide-caller-class pressure nearest-rank p50 20/20 0.799 0.744 -0.055 -6.85%
zero/global-wide-caller-class pressure nearest-rank p95 20/20 4.245 5.296 1.051 +24.76%
zero/global-wide-callee-class pressure nearest-rank p50 20/20 0.785 0.546 -0.238 -30.38%
zero/global-wide-callee-class pressure nearest-rank p95 20/20 2.079 3.027 0.948 +45.57%
zero/global-wide-provenance pressure nearest-rank p50 20/20 0.714 0.720 0.006 +0.83%
zero/global-wide-provenance pressure nearest-rank p95 20/20 1.703 3.937 2.234 +131.16%
zero/global-wide-aliased pressure nearest-rank p50 20/20 0.569 0.646 0.077 +13.53%
zero/global-wide-aliased pressure nearest-rank p95 20/20 2.395 3.203 0.808 +33.72%
zero/global-wide-parameterized-as-literal pressure nearest-rank p50 20/20 0.675 0.576 -0.099 -14.64%
zero/global-wide-parameterized-as-literal pressure nearest-rank p95 20/20 1.318 3.188 1.870 +141.91%
zero/global-wide-wrapped-case-insensitive pressure nearest-rank p50 20/20 0.613 0.589 -0.023 -3.82%
zero/global-wide-wrapped-case-insensitive pressure nearest-rank p95 20/20 4.150 2.890 -1.260 -30.36%
zero/global-wide-wrapped-case-insensitive-distinct pressure nearest-rank p50 20/20 0.756 0.707 -0.049 -6.45%
zero/global-wide-wrapped-case-insensitive-distinct pressure nearest-rank p95 20/20 4.180 2.886 -1.294 -30.95%
targeted/global-wide-four-properties pressure nearest-rank p50 20/20 63.786 51.024 -12.762 -20.01%
targeted/global-wide-four-properties pressure nearest-rank p95 20/20 84.094 90.575 6.481 +7.71%
targeted/global-wide-class-pair pressure nearest-rank p50 20/20 5.264 19.268 14.004 +266.01%
targeted/global-wide-class-pair pressure nearest-rank p95 20/20 27.648 47.189 19.541 +70.68%
targeted/global-wide-name-pair pressure nearest-rank p50 20/20 1.501 1.850 0.350 +23.30%
targeted/global-wide-name-pair pressure nearest-rank p95 20/20 3.034 7.196 4.162 +137.17%
targeted/global-wide-caller-class pressure nearest-rank p50 20/20 1.843 1.429 -0.414 -22.46%
targeted/global-wide-caller-class pressure nearest-rank p95 20/20 2.808 2.954 0.145 +5.18%
targeted/global-wide-callee-class pressure nearest-rank p50 20/20 1.239 1.043 -0.196 -15.85%
targeted/global-wide-callee-class pressure nearest-rank p95 20/20 2.220 2.769 0.549 +24.73%
targeted/global-wide-provenance pressure nearest-rank p50 20/20 1.329 1.037 -0.292 -21.99%
targeted/global-wide-provenance pressure nearest-rank p95 20/20 1.958 1.687 -0.271 -13.85%
targeted/global-wide-aliased pressure nearest-rank p50 20/20 0.971 0.911 -0.061 -6.26%
targeted/global-wide-aliased pressure nearest-rank p95 20/20 2.808 1.778 -1.031 -36.70%
targeted/global-wide-parameterized-as-literal pressure nearest-rank p50 20/20 1.056 0.961 -0.095 -8.95%
targeted/global-wide-parameterized-as-literal pressure nearest-rank p95 20/20 1.858 1.403 -0.455 -24.47%
targeted/global-wide-wrapped-case-insensitive pressure nearest-rank p50 20/20 0.972 1.069 0.097 +9.97%
targeted/global-wide-wrapped-case-insensitive pressure nearest-rank p95 20/20 1.838 3.479 1.640 +89.24%
targeted/global-wide-wrapped-case-insensitive-distinct pressure nearest-rank p50 20/20 1.185 1.543 0.358 +30.26%
targeted/global-wide-wrapped-case-insensitive-distinct pressure nearest-rank p95 20/20 3.248 2.630 -0.618 -19.02%
dense/global-wide-four-properties pressure nearest-rank p50 20/20 4.238 5.015 0.777 +18.35%
dense/global-wide-four-properties pressure nearest-rank p95 20/20 5.953 7.624 1.671 +28.07%
dense/global-wide-class-pair pressure nearest-rank p50 20/20 4.089 3.985 -0.104 -2.54%
dense/global-wide-class-pair pressure nearest-rank p95 20/20 5.255 5.860 0.604 +11.50%
dense/global-wide-name-pair pressure nearest-rank p50 20/20 3.957 3.471 -0.485 -12.27%
dense/global-wide-name-pair pressure nearest-rank p95 20/20 6.190 7.653 1.463 +23.63%
dense/global-wide-caller-class pressure nearest-rank p50 20/20 3.582 3.017 -0.566 -15.80%
dense/global-wide-caller-class pressure nearest-rank p95 20/20 4.943 4.935 -0.008 -0.16%
dense/global-wide-callee-class pressure nearest-rank p50 20/20 2.891 3.556 0.665 +23.01%
dense/global-wide-callee-class pressure nearest-rank p95 20/20 4.864 6.325 1.461 +30.05%
dense/global-wide-provenance pressure nearest-rank p50 20/20 3.303 3.197 -0.106 -3.20%
dense/global-wide-provenance pressure nearest-rank p95 20/20 4.873 5.802 0.929 +19.07%
dense/global-wide-aliased pressure nearest-rank p50 20/20 3.154 3.465 0.311 +9.86%
dense/global-wide-aliased pressure nearest-rank p95 20/20 4.306 5.409 1.104 +25.63%
dense/global-wide-parameterized-as-literal pressure nearest-rank p50 20/20 3.797 3.308 -0.489 -12.89%
dense/global-wide-parameterized-as-literal pressure nearest-rank p95 20/20 8.716 6.102 -2.614 -29.99%
dense/global-wide-wrapped-case-insensitive pressure nearest-rank p50 20/20 3.793 2.769 -1.025 -27.01%
dense/global-wide-wrapped-case-insensitive pressure nearest-rank p95 20/20 7.416 6.408 -1.008 -13.59%
dense/global-wide-wrapped-case-insensitive-distinct pressure nearest-rank p50 20/20 9.050 9.845 0.795 +8.78%
dense/global-wide-wrapped-case-insensitive-distinct pressure nearest-rank p95 20/20 13.804 96.342 82.538 +597.94%
localized-early/global-wide-four-properties pressure nearest-rank p50 20/20 1.095 1.874 0.779 +71.17%
localized-early/global-wide-four-properties pressure nearest-rank p95 20/20 3.105 3.752 0.647 +20.83%
localized-middle/global-wide-four-properties pressure nearest-rank p50 20/20 1.899 2.890 0.992 +52.22%
localized-middle/global-wide-four-properties pressure nearest-rank p95 20/20 5.050 6.794 1.744 +34.53%
localized-late/global-wide-four-properties pressure nearest-rank p50 20/20 1.915 2.948 1.033 +53.96%
localized-late/global-wide-four-properties pressure nearest-rank p95 20/20 4.130 4.591 0.461 +11.15%
broad-all-64/global-wide-four-properties pressure nearest-rank p50 20/20 2.907 3.105 0.197 +6.78%
broad-all-64/global-wide-four-properties pressure nearest-rank p95 20/20 7.407 5.063 -2.343 -31.64%
schema-label-histogram pressure nearest-rank p50 20/20 1.671 1.553 -0.117 -7.03%
schema-label-histogram pressure nearest-rank p95 20/20 2.572 3.569 0.997 +38.78%
schema-key-histogram pressure nearest-rank p50 20/20 2.716 2.036 -0.679 -25.01%
schema-key-histogram pressure nearest-rank p95 20/20 11.818 5.328 -6.490 -54.91%
schema-relationship-histogram pressure nearest-rank p50 20/20 113.792 112.678 -1.115 -0.98%
schema-relationship-histogram pressure nearest-rank p95 20/20 231.950 227.551 -4.399 -1.90%
shape-wide-contains pressure nearest-rank p50 20/20 1.700 2.900 1.200 +70.60%
shape-wide-contains pressure nearest-rank p95 20/20 7.732 7.653 -0.078 -1.01%
shape-label-scan-callsite pressure nearest-rank p50 20/20 2.452 5.412 2.960 +120.72%
shape-label-scan-callsite pressure nearest-rank p95 20/20 8.184 10.022 1.838 +22.46%
shape-label-scan-method pressure nearest-rank p50 20/20 2.330 2.955 0.625 +26.83%
shape-label-scan-method pressure nearest-rank p95 20/20 6.770 10.517 3.747 +55.36%
shape-label-scan-constant pressure nearest-rank p50 20/20 2.472 1.894 -0.577 -23.35%
shape-label-scan-constant pressure nearest-rank p95 20/20 7.486 4.778 -2.708 -36.17%
shape-label-scan-field pressure nearest-rank p50 20/20 1.898 2.743 0.845 +44.53%
shape-label-scan-field pressure nearest-rank p95 20/20 5.267 5.834 0.567 +10.77%
shape-all-nodes pressure nearest-rank p50 20/20 4.099 2.315 -1.784 -43.52%
shape-all-nodes pressure nearest-rank p95 20/20 7.563 6.002 -1.561 -20.64%
shape-equality pressure nearest-rank p50 20/20 88.428 84.241 -4.188 -4.74%
shape-equality pressure nearest-rank p95 20/20 97.579 95.753 -1.826 -1.87%
shape-inequality pressure nearest-rank p50 20/20 3.221 3.137 -0.084 -2.59%
shape-inequality pressure nearest-rank p95 20/20 5.825 6.007 0.182 +3.13%
shape-id-lookup pressure nearest-rank p50 20/20 1.458 1.590 0.131 +9.01%
shape-id-lookup pressure nearest-rank p95 20/20 5.124 8.853 3.729 +72.77%
shape-in-list pressure nearest-rank p50 20/20 0.882 1.056 0.174 +19.77%
shape-in-list pressure nearest-rank p95 20/20 6.730 4.876 -1.853 -27.54%
shape-null-check pressure nearest-rank p50 20/20 1.086 1.045 -0.042 -3.82%
shape-null-check pressure nearest-rank p95 20/20 4.410 4.068 -0.342 -7.75%
shape-regex pressure nearest-rank p50 20/20 1.277 1.324 0.047 +3.64%
shape-regex pressure nearest-rank p95 20/20 5.914 4.587 -1.327 -22.44%
shape-one-hop pressure nearest-rank p50 20/20 1.334 1.275 -0.059 -4.40%
shape-one-hop pressure nearest-rank p95 20/20 4.668 4.662 -0.006 -0.13%
shape-one-hop-typed pressure nearest-rank p50 20/20 1.293 1.134 -0.158 -12.26%
shape-one-hop-typed pressure nearest-rank p95 20/20 4.612 4.169 -0.443 -9.61%
shape-two-hop pressure nearest-rank p50 20/20 1.273 1.323 0.050 +3.90%
shape-two-hop pressure nearest-rank p95 20/20 3.177 3.972 0.794 +25.00%
shape-incoming pressure nearest-rank p50 20/20 1.337 1.411 0.074 +5.53%
shape-incoming pressure nearest-rank p95 20/20 5.355 3.618 -1.737 -32.43%
shape-var-length pressure nearest-rank p50 20/20 1.174 1.239 0.064 +5.48%
shape-var-length pressure nearest-rank p95 20/20 4.541 4.576 0.034 +0.76%
shape-path pressure nearest-rank p50 20/20 1.961 1.683 -0.278 -14.16%
shape-path pressure nearest-rank p95 20/20 4.448 4.547 0.099 +2.22%
shape-traverse-filtered pressure nearest-rank p50 20/20 58.394 57.271 -1.123 -1.92%
shape-traverse-filtered pressure nearest-rank p95 20/20 66.531 70.326 3.795 +5.70%
shape-count-all pressure nearest-rank p50 20/20 1.008 0.840 -0.168 -16.63%
shape-count-all pressure nearest-rank p95 20/20 3.462 2.777 -0.685 -19.78%
shape-count-label pressure nearest-rank p50 20/20 0.644 0.728 0.083 +12.92%
shape-count-label pressure nearest-rank p95 20/20 3.101 2.874 -0.227 -7.30%
shape-group-count pressure nearest-rank p50 20/20 151.391 147.580 -3.811 -2.52%
shape-group-count pressure nearest-rank p95 20/20 184.904 193.867 8.963 +4.85%
shape-distinct pressure nearest-rank p50 20/20 18.034 19.348 1.314 +7.29%
shape-distinct pressure nearest-rank p95 20/20 32.476 26.998 -5.478 -16.87%
shape-collect pressure nearest-rank p50 20/20 1.971 1.509 -0.463 -23.47%
shape-collect pressure nearest-rank p95 20/20 3.796 4.867 1.071 +28.21%
shape-count-traversal pressure nearest-rank p50 20/20 123.182 124.087 0.905 +0.73%
shape-count-traversal pressure nearest-rank p95 20/20 133.529 138.027 4.498 +3.37%
shape-order-by pressure nearest-rank p50 20/20 3.814 4.396 0.582 +15.27%
shape-order-by pressure nearest-rank p95 20/20 7.827 11.851 4.024 +51.41%
shape-order-by-desc pressure nearest-rank p50 20/20 1.599 1.685 0.085 +5.34%
shape-order-by-desc pressure nearest-rank p95 20/20 6.090 7.996 1.906 +31.29%
shape-skip pressure nearest-rank p50 20/20 3.557 2.501 -1.057 -29.70%
shape-skip pressure nearest-rank p95 20/20 6.984 6.527 -0.457 -6.54%
shape-function-calls pressure nearest-rank p50 20/20 3.023 2.749 -0.274 -9.06%
shape-function-calls pressure nearest-rank p95 20/20 8.274 7.869 -0.404 -4.89%
shape-case-expr pressure nearest-rank p50 20/20 2.319 1.145 -1.174 -50.63%
shape-case-expr pressure nearest-rank p95 20/20 4.582 5.248 0.666 +14.53%
shape-coalesce pressure nearest-rank p50 20/20 1.915 2.418 0.503 +26.28%
shape-coalesce pressure nearest-rank p95 20/20 7.865 6.086 -1.779 -22.62%
shape-labels-fn pressure nearest-rank p50 20/20 1.952 2.534 0.582 +29.83%
shape-labels-fn pressure nearest-rank p95 20/20 6.650 6.522 -0.128 -1.93%
shape-with-filter pressure nearest-rank p50 20/20 1.288 1.707 0.419 +32.53%
shape-with-filter pressure nearest-rank p95 20/20 5.615 5.728 0.113 +2.00%
shape-with-aggregate pressure nearest-rank p50 20/20 162.245 145.485 -16.761 -10.33%
shape-with-aggregate pressure nearest-rank p95 20/20 183.806 171.875 -11.931 -6.49%
shape-cartesian pressure nearest-rank p50 20/20 2.815 1.665 -1.149 -40.83%
shape-cartesian pressure nearest-rank p95 20/20 7.996 8.784 0.787 +9.85%
shape-union pressure nearest-rank p50 20/20 1.454 1.005 -0.449 -30.88%
shape-union pressure nearest-rank p95 20/20 6.607 4.403 -2.204 -33.36%

Full methods, comparability reasons, isolated observations, raw request bodies and logs are retained in the downloadable report/evidence artifacts. UNAVAILABLE never means zero; a zero baseline has no defined percentage change.

@johnsonlee
johnsonlee merged commit 18fd344 into main Nov 16, 2026
11 of 12 checks passed
@johnsonlee
johnsonlee deleted the policy/approve-226-class-constant-transitions branch November 16, 2026 05:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant