mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
Small improvement
Not strictly needed, but better to keep things private when possible
This commit is contained in:
@@ -206,7 +206,7 @@ query predicate reformattedTrainingEndpoints(
|
||||
* Gets the ATM data flow configuration for the specified query.
|
||||
* TODO: Delete this once we are no longer surfacing `hasFlowFromSource`.
|
||||
*/
|
||||
DataFlow::Configuration getDataFlowCfg(Query query) {
|
||||
private DataFlow::Configuration getDataFlowCfg(Query query) {
|
||||
query instanceof NosqlInjectionQuery and
|
||||
result instanceof NosqlInjectionAtm::NosqlInjectionAtmConfig
|
||||
or
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* and are therefore used as candidates for scoring at inference time.
|
||||
*
|
||||
* This is equivalent to ExtractEndpointDataTraining.qlref, but testing the inference endpoints rather than the training
|
||||
* endpoints. It ensures that CodeQL changes don't inadvertently change the endpoints that get scored at inferece time.
|
||||
* endpoints. It detects CodeQL changes that impact the endpoints that get scored at inference time.
|
||||
*
|
||||
* This test does not actually score the endpoints and test for changes in the model predictions: that gets done in the
|
||||
* integration tests.
|
||||
|
||||
Reference in New Issue
Block a user