The snippets, ordered obscure → unmistakable
- Snippet 1(Generic typecheck)
- Snippet 2(Chunk implementation)
- Snippet 3(Debounce)
- Snippet 4(Iteratee resolution)
- Snippet 5(Mixin & chaining)
- Snippet 6(lodash.js — entry)
Why this project gives itself away
The give-away. Snippets 1–3 are bread-and-butter utility functions; the giveaway is the implementation *style* (defensive null checks, toInteger, hand-rolled loops over for...of). Snippet 4 names baseIteratee — Lodash's shorthand-resolution helper that converts strings/objects/arrays into iteratee functions. Snippet 5 is the mixin + chaining wrapper with __wrapped__ — pure Lodash. Snippet 6 is the lodash.js bundle header: "Based on Underscore.js 1.8.3", the OpenJS Foundation copyright, and the IIFE wrap.
How a Framed puzzle is built
Every Framed project ships exactly six snippets, hand-ordered from deeply obscure to unmistakable. The first snippet must be plausible for a dozen codebases — a generic loop, a small utility, a comment that could appear anywhere. The last snippet carries a project-specific tell: a function name, a code-comment idiom, a file header, a build invocation. Between them sit four snippets that gradually narrow the field. Reading them in order is half the puzzle: a returning Framed player learns to triangulate on indentation conventions, comment voice, naming, and the small-but-distinctive choices that betray a project's era and community.