Skip to content

ML collectors, attribution, rules, sequence deep - #152

Merged
devops-stack merged 1 commit into
mainfrom
develop
Jul 31, 2026
Merged

ML collectors, attribution, rules, sequence deep#152
devops-stack merged 1 commit into
mainfrom
develop

ML collectors, attribution, rules, sequence deep

21f9826
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jul 31, 2026 in 32s

Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check failure on line 62 in kernel_ai/ml/attribution/attack_map.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 40 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=devops-stack_ring-0&issues=AZ-3J4uzhAKrAKl7bXq1&open=AZ-3J4uzhAKrAKl7bXq1&pullRequest=152

Check failure on line 26 in kernel_ai/ml/collectors/stream_e2e.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 18 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=devops-stack_ring-0&issues=AZ-3J4vVhAKrAKl7bXq5&open=AZ-3J4vVhAKrAKl7bXq5&pullRequest=152

Check failure on line 31 in kernel_ai/ml/sequence_deep/scorer.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 31 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=devops-stack_ring-0&issues=AZ-3J4vMhAKrAKl7bXq4&open=AZ-3J4vMhAKrAKl7bXq4&pullRequest=152

Check failure on line 53 in kernel_ai/ml/sequence_deep/train_markov.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

LLMs running this code with faulty CLI arguments can escape file system restrictions. Refactor this code to validate the constructed path before accessing the file system.

See more on https://sonarcloud.io/project/issues?id=devops-stack_ring-0&issues=AZ-3J4u8hAKrAKl7bXq2&open=AZ-3J4u8hAKrAKl7bXq2&pullRequest=152

Check warning on line 19 in kernel_ai/ml/sequence_deep/markov.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this commented out code.

See more on https://sonarcloud.io/project/issues?id=devops-stack_ring-0&issues=AZ-3J4vFhAKrAKl7bXq3&open=AZ-3J4vFhAKrAKl7bXq3&pullRequest=152

Check warning on line 119 in tests/test_ml_stage8.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Split this composite assertion into separate assertions.

See more on https://sonarcloud.io/project/issues?id=devops-stack_ring-0&issues=AZ-3J4rAhAKrAKl7bXqz&open=AZ-3J4rAhAKrAKl7bXqz&pullRequest=152

Check failure on line 40 in kernel_ai/ml/attribution/sigma_engine.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 31 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=devops-stack_ring-0&issues=AZ-3J4urhAKrAKl7bXq0&open=AZ-3J4urhAKrAKl7bXq0&pullRequest=152

Check warning on line 35 in tests/test_ml_stage8.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Split this composite assertion into separate assertions.

See more on https://sonarcloud.io/project/issues?id=devops-stack_ring-0&issues=AZ-3J4rAhAKrAKl7bXqy&open=AZ-3J4rAhAKrAKl7bXqy&pullRequest=152