CtrlK
BlogDocsLog inGet started
Tessl Logo

pubnub/pubnub-presence

Implement real-time presence tracking with PubNub

96

1.31x
Quality

67%

Does it follow best practices?

Impact

100%

1.31x

Average score across 20 eval scenarios

SecuritybySnyk

Advisory

Suggest reviewing before use

Overview
Quality
Evals
Security
Files

Evaluation results

100%

30%

Customer Support Chat Widget Setup

Presence configuration and subscription setup

Criteria
Without context
With context

Admin Portal enablement

100%

100%

Selected channels mode

0%

100%

Channel rules configuration

0%

100%

Persistent unique userId

100%

100%

Event Engine enabled

0%

100%

withPresence flag

100%

100%

Heartbeat interval set

100%

100%

Presence timeout set

100%

100%

Timeout-heartbeat ratio

100%

100%

Chat-appropriate timing

100%

100%

100%

14%

Live Collaboration User List

Presence event handling and user list management

Criteria
Without context
With context

Join event handling

100%

100%

Leave event handling

100%

100%

Timeout event handling

100%

100%

State-change handling

100%

100%

Interval event handling

100%

100%

Interval batch arrays

100%

100%

hereNow initial fetch

100%

100%

hereNow includeUUIDs

100%

100%

Leave vs timeout distinction

0%

100%

Occupancy tracking

50%

100%

User map data structure

100%

100%

100%

16%

Team Availability Dashboard

User state management and cleanup

Criteria
Without context
With context

setState usage

100%

100%

Initial state on subscribe

100%

100%

State-change event handler

100%

100%

Multi-device handling

100%

100%

Persistent userId

100%

100%

beforeunload cleanup

100%

100%

Event Engine enabled

0%

100%

Admin Portal documentation

100%

100%

Selected channels recommendation

0%

100%

withPresence subscription

100%

100%

hereNow for initial state

100%

100%

100%

34%

Live Event Audience Tracker

High-occupancy presence scaling

Criteria
Without context
With context

Selective presence subscription

100%

100%

Interval event handling

30%

100%

Interval batch processing

0%

100%

Both event patterns

50%

100%

Occupancy caching

100%

100%

hereNow optimization

100%

100%

Announce max documentation

100%

100%

Portal presence config

75%

100%

Event Engine enabled

0%

100%

Scale-based strategy

100%

100%

Persistent userId

50%

100%

100%

28%

Secure Chat Room with Presence

Presence with access control and reconnection

Criteria
Without context
With context

Channel grant

100%

100%

Presence channel grant

0%

100%

PNConnectedCategory handler

100%

100%

PNReconnectedCategory handler

100%

100%

PNDisconnectedCategory handler

100%

100%

Initial fetch on connect

20%

100%

Refresh on reconnect

100%

100%

Heartbeat configuration

100%

100%

Timeout-heartbeat ratio

100%

100%

Event Engine enabled

0%

100%

Persistent userId

100%

100%

Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents