Small improvement

Not strictly needed, but better to keep things private when possible
This commit is contained in:
tiferet
2022-12-01 14:24:50 -08:00
parent a317f2bfe2
commit 294f34bf07
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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.