VS Code Treatment Assignment Service (TAS) Client

JSON →
library 0.1.86 ·javascript
verified May 27, 2026

The `vscode-tas-client` package facilitates A/B experimentation within Visual Studio Code extensions by providing an interface to query and store experiment information from the Microsoft Treatment Assignment Service (TAS). As of version 0.1.86, it is specifically designed for integration with VS Code's extension host environment, leveraging `vscode.Memento` for caching experiment data and `IExperimentationTelemetry` for structured telemetry reporting, including GDPR-classified counterfactual logging. The package manages background refreshes of treatment variables every 30 minutes and offers both synchronous and asynchronous methods for service initialization and variable retrieval, allowing extensions to control data freshness and startup performance. Its core differentiation lies in its tight integration with the VS Code ecosystem, handling aspects like user population targeting, telemetry, and persistence seamlessly for extension developers. The release cadence is typically tied to internal Microsoft development cycles, often aligning with VS Code's own updates.

total hits 12
actors 5 distinct systems
last hit 1d ago human
GPTBot
5
Script
1
Search engines
2
Humans
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇪🇸 Spain · 🇫🇷 France