Yandex Go Develops Custom DSL to Handle Complex Dynamic Ride Pricing Logic
Yandex Go has introduced a custom domain-specific language to manage the intricate logic behind calculating ride costs, replacing what would otherwise become an unmaintainable collection of conditional statements in the core service code.
Trip pricing at Yandex Go is far more complex than simple multiplication of distance and time. It incorporates geozones, real-time demand, discounts, toll roads, additional stops, and special requirements such as transporting a cat, bicycle, or skis. The same pricing engine is invoked not only when a ride is ordered but also when the route or payment method changes, when a trip ends, when support staff intervene, and when analysts verify data.
Pricing can be fixed, interval-based, or calculated by taximeter. To support this flexibility without constant redeployments, developers first gather parameters from multiple sources in parallel: tariff category, geozones, discounts, surge multipliers, and additional services. These dependencies form a graph executed asynchronously on userver, ensuring that failure of a non-critical source does not halt the entire calculation.
Previously the algorithm resided in C++, but because pricing rules change on average twice a week, frequent service updates became impractical. Redeploying the service across 50 pods takes approximately 40 minutes, and the growing set of dynamic configuration files would have turned the codebase into a museum of conditional statements.
Instead, Yandex created its own DSL featuring conditions, functions, immutable values, and fold operations in place of traditional loops. Rules are organized into sequential chains where each transformation receives the current price and parameters and returns a new result together with metadata. The language grammar is defined with ANTLR 4, and the Z3 theorem prover verifies that no program can generate an incorrect price.
As a result, changes to pricing logic no longer require service recompilation, erroneous versions can be rolled back instantly, and every calculation can be reproduced from input data and intermediate results. The pricing platform is already shared with Yandex Taxi, Delivery, and the electric-vehicle charging service.
Related articles
IDC Publishes First China APA Market Share Report Highlighting RPA Veterans Leading Agentic Automation
IDC has released its inaugural China Agentic Process Automation market report for 2025, marking the first official tracking of the emerging APA sector. The report values the Chinese APA market at approximately 2.15 billion RMB, with product revenue at 1.62 billion RMB and services at 530 million RMB. Leading vendors include Yisaiqi, Jinzhiwei, and Laiye Technology, all long-established RPA players now extending their platforms with agentic capabilities. APA introduces governance layers that allow AI agents to perceive environments, orchestrate tasks, and execute autonomously while maintaining auditability and compliance. Case studies from clients such as Jiage Food and Zhongtian Technology demonstrate significant efficiency gains, including 80 percent process improvements and annual cost savings exceeding one million RMB. The transition from traditional RPA to APA enables handling of non-standard, dynamic workflows that previously required constant human intervention.
sing-box Fork Expands from Desktop VPN Launcher to Android and Router Deployments
The sing-box-lx fork has grown from a desktop-focused VPN engine into a cross-platform solution supporting Android and headless router deployments. Over 1,700 commits since June produced 24 stable 1.14 releases and dozens of specialized builds. New protocol support includes a full MASQUE CONNECT-IP outbound for Cloudflare WARP and a rigorously verified AmneziaWG 2.0 implementation matching 16 obfuscation parameters across three reference sources. Android adaptations introduced aggressive endpoint state management that reduced RSS by 31 percent and CPU load by 80 percent while fixing long-standing TCP dial timeouts inherited from gVisor. The new lxd headless daemon exposes gRPC observability and admin REST endpoints with mTLS, config validation, automatic rollback, and device-name mapping for OpenWrt deployments. All changes follow strict upstream discipline: minimal patches, regular rebases, reproducible builds, and real-device testing before stable tags.
Yandex Market Launches Click Delivery with 24-Hour Post-Payment for Clothing and Accessories
Yandex Market has introduced a new delivery option called click delivery with post-payment, allowing customers to receive orders, try on items at home, and have payment processed only after 24 hours for items they choose to keep. The service targets clothing, footwear, and accessories, eliminating the need to try items in crowded pickup points. Customers can order multiple sizes or models, inspect quality at their own pace, and return unwanted goods within one day without filing a separate request. Returns can be handed to a Yandex Lavka courier or dropped off at a Market pickup point, after which the remaining order is charged automatically. The feature is available only for items eligible for Split installment payments and when selecting click delivery with the "Pay after receipt" option. The service is currently live in 26 Russian regions with plans for further expansion, positioning it as a novel format for the Russian market.
Russian Businesses Surge Chinese LLM Usage More Than 11-Fold in First Half of 2026
Russian companies have dramatically increased their consumption of Chinese large language models, with total token usage reaching over 400 billion in the first half of 2026. This represents an 11.3-fold increase compared to the full-year 2025 figure of 39.1 billion tokens. The Qwen family maintained its dominant position, accounting for 261.1 billion tokens and 59.1% of consumption during the period. GLM secured second place with 91.2 billion tokens and 20.7% share, while Kimi overtook DeepSeek for third position at 81.4 billion tokens and 18.4%. MWS Cloud data shows that major enterprises are now integrating these models into production workflows such as chatbots, personalized advertising, customer outreach, product descriptions, and review analysis. The overall Russian LLM market is projected to grow 35% to 19.6 billion rubles in 2026, with the cloud segment approaching 1.5 billion rubles. MWS Cloud has nearly doubled its Model Hub catalog to 17 models, adding GLM 5.2, Kimi K2.6, Qwen3.6, Gemma 4, GPT OSS, plus speech recognition, synthesis tools, and rerankers accessible via a unified OpenAI-compatible API.