René's URL Explorer Experiment


Title: [inline-learn lib 3/3] Add direct MakeTest inline learning by d10c · Pull Request #23013 · github/codeql · GitHub

Open Graph Title: [inline-learn lib 3/3] Add direct MakeTest inline learning by d10c · Pull Request #23013 · github/codeql

X Title: [inline-learn lib 3/3] Add direct MakeTest inline learning by d10c · Pull Request #23013 · github/codeql

Description: What problem does it solve? Inline-expectation learning needs to work for direct test .ql queries that use MakeTest, not only for .qlref tests with a postprocessor. Why is the problem a problem? Direct tests have no .qlref ownership metadata or postprocessing stage. Without an explicit direct-query protocol, they cannot emit source edits while preserving their ordinary result relations. How does the solution work? Direct learning plans emit the same six-column learnEdits relation consumed by the test runner. Exact main-schema recognition avoids treating metadata or @id queries as edit producers. Shared edit emission is reused, while direct and postprocessing plans remain separate because their discovery, identity, output, and reconciliation contracts differ. Why does the solution solve the problem? The direct query computes edits from its own MakeTest expectations and returns them through the runner's established relation shape. Ordinary query results remain available for expected-output comparison. Why is this a good solution? It adds direct support without pretending that direct queries and tagged .qlref cohorts have interchangeable membership semantics. Mixed or multiple producers can therefore be rejected safely until a generalized source-owner contract is designed. Testing Python and Java library fixtures cover direct edit generation and ordinary result preservation. They were exercised with plain, learn, repeated-learn, and plain verification runs. Stack: follows #23012 in Stack #23015.

Open Graph Description: What problem does it solve? Inline-expectation learning needs to work for direct test .ql queries that use MakeTest, not only for .qlref tests with a postprocessor. Why is the problem a problem? Di...

X Description: What problem does it solve? Inline-expectation learning needs to work for direct test .ql queries that use MakeTest, not only for .qlref tests with a postprocessor. Why is the problem a problem? Di...

Opengraph URL: https://github.com/github/codeql/pull/23013

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:f83d2cad-a485-e0b7-5666-538e7d12e32b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCDFC:121AA2:1420F46:1A983C5:6AF89517
html-safe-noncedbb9f9f168dae7b1e943015563e19e60b4709827f9282c29d6df2ae639b223c2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDREZDOjEyMUFBMjoxNDIwRjQ2OjFBOTgzQzU6NkFGODk1MTciLCJ2aXNpdG9yX2lkIjoiMjg1MTYwMDEzMzAzNDM4MjYxNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac41085faf9368fd76e36103d90f17bb30fe66f54d9636fb4e9d2c0ff6f02ef040
hovercard-subject-tagpull_request:5154411736
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/github/codeql/pull/23013/files
twitter:imagehttps://avatars.githubusercontent.com/u/9970661?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/9970661?s=400&v=4
og:image:altWhat problem does it solve? Inline-expectation learning needs to work for direct test .ql queries that use MakeTest, not only for .qlref tests with a postprocessor. Why is the problem a problem? Di...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/github/codeql git https://github.com/github/codeql.git
octolytics-dimension-user_id9919
octolytics-dimension-user_logingithub
octolytics-dimension-repository_id143040428
octolytics-dimension-repository_nwogithub/codeql
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id143040428
octolytics-dimension-repository_network_root_nwogithub/codeql
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release072e34035c13c31543fba9f025cbbbda4210dae4
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/codeql/pull/23013/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql%2Fpull%2F23013%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql%2Fpull%2F23013%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=github%2Fcodeql
Reloadhttps://github.com/github/codeql/pull/23013/files
Reloadhttps://github.com/github/codeql/pull/23013/files
Reloadhttps://github.com/github/codeql/pull/23013/files
githubhttps://github.com/github
codeqlhttps://github.com/github/codeql
Codehttps://github.com/github/codeql
Issues1k (1k)https://github.com/github/codeql/issues
Pull requests516 (516)https://github.com/github/codeql/pulls
Discussionshttps://github.com/github/codeql/discussions
Actionshttps://github.com/github/codeql/actions
Projectshttps://github.com/github/codeql/projects
Security and qualityhttps://github.com/github/codeql/security
Insightshttps://github.com/github/codeql/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fgithub%2Fcodeql%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fgithub%2Fcodeql%2Fissues%2Fnew%2Fchoose
d10chttps://github.com/d10c
d10c/multi-query-ql-reconciliationhttps://github.com/github/codeql/tree/d10c/multi-query-ql-reconciliation
d10c/direct-ql-maketest-learninghttps://github.com/github/codeql/tree/d10c/direct-ql-maketest-learning
Conversation 5 https://github.com/github/codeql/pull/23013
Commits 2 https://github.com/github/codeql/pull/23013/commits
Checks 5 https://github.com/github/codeql/pull/23013/checks
Findings https://github.com/github/codeql/pull/23013/findings
Files changed https://github.com/github/codeql/pull/23013/files
Please reload this pagehttps://github.com/github/codeql/pull/23013/files
[inline-learn lib 3/3] Add direct MakeTest inline learning https://github.com/github/codeql/pull/23013/files#top
Show all changes 2 commits https://github.com/github/codeql/pull/23013/files
c4f9c29 Add direct MakeTest inline learning d10c Nov 3, 2026 https://github.com/github/codeql/pull/23013/commits/c4f9c29f67e89d54e0f4b02824c3ec374f14e72a
4b761ab Reject unsafe direct inline expectation edits d10c Nov 4, 2026 https://github.com/github/codeql/pull/23013/commits/4b761ab1282dfe1e866bad5f8eff89441a75c125
Clear filters https://github.com/github/codeql/pull/23013/files
Please reload this pagehttps://github.com/github/codeql/pull/23013/files
Please reload this pagehttps://github.com/github/codeql/pull/23013/files
Test.expected https://github.com/github/codeql/pull/23013/files#diff-8c45685dfa8caff3b48af139d0326c2bbe0c6ffaa0d39538685aa022aeb96852
Test.java https://github.com/github/codeql/pull/23013/files#diff-b8c0d0691b743d37e02cd6a5e764d60a73cb3b1cd8782adb1d48845fc44ec998
Test.ql https://github.com/github/codeql/pull/23013/files#diff-bea75405afd5c645aee19a1d08254223a4e72f6d65803f18de86dd84f1bd69f9
InlineExpectationsTestImpl.qll https://github.com/github/codeql/pull/23013/files#diff-a193f7a01b1c9845e73c58d0c5692299bbe31ef0dc79a15cc7d8823972561f43
Test.expected https://github.com/github/codeql/pull/23013/files#diff-9e9cccb13d171a90235358263e97130022ee0ecbf7c48fa46f6f38e5f716dc54
Test.ql https://github.com/github/codeql/pull/23013/files#diff-2a24ca290775258ec2512a530b6314bd9286e57e1192c617bdc7b819441e25a6
test.py https://github.com/github/codeql/pull/23013/files#diff-e7bd3d7f846b6384af41e9b7201241054b2ded650f0eeab75081793a839912e0
InlineExpectationsTest.qll https://github.com/github/codeql/pull/23013/files#diff-6e67caddf70aaa88e4ddb811d82943e28e605b9db535ad7afa5582e5149b5427
https://github.com/github/codeql/blob/d10c/learn-inline-expectations-lib/CODEOWNERS#L15
java/ql/test/library-tests/InlineExpectationsTest/learn-edits/Test.expectedhttps://github.com/github/codeql/pull/23013/files#diff-8c45685dfa8caff3b48af139d0326c2bbe0c6ffaa0d39538685aa022aeb96852
View file https://github.com/github/codeql/blob/4b761ab1282dfe1e866bad5f8eff89441a75c125/java/ql/test/library-tests/InlineExpectationsTest/learn-edits/Test.expected
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/23013/{{ revealButtonHref }}
https://github.com/github/codeql/blob/d10c/learn-inline-expectations-lib/CODEOWNERS#L15
java/ql/test/library-tests/InlineExpectationsTest/learn-edits/Test.javahttps://github.com/github/codeql/pull/23013/files#diff-b8c0d0691b743d37e02cd6a5e764d60a73cb3b1cd8782adb1d48845fc44ec998
View file https://github.com/github/codeql/blob/4b761ab1282dfe1e866bad5f8eff89441a75c125/java/ql/test/library-tests/InlineExpectationsTest/learn-edits/Test.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/23013/{{ revealButtonHref }}
https://github.com/github/codeql/blob/d10c/learn-inline-expectations-lib/CODEOWNERS#L15
java/ql/test/library-tests/InlineExpectationsTest/learn-edits/Test.qlhttps://github.com/github/codeql/pull/23013/files#diff-bea75405afd5c645aee19a1d08254223a4e72f6d65803f18de86dd84f1bd69f9
View file https://github.com/github/codeql/blob/4b761ab1282dfe1e866bad5f8eff89441a75c125/java/ql/test/library-tests/InlineExpectationsTest/learn-edits/Test.ql
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/23013/{{ revealButtonHref }}
https://github.com/github/codeql/blob/d10c/learn-inline-expectations-lib/CODEOWNERS#L18
python/ql/lib/utils/test/internal/InlineExpectationsTestImpl.qllhttps://github.com/github/codeql/pull/23013/files#diff-a193f7a01b1c9845e73c58d0c5692299bbe31ef0dc79a15cc7d8823972561f43
View file https://github.com/github/codeql/blob/4b761ab1282dfe1e866bad5f8eff89441a75c125/python/ql/lib/utils/test/internal/InlineExpectationsTestImpl.qll
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/23013/{{ revealButtonHref }}
https://github.com/github/codeql/pull/23013/files#diff-a193f7a01b1c9845e73c58d0c5692299bbe31ef0dc79a15cc7d8823972561f43
https://github.com/github/codeql/blob/d10c/learn-inline-expectations-lib/CODEOWNERS#L18
python/ql/test/library-tests/InlineExpectationsTest/learn-edits/Test.expectedhttps://github.com/github/codeql/pull/23013/files#diff-9e9cccb13d171a90235358263e97130022ee0ecbf7c48fa46f6f38e5f716dc54
View file https://github.com/github/codeql/blob/4b761ab1282dfe1e866bad5f8eff89441a75c125/python/ql/test/library-tests/InlineExpectationsTest/learn-edits/Test.expected
Open in desktop https://desktop.github.com
https://github.com/github/codeql/blob/d10c/learn-inline-expectations-lib/CODEOWNERS#L18
python/ql/test/library-tests/InlineExpectationsTest/learn-edits/Test.qlhttps://github.com/github/codeql/pull/23013/files#diff-2a24ca290775258ec2512a530b6314bd9286e57e1192c617bdc7b819441e25a6
View file https://github.com/github/codeql/blob/4b761ab1282dfe1e866bad5f8eff89441a75c125/python/ql/test/library-tests/InlineExpectationsTest/learn-edits/Test.ql
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/23013/{{ revealButtonHref }}
https://github.com/github/codeql/blob/d10c/learn-inline-expectations-lib/CODEOWNERS#L18
python/ql/test/library-tests/InlineExpectationsTest/learn-edits/test.pyhttps://github.com/github/codeql/pull/23013/files#diff-e7bd3d7f846b6384af41e9b7201241054b2ded650f0eeab75081793a839912e0
View file https://github.com/github/codeql/blob/4b761ab1282dfe1e866bad5f8eff89441a75c125/python/ql/test/library-tests/InlineExpectationsTest/learn-edits/test.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/23013/{{ revealButtonHref }}
Please reload this pagehttps://github.com/github/codeql/pull/23013/files
Please reload this pagehttps://github.com/github/codeql/pull/23013/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.