Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create rule S6986: "optimizer.zero_grad()" should be used in conjunction with "optimizer.step()" and "loss.backward()" #3977

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Fix after review

00e9d68
Select commit
Loading
Failed to load commit list.
Draft

Create rule S6986: "optimizer.zero_grad()" should be used in conjunction with "optimizer.step()" and "loss.backward()" #3977

Fix after review
00e9d68
Select commit
Loading
Failed to load commit list.
Cirrus CI / validate_links failed Jun 10, 2024 in 1h 15m 13s

Task Summary

Instruction tests failed in 01:14:42

Details

✅ 00:23 clone
✅ 00:01 cache_download
❌ 01:14:42 tests

https://learn.microsoft.com/en-us/azure/azure-functions/performance-reliability#use-async-code-but-avoid-blocking-calls in 1 files
https://github.com/davidfowl/AspNetCoreDiagnosticScenarios/blob/master/AsyncGuidance.md in 1 files
https://docs.microsoft.com/en-us/azure/azure-functions/functions-monitoring in 1 files
https://docs.microsoft.com/en-us/azure/azure-monitor/app/azure-functions-supported-features in 1 files
https://stigviewer.com/stig/application_security_and_development/2023-06-08/finding/V-222610 in 2 files
https://docs.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-dotnet-entities#restrictions-on-entity-interfaces in 1 files
https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.webjobs.extensions.durabletask.idurableentitycontext.signalentity?view=azure-dotnet in 1 files
https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.webjobs.extensions.durabletask.idurableentityclient.signalentityasync?view=azure-dotnet in 1 files
https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.webjobs.extensions.durabletask.idurableorchestrationcontext.createentityproxy?view=azure-dotnet in 1 files
https://mochajs.org/#exclusive-tests in 1 files
https://jestjs.io/docs/next/api#testonlyname-fn-timeout in 1 files
https://jestjs.io/docs/next/api#describeonlyname-fn in 1 files
https://en.cppreference.com/w/cpp/utility/optional in 1 files
https://kubernetes.io/docs/concepts/storage/volumes/#hostpath in 2 files
https://docs.docker.com/engine/reference/commandline/dockerd/#daemon-socket-option in 1 files
https://www.kernel.org/doc/Documentation/prctl/no_new_privs.txt in 1 files
https://docs.docker.com/build/buildkit/dockerfile-frontend/ in 1 files
https://docs.docker.com/engine/reference/builder/#run---network in 1 files
https://cwe.mitre.org/data/definitions/653 in 2 files
https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf in 10 files
https://cwe.mitre.org/data/definitions/323 in 4 files
https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38c.pdf in 4 files
https://react.dev/reference/react/Component in 2 files
https://react.dev/reference/react/Component#render in 1 files
https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/best-practices#security-recommendations-for-parameters in 2 files
https://learn.microsoft.com/en-us/azure/templates/microsoft.sql/servers?pivots=deployment-language-arm-template in 1 files
https://docs.docker.com/compose/env-file/ in 2 files
https://docs.docker.com/engine/reference/commandline/run/#env in 2 files
https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html in 4 files
https://learn.microsoft.com/en-us/azure/key-vault/ in 4 files
https://cloud.google.com/secret-manager/docs in 4 files
https://developer.hashicorp.com/vault/docs in 4 files
https://docs.docker.com/engine/swarm/secrets/ in 2 files
https://docs.docker.com/engine/reference/builder/#run---mounttypesecret in 4 files
https://symfony.com/doc/current/configuration/secrets.html in 1 files
https://react.dev/learn/javascript-in-jsx-with-curly-braces in 1 files
https://react.dev/learn/conditional-rendering#logical-and-operator- in 1 files
https://react.dev/warnings/invalid-hook-call-warning#breaking-rules-of-hooks in 1 files
https://legacy.reactjs.org/docs/hooks-rules.html in 1 files
https://reactjs.org/docs/components-and-props.html in 1 files
https://legacy.reactjs.org/docs/state-and-lifecycle.html#adding-lifecycle-methods-to-a-class in 1 files
https://react.dev/reference/react in 2 files
https://react.dev/reference/react/useState in 3 files
https://react.dev/reference/react/useState#im-getting-an-error-too-many-re-renders in 1 files
https://react.dev/learn/state-a-components-memory in 1 files
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is in 1 files
https://learn.microsoft.com/dotnet/standard/base-types/best-practices#use-time-out-values in 2 files
https://learn.microsoft.com/dotnet/api/system.text.regularexpressions.regexoptions?view=net-7.0 in 2 files
https://docs.microsoft.com/dotnet/standard/base-types/best-practices in 2 files
https://docs.microsoft.com/dotnet/standard/base-types/backtracking-in-regular-expressions in 2 files
https://devblogs.microsoft.com/dotnet/regular-expression-improvements-in-dotnet-7/#backtracking-and-regexoptions-nonbacktracking in 2 files
https://docs.microsoft.com/dotnet/api/system.text.regularexpressions.regex.matchtimeout in 2 files
https://docs.microsoft.com/dotnet/api/system.text.regularexpressions.regexoptions?view=net-7.0 in 2 files
https://en.cppreference.com/w/cpp/utility/optional/optional in 1 files

Context canceled!������������������������������������������