top of page
AI & Innovation


Why Does a Successful API Update Trigger a JSON Parsing Error?
Separate an HTTP 204 success from JSON parsing, define endpoint-specific response handling and avoid repeating a completed operation after a client error.
Dominique Marcotte
Oct 263 min read


Why Do Macro and Micro F1 Give Different Pictures of an AI Classifier?
Compare per-label, macro and micro F1 using a checked example, and record label coverage before using one score to approve a classifier.
Dominique Marcotte
Oct 263 min read


Why Does a SQL Completion Rate Show Zero When Some Work Is Finished?
Trace a zero percentage to operand types, calculate a small fixture by hand and define how the report should handle a denominator of zero.
Dominique Marcotte
Oct 263 min read


Can You Replace Cosine Similarity With Dot Product Without Changing Search Results?
Use a two-vector example to review normalization before changing a semantic-search metric, and verify rankings on representative queries.
Dominique Marcotte
Oct 263 min read


What Changes When You Lower a Classifier's Decision Threshold?
Compare threshold choices with explicit confusion counts and review workload, while keeping threshold tuning separate from the final evaluation.
Dominique Marcotte
Oct 263 min read


Should Records From the Same Customer Appear on Both Sides of an AI Test?
Define whether a model must handle new customers or new records, then audit grouped validation with a split ledger and overlap checks.
Dominique Marcotte
Oct 263 min read


Should a Reporting Threshold Filter Individual Rows or Whole Groups?
Distinguish row eligibility from group thresholds with a worked reporting example, expected totals and a checklist for reviewing WHERE and HAVING.
Dominique Marcotte
Oct 263 min read


Should an Integration Recover From HTTP 401 and 403 in the Same Way?
Distinguish missing valid authentication from a refused request, inspect the API contract and prevent endless retries or unnecessary permission expansion.
Dominique Marcotte
Oct 263 min read


Why Does SQL LAST_VALUE Return the Current Status Instead of the Final One?
Review a status-history report with an explicit SQL window frame, a deterministic event order and a small fixture that reveals misleading final values.
Dominique Marcotte
Oct 263 min read


Should an AI Latency Benchmark Include the First Cold Run?
Define the user journey being timed, separate startup from steady-state measurements, and avoid comparing kernel launch time with completed work.
Dominique Marcotte
Oct 253 min read


When Should an AI Evaluation Ignore Formatting Differences?
Separate harmless formatting variation from meaningful differences, and test exact-match normalization rules before using them in an AI evaluation.
Dominique Marcotte
Oct 253 min read


Does Lowering an AI Model's Temperature Make Its Answers Factual?
Review what temperature controls in the selected generation system, then test factual support separately instead of treating a sampling setting as an accuracy guarantee.
Dominique Marcotte
Oct 253 min read


Is Your Classifier Better Than Always Choosing the Most Common Label?
Build a majority-label baseline using training data, evaluate it on the same held-out cases, and inspect whether a higher accuracy score adds useful value.
Dominique Marcotte
Oct 253 min read


How Should a Business Ranking Handle Tied Scores?
Compare row numbers, rank and dense rank using tied scores, and document whether your report selects records, positions or score groups.
Dominique Marcotte
Oct 253 min read


Does a Gap in Database IDs Prove That Records Were Deleted?
Investigate gaps in generated identifiers using committed records and supporting evidence, without treating a PostgreSQL sequence as a gapless ledger.
Dominique Marcotte
Oct 253 min read


Where Should Unscored Records Appear in a Sorted Work Queue?
Choose an explicit position for missing scores, test ascending and descending views, and keep unscored work distinguishable from low-priority work.
Dominique Marcotte
Oct 253 min read


Why Does a LEFT JOIN Report Lose Projects With No Matching Activity?
Review ON and WHERE filter placement with a small project fixture so reports retain the unmatched projects their business question requires.
Dominique Marcotte
Oct 253 min read


Should an Integration Send a Replacement or a Patch?
Review replacement and partial-change semantics with an unchanged-field fixture, and verify the endpoint's documented payload before updating records.
Dominique Marcotte
Oct 253 min read


Does Cache-Control: no-cache Prevent a Response From Being Stored?
Separate validation from storage policy, inspect actual response headers, and test cache behavior without treating a cache directive as a privacy guarantee.
Dominique Marcotte
Oct 253 min read


Should a Combined Activity Report Use UNION or UNION ALL?
Decide whether combined rows represent events or unique values, then test how UNION and UNION ALL affect an operational activity report.
Dominique Marcotte
Oct 253 min read
bottom of page
