CtrlK
BlogDocsLog inGet started
Tessl Logo

jbaruch/iot-actuator-patterns

Patterns for driving rate-limited IoT actuators from real-time producers: async debounced controller, target quantization for stability, and bottom-up progress-bar rendering.

96

1.25x
Quality

96%

Does it follow best practices?

Impact

97%

1.25x

Average score across 9 eval scenarios

SecuritybySnyk

Passed

No known issues

Overview
Quality
Evals
Security
Files

Evaluation results

100%

Face Recognition Confidence Display System

Criteria
Without context
With context

Identifies stability filter as the cause (not rate limiting or threading)

100%

100%

Identifies float equality across ticks as the root cause

100%

100%

Quantises to integer matching device resolution

100%

100%

Target cardinality matches device states

100%

100%

Distinct value count shown (broken vs fixed)

100%

100%

Fixed targets are integers not floats

100%

100%

No fine-grained rounding in fix

100%

100%

93%

58%

Smart Office Lighting Controller

Criteria
Without context
With context

Send-latest semantics: stale targets dropped not queued

100%

100%

Stability filter is consecutive-tick hold NOT rate limiting

0%

100%

Exact value match required for stability (quantisation trap)

0%

72%

Discrete target values not raw floats

100%

100%

Cloud min_interval default 1.2s

0%

100%

Stability ticks default 2

0%

100%

Tick rate default 0.4s

0%

100%

100%

3%

LED Volume Meter for Live Audio Monitoring

Criteria
Without context
With context

Bottom-up fill direction

100%

100%

Index inversion formula for top-indexed hardware

100%

100%

No enumerate anti-pattern

100%

100%

Explains enumerate produces wrong fill direction

86%

100%

Quantisation formula int(round(value * total))

100%

100%

Bottom-indexed formula also present

80%

100%

Evaluated
Agent
Claude
Model
Claude Sonnet 4.6

Table of Contents