Provides low-level interfaces and helper methods for authentication in Azure SDK
Overall
score
97%
{
"context": "This criteria evaluates the engineer's ability to use the TracingContext interface from @azure/core-auth to implement immutable context propagation for distributed tracing scenarios compatible with OpenTelemetry.",
"type": "weighted_checklist",
"checklist": [
{
"name": "TracingContext usage",
"description": "Implementation uses the TracingContext interface from @azure/core-auth as the underlying context type (either directly or through proper typing)",
"max_score": 25
},
{
"name": "getValue implementation",
"description": "Uses TracingContext.getValue(key) method to retrieve values from the context using symbol keys",
"max_score": 20
},
{
"name": "setValue implementation",
"description": "Uses TracingContext.setValue(key, value) method to create new context instances with added or updated metadata, maintaining immutability",
"max_score": 25
},
{
"name": "deleteValue implementation",
"description": "Uses TracingContext.deleteValue(key) method to create new context instances with specified keys removed",
"max_score": 20
},
{
"name": "Immutability preservation",
"description": "Implementation correctly maintains immutability by returning new context instances from setValue and deleteValue operations rather than mutating existing contexts",
"max_score": 10
}
]
}Install with Tessl CLI
npx tessl i tessl/npm-azure--core-authdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10