MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / benchmarkShouldUseSandbox

Function benchmarkShouldUseSandbox

benchmark/plugins.go:386–396  ·  view source on GitHub ↗
(command string)

Source from the content-addressed store, hash-verified

384}
385
386func benchmarkShouldUseSandbox(_ string) bool {
387 return true
388}
389
390func labelSet(labels ...string) map[string]struct{} {
391 set := make(map[string]struct{}, len(labels))
392 for _, label := range labels {
393 set[label] = struct{}{}
394 }
395 return set
396}
397
398func hasRiskLabel(evalCase securityEvalCase, label string) bool {
399 _, ok := evalCase.riskLabels[label]

Callers 1

buildSecurityScorecardFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected