Easily manage the brightness of your monitors in Windows from the system tray
This report summarizes scanner evidence for xanderfrangos/twinkle-tray, a JavaScript project with 9,274 GitHub stars. SynthScan examined 55,623 lines of code across 142 source files, recording 43 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 0.7 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 43 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 41 finding(s).
Which changes need focused human review? 43 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 43 distinct pattern matches across 2 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/Monitors.js | 152 | function restoreSoftwareBrightness() { | CODE |
| LOW | src/Monitors.js | 531 | function invalidateFeatureSnapshots(monitorIds) { | CODE |
| LOW | src/Monitors.js | 724 | async function enrichMonitorCapabilities() { | CODE |
| LOW⚡ | src/Monitors.js | 1012 | function percentToStudioDisplayNits(percent) { | CODE |
| LOW⚡ | src/Monitors.js | 1016 | function studioDisplayNitsToPercent(nits) { | CODE |
| LOW⚡ | src/Monitors.js | 1020 | function makeStudioDisplayRequestData(percent) { | CODE |
| LOW⚡ | src/Monitors.js | 1027 | function getFallbackStudioDisplays(existingSerials = []) { | CODE |
| LOW | src/electron.js | 168 | function monitorWorkerHasExclusiveWork() { | CODE |
| LOW | src/electron.js | 184 | async function flushQueuedMonitorCommands(beforeRefresh = false) { | CODE |
| LOW | src/electron.js | 222 | function queuedCommandTargetsCurrentMonitor(data) { | CODE |
| LOW | src/electron.js | 408 | function waitForMonitorThreadReady(thread = monitorsThreadReal) { | CODE |
| LOW | src/electron.js | 446 | function scheduleMonitorInventoryRecovery(generation = monitorRefreshGeneration) { | CODE |
| LOW | src/electron.js | 641 | function stopNativeBrightnessKeyRepeat() { | CODE |
| LOW | src/electron.js | 649 | function triggerNativeBrightnessHotkey(direction) { | CODE |
| LOW | src/electron.js | 666 | function handleNativeBrightnessKey(key) { | CODE |
| LOW | src/electron.js | 717 | function applyNativeBrightnessKeys() { | CODE |
| LOW | src/electron.js | 1509 | function getExtendedMinimumBreakpoint(monitor) { | CODE |
| LOW | src/electron.js | 1544 | function releaseExtendedMinimumRamp(monitor, hardwareLevel) { | CODE |
| LOW | src/electron.js | 2673 | function queueRefreshAfterEnrichment(fullRefresh, bypassRateLimit, bypassWindowsIdle, waitForFeatureEnrichment) { | CODE |
| LOW | src/electron.js | 2752 | function flushDeferredFeatureUpdates() { | CODE |
| LOW | src/electron.js | 2777 | function clearFeaturesPendingAfterEnrichmentFailure() { | CODE |
| LOW | src/electron.js | 2841 | async function recoverFromCapabilitiesTimeout(generation) { | CODE |
| LOW | src/electron.js | 2860 | function queueCapabilitiesEnrichment(generation) { | CODE |
| LOW | src/electron.js | 3027 | function setGammaBrightnessThrottle(id, level) { | CODE |
| LOW | src/electron.js | 3107 | function hasEnabledLinkedFeaturesForMonitor(monitor) { | CODE |
| LOW | src/electron.js | 4644 | function getPausableSeparatorMenuItem() { | CODE |
| LOW | src/electron.js | 4651 | function getTimeAdjustmentsMenuItem() { | CODE |
| LOW | src/electron.js | 4985 | function updateSettingsWindowMaterial() { | CODE |
| LOW | src/electron.js | 5523 | function isFocusedWindowFullscreen() { | CODE |
| LOW | src/electron.js | 5626 | function getCurrentAdjustmentEvent() { | CODE |
| LOW | src/electron.js | 5690 | function getCurrentAdjustmentEventLERP() { | CODE |
| LOW | src/electron.js | 5750 | function applyCurrentAdjustmentEvent(force = false, instant = true) { | CODE |
| LOW | src/electron.js | 5884 | async function getAndApplyUserCoordinates() { | CODE |
| LOW | src/electron.js | 5884 | async function getAndApplyUserCoordinates() { | CODE |
| LOW | src/components/MonitorFeatures.jsx | 343 | function BrightnessFeatureSettings(props) { | CODE |
| LOW | src/modules/win32-displayconfig/index.js | 389 | function devicePathLookupForEnabledDisplayConfig(conf) { | CODE |
| LOW | src/modules/win32-displayconfig/index.js | 569 | async function updateDisplayStateAndNotifyCallbacks() { | CODE |
| LOW | src/modules/win32-displayconfig/index.js | 584 | function setupListenForDisplayChanges() { | CODE |
| LOW | src/modules/win32-displayconfig/index.d.ts | 169 | export function displayConfigForRestoration(): Promise< | CODE |
| LOW | src/modules/win32-displayconfig/index.d.ts | 190 | export function removeDisplayChangeListener( | CODE |
| LOW | src/light-sensor/light-sensor.utilts.js | 13 | function applyMonitorBrightnessFromLux(lux, monitors, monitorSettings, updateBrightnessThrottle) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …s/node-active-window/module/windows/src/ActiveWindow.h | 1 | #include <windows.h> | COMMENT |
| LOW | src/modules/windows-ambient-sensor/utils.hpp | 1 | #pragma once | COMMENT |