Centralised default constants for taskclf.
Every project-wide magic number / string lives here.
Import these instead of hard-coding values in function signatures or CLI options.
Path constants (DEFAULT_DATA_DIR, DEFAULT_MODELS_DIR, etc.) are
absolute paths derived from :func:taskclf.core.paths.taskclf_home.
Set the TASKCLF_HOME environment variable to override the base
directory; see :mod:taskclf.core.paths for the full resolution order.
DEFAULT_BUCKET_SECONDS = 60
module-attribute
DEFAULT_POLL_SECONDS = 60
module-attribute
DEFAULT_IDLE_GAP_SECONDS = 300.0
module-attribute
DEFAULT_SMOOTH_WINDOW = 3
module-attribute
DEFAULT_APP_SWITCH_WINDOW_MINUTES = 5
module-attribute
DEFAULT_APP_SWITCH_WINDOW_15M = 15
module-attribute
DEFAULT_ROLLING_WINDOW_5 = 5
module-attribute
DEFAULT_ROLLING_WINDOW_15 = 15
module-attribute
DEFAULT_TITLE_HASH_BUCKETS = 256
module-attribute
DEFAULT_TITLE_TOKEN_SKETCH_BUCKETS = 128
module-attribute
DEFAULT_TITLE_CHAR3_SKETCH_BUCKETS = 128
module-attribute
DEFAULT_OUT_DIR = str(_HOME / 'artifacts')
module-attribute
DEFAULT_DATA_DIR = str(_HOME / 'data' / 'processed')
module-attribute
DEFAULT_RAW_AW_DIR = str(_HOME / 'data' / 'raw' / 'aw')
module-attribute
DEFAULT_MODELS_DIR = str(_HOME / 'models')
module-attribute
DEFAULT_LOG_DIR = str(_HOME / 'logs')
module-attribute
DEFAULT_AW_HOST = 'http://localhost:5600'
module-attribute
DEFAULT_AW_TIMEOUT_SECONDS = 10
module-attribute
DEFAULT_TITLE_SALT = ''
module-attribute
DEFAULT_TITLE_POLICY = 'hash_only'
module-attribute
MIN_BLOCK_DURATION_SECONDS = 180
module-attribute
DEFAULT_LABEL_MAX_ASKS_PER_DAY = 20
module-attribute
DEFAULT_LABEL_CONFIDENCE_THRESHOLD = 0.55
module-attribute
DEFAULT_LABEL_SUMMARY_MINUTES = 30
module-attribute
DEFAULT_TRANSITION_MINUTES = 2
module-attribute
DEFAULT_IDLE_TRANSITION_MINUTES = 1
module-attribute
DEFAULT_NUM_BOOST_ROUND = 100
module-attribute
DEFAULT_REJECT_THRESHOLD = 0.55
module-attribute
DEFAULT_MIN_LABELED_WINDOWS = 200
module-attribute
DEFAULT_MIN_LABELED_DAYS = 3
module-attribute
DEFAULT_MIN_DISTINCT_LABELS = 3
module-attribute
DEFAULT_CALIBRATION_METHOD = 'temperature'
module-attribute
MIXED_UNKNOWN = 'Mixed/Unknown'
module-attribute
BASELINE_IDLE_ACTIVE_THRESHOLD = 5.0
module-attribute
BASELINE_IDLE_RUN_THRESHOLD = 50.0
module-attribute
BASELINE_KEYS_LOW = 10.0
module-attribute
BASELINE_KEYS_HIGH = 30.0
module-attribute
BASELINE_SHORTCUT_HIGH = 1.0
module-attribute
DEFAULT_PSI_THRESHOLD = 0.2
module-attribute
DEFAULT_KS_ALPHA = 0.05
module-attribute
DEFAULT_REJECT_RATE_INCREASE_THRESHOLD = 0.1
module-attribute
DEFAULT_ENTROPY_SPIKE_MULTIPLIER = 2.0
module-attribute
DEFAULT_CLASS_SHIFT_THRESHOLD = 0.15
module-attribute
DEFAULT_DRIFT_REFERENCE_DAYS = 7
module-attribute
DEFAULT_DRIFT_WINDOW_DAYS = 7
module-attribute
DEFAULT_DRIFT_AUTO_LABEL_LIMIT = 50
module-attribute
DEFAULT_TELEMETRY_DIR = str(_HOME / 'artifacts' / 'telemetry')
module-attribute
DEFAULT_PSI_BINS = 10
module-attribute
DEFAULT_RETRAIN_CADENCE_DAYS = 7
module-attribute
DEFAULT_CALIBRATOR_UPDATE_CADENCE_DAYS = 7
module-attribute
DEFAULT_DATA_LOOKBACK_DAYS = 30
module-attribute
DEFAULT_REGRESSION_TOLERANCE = 0.02
module-attribute
DEFAULT_INFERENCE_POLICY_FILE = 'inference_policy.json'
module-attribute
DEFAULT_GIT_TIMEOUT_SECONDS = 5
module-attribute
DEFAULT_DUMMY_ROWS = 10
module-attribute