Expore . Learn . Achieve

New Delhi, India
"not approved" contains "approved". A substring check passes the wrong LLM label. For this fixed-label contract, trim outer spaces, lowercase, then compare the whole string. letsdatascience.com/learn/ai… #DataScience
1
7
A model that loads can still run out of memory. Budget for the KV cache and runtime buffers, then test your intended context and concurrency. letsdatascience.com/blog/llm… #DataScience
12
SQL challenge: two event tables, one contributor list. Include published posts OR published comments, return each user once, then sort by user_id. Which rows survive? letsdatascience.com/problems… #DataScience
10
Integer index labels are still labels. In this pandas example, df.loc[10:30] keeps A, B and C; df.iloc[0:2] keeps A and B. Check what your slice endpoints mean. letsdatascience.com/learn/pa… #DataScience
10
A nested append and an outer-list append can affect different objects. Predict a and b in this Python copy challenge, then explain each mutation before running it. letsdatascience.com/quick-re… #DataScience
14
A 10:00 prediction cannot use a 10:05 feature update. Data Engineer proof: a time-safe join test. ML Engineer proof: re-evaluation with corrected features. letsdatascience.com/learn/pa… #DataScience
18
User 17 gets prompt A, then B, then A. That breaks a one-variant-per-user LLM experiment. Audit assignment across turns before comparing answer quality. letsdatascience.com/learn/ab… #DataScience
33
Held-out name: Rex. Primary character: Milo. Story: "Milo helped REX cross the river." A primary-name check misses the leak. Scan the whole row before splitting. letsdatascience.com/learn/fi… #DataScience
19
Test your AI agent's approval boundary: approve closing ticket 42, then attempt ticket 99. The mock tool must not run under the old approval. Keep the trace. letsdatascience.com/learn/pa… #DataScience
20
LoRA has two parallel paths: frozen base weights and a trainable low-rank update. Add their outputs. Fewer trainable parameters do not imply the same reduction in GPU memory. letsdatascience.com/blog/fin… #DataScience
24
Orders 101 and 102 are unique. Customer 99 is missing. One test passes; another fails. Keep this small counterexample in your analytics engineering portfolio. letsdatascience.com/learn/pa… #DataScience
16
The closest neighbor says A. The next two say B. With uniform voting, k=1 predicts A and k=3 predicts B. Check the vote before explaining the classifier. letsdatascience.com/learn/ml… #DataScience
14
Raw dot product ranks A first; cosine ranks B first. Same vectors, different metric. Check normalization before changing your embedding index. letsdatascience.com/blog/tex… #DataScience
12
Four token IDs give three next-token targets. Check the first and last input-target pair before training: matching each token to itself teaches copying. letsdatascience.com/learn/bu… #DataScience
23
Six shuffled sessions, two users. Calculate each user's two-session rolling average, then shuffle the input again. Does every session keep its result? letsdatascience.com/problems… #DataScience
21
Three customers, one paid order. A paid filter in ON keeps all customers; the same filter in WHERE keeps only the paid match. Check which population your report needs. letsdatascience.com/learn/sq… #DataScience
1
20
Same four learners, two quiz scores each. Paired or unpaired t-test? Assume the relevant test assumptions hold, then name your unit of analysis before choosing a function. letsdatascience.com/quick-re… #DataScience
21
One AI reranker, two tests: compare relevance with reranking on/off, then test serving latency under load. Applied science and ML engineering emphasize different evidence. letsdatascience.com/learn/pa… #DataScience
16
Two LLM runs, same mean correct-token probability: 0.50. Their losses differ: 1.204 versus 0.693 nats. Take the negative log per token before averaging. Test your scorer with this pair. letsdatascience.com/learn/ll… #DataScience
1
16
Your LLM call does not get a fresh request budget. With 8 seconds total, 3 already spent and 1 reserved for validation and response, cap the call at 4 seconds. letsdatascience.com/learn/pr… #DataScience
1
21
A RAG search that omits D7 does not prove D7 was deleted. Track its chunk IDs, remove them from the index, then verify each ID is absent. Make that your portfolio evidence. letsdatascience.com/learn/pa… #DataScience
13
Processing token 4 helps predict token 5. Its query attends to cached K/V plus its own pair; K4 and V4 stay for the next step. letsdatascience.com/blog/gpt… #DataScience
32
Eight staff available, ten required: a hard minimum is infeasible. A soft target can report a shortfall of two. That changes the model, not the business approval. letsdatascience.com/learn/pa… #DataScience
20
A ticket classifier can serve two deadlines: a prediction during a request, or an overnight report. Choose online or batch inference from that need, then show the timing evidence. letsdatascience.com/learn/pa… #DataScience
15
escalate: false. Reason: security. Both fields can pass their individual checks and still conflict. Validate the pair before your LLM workflow routes the ticket. letsdatascience.com/learn/co… #DataScience
1
31
Same ten RAG candidates, one relevant result: moving it from rank 6 to 2 changes Recall@5 from 0 to 1. Recall@10 stays at 1. Keep the cutoff explicit when comparing rerankers. letsdatascience.com/learn/ra… #DataScience
13
Call t2 finishes before t1. Your agent must still attach each result to its original request. Match by call ID; test with reversed completion order. letsdatascience.com/learn/bu… #DataScience
19
Top-p = 0.80: if the first two tokens total 0.75, the third stays. The threshold governs token probability, not factual correctness. letsdatascience.com/blog/llm… #DataScience
15
Two delivered shipments share the latest date. Which one survives the tie-break? Use the illustrative rows, then write the full SQL query. letsdatascience.com/problems… #DataScience
15
Two team averages: 2 and 10 minutes. Their ticket counts: 10 and 90. The combined mean is 9.2 minutes. Averaging the means gives each team equal weight, even though their volumes differ. letsdatascience.com/learn/st… #DataScience
16
Sample size rises from 100 to 400. Both samples have SD = 20. For independent observations, what happens to the standard error of the mean? Calculate it before checking the distinction. letsdatascience.com/quick-re… #DataScience
9
Introducing Let's Data Science — SQL & Python practice on 15 real industry domains. 1,500+ problems. Browser-based. Instant grading. 1,000 founding member spots at $3.99/mo. letsdatascience.com/pricing
2
28