Skip to content
context Artifact [00e72b22c7]
Login

Artifact [00e72b22c7]

Artifact 00e72b22c76e8e1d050611046611fd90a79b861818030f0805b8f0da26bf1b48:


{
  "docs": [
    { "id": "vs-01", "text": "Approximate nearest neighbor search trades a small amount of recall for large speedups over exact brute-force scans." },
    { "id": "vs-02", "text": "HNSW builds a multi-layer navigable small-world graph so queries descend from sparse top layers to dense bottom layers." },
    { "id": "vs-03", "text": "Product quantization compresses high-dimensional vectors into compact codes, shrinking the memory footprint of an index." },
    { "id": "vs-04", "text": "Cosine similarity measures the angle between two embedding vectors and ignores their magnitude." },
    { "id": "vs-05", "text": "IVF indexes partition the vector space into Voronoi cells and probe only the nearest cells at query time." },
    { "id": "vs-06", "text": "Recall at k for an ANN index is the fraction of true nearest neighbors that appear in the returned top-k list." },
    { "id": "vs-07", "text": "sqlite-vec stores embeddings inside a virtual table so a single SQLite file holds both rows and their vectors." },
    { "id": "vs-08", "text": "Embedding models map text into a dense vector where semantically similar passages land close together." },
    { "id": "vs-09", "text": "A flat brute-force index computes the distance to every stored vector and is exact but slow at scale." },
    { "id": "vs-10", "text": "Reranking a candidate list with a cross-encoder improves precision at the top after a fast first-stage retrieval." },

    { "id": "db-01", "text": "An ACID transaction guarantees atomicity, consistency, isolation, and durability even when the system crashes." },
    { "id": "db-02", "text": "A B-tree index keeps keys sorted on disk so range scans and point lookups stay logarithmic." },
    { "id": "db-03", "text": "Write-ahead logging records changes to a durable log before applying them to the main data files." },
    { "id": "db-04", "text": "Normalization splits data into related tables to remove redundancy and avoid update anomalies." },
    { "id": "db-05", "text": "An OLAP column store keeps each column contiguous, which speeds up aggregate scans over few columns." },
    { "id": "db-06", "text": "Multiversion concurrency control lets readers see a consistent snapshot without blocking writers." },
    { "id": "db-07", "text": "A foreign key constraint enforces that a referencing row points at an existing row in another table." },
    { "id": "db-08", "text": "Sharding splits a large table across multiple machines by a partition key to scale writes horizontally." },
    { "id": "db-09", "text": "A materialized view caches the result of an expensive query and is refreshed on a schedule." },
    { "id": "db-10", "text": "SQLite stores an entire relational database, including its schema and indexes, in one cross-platform file." },

    { "id": "ck-01", "text": "The Maillard reaction browns seared meat and bread crust by reacting amino acids with sugars under heat." },
    { "id": "ck-02", "text": "Letting a roast rest after cooking lets the juices redistribute so they do not run out when you slice it." },
    { "id": "ck-03", "text": "Emulsifying oil into egg yolk slowly produces a stable mayonnaise that does not separate." },
    { "id": "ck-04", "text": "Blanching vegetables briefly in boiling water then shocking them in ice keeps their color bright." },
    { "id": "ck-05", "text": "Kneading bread dough develops gluten strands that trap gas and give the loaf its chewy structure." },
    { "id": "ck-06", "text": "Searing at high heat creates a flavorful crust, while a gentle braise breaks down tough connective tissue." },
    { "id": "ck-07", "text": "Salting meat ahead of time draws moisture out and then back in, seasoning it deeply and improving texture." },
    { "id": "ck-08", "text": "A roux of flour cooked in fat thickens sauces and gives gumbo its nutty depth." },
    { "id": "ck-09", "text": "Proofing yeast dough in a warm place lets carbon dioxide expand the gluten network before baking." },
    { "id": "ck-10", "text": "Deglazing a hot pan with wine lifts the browned fond into a rich pan sauce." },

    { "id": "fn-01", "text": "Compound interest grows a balance faster than simple interest because earnings themselves earn returns." },
    { "id": "fn-02", "text": "Diversifying a portfolio across uncorrelated assets reduces overall volatility without cutting expected return much." },
    { "id": "fn-03", "text": "A bond's price moves inversely to prevailing interest rates because its fixed coupon becomes relatively less attractive." },
    { "id": "fn-04", "text": "An index fund passively tracks a market benchmark and charges far lower fees than active management." },
    { "id": "fn-05", "text": "Inflation erodes the purchasing power of cash, so money held idle loses real value over time." },
    { "id": "fn-06", "text": "Dollar-cost averaging invests a fixed amount on a schedule, smoothing out the effect of price swings." },
    { "id": "fn-07", "text": "The price-to-earnings ratio compares a stock's price to its annual earnings per share." },
    { "id": "fn-08", "text": "A central bank raising its policy rate tends to cool borrowing, spending, and ultimately inflation." },
    { "id": "fn-09", "text": "Liquidity is how quickly an asset can be sold for cash without moving its price." },
    { "id": "fn-10", "text": "Leverage amplifies both gains and losses because borrowed money magnifies the position's exposure." },

    { "id": "ml-01", "text": "Gradient descent iteratively nudges model weights in the direction that most reduces the loss." },
    { "id": "ml-02", "text": "Overfitting happens when a model memorizes training noise and fails to generalize to new data." },
    { "id": "ml-03", "text": "Regularization such as weight decay penalizes large parameters to curb overfitting." },
    { "id": "ml-04", "text": "A transformer uses self-attention to weigh how much each token should attend to every other token." },
    { "id": "ml-05", "text": "Backpropagation applies the chain rule to compute gradients of the loss with respect to each weight." },
    { "id": "ml-06", "text": "Dropout randomly zeroes activations during training so the network does not rely on any single unit." },
    { "id": "ml-07", "text": "A confusion matrix breaks predictions into true and false positives and negatives for each class." },
    { "id": "ml-08", "text": "Transfer learning fine-tunes a model pretrained on a large corpus for a smaller downstream task." },
    { "id": "ml-09", "text": "Batch normalization rescales layer inputs to stabilize and speed up training." },
    { "id": "ml-10", "text": "Cross-validation rotates which fold of data is held out so the score is less sensitive to one split." },

    { "id": "ds-01", "text": "The CAP theorem says a partitioned distributed store must choose between consistency and availability." },
    { "id": "ds-02", "text": "The Raft protocol elects a leader that replicates a log to followers to keep replicas consistent." },
    { "id": "ds-03", "text": "Eventual consistency lets replicas diverge briefly but guarantees they converge if writes stop." },
    { "id": "ds-04", "text": "A vector clock tracks causal ordering of events across nodes without a shared global clock." },
    { "id": "ds-05", "text": "Idempotent operations can be retried safely because repeating them produces the same result." },
    { "id": "ds-06", "text": "Consistent hashing maps keys and nodes onto a ring so adding a node moves only a small fraction of keys." },
    { "id": "ds-07", "text": "A two-phase commit coordinator asks all participants to prepare, then tells them all to commit or abort." },
    { "id": "ds-08", "text": "Quorum reads and writes overlap enough replicas to guarantee a read sees the latest acknowledged write." },
    { "id": "ds-09", "text": "Backpressure slows a fast producer when a downstream consumer cannot keep up, preventing overload." },
    { "id": "ds-10", "text": "A heartbeat message lets a cluster detect that a node has failed when the beats stop arriving." },

    { "id": "nw-01", "text": "TCP provides a reliable ordered byte stream by acknowledging segments and retransmitting lost ones." },
    { "id": "nw-02", "text": "DNS resolves a human-readable domain name into the IP address a client needs to connect." },
    { "id": "nw-03", "text": "TLS encrypts a connection and authenticates the server using a certificate signed by a trusted authority." },
    { "id": "nw-04", "text": "The three-way handshake of SYN, SYN-ACK, and ACK establishes a TCP connection before data flows." },
    { "id": "nw-05", "text": "A router forwards packets between networks by consulting its routing table for the best next hop." },
    { "id": "nw-06", "text": "UDP sends datagrams without connection setup or delivery guarantees, trading reliability for low latency." },
    { "id": "nw-07", "text": "HTTP is a stateless request-response protocol layered on top of a reliable transport like TCP." },
    { "id": "nw-08", "text": "Network address translation lets many private hosts share one public IP address." },
    { "id": "nw-09", "text": "A content delivery network caches copies of assets near users to cut latency." },
    { "id": "nw-10", "text": "The maximum transmission unit is the largest packet a link can carry without fragmentation." },

    { "id": "sec-01", "text": "Hashing a password with a slow salted function like bcrypt resists offline brute-force cracking." },
    { "id": "sec-02", "text": "Public-key cryptography uses a key pair so anyone can encrypt to you but only your private key decrypts." },
    { "id": "sec-03", "text": "A SQL injection attack smuggles malicious input into a query that the database then executes." },
    { "id": "sec-04", "text": "Multi-factor authentication combines something you know with something you have to verify identity." },
    { "id": "sec-05", "text": "The principle of least privilege grants each component only the permissions it actually needs." },
    { "id": "sec-06", "text": "A digital signature proves a message came from the holder of a private key and was not altered." },
    { "id": "sec-07", "text": "Cross-site scripting injects attacker-controlled script into a page so it runs in another user's browser." },
    { "id": "sec-08", "text": "A replay attack captures a valid message and resends it later to impersonate the original sender." },
    { "id": "sec-09", "text": "Rate limiting caps how many requests a client may make, blunting brute-force and denial-of-service attempts." },
    { "id": "sec-10", "text": "End-to-end encryption keeps a message readable only by the sender and intended recipient, not the relay." },

    { "id": "bio-01", "text": "Photosynthesis converts sunlight, water, and carbon dioxide into glucose and releases oxygen." },
    { "id": "bio-02", "text": "DNA stores genetic information as a sequence of four bases paired across a double helix." },
    { "id": "bio-03", "text": "Mitochondria generate most of a cell's ATP through aerobic respiration and are called its powerhouse." },
    { "id": "bio-04", "text": "Natural selection favors heritable traits that improve survival and reproduction in an environment." },
    { "id": "bio-05", "text": "Enzymes are protein catalysts that lower the activation energy of biochemical reactions." },
    { "id": "bio-06", "text": "Messenger RNA carries the instructions transcribed from DNA to the ribosome where proteins are built." },
    { "id": "bio-07", "text": "Osmosis moves water across a semipermeable membrane toward the side with more dissolved solute." },
    { "id": "bio-08", "text": "A virus hijacks a host cell's machinery to replicate because it cannot reproduce on its own." },
    { "id": "bio-09", "text": "Cellular respiration breaks down glucose with oxygen to release energy stored as ATP." },
    { "id": "bio-10", "text": "The immune system's antibodies bind specific antigens to mark pathogens for destruction." },

    { "id": "his-01", "text": "The printing press let Gutenberg mass-produce books, accelerating the spread of ideas across Europe." },
    { "id": "his-02", "text": "The Industrial Revolution shifted production from handcraft to steam-powered factories in the eighteenth century." },
    { "id": "his-03", "text": "The Roman Republic gave way to imperial rule after Augustus consolidated power." },
    { "id": "his-04", "text": "The Silk Road carried goods and ideas between China and the Mediterranean for centuries." },
    { "id": "his-05", "text": "The fall of the Berlin Wall in 1989 marked the symbolic end of the Cold War division of Europe." },
    { "id": "his-06", "text": "The French Revolution overthrew the monarchy and proclaimed liberty, equality, and fraternity." },
    { "id": "his-07", "text": "The Renaissance revived classical art and learning, beginning in the Italian city-states." },
    { "id": "his-08", "text": "The Magna Carta limited the English king's power and seeded ideas of constitutional government." },
    { "id": "his-09", "text": "The transatlantic telegraph cable first let messages cross the ocean in minutes instead of weeks." },
    { "id": "his-10", "text": "The Black Death killed a large share of medieval Europe's population in the fourteenth century." },

    { "id": "mus-01", "text": "An octave doubles a note's frequency, and the two pitches sound like the same note higher or lower." },
    { "id": "mus-02", "text": "A major chord stacks a root, a major third, and a perfect fifth into a bright-sounding triad." },
    { "id": "mus-03", "text": "Tempo is the speed of the beat, measured in beats per minute." },
    { "id": "mus-04", "text": "Counterpoint weaves two or more independent melodic lines that sound good together." },
    { "id": "mus-05", "text": "Equal temperament tunes the octave into twelve equally spaced semitones so any key sounds in tune." },
    { "id": "mus-06", "text": "A time signature tells how many beats fill each measure and which note value counts as one beat." },
    { "id": "mus-07", "text": "Reverb simulates the reflections of sound in a space, adding depth to a recording." },
    { "id": "mus-08", "text": "A minor key tends to sound darker or sadder than its parallel major key." },
    { "id": "mus-09", "text": "Syncopation places accents on the off-beats, giving rhythm a surprising push." },
    { "id": "mus-10", "text": "Harmonics are the higher frequencies above a fundamental pitch that give an instrument its timbre." },

    { "id": "cl-01", "text": "Greenhouse gases trap outgoing infrared radiation, warming the planet's surface." },
    { "id": "cl-02", "text": "Carbon dioxide released by burning fossil fuels is the largest human driver of global warming." },
    { "id": "cl-03", "text": "Melting land ice raises sea levels, threatening low-lying coastal communities." },
    { "id": "cl-04", "text": "The ocean absorbs much of the excess heat and carbon dioxide, which also makes seawater more acidic." },
    { "id": "cl-05", "text": "Solar and wind power generate electricity without emitting the carbon dioxide that fossil fuels do." },
    { "id": "cl-06", "text": "A carbon sink such as a forest stores more carbon than it releases." },
    { "id": "cl-07", "text": "The albedo effect means bright ice reflects sunlight, so melting ice exposes darker water that absorbs more heat." },
    { "id": "cl-08", "text": "Methane is a far more potent greenhouse gas than carbon dioxide over a short timescale." },
    { "id": "cl-09", "text": "Climate feedback loops can amplify warming, as thawing permafrost releases yet more greenhouse gas." },
    { "id": "cl-10", "text": "Adaptation measures like sea walls and drought-resistant crops cope with climate impacts already underway." }
  ],
  "queries": [
    { "id": "q-easy-01", "question": "What is the Maillard reaction?", "expected_ids": ["ck-01"] },
    { "id": "q-easy-02", "question": "How does compound interest work?", "expected_ids": ["fn-01"] },
    { "id": "q-easy-03", "question": "What does the CAP theorem say?", "expected_ids": ["ds-01"] },
    { "id": "q-easy-04", "question": "What is product quantization in vector search?", "expected_ids": ["vs-03"] },
    { "id": "q-easy-05", "question": "What is a B-tree index?", "expected_ids": ["db-02"] },
    { "id": "q-easy-06", "question": "What does TLS do?", "expected_ids": ["nw-03"] },
    { "id": "q-easy-07", "question": "What is photosynthesis?", "expected_ids": ["bio-01"] },
    { "id": "q-easy-08", "question": "What is an octave in music?", "expected_ids": ["mus-01"] },

    { "id": "q-hard-01", "question": "Why should you wait before cutting into a piece of steak you just cooked?", "expected_ids": ["ck-02"] },
    { "id": "q-hard-02", "question": "Why do prices of fixed-coupon debt go down when rates climb?", "expected_ids": ["fn-03"] },
    { "id": "q-hard-03", "question": "How can a model do great on its training set but poorly on unseen examples?", "expected_ids": ["ml-02"] },
    { "id": "q-hard-04", "question": "How does a search structure find close points without comparing against everything?", "expected_ids": ["vs-01", "vs-02"] },
    { "id": "q-hard-05", "question": "How do machines pick the IP behind a website name?", "expected_ids": ["nw-02"] },
    { "id": "q-hard-06", "question": "What keeps stored login secrets safe if the database leaks?", "expected_ids": ["sec-01"] },
    { "id": "q-hard-07", "question": "What part of the cell produces most of its usable energy?", "expected_ids": ["bio-03", "bio-09"] },
    { "id": "q-hard-08", "question": "Why does keeping money under the mattress cost you over the years?", "expected_ids": ["fn-05"] },

    { "id": "q-multi-01", "question": "How do databases stay durable and consistent when a machine crashes?", "expected_ids": ["db-01", "db-03", "db-06"] },
    { "id": "q-multi-02", "question": "What techniques reduce overfitting when training a neural network?", "expected_ids": ["ml-02", "ml-03", "ml-06", "ml-10"] },
    { "id": "q-multi-03", "question": "How do distributed systems keep replicas in agreement?", "expected_ids": ["ds-02", "ds-03", "ds-08", "ds-01"] },
    { "id": "q-multi-04", "question": "What human activities and gases drive global warming?", "expected_ids": ["cl-01", "cl-02", "cl-08"] },
    { "id": "q-multi-05", "question": "How can an investor lower portfolio risk?", "expected_ids": ["fn-02", "fn-04", "fn-06"] },
    { "id": "q-multi-06", "question": "What makes a vector index fast yet still accurate?", "expected_ids": ["vs-01", "vs-02", "vs-05", "vs-10"] },
    { "id": "q-multi-07", "question": "How does the body defend against and get hijacked by pathogens?", "expected_ids": ["bio-08", "bio-10"] },
    { "id": "q-multi-08", "question": "Steps and chemistry behind getting a good crust and tender braise on meat.", "expected_ids": ["ck-01", "ck-06", "ck-07"] },

    { "id": "q-cross-01", "question": "How does a public/private key pair let people send you secret messages?", "expected_ids": ["sec-02"] },
    { "id": "q-cross-02", "question": "How does a transformer decide which tokens matter to each other?", "expected_ids": ["ml-04"] },
    { "id": "q-cross-03", "question": "How do you blunt brute-force and denial-of-service by capping requests?", "expected_ids": ["sec-09"] },
    { "id": "q-cross-04", "question": "What event in 1989 symbolized the end of the Cold War?", "expected_ids": ["his-05"] },
    { "id": "q-cross-05", "question": "Why does a piece in a minor key sound sadder?", "expected_ids": ["mus-08"] },
    { "id": "q-cross-06", "question": "How can you add a server to a cluster while moving as few keys as possible?", "expected_ids": ["ds-06"] },
    { "id": "q-cross-07", "question": "What is something that stores more carbon than it gives off?", "expected_ids": ["cl-06"] },
    { "id": "q-cross-08", "question": "What low-fee fund just mirrors a market benchmark?", "expected_ids": ["fn-04"] }
  ]
}