Detects when user changes same config setting 3+ times within 24 hours. Shows non-intrusive prompt offering help with guided calibration flow. Guided calibration features: - Test for false positives (walk around room) - Test for missed motion (sit still) - Suggest optimal value based on diurnal baseline SNR and link health - Apply suggested value button Files: - dashboard/js/proactive.js: Complete implementation with localStorage tracking Acceptance: - Help prompt fires after 3+ changes in 24h - Calibration flow tests both directions - Suggests value based on system data - Apply button works
12 lines
558 B
TypeScript
12 lines
558 B
TypeScript
import { RangeCov } from "./types";
|
|
interface ReadonlyRangeTree {
|
|
readonly start: number;
|
|
readonly end: number;
|
|
readonly count: number;
|
|
readonly children: ReadonlyRangeTree[];
|
|
}
|
|
export declare function emitForest(trees: ReadonlyArray<ReadonlyRangeTree>): string;
|
|
export declare function emitForestLines(trees: ReadonlyArray<ReadonlyRangeTree>): string[];
|
|
export declare function parseFunctionRanges(text: string, offsetMap: Map<number, number>): RangeCov[];
|
|
export declare function parseOffsets(text: string): Map<number, number>;
|
|
export {};
|