Skip to content

Commit 294f34b

Browse files
committed
Small improvement
Not strictly needed, but better to keep things private when possible
1 parent a317f2b commit 294f34b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

javascript/ql/experimental/adaptivethreatmodeling/modelbuilding/extraction/ExtractEndpointDataTraining.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ query predicate reformattedTrainingEndpoints(
206206
* Gets the ATM data flow configuration for the specified query.
207207
* TODO: Delete this once we are no longer surfacing `hasFlowFromSource`.
208208
*/
209-
DataFlow::Configuration getDataFlowCfg(Query query) {
209+
private DataFlow::Configuration getDataFlowCfg(Query query) {
210210
query instanceof NosqlInjectionQuery and
211211
result instanceof NosqlInjectionAtm::NosqlInjectionAtmConfig
212212
or

javascript/ql/experimental/adaptivethreatmodeling/test/endpoint_large_scale/ExtractEndpointDataInference.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* and are therefore used as candidates for scoring at inference time.
66
*
77
* This is equivalent to ExtractEndpointDataTraining.qlref, but testing the inference endpoints rather than the training
8-
* endpoints. It ensures that CodeQL changes don't inadvertently change the endpoints that get scored at inferece time.
8+
* endpoints. It detects CodeQL changes that impact the endpoints that get scored at inference time.
99
*
1010
* This test does not actually score the endpoints and test for changes in the model predictions: that gets done in the
1111
* integration tests.

0 commit comments

Comments
 (0)