tessl install tessl/npm-ulid@3.0.0A universally-unique, lexicographically-sortable, identifier generator
Agent Success
Agent success rate when using this tile
78%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.34x
Baseline
Agent success rate without this tile
58%
Build a utility function that filters a collection of ULID strings to return only those created within a specified time range.
Your implementation should:
@generates
/**
* Filters an array of ULIDs to return only those created within the specified time range.
*
* @param ulids - Array of ULID strings to filter
* @param startTime - Start of time range in milliseconds (inclusive)
* @param endTime - End of time range in milliseconds (inclusive)
* @returns Array of ULIDs that fall within the specified time range
*/
export function filterULIDsByTimeRange(
ulids: string[],
startTime: number,
endTime: number
): string[];Provides ULID generation and decoding functionality.