CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

pubnub/pubnub-live-auctions

Build real-time auction platforms with PubNub bidding and countdowns

Agent Success

Agent success rate when using this tile

100%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.18x

Baseline

Agent success rate without this tile

85%

Overview
Eval results
Skill reviews
Files

task.mdevals/scenario-5/

Implement Last-Second Bid Protection for Auctions

Context

Your PubNub auction platform suffers from a common problem: experienced bidders wait until the final moments to place their bids, leaving other participants no time to respond. The platform needs a mechanism to give all bidders a fair chance when late bids arrive.

The auction state, including timing information, is stored in KV Store. The solution must work within the PubNub Functions environment and must notify all connected clients when timing changes occur.

Task

Implement a server-side function that detects bids arriving near the end of an auction and adjusts the auction timing accordingly. The system should be configurable, have reasonable safeguards to prevent auctions from running indefinitely, and keep all clients informed of any timing adjustments.

Consider edge cases such as repeated late bidding and auctions that could theoretically never end without proper limits.

Expected Outputs

  • A function that evaluates bid timing relative to the auction end time and takes corrective action
  • Configurable parameters for the timing behavior
  • Safeguards against unbounded auction duration
  • Real-time notifications to all auction participants when timing changes
  • Updated auction state persisted to KV Store

evals

SKILL.mdtile.json