SShortSingh.
Back to feed

New Gherkin Refine tool lints feature files in Node.js projects

0
·2 views

A new npm package called Gherkin Refine performs static linting checks for Gherkin feature files in Node.js projects. It identifies issues like duplicate tags, repeated names, and unused Scenario Outline variables. The tool requires Node.js 22.18 or later and is installed as a development dependency. Style rules for whitespace cleanup are optional and must be explicitly enabled. The package does not execute test scenarios or validate Cucumber step definitions.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

AI system automates technical translation glossaries using async pipeline and self-critique

A new AI tool automates the creation of technical translation glossaries, a process that typically takes human translators hours to complete manually. The system uses an asynchronous pipeline with Redis queues and FastAPI to process large documents without exceeding API rate limits or token constraints. It employs a three-stage map-reduce process where an agentic component reviews and self-corrects the glossary for consistency and accuracy. The tool exports results in both CSV and TBX formats for integration with professional translation software.

0
ProgrammingDEV Community ·

Guide automates weekly GitHub project summary posted to Discord

A developer guide outlines a method to create automated weekly summaries of GitHub repository activity. The system uses a Python script and a GitHub Actions workflow to compile data on stars, forks, issues, and traffic. This digest is posted to a Discord channel every Monday, helping maintainers track project engagement. The setup is free and serverless, requiring only a GitHub repository and a Discord webhook.

0
ProgrammingDEV Community ·

ParadeDB pg_search 0.26 speeds multi-term queries but slows single-term searches

ParadeDB released version 0.26.0 of its pg_search PostgreSQL extension on October 3. The update rewrites how the extension stores field-length data needed for BM25 relevance scoring. Benchmarking showed a query combining ten search terms became over four times faster, dropping from approximately 129ms to 29ms. However, the same update made single-term queries roughly five times slower, increasing from about 1.5ms to over 8ms. The performance changes are attributed to a redesign that consolidates internal queries and moves field-norm data.

0
ProgrammingDEV Community ·

AI agent token optimizations backfire, increasing costs by up to 82%

The Altair project team tested three token-reduction strategies on their open-source AI agent. Reducing system prompt length, aggressively clearing old context, and loading tools individually all increased costs per task by up to 82%. The optimizations failed because AI agent pricing depends more on request steps and cache usage than individual request size. Shorter prompts caused the agent to take 57% more steps per task, negating token savings. Tool description truncations also caused task failures that didn't occur with full descriptions.