CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-lodash-kebabcase

The lodash method kebabCase exported as a standalone Node.js module for converting strings to kebab-case format

Overall
score

68%

Evaluation68%

1.08x

Agent success when using this tile

Overview
Eval results
Files

task.mdevals/scenario-5/

Invocation Control Toolkit

A small utility module for controlling how often functions execute and how results are reused.

Capabilities

Each factory returns a wrapper around the supplied function that enforces the described invocation rules.

Search request coalescer

  • Rapid calls within the quiet period trigger only one underlying fetch using the most recent query, executed after no calls occur for the full quiet period. @test

Notification windowing

  • The first call within any window executes immediately, further calls within the window do not trigger the notifier, and the next call after the window executes with that call's payload. @test

Single-run initializer

  • The initialization routine executes at most once and all wrapper invocations return the first result without rerunning initialization. @test

Memoized score lookup

  • Results are cached per derived key so repeated calls with the same key reuse cached values while distinct keys compute independently. @test

Implementation

@generates

API

export function createSearchHandler(fetcher, quietMs);
export function createNotificationGate(notify, windowMs);
export function createInitializer(setup);
export function memoizeScorer(scorer, keySelector?);

Dependencies { .dependencies }

lodash { .dependency }

Utility helpers for wrapping functions, caching results, and controlling invocation timing.

Install with Tessl CLI

npx tessl i tessl/npm-lodash-kebabcase

tile.json