loackedin

hackbattle

Team Sharan’s repository for hackbattle 2025

Extension Icons

For the Chrome extension to work properly, you need to add icon files in the following sizes:

You can create these icons using any image editing software. The icons should represent a focus/target theme to match the FocusTracker branding.

For now, you can use placeholder icons or create simple colored squares until you design proper icons.

Alternatively, you can download free icons from sites like:

Make sure the icons are PNG format and match the exact dimensions listed above.

Local Cross-Encoder Classifier

LockedIn now treats explicit whitelist, blacklist, and exact focus-page matches as the only hard rules. Focus domains such as GitHub or Stack Overflow are soft hints, so an off-goal page on a productive host can still be flagged.

The default semantic layer is a bundled local reranker:

During a focus session, the background worker scores the focus goal against compact page signals, then scores the same page against a distraction query. Cloud AI providers are only used when the local margin is uncertain or unavailable, and the classifier falls back to local lexical heuristics if model loading fails.