CtrlK
BlogDocsLog inGet started
Tessl Logo

jbaruch/iot-actuator-patterns-kotlin

Kotlin/coroutines patterns for driving rate-limited IoT actuators from real-time producers: debounce controller, target quantization, bottom-up progress-bar rendering.

73

1.63x
Quality

68%

Does it follow best practices?

Impact

95%

1.63x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

Validation failed for skills in this tile
One or more skills have errors that need to be fixed before they can move to Implementation and Discovery review.
Overview
Quality
Evals
Security
Files

Evaluation results

100%

50%

Occupancy-Based Cloud Bulb Dimmer

Cloud IoT debounce controller with quantization

Criteria
Without context
With context

Separate controllers per device

100%

100%

Cloud min-interval value

0%

100%

Tick rate 400ms

0%

100%

Stability filter 2 ticks

0%

100%

Dispatchers.IO for controller

100%

100%

Float quantized before submit

0%

100%

Quantization to device resolution

100%

100%

Send-latest, no queue

0%

100%

Producer non-blocking

100%

100%

Structured logging apply event

71%

100%

Logback/SLF4J dependency

100%

100%

87%

37%

Segment LED Signal-Strength Visualizer

Bottom-up LED progress bar with Govee-specific rendering

Criteria
Without context
With context

Top-indexed lit formula

100%

100%

Bottom-up fill direction

100%

100%

Red zone always on

50%

50%

Yellow middle zone

30%

60%

Green top zone

30%

60%

Govee OFF value

0%

100%

Shutdown hook registered

100%

100%

Ktor CIO dependency

0%

100%

Logback/SLF4J dependency

0%

100%

100%

28%

Audio Volume Meter — Controller Never Updates

Diagnose and fix stalled debounce controller

Criteria
Without context
With context

Float quantized to Int

100%

100%

Quantize to 0..6 range

100%

100%

Cloud min-interval corrected

50%

100%

Dispatchers.IO for controller

0%

100%

Diagnosis identifies Float issue

100%

100%

Diagnosis identifies wrong min-interval

50%

100%

Diagnosis identifies wrong dispatcher

0%

100%

Distinct-value diagnostic logging

100%

100%

Structured apply/throttle logging

100%

100%

Logback dependency added

100%

100%

Evaluated
Agent
Claude
Model
Claude Sonnet 4.6

Table of Contents