{"atlas":{"skills":[{"id":"calculus-for-machine-learning","name":"Calculus for Machine Learning","category":"Mathematical Foundations","subcategory":null,"section_id":"mathematical-statistical-foundations","section_name":"Mathematical & Statistical Foundations","description":"Calculus for machine learning explains how a model's output and loss change when its inputs or parameters change. The competence connects derivatives, gradients and the chain rule to optimization, so practitioners can understand training behavior, build differentiable objectives and diagnose incorrect or unstable updates.","type":"concept","editorial":{"definition":"A derivative describes local change; a gradient collects partial derivatives of a scalar function with respect to several variables. Machine learning combines many such functions into a computational graph. Applying the chain rule through that graph makes it possible to calculate how each parameter contributes to the final loss. Calculus also describes curvature, local approximations and the distinction between a stationary point and a minimum. The practical scope includes multivariable differentiation, vector-valued transformations and reasoning about smoothness. Automatic differentiation performs the bookkeeping, but does not choose a suitable objective or establish that the result represents the intended problem.","practice":"A practitioner should be able to derive the gradient of a simple objective, follow how tensor operations compose and identify where a transformation prevents gradient flow. Important decisions include reduction over examples, treatment of constants and the scale of competing loss terms. For a custom operation, compare analytical or automatic gradients with a small numerical check away from discontinuities. The result is an objective whose updates can be explained, together with evidence that the implementation differentiates the intended quantity rather than an accidental reshaping or detached intermediate.","example":"Consider an illustrative regression model that predicts delivery duration. Its loss combines prediction error with a penalty on large coefficients. Increasing the penalty changes the gradient as well as the loss value, so the analyst works through both terms before selecting an optimizer. A small synthetic dataset provides a check: perturb one coefficient, compare the observed loss change with the gradient's prediction and verify that an update in the opposite direction lowers the loss locally.","limits":"A gradient gives local information and does not guarantee a globally best model. Numerical differences can be unreliable with poorly chosen step sizes, floating-point noise or nonsmooth operations. Functions such as maximum and absolute value need careful treatment at their corners, and discrete choices cannot generally be differentiated directly. Backpropagation is an application of the chain rule, not a separate justification for the objective. Check finite values, gradient magnitude and dependency paths before interpreting a stalled training run as a lack of useful data.","sources":[{"title":"MIT OpenCourseWare: Multivariable Calculus","url":"https://ocw.mit.edu/courses/18-02sc-multivariable-calculus-fall-2010/","note":"Partial derivatives, gradients, chain rules and multivariable optimization."},{"title":"Dive into Deep Learning: Calculus","url":"https://d2l.ai/chapter_preliminaries/calculus.html","note":"Derivatives and their role in optimizing machine-learning objectives."}],"updatedAt":"2026-10-10"}},{"id":"causal-inference","name":"Causal Inference","category":"Causal & Experimental Inference","subcategory":null,"section_id":"mathematical-statistical-foundations","section_name":"Mathematical & Statistical Foundations","description":"Causal inference estimates what would change if an intervention changed a treatment or policy. It combines a clearly defined causal question with assumptions about how data were generated. The skill is deciding whether an effect is identifiable, choosing an estimator and testing how sensitive the conclusion is to those assumptions.","type":"concept","editorial":{"definition":"A predictive association asks what outcomes accompany an observed variable; a causal effect asks what outcomes would follow an intervention. Potential-outcomes reasoning compares alternative outcomes for the same unit, while causal graphs describe relationships and possible confounding. Because both alternatives usually cannot be observed, identification depends on a design or assumptions such as exchangeability, overlap and a consistent treatment definition. Randomized experiments can support identification through assignment; observational studies require additional reasoning. Estimation then turns the identified quantity into a numerical result. A sophisticated regression or propensity model cannot, by itself, supply the missing causal assumptions.","practice":"Start by defining the intervention, outcome, target population and time horizon. Draw or document a causal model before deciding which variables to adjust for; controlling for a mediator or collider can change or bias the question. Assess whether treatment groups have comparable support and select an estimation strategy consistent with the design. Report uncertainty and examine alternative specifications, placebo tests and sensitivity to unmeasured confounding. The deliverable is an effect estimate with a defensible identification argument and limitations, rather than a coefficient labeled causal because it is statistically significant.","example":"Suppose, illustratively, an online service wants to know whether a reminder reduces abandoned registrations. People who receive reminders may already differ in engagement from those who do not. An analyst defines the intervention precisely, considers random assignment where feasible and specifies the outcome window before seeing results. If only observational records are available, the analyst models the assignment process, checks overlap and explains which unmeasured factors could still account for an apparent reduction in abandonment.","limits":"Causal conclusions can fail when key confounders are unmeasured, treatment groups lack overlap or one person's treatment affects another's outcome. Refutation tests can expose weaknesses, but passing them does not prove the graph or assumptions true. Average effects may conceal substantial variation, and results need not transport to another population. Causal inference is distinct from forecasting and feature importance: a variable useful for predicting an outcome is not necessarily an effective intervention target.","sources":[{"title":"DoWhy: causal inference and assumption testing","url":"https://github.com/py-why/dowhy","note":"Graphical and potential-outcomes frameworks, identification, estimation and refutation."}],"updatedAt":"2026-10-10"}},{"id":"a-b-testing","name":"A/B Testing","category":"Causal & Experimental Inference","subcategory":null,"section_id":"mathematical-statistical-foundations","section_name":"Mathematical & Statistical Foundations","description":"A/B testing compares alternatives through randomized assignment and a predefined outcome. The skill covers experiment design, reliable measurement and interpretation of uncertainty. A good test answers a specific decision question while accounting for assignment units, sample requirements, guardrail outcomes and the consequences of repeated or selective analysis.","type":"concept","editorial":{"definition":"In an A/B test, eligible units are assigned to a control or treatment, and their outcomes are compared under a specified analysis. Randomization aims to prevent systematic differences in observed and unobserved characteristics from driving the comparison. The unit can be a user, account or cluster, and should match how the intervention reaches people. Design also defines the population, exposure, outcome window and estimand. A simple difference in averages is only one possible analysis; blocking, covariate adjustment or cluster-aware inference may be appropriate. The method provides evidence about the tested change under the experiment's conditions, not an unrestricted claim about product quality.","practice":"Translate the decision into a primary metric and a minimum effect worth acting on. Choose an assignment unit that avoids spillover and specify exclusions, stopping rules and analysis before collecting outcomes. Check that assignment and exposure are logged correctly, compare allocated counts and inspect missingness or attrition. Estimate the effect with an interval, examine guardrails and explain practical significance alongside statistical uncertainty. The output should connect a deployment decision to an auditable design, including what would count as insufficient or conflicting evidence.","example":"For an illustrative checkout experiment, a retailer compares the existing form with a shorter version. Assignment occurs at account level so the same customer does not encounter both variants. Completed orders are the primary outcome, while payment failures and support contacts are guardrails. The team chooses a run period that covers ordinary weekly variation and reviews instrumentation before interpreting the difference. A rise in completion accompanied by more payment failures would require a decision beyond merely selecting the variant with the higher primary metric.","limits":"Repeatedly checking ordinary fixed-horizon significance tests and stopping when a result looks favorable can distort error rates. Multiple outcomes and segments create additional opportunities for selective conclusions. Network effects, novelty, inconsistent exposure and missing outcomes can weaken the randomized comparison. A statistically detectable effect may be too small to justify a change, while an inconclusive test does not establish equivalence. Generalization should consider seasonal conditions, the tested population and whether implementation after the experiment matches the treatment that was actually evaluated.","sources":[{"title":"NIST: Choosing an experimental design","url":"https://www.itl.nist.gov/div898/handbook/pri/section3/pri3.htm","note":"Randomization, blocking and choosing a design for the experimental question."},{"title":"NIST: Product and Process Comparisons","url":"https://www.itl.nist.gov/div898/handbook/prc/prc.htm","note":"Statistical comparison of groups and interpretation of experimental evidence."}],"updatedAt":"2026-10-10"}},{"id":"information-theory","name":"Information Theory","category":"Mathematical Foundations","subcategory":null,"section_id":"mathematical-statistical-foundations","section_name":"Mathematical & Statistical Foundations","description":"Information theory measures uncertainty and the relationship between probability distributions. In machine learning it explains entropy, cross-entropy and divergence, and helps interpret compression and predictive losses. Competence means understanding what these quantities measure, choosing an appropriate representation and avoiding claims that a lower information-theoretic loss guarantees better task performance.","type":"concept","editorial":{"definition":"Entropy summarizes the uncertainty of a distribution, while cross-entropy measures the average coding or prediction cost when one distribution is represented by another. Kullback–Leibler divergence describes a directional mismatch between distributions; mutual information measures statistical dependence through shared information. These quantities connect probabilistic modeling, coding and learning objectives. A language model's token loss is a cross-entropy over its chosen tokenization, and perplexity is a transformed version of that loss. The units depend on the logarithm base. Information theory describes properties of distributions and representations, not the meaning, truthfulness or social value of the messages being modeled.","practice":"A practitioner should identify which distribution is treated as the reference, how probabilities are estimated and whether comparisons use the same support and preprocessing. Derive the relationship between a likelihood objective and its information-theoretic interpretation before using it as a model-selection metric. Account for smoothing when empirical probabilities are zero. For text models, document tokenizer and evaluation data so reported losses are comparable. The resulting analysis explains what uncertainty or mismatch was measured and why that quantity matters for the intended application.","example":"Imagine an illustrative autocomplete system evaluated on two collections of technical documents. The analyst computes average token cross-entropy on held-out text and checks that both runs use the same tokenizer and masking policy. A lower value suggests better prediction of those token sequences. The analyst then separately examines suggested completions for usefulness and factual correctness, because confidently predicting common wording does not establish that a completion answers the user's technical question.","limits":"KL divergence is generally asymmetric and is not a distance metric. Entropy estimates can be sensitive to sample size and representation, and mutual information can be difficult to estimate in high dimensions. Perplexities from different tokenizations should not be treated as directly interchangeable. Low uncertainty may reflect a narrow or repetitive dataset rather than broad competence. Cross-entropy evaluates probability assignments under a data distribution; it does not verify factual claims or capture every cost of a mistaken decision.","sources":[{"title":"Dive into Deep Learning: Information Theory","url":"https://d2l.ai/chapter_appendix-mathematics-for-deep-learning/information-theory.html","note":"Entropy, cross-entropy, KL divergence and mutual information in learning."}],"updatedAt":"2026-10-10"}},{"id":"linear-algebra","name":"Linear Algebra","category":"Mathematical Foundations","subcategory":null,"section_id":"mathematical-statistical-foundations","section_name":"Mathematical & Statistical Foundations","description":"Linear algebra describes vectors, matrices and transformations between spaces. It is the language of feature representations, neural-network layers, least-squares fitting and dimensionality reduction. The skill includes reasoning about shape, rank and geometry, and selecting numerically appropriate computations rather than treating matrix operations as opaque library calls.","type":"concept","editorial":{"definition":"A vector can represent an observation or a set of parameters; a matrix represents a linear transformation or a collection of observations. Dot products connect geometry to similarity and weighted prediction. Linear systems, orthogonality, eigenvectors and singular-value decomposition explain fitting, projections and low-rank approximations. Rank describes independent directions of information, while conditioning describes sensitivity to perturbations. In machine learning, the same algebra appears in a dense neural layer, a covariance matrix or a factorized recommender. Understanding the dimensions and assumptions of each object is essential because a valid matrix multiplication can still represent the wrong statistical operation.","practice":"Track what each axis means before reshaping or multiplying arrays. Choose a solver suited to the matrix structure and avoid explicitly forming an inverse when solving a system is sufficient. Check rank, conditioning and the consequences of scaling features. Use decompositions to diagnose redundant variables or construct a compact representation, and verify the result through residuals or reconstruction error. A useful deliverable is a calculation whose geometry, dimensions and numerical behavior can be explained, together with checks that detect silent broadcasting and near-singular inputs.","example":"In an illustrative sensor project, several measurements move almost together. An analyst centers the data, examines singular values and projects observations onto a smaller set of directions. Reconstructing held-out measurements reveals which variation the projection loses. If a downstream classifier deteriorates, the analyst inspects whether a low-variance direction carried useful label information. The algebra provides a compact representation; deciding which variation is expendable remains a modeling decision.","limits":"Near-singular matrices can amplify numerical error, and finite precision matters even when an exact symbolic solution exists. Orthogonality depends on the chosen inner product, and large singular values do not automatically imply causal or predictive importance. A transpose can make dimensions compatible while changing the meaning of a calculation. Linear algebra alone does not establish statistical assumptions. Check residuals, scale and interpretation rather than accepting a result merely because the numerical library returned an array without an exception.","sources":[{"title":"MIT OpenCourseWare: Linear Algebra","url":"https://ocw.mit.edu/courses/18-06-linear-algebra-spring-2010/","note":"Vector spaces, projections, eigenvalues and matrix decompositions."},{"title":"NumPy: Linear algebra","url":"https://numpy.org/doc/stable/reference/routines.linalg.html","note":"Solvers, decompositions, matrix rank and numerical linear-algebra operations."}],"updatedAt":"2026-10-10"}},{"id":"mathematical-optimization","name":"Mathematical Optimization","category":"Optimization & Operations Research","subcategory":null,"section_id":"mathematical-statistical-foundations","section_name":"Mathematical & Statistical Foundations","description":"Mathematical optimization finds values that improve an objective while satisfying constraints. It underlies model fitting, resource allocation and operational decisions. The competence is formulating the problem, selecting a suitable algorithm and interpreting feasibility and convergence, including the gap between the mathematical objective and the real outcome being sought.","type":"concept","editorial":{"definition":"An optimization problem specifies decision variables, an objective and constraints. Continuous variables may support gradient-based methods, while integer choices can require combinatorial search or mixed-integer solvers. Convexity is an important distinction: under suitable conditions, local optimality can support a global conclusion, whereas nonconvex problems can have multiple stationary points. Constraints may be explicit limits or incorporated through penalties, but those approaches are not always interchangeable. Machine-learning training is one application in which parameters are chosen to minimize a loss. Optimization does not determine whether the chosen loss, constraints or model accurately describe the underlying decision.","practice":"Express the objective in meaningful units and identify which restrictions are truly mandatory. Inspect convexity, differentiability, scale and problem size before choosing a solver. Establish a feasible baseline, configure stopping criteria and record the returned status, residuals and any optimality bound. Test sensitivity to inputs and alternative objective weights. The output should include a usable solution plus evidence about feasibility and solution quality, rather than only a final objective value that hides violations or a prematurely terminated search.","example":"Suppose, illustratively, a distribution center allocates limited staff hours among packing stations. The planner models expected demand, station capacity and mandatory staffing requirements, then minimizes late orders. A feasible schedule provides a baseline. If a solver suggests transferring staff from a specialized station, the planner checks whether training requirements were encoded. The apparent improvement may disappear once that missing constraint is added, revealing a formulation issue rather than a failure of the solver.","limits":"A solver can optimize the wrong problem perfectly. Nonconvex and integer problems may return useful feasible solutions without proving optimality, and tight tolerances can increase computational cost. Penalties can trade away requirements that should have been hard constraints. Ill-scaled inputs can affect numerical behavior. Optimization differs from statistical inference: a minimum loss is not an uncertainty estimate. Verify status, constraint satisfaction and sensitivity, and consider how errors in demand or cost assumptions change the operational decision.","sources":[{"title":"Convex Optimization: Boyd and Vandenberghe","url":"https://web.stanford.edu/~boyd/cvxbook/","note":"Problem formulation, convexity, duality and optimization methods."},{"title":"OR-Tools","url":"https://developers.google.com/optimization","note":"Constraint, linear and combinatorial optimization applications."}],"updatedAt":"2026-10-10"}},{"id":"operations-research","name":"Operations Research","category":"Optimization & Operations Research","subcategory":null,"section_id":"mathematical-statistical-foundations","section_name":"Mathematical & Statistical Foundations","description":"Operations research uses mathematical models to improve decisions about resources, routes, schedules and systems. It combines optimization with modeling uncertainty and operational constraints. The skill is turning a practical decision into a tractable model, evaluating alternatives and communicating a solution that people can implement and revise as conditions change.","type":"concept","editorial":{"definition":"Operations research studies the behavior and design of decision systems. A problem may involve assigning workers, routing vehicles, managing inventories or choosing capacity. Models can use linear and integer optimization, constraint programming, queues or simulation, depending on the structure and uncertainty involved. Mathematical optimization supplies many of the solution methods, but operations research also includes defining the decision boundary, estimating inputs and comparing operational scenarios. A model is an abstraction: it retains details that influence the decision while simplifying others. Its value depends on whether those simplifications preserve feasibility and the consequences that matter in the actual system.","practice":"Interview the people responsible for the operation to distinguish mandatory constraints from preferences. Define variables, objectives, resource limits and the planning horizon, then validate input data against observed workflows. Select an exact or heuristic method appropriate to the available runtime. Compare the proposed plan with the existing policy and test demand or capacity scenarios. The resulting artifact is an implementable decision rule or plan, accompanied by its assumptions, expected tradeoffs and a process for responding when real operations depart from the model.","example":"Consider an illustrative field-service team assigning visits to technicians. Each visit has a time window, travel time and a required qualification. The analyst models assignments and routes, compares alternative staffing levels and discusses whether overtime is preferable to delaying a low-priority visit. A mathematically shorter route that assigns an unqualified technician is unusable. Reviewing those cases with dispatchers helps refine the model and establish when a human should override the proposed plan.","limits":"Operational models can miss behavioral constraints, unreliable estimates or rare disruptions. Optimizing a mean outcome can conceal unacceptable worst cases, and a plan can be fragile if small input changes force major revisions. Simulation explores modeled scenarios rather than proving real-world performance. Operations research is broader than scheduling and differs from predictive analytics: forecasting demand supplies an input, while the operational model chooses actions. Validate feasibility and compare outcomes under uncertainty before equating a better modeled objective with a better operation.","sources":[{"title":"OR-Tools: Optimization problems and solvers","url":"https://developers.google.com/optimization","note":"Routing, scheduling, assignment and constrained operational decisions."},{"title":"NIST: Process Improvement","url":"https://www.itl.nist.gov/div898/handbook/pri/pri.htm","note":"Structured investigation and improvement of operational processes."}],"updatedAt":"2026-10-10"}},{"id":"scheduling-algorithms","name":"Scheduling Algorithms","category":"Optimization & Operations Research","subcategory":null,"section_id":"mathematical-statistical-foundations","section_name":"Mathematical & Statistical Foundations","description":"Scheduling algorithms decide when tasks run and which resources perform them. They account for dependencies, capacity and timing requirements while optimizing a specified goal. The competence includes choosing a scheduling model, producing a feasible sequence and understanding tradeoffs among completion time, lateness, fairness and resilience to disruptions.","type":"concept","editorial":{"definition":"A schedule maps tasks to resources and time intervals. Tasks may have durations, release times, deadlines and precedence relations; resources may be exclusive, shareable or available only during certain periods. Different objectives produce different schedules: minimizing overall completion time is not the same as minimizing lateness or balancing workload. Exact methods can use constraint programming or integer optimization, while heuristics prioritize or construct tasks incrementally. Some settings allow preemption, meaning a task can pause and resume; others do not. Scheduling competence requires understanding the problem variant before applying an algorithm, because a solution can be optimal for assumptions the operation does not satisfy.","practice":"Collect task dependencies and resource calendars, then specify whether durations are fixed or uncertain and whether interruptions are permitted. Encode hard constraints separately from soft preferences. Start with a feasible priority rule and compare it with a solver-produced schedule. Inspect conflicts, idle time and deadline violations, and test what happens when a task overruns or a resource becomes unavailable. The deliverable is a schedule with a clear objective and a rescheduling policy, so operators can understand which commitments remain valid after a disruption.","example":"In an illustrative workshop, each product must be cut before assembly, and several products share one cutting machine. A planner represents these precedence and exclusivity constraints and minimizes the completion time of the entire batch. The resulting schedule might place a long cutting task early to avoid later assembly idle time. When urgent work arrives, the planner compares inserting it with recomputing the schedule and explains which promised delivery dates would change.","limits":"Many scheduling problems become computationally difficult as tasks and constraints increase. A solver timeout does not necessarily mean no feasible schedule exists, and a greedy rule may perform poorly when dependencies interact. Deterministic durations can hide operational risk, while continual rescheduling can create costly instability. Scheduling is distinct from routing even when both are part of a dispatch problem. Check every mandatory constraint and measure the objective that stakeholders actually value rather than judging a plan solely by how busy its resources appear.","sources":[{"title":"OR-Tools: Scheduling Overview","url":"https://developers.google.com/optimization/scheduling","note":"Job-shop and employee scheduling, precedence and resource constraints."}],"updatedAt":"2026-10-10"}},{"id":"search-algorithms","name":"Search Algorithms","category":"Optimization & Operations Research","subcategory":null,"section_id":"mathematical-statistical-foundations","section_name":"Mathematical & Statistical Foundations","description":"Search algorithms explore possible states or candidates to find a goal, path or high-quality solution. The skill is defining a search space, choosing an exploration strategy and managing the cost of expansion. It applies to planning and combinatorial problems as well as efficient lookup, with different guarantees and data structures in each setting.","type":"concept","editorial":{"definition":"A state-space search describes an initial state, available actions, transition costs and a goal test. Breadth-first and depth-first strategies explore in different orders; uniform-cost search prioritizes accumulated cost, while heuristic search uses an estimate of the cost remaining. A* combines both quantities and its guarantees depend on the heuristic and search conditions. Search can also operate over ordered arrays or trees for lookup, where the problem is finding an item rather than planning a sequence of actions. The common competence is understanding what is explored, what can be discarded and what the stopping rule permits one to conclude.","practice":"Define state identity carefully so repeated states can be recognized. Choose frontier and visited-set structures, document edge costs and evaluate whether a heuristic is admissible or consistent where those properties matter. Estimate memory use and consider pruning, caching or approximate strategies when exhaustive search is impractical. Test small cases with known answers and measure both expansion count and solution quality. The result should be a search procedure with explicit completeness or optimality conditions and a clear behavior when the budget is exhausted.","example":"Suppose, illustratively, a planning tool must move a robot between rooms while avoiding locked doors. The engineer represents locations and permitted transitions as a graph, assigns movement costs and supplies a distance-based heuristic. A* proposes a route, which is checked against the actual door constraints. If the heuristic assumes a shortcut unavailable to the robot, it must remain an estimate that does not invalidate the required guarantee; otherwise the planner should present its answer as an approximate candidate.","limits":"A heuristic can reduce exploration without being informative in every instance. Unbounded search can consume excessive memory, and poorly defined state equality can repeat work or discard valid paths. Negative costs, cycles and changing transitions require particular care. A result found early is not automatically the best result, and failure under a runtime limit does not prove impossibility. Search algorithms differ from learned prediction: a model may guide exploration, but the correctness of the resulting path still depends on the state and transition model.","sources":[{"title":"Artificial Intelligence: A Modern Approach","url":"https://aima.cs.berkeley.edu/","note":"State-space problem solving, informed search and search properties."}],"updatedAt":"2026-10-10"}},{"id":"bayesian-statistics","name":"Bayesian Statistics","category":"Probability & Bayesian Methods","subcategory":null,"section_id":"mathematical-statistical-foundations","section_name":"Mathematical & Statistical Foundations","description":"Bayesian statistics combines a probabilistic model, prior information and observed data to obtain a posterior distribution. The skill covers model specification, computation and interpretation of uncertainty. It is especially useful when uncertainty must propagate through a decision, but conclusions remain conditional on the likelihood, priors and data-generation assumptions.","type":"concept","editorial":{"definition":"Bayes' rule updates a prior distribution over unknown quantities using the likelihood of the observed data. The posterior can describe parameters, latent variables and predictions, and hierarchical models share information across related groups. Posterior predictive distributions include uncertainty about parameters as well as variation in new outcomes. For complex models, computation may use Markov chain Monte Carlo or approximate inference. The Bayesian framework makes assumptions explicit; it does not eliminate them. A posterior probability has an interpretation conditional on the chosen model and prior, which differs from the repeated-sampling interpretation of a frequentist confidence interval.","practice":"Specify the outcome distribution and the meaning of each parameter, then choose priors on a scale that has substantive meaning. Use prior predictive checks to identify implausible implied data before fitting. After computation, assess diagnostics and posterior predictive checks, and compare conclusions under reasonable alternative priors or model structures. Present estimates and credible intervals alongside decision-relevant predictions. The finished analysis should include reproducible model code, assumptions and checks that distinguish a computationally converged fit from a model that actually describes the observed phenomenon.","example":"In an illustrative service-quality study, several small teams have only a few recorded incidents. A hierarchical model estimates a team-specific rate while allowing information to be shared across teams through a population distribution. The analyst checks whether the model reproduces the variation in observed counts and examines sensitivity to the population prior. Reporting a range of plausible rates is more informative than ranking teams by noisy raw percentages, especially when a future staffing decision depends on uncertainty.","limits":"A precise posterior can still be wrong when the likelihood excludes important variation or the data are biased. Poorly chosen priors can dominate sparse data, and weak identification can make results sensitive to parameterization. Sampling diagnostics do not prove model adequacy; approximate methods may understate uncertainty. Hierarchical shrinkage is not evidence that groups are truly interchangeable. Report sensitivity and predictive checks, and avoid treating a credible interval as a model-free statement or a computational warning as something that can be ignored after a long run.","sources":[{"title":"Stan User’s Guide","url":"https://mc-stan.org/docs/stan-users-guide/index.html","note":"Bayesian model specification, hierarchical models and predictive checks."},{"title":"Seeing Theory","url":"https://seeing-theory.brown.edu/","note":"Probability, Bayesian inference and statistical uncertainty."}],"updatedAt":"2026-10-10"}},{"id":"monte-carlo-simulation","name":"Monte Carlo Simulation","category":"Probability & Bayesian Methods","subcategory":null,"section_id":"mathematical-statistical-foundations","section_name":"Mathematical & Statistical Foundations","description":"Monte Carlo simulation estimates a quantity by repeatedly drawing from a specified random model. It supports risk analysis, numerical integration and propagation of uncertainty through complex systems. Competence means designing the random experiment, measuring sampling error and separating uncertainty in the simulation output from uncertainty about whether the model is realistic.","type":"concept","editorial":{"definition":"A Monte Carlo method generates samples from one or more distributions and computes an outcome for each draw. Averages, quantiles or event frequencies approximate properties of the modeled system. The method can handle relationships too complicated for an analytic calculation, provided the sampling procedure represents them correctly. Repeated draws introduce sampling error that can be estimated and reduced. Variance-reduction techniques and quasi-Monte Carlo sequences alter how samples cover the space, but have their own assumptions and interpretation. Simulation is therefore both a model of uncertainty and a numerical estimation procedure, with separate questions about model validity and estimator precision.","practice":"Define the target quantity and the uncertain inputs, including correlations and constraints. Check how each distribution was justified and avoid sampling related variables independently without reason. Control random seeds for reproducibility, assess convergence across sample budgets and quantify Monte Carlo error where possible. Use sensitivity analysis to identify influential assumptions and compare against a simple case with a known result. The output should describe a distribution of outcomes and the assumptions producing it, rather than one apparently exact number from an arbitrary number of draws.","example":"For an illustrative project plan, an analyst models uncertain task durations and simulates the completion date after applying dependencies. Durations of tasks performed by the same specialist may share a workload factor, so they are not sampled independently. The simulation produces a range of possible completion dates and a probability of missing a chosen deadline. The analyst repeats the calculation with alternative duration assumptions to show how much of the forecast depends on expert estimates rather than sampling noise.","limits":"More draws improve numerical precision but cannot repair an unrealistic distribution or omitted dependency. Rare events may require specialized sampling; ordinary simulation can miss them and give false reassurance. A reproducible random seed is useful for debugging, not evidence of correctness. Quasi-Monte Carlo sampling differs from independent random sampling, so ordinary error formulas may not apply unchanged. Check impossible simulated states, tail behavior and sensitivity, and distinguish uncertainty about inputs from uncertainty introduced by finite simulation effort.","sources":[{"title":"SciPy: Statistical functions","url":"https://docs.scipy.org/doc/scipy/reference/stats.html","note":"Probability distributions and random sampling used in simulation."},{"title":"SciPy: Quasi-Monte Carlo submodule","url":"https://docs.scipy.org/doc/scipy/reference/stats.qmc.html","note":"Sampling designs, integration and quasi-Monte Carlo limitations."}],"updatedAt":"2026-10-10"}},{"id":"probability-theory","name":"Probability Theory","category":"Probability & Bayesian Methods","subcategory":null,"section_id":"mathematical-statistical-foundations","section_name":"Mathematical & Statistical Foundations","description":"Probability theory provides a mathematical language for uncertainty, dependence and random variation. It underpins probabilistic prediction, statistical estimation and simulation. The competence is building and interpreting a coherent probability model, especially the distinction between marginal, conditional and joint quantities and the assumptions needed to combine uncertain events.","type":"concept","editorial":{"definition":"A probability model assigns probabilities to events and describes random variables through distributions. Joint distributions represent several variables together; marginalization removes variables, while conditioning describes uncertainty after information is observed. Independence is a substantive property that can simplify factorization, not a default consequence of having separate columns. Expectation summarizes a distribution, and variance and covariance describe spread and linear co-variation. Bayes' rule connects conditional probabilities in opposite directions. These ideas support likelihood-based estimation and model evaluation, but a probability assigned by a model is only as meaningful as the model's connection to the data-generating process.","practice":"Translate a question into events and variables before calculating. Identify what information is available at prediction time and which quantities are conditioned on it. Check probability normalization, support and dependence assumptions; use small enumerated examples to test a proposed factorization. When interpreting predictions, distinguish individual-event uncertainty from uncertainty about an estimated probability. The practical outcome is a model whose quantities and assumptions can be explained, with simulations or analytic checks showing that conditional calculations and aggregate summaries behave as intended.","example":"Suppose, illustratively, a factory receives a positive defect-test result. The probability that the item is defective depends on the defect prevalence as well as the test's sensitivity and false-positive rate. An analyst constructs a joint table and conditions on the positive result rather than confusing sensitivity with the desired probability. Repeating the calculation for a different production line shows why the same test result can imply a different risk when the underlying prevalence changes.","limits":"Conditional probabilities can be reversed incorrectly, and rare-event reasoning is especially sensitive to base rates. Zero correlation does not generally establish independence, while conditional independence can disappear after marginalizing variables. Expected values can conceal extreme or asymmetric outcomes. A fitted probability is not automatically calibrated on future data. Probability theory provides internal consistency, but empirical assumptions still need checking. Always state the population and conditioning information before comparing predictions or combining event probabilities.","sources":[{"title":"Dive into Deep Learning: Probability and Statistics","url":"https://d2l.ai/chapter_preliminaries/probability.html","note":"Random variables, expectations, conditional probability and Bayes’ rule."},{"title":"Seeing Theory","url":"https://seeing-theory.brown.edu/","note":"Interactive treatment of probability, distributions and conditioning."}],"updatedAt":"2026-10-10"}},{"id":"quantitative-research","name":"Quantitative Research","category":"Causal & Experimental Inference","subcategory":null,"section_id":"mathematical-statistical-foundations","section_name":"Mathematical & Statistical Foundations","description":"Quantitative research investigates a question through systematic measurement and statistical analysis. The skill spans study design, operational definitions, sampling and reproducible interpretation. Its central task is connecting numerical evidence to a clearly stated claim while documenting uncertainty, alternative explanations and the limits imposed by how observations were collected.","type":"concept","editorial":{"definition":"Quantitative research turns an abstract question into measurable variables and a study design. It may describe a population, estimate an association, evaluate an intervention or compare predictions. These purposes require different data and analyses: observational association does not automatically support an intervention claim. Measurement definitions determine what the numbers mean, while sampling determines which population a conclusion can represent. Statistical methods summarize evidence under assumptions, and computational workflows make those transformations inspectable. The competence is broader than selecting a test or fitting a model; it includes defending the entire chain from question and data collection to reported conclusion.","practice":"Write the research question, target population and planned analysis before collecting or inspecting outcomes where feasible. Define inclusion criteria, measurement procedures and how missing observations will be handled. Examine data quality and assumptions, choose an analysis suited to the design and report effect sizes with uncertainty. Preserve scripts and decisions so another analyst can reproduce the result. A credible deliverable distinguishes planned from exploratory analyses and explains what the study can establish, what remains ambiguous and what further evidence would change the interpretation.","example":"In an illustrative study of service response times, a researcher asks whether delays differ between request channels. They define when the response clock starts, distinguish working hours from elapsed hours and specify how reopened requests count. After comparing channel distributions, they inspect whether request complexity differs across channels. The report can describe an association while explaining why a causal claim about switching channels requires a stronger design or additional assumptions.","limits":"Large datasets do not remove selection bias or poor measurement. Flexible analysis choices can produce attractive results that do not replicate, particularly when many outcomes or subgroups are tried. Statistical significance does not establish practical importance or causal direction. Reproducible code reproduces an analysis, including its mistakes, unless design and assumptions are also reviewed. Quantitative research should complement subject-matter reasoning rather than replace it with a numerical score detached from the question.","sources":[{"title":"NIST/SEMATECH: Exploratory Data Analysis","url":"https://www.itl.nist.gov/div898/handbook/eda/eda.htm","note":"Examining data structure and assumptions before formal analysis."},{"title":"NIST/SEMATECH: Process Improvement","url":"https://www.itl.nist.gov/div898/handbook/pri/pri.htm","note":"Study design and empirical investigation of process changes."}],"updatedAt":"2026-10-10"}},{"id":"statistical-inference","name":"Statistical Inference","category":"Causal & Experimental Inference","subcategory":null,"section_id":"mathematical-statistical-foundations","section_name":"Mathematical & Statistical Foundations","description":"Statistical inference uses observed data to estimate or assess quantities beyond the observed sample. The skill includes choosing an estimand, understanding sampling uncertainty and matching methods to the study design. It connects estimates, intervals and tests to explicit assumptions, without mistaking numerical precision for representativeness or causal evidence.","type":"concept","editorial":{"definition":"An estimand is the quantity an analysis intends to learn, such as a population mean, difference or model parameter. An estimator maps a sample to an estimate, and its sampling behavior determines uncertainty and possible bias. Confidence intervals, hypothesis tests and resampling methods offer different ways to summarize that uncertainty. Bayesian inference instead conditions on a model and prior to describe posterior uncertainty. Both require a defensible connection between observations and the target question. Inference is distinct from merely computing a sample statistic: the additional claim concerns unobserved units, repeated sampling or unknown quantities, and must be justified by the design and assumptions.","practice":"Specify the population and estimand, then inspect how units were selected and whether observations are independent or clustered. Choose an estimator and uncertainty calculation compatible with skew, missingness and dependence. Use diagnostic plots and, where useful, simulation to test the analysis under plausible data conditions. Report an effect size and interval with a clear interpretation, rather than only a p-value. The result should expose the route from the observed sample to the broader statement, including sensitivity to assumptions that the data cannot directly verify.","example":"Suppose, illustratively, an analyst estimates average delivery delay from a sample of orders. Several orders belong to the same route, so delays are correlated. Treating every order as independent would understate uncertainty. The analyst uses a route-aware uncertainty procedure, checks coverage across days and explains whether the estimate represents all deliveries or only routes included in the sample. The point estimate and uncertainty interval answer different parts of the operational question.","limits":"An interval can be narrow around a biased estimate if the sample is unrepresentative or the model is misspecified. Independence assumptions, unmodeled clustering and selective missingness can invalidate ordinary error calculations. Bootstrapping does not automatically fix the sampling design. A frequentist confidence interval is not a posterior probability interval for the realized parameter. Inference also does not establish causation without appropriate identification. State the assumptions and avoid extrapolating beyond populations and conditions the study can support.","sources":[{"title":"NIST: Quantitative Techniques","url":"https://www.itl.nist.gov/div898/handbook/eda/section3/eda35.htm","note":"Estimation, confidence intervals and statistical assessment."},{"title":"SciPy: Statistics tutorial","url":"https://docs.scipy.org/doc/scipy/tutorial/stats.html","note":"Probability distributions, inference tools and statistical computation."}],"updatedAt":"2026-10-10"}},{"id":"hypothesis-testing","name":"Hypothesis Testing","category":"Causal & Experimental Inference","subcategory":null,"section_id":"mathematical-statistical-foundations","section_name":"Mathematical & Statistical Foundations","description":"Hypothesis testing evaluates how compatible observed data are with a specified null model. The skill is choosing a defensible test, understanding error rates and reporting the evidence in relation to a practical question. It requires explicit hypotheses, design-aware assumptions and restraint when interpreting a p-value or a nonsignificant result.","type":"concept","aliases":["hypothesis-testing","Statistical Hypothesis Testing"],"editorial":{"definition":"A statistical test defines a null hypothesis, an alternative, a statistic and its distribution under the null assumptions. A p-value measures the probability of a result at least as extreme as the observed one under that null model; it is not the probability that the null is true. A decision threshold controls a specified error rate under the test's conditions. Power concerns sensitivity to particular alternatives. Tests can address means, distributions, proportions or model parameters, with parametric and resampling approaches. The method organizes evidence against a model, but its relevance depends on whether the tested hypothesis corresponds to the scientific or operational question.","practice":"State the hypothesis and the smallest effect that would matter before selecting a method. Check randomization or sampling assumptions, dependence, sample size and the suitability of the statistic. Account for multiple comparisons and any sequential examination of results. Report estimates and uncertainty alongside the test outcome, distinguishing evidence of a difference from its operational importance. The analysis should also explain whether it was designed to detect a difference, demonstrate equivalence or establish noninferiority, because these require different hypotheses and decision rules.","example":"For an illustrative packaging comparison, a team asks whether a new process changes average defect rate. The analyst defines the direction and relevant effect size, checks whether batches rather than individual items are the independent units and selects a corresponding test. A small p-value prompts examination of the effect estimate and interval. If the result is nonsignificant, the team asks whether the experiment had adequate sensitivity rather than concluding that the two processes are identical.","limits":"Rejecting a null does not prove a causal mechanism, and failing to reject it does not establish equivalence. Large samples can detect effects too small to matter. Repeated testing, subgroup searches and outcome switching can make nominal error rates misleading. Test assumptions include more than a distributional check; biased sampling or dependent observations can dominate the conclusion. Separate statistical evidence from the decision cost, and use appropriately designed equivalence or noninferiority procedures when similarity is the actual question.","sources":[{"title":"NIST: Product and Process Comparisons","url":"https://www.itl.nist.gov/div898/handbook/prc/prc.htm","note":"Hypothesis tests, comparisons and interpretation of uncertainty."},{"title":"SciPy: Statistical functions","url":"https://docs.scipy.org/doc/scipy/reference/stats.html","note":"Parametric, nonparametric, resampling and multiple-testing tools."}],"updatedAt":"2026-10-10"}},{"id":"anomaly-detection","name":"Anomaly Detection","category":"Unsupervised Learning & Anomaly Detection","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"Anomaly detection identifies observations or patterns that depart from a chosen model of expected behavior. The skill includes defining what unusual means, selecting a detection method and calibrating alerts against investigation costs. An anomaly is a reason to examine an event, not proof of a defect, attack or fraudulent act.","type":"concept","editorial":{"definition":"Detection methods can score distance from typical observations, estimate low-density regions, identify readily isolated points or model expected behavior over time. Outlier detection learns from data that may already contain unusual observations; novelty detection usually learns a reference of normal behavior and assesses new observations. Context matters: a large purchase may be ordinary for one account and unusual for another. Supervised detection is possible when reliable anomaly labels exist, but many applications have sparse or delayed labels. The key competence is matching the definition of deviation and the training setup to the event the organization actually needs to investigate.","practice":"Establish the reference population and decide whether detection operates on individual events, windows or sequences. Build features using only information available at the decision time, compare simple rules with statistical or machine-learning scores and set a threshold against realistic investigation capacity. Evaluate labeled cases where available, but also inspect normal events and changing conditions. The deliverable includes scores, alert explanations and a feedback process, so reviewers can distinguish model error, legitimate novelty and operational incidents while improving subsequent calibration.","example":"In an illustrative monitoring system, a machine's vibration and temperature are compared with its historical operating modes. A detector flags a combination unlike the reference data. Before calling it a failure, an engineer checks whether the machine was processing a new material or undergoing maintenance. Reviewer feedback is retained with the alert, allowing the team to adjust features and thresholds without silently declaring every unfamiliar operating state abnormal.","limits":"Rarity and harmfulness are different properties. A common attack can look normal, while a legitimate new workflow can generate many alerts. Drift can make yesterday's reference inappropriate, and contamination assumptions influence thresholding. Accuracy alone is misleading when alerts are rare. Check false-alert burden, detection delay and sensitivity to known cases. Outlier-removal preprocessing also deserves scrutiny: automatically deleting flagged observations can erase important minority patterns or the very failures the system was meant to explain.","sources":[{"title":"scikit-learn: Outlier Detection","url":"https://scikit-learn.org/stable/modules/outlier_detection.html","note":"Outlier versus novelty detection, anomaly scoring and estimator assumptions."}],"updatedAt":"2026-10-10"}},{"id":"exploratory-data-analysis","name":"Exploratory Data Analysis","category":"Model Selection, Tuning & Evaluation","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"Exploratory data analysis examines data structure, quality and relationships before committing to a model or inference. It uses summaries and visualizations to discover patterns and challenge assumptions. The skill is turning observations into testable questions and documented data decisions while keeping exploration separate from confirmatory evidence.","type":"concept","editorial":{"definition":"EDA combines distribution summaries, plots and targeted inspection of records. For tabular data it examines missingness, range, dependence and unusual values; for text, images or audio it also inspects representation and labeling conventions. Exploration can reveal mixtures, time effects, duplicated entities and artifacts introduced by collection. It helps define suitable transformations and analyses, but is not simply an automated chart report. Patterns found after repeatedly examining many slices are hypotheses to investigate. Their statistical or causal interpretation requires a design that accounts for how the pattern was selected and how observations were sampled.","practice":"Begin with the provenance and meaning of each field, including measurement units and the observation unit. Profile completeness and duplication, inspect representative and extreme records, and compare distributions across time and relevant groups. Document decisions about invalid values instead of treating every outlier as an error. Use plots to check modeling assumptions and trace surprising results back to records or collection processes. A useful result is a concise account of data limitations, candidate explanations and the checks or experiments needed before choosing a predictive or inferential approach.","example":"Suppose, illustratively, delivery durations show two peaks. Rather than immediately fitting two customer segments, an analyst checks dates, shipping methods and how the duration was recorded. One peak may reflect overnight versus daytime processing, or a switch from business hours to calendar hours. The analyst records the finding, corrects a measurement inconsistency if justified and proposes an analysis stratified by shipping method. The visualization starts the investigation; it does not settle the explanation.","limits":"Exploration can encourage selective storytelling, particularly when many variables and subgroups are inspected. Correlation is not causation, and visually clean data can still be biased or missing important populations. Averages hide mixtures and tail behavior. Automated profiling may miss semantic errors such as a valid-looking date with the wrong timezone. Protect a later evaluation set from decisions driven by its outcomes, and make exploratory findings explicit so they are not presented as prespecified confirmations.","sources":[{"title":"NIST/SEMATECH: Exploratory Data Analysis","url":"https://www.itl.nist.gov/div898/handbook/eda/eda.htm","note":"EDA goals, graphical techniques and assumption checking."}],"updatedAt":"2026-10-10"}},{"id":"model-evaluation","name":"Model Evaluation","category":"Model Selection, Tuning & Evaluation","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"Model evaluation measures how well a model serves a defined task on appropriate data. It connects a test design, metrics and failure analysis to a deployment decision. The competence is selecting meaningful comparisons and interpreting uncertainty, rather than declaring a model good because one aggregate score is high.","type":"concept","editorial":{"definition":"Evaluation defines what is predicted, which examples represent use and how errors are scored. Classification may require precision, recall, ranking quality, calibration and threshold-dependent costs; regression may emphasize absolute, squared or asymmetric errors. Offline tests estimate behavior under a sampled distribution, while prospective monitoring examines actual use. A baseline establishes whether added complexity brings value. Metrics summarize particular properties and do not automatically represent business outcomes, fairness or robustness. Evaluation therefore includes slices, stress cases and uncertainty, along with a separation between data used to choose a model and data used to assess the final choice.","practice":"Specify the decision and its error costs, then choose test data with the correct time, entity and group boundaries. Compare a simple baseline, set thresholds using development data and reserve a final assessment that has not guided tuning. Examine errors by meaningful segments and assess calibration when probabilities support decisions. Report sample counts and uncertainty where feasible. The deliverable should explain why the measured difference matters, which failures remain and what monitoring or escalation is required before relying on the model operationally.","example":"For an illustrative alert classifier, a high accuracy score is easy to obtain because most events require no action. The evaluator compares precision and recall at the number of alerts reviewers can process, checks performance on new accounts and inspects missed severe incidents. A candidate with slightly lower global accuracy may be preferable if it detects important cases within the same review budget. The chosen threshold and test period are recorded so the decision can be reproduced.","limits":"Data leakage, duplicated entities and repeated reuse of the test set can make results optimistic. An aggregate metric may conceal poor performance on an important subgroup or a rare costly failure. Rankings and probability calibration measure different properties. Offline quality need not translate to benefit when user behavior or intervention changes the data distribution. Keep evaluation aligned with the task, and avoid comparing numbers from different populations, preprocessing or label definitions as though they were interchangeable.","sources":[{"title":"scikit-learn: Model Evaluation","url":"https://scikit-learn.org/stable/modules/model_evaluation.html","note":"Prediction metrics, scorers and interpreting classification and regression quality."},{"title":"scikit-learn: Cross Validation","url":"https://scikit-learn.org/stable/modules/cross_validation.html","note":"Evaluation splits, leakage and model-selection boundaries."}],"updatedAt":"2026-10-10"}},{"id":"predictive-analytics","name":"Predictive Analytics","category":"Forecasting & Recommender Systems","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"Predictive analytics uses data to estimate unknown or future outcomes for a practical decision. It includes defining the target, building a prediction pipeline and translating scores into an action. The skill combines modeling with temporal availability, uncertainty and operational evaluation, so predictions remain useful when conditions differ from the training data.","type":"concept","editorial":{"definition":"A predictive system learns relationships between available inputs and an outcome. The task may be classification, regression, ranking or forecasting, and a suitable baseline can be a rule or historical average. The crucial boundary is the information available when a prediction is made: a feature recorded after the outcome creates leakage even if it strongly predicts the label. Prediction is distinct from causal inference, because an association useful for anticipating an event does not establish which intervention will change it. Predictive analytics connects a model to the decision process, including the horizon, update frequency and interpretation of uncertainty.","practice":"Define a target that matches the decision, including when it becomes observable and how delayed labels are handled. Create training examples as they would have existed at prediction time, choose appropriate temporal or entity splits and compare a simple baseline with candidate models. Assess error costs, calibration and performance across relevant populations. Design how predictions are refreshed and monitored. A complete result includes a reproducible scoring pipeline and an explanation of how a score affects action, rather than only a fitted estimator disconnected from its operational setting.","example":"Imagine an illustrative maintenance planner predicting which components may need replacement during the next service cycle. Historical work orders are converted into time-aware examples, excluding repair details that became known after the prediction date. The planner compares predicted risk with available technician capacity and investigates false alarms and missed failures. A model can rank components usefully without explaining what caused their deterioration, so the prediction and any repair policy are evaluated as separate questions.","limits":"Historical patterns may change after a new process, intervention or market shift. Targets can be distorted by selective observation: an outcome might be recorded only for cases that were inspected. Strong offline performance can depend on leakage or stable proxies that later disappear. Prediction intervals and calibration require verification on relevant data. Do not interpret a predictive feature as an intervention recommendation, and assess the full decision workflow when actions taken from predictions alter the future labels.","sources":[{"title":"scikit-learn: Model Evaluation","url":"https://scikit-learn.org/stable/modules/model_evaluation.html","note":"Evaluating predictive quality against task-specific metrics."},{"title":"scikit-learn: Cross Validation","url":"https://scikit-learn.org/stable/modules/cross_validation.html","note":"Time-aware and group-aware assessment of prediction pipelines."}],"updatedAt":"2026-10-10"}},{"id":"time-series-forecasting","name":"Time Series Forecasting","category":"Forecasting & Recommender Systems","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"Time series forecasting predicts future values from observations ordered in time and, where available, external information. The skill includes representing trend, seasonality and dependence, choosing a forecast horizon and testing predictions as they would have been made. Useful forecasts communicate uncertainty and outperform appropriate temporal baselines.","type":"concept","editorial":{"definition":"A time series contains ordered measurements whose dependence can carry predictive information. Forecasting models may use autoregressive structure, smoothing, decomposed trend and seasonality, or supervised learning with lagged features. External predictors are useful only if their values will be known or separately forecast at the required horizon. One-step and multi-step forecasts create different error behavior. Backtesting simulates historical prediction dates to assess performance without using the future. Forecasting is broader than fitting a curve through past observations: the model must produce future values under a clearly defined information set and account for changes in the process over time.","practice":"Check timestamp meaning, sampling frequency, gaps and revisions before modeling. Establish naive and seasonal-naive baselines, define the horizon and use rolling or expanding historical evaluations. Build lags and transformations inside each training window, choose an error measure suited to the decision and inspect errors across horizons and seasonal periods. Examine residual dependence and interval coverage. Deliver a forecast process that explains how inputs, retraining and exceptional events are handled, including when a human adjustment is recorded separately from the model output.","example":"In an illustrative staffing plan, a support team needs daily ticket forecasts for the coming week. The analyst compares a same-weekday baseline with models using trend, weekly patterns and known holidays. Each historical test predicts a full week using only information available at its starting date. Forecast errors are translated into staffing shortages and excess capacity. A model with a better average error can still be unsuitable if it consistently underestimates the busiest day.","limits":"Randomly shuffling observations breaks the temporal evaluation boundary. Structural changes, unusual events and revised historical data can invalidate apparently stable patterns. Percentage errors can behave poorly around zero, and forecast intervals are conditional on modeling assumptions. Seasonality needs enough relevant history; adding more lags does not guarantee useful signal. Distinguish forecasts from causal explanations, and inspect whether external regressors are genuinely available at prediction time rather than retrospectively filled with their realized values.","sources":[{"title":"statsmodels: Time Series analysis","url":"https://www.statsmodels.org/stable/tsa.html","note":"Autoregression, seasonal models, diagnostics and forecasting."},{"title":"scikit-learn: Cross Validation","url":"https://scikit-learn.org/stable/modules/cross_validation.html","note":"Temporal splitting and avoiding information from future observations."}],"updatedAt":"2026-10-10"}},{"id":"hyperparameter-optimization","name":"Hyperparameter Optimization","category":"Model Selection, Tuning & Evaluation","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"Hyperparameter optimization searches configurations that control model structure or training. It uses validation performance and a resource budget to choose among candidates. The competence is defining a meaningful search space and reliable objective while preventing leakage, overfitting to validation results and expensive searches that offer little improvement over sensible baselines.","type":"concept","editorial":{"definition":"Hyperparameters are settings not estimated by the ordinary fitting procedure, such as tree depth, regularization strength or learning rate. Grid and random search explore predefined spaces; adaptive methods use previous results to propose later configurations. Multi-fidelity approaches allocate less computation to weak candidates, often using partial training as evidence. The search objective is an estimate from a validation procedure, so its noise and bias affect selection. Optimization can cover an entire preprocessing and model pipeline. Searching more candidates also creates more opportunities to select a configuration that fits quirks of validation data rather than the underlying task.","practice":"Choose a score aligned with the decision, specify leakage-safe folds and include preprocessing within each trial. Define ranges on appropriate scales and represent conditional settings so invalid combinations are excluded. Allocate a budget, use pruning only when intermediate scores predict final usefulness and record every trial's configuration and outcome. Compare the best configuration with a default or expert baseline, then evaluate the final choice independently. The deliverable is a reproducible search study with an honest assessment of improvement and its computation cost.","example":"Suppose, illustratively, a gradient-boosted classifier has learning rate, depth and tree count to tune. An engineer uses grouped validation because multiple records belong to the same account. Trial results reveal that deeper trees improve training scores but not validation. The search narrows toward simpler configurations and uses early stopping on development data. A final untouched test measures the selected pipeline; the best trial's validation score is retained as selection evidence rather than reported as unbiased final performance.","limits":"An adaptive search can overfit its validation set, and unstable scores can lead it toward lucky trials. Pruning may discard slow-starting configurations. An overly broad space wastes resources, while a narrow space can exclude useful settings. Reproducibility requires seeds, data splits and software configuration, not only the winning parameters. Nested validation or a separate final test may be needed to assess the full selection process. Greater search effort is not evidence that the selected model is more trustworthy.","sources":[{"title":"scikit-learn: Grid Search","url":"https://scikit-learn.org/stable/modules/grid_search.html","note":"Search strategies, parameter spaces and model-selection evaluation."},{"title":"Optuna: Tutorial","url":"https://optuna.readthedocs.io/en/stable/tutorial/index.html","note":"Define-by-run studies, samplers and pruning."}],"updatedAt":"2026-10-10"}},{"id":"recommender-systems","name":"Recommender Systems","category":"Forecasting & Recommender Systems","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"Recommender systems rank or select items that may be useful to a user in a particular context. They learn from interactions, item information or both. The skill spans candidate generation, ranking and evaluation, including cold starts, exposure bias and the difference between predicting past engagement and improving the user experience.","type":"concept","editorial":{"definition":"Collaborative approaches infer preferences from patterns across users and items, while content-based approaches use attributes of items and users. Hybrid systems combine these signals, often through a retrieval stage followed by ranking. Explicit ratings and implicit events such as clicks provide different evidence: an unclicked item may never have been shown. Training objectives can predict ratings or optimize relative rankings, and contextual or sequential models account for the current situation. A recommender also imposes a policy about what becomes visible. Its predictions and the data it later observes are connected through exposure, which complicates evaluation and can reinforce existing patterns.","practice":"Define the recommendation surface and what useful means, then establish popularity and content-based baselines. Record exposures where possible, choose training examples and negative sampling carefully and split data according to intended future use. Evaluate ranking quality alongside coverage, diversity and important user or item slices. Account for new users and items, and inspect the consequences of repeated recommendations. The result includes candidate and ranking logic plus an evaluation plan that distinguishes offline prediction from actual improvement under the recommendation policy.","example":"For an illustrative learning platform, a system recommends courses. An initial candidate stage uses course topics and prior enrollment, then a ranker accounts for prerequisites and the learner's recent activity. Offline tests ask whether held-out enrollments appear near the top, but the team also inspects whether recommendations repeatedly favor already popular courses. A prospective experiment can assess useful course discovery, because reproducing historical choices alone does not show that the recommendations helped learners.","limits":"Interaction data reflect earlier exposure and selection, not pure preference. Cold starts, feedback loops and popularity bias can weaken results. Offline ranking metrics depend strongly on negative sampling and the candidate set; numbers from different protocols are not directly comparable. Optimizing clicks can conflict with satisfaction or longer-term goals. Recommendation differs from ordinary classification because items compete for limited attention, so evaluation should examine the ranked slate and the behavior of the complete serving policy.","sources":[{"title":"Dive into Deep Learning: Recommender Systems","url":"https://d2l.ai/chapter_recommender-systems/index.html","note":"Collaborative filtering, ranking, neural recommendation and interaction data."}],"updatedAt":"2026-10-10"}},{"id":"reinforcement-learning","name":"Reinforcement Learning","category":"Reinforcement & Sequential Decision-Making","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"Reinforcement learning learns an action policy from rewards obtained through interaction with an environment. Actions can affect future states as well as immediate outcomes. The skill includes defining the environment and reward, choosing a learning method and evaluating a policy's behavior under uncertainty, constraints and possible reward exploitation.","type":"concept","editorial":{"definition":"An agent observes a state or observation, chooses an action and receives a reward and subsequent observation. A policy specifies action selection; value functions estimate future return. Methods can learn values, optimize policy parameters or use a model of environment dynamics. Discounting and the planning horizon determine how future rewards contribute to the objective. Exploration is needed to learn about actions, while sequential credit assignment determines which earlier decisions contributed to later outcomes. Unlike a simple bandit, reinforcement learning typically models how actions change future situations. A reward is a mathematical proxy for the goal, not proof that the learned behavior achieves the desired outcome.","practice":"Specify observations, actions, episode boundaries and reward components, then check what the agent can actually observe. Choose an algorithm appropriate to discrete or continuous actions and available interaction data. Establish heuristic baselines, monitor learning stability and evaluate policies across seeds and environment conditions. Inspect trajectories for unsafe shortcuts or reward exploitation. The output is a policy plus evidence of its behavior, including how evaluation differs from training and what constraints prevent harmful exploration or untested actions in the deployment setting.","example":"In an illustrative warehouse simulation, an agent selects which queue a mobile robot serves next. Serving one queue changes the robot's position and the waiting times elsewhere, so immediate reward is insufficient. The engineer includes travel and delay costs, compares the learned policy with a fixed scheduling rule and examines trajectories during peak demand. If the agent ignores difficult jobs to earn easy rewards, the reward and constraints need revision before any operational trial.","limits":"Sample requirements can be substantial, and simulation success may not transfer when real dynamics differ. Reward design can encourage behavior that satisfies the score while undermining the intended goal. Offline data may not support evaluation of actions rarely taken by the logging policy. Partial observability and changing environments complicate learning. Reinforcement learning is distinct from supervised imitation and from contextual bandits; those methods may be sufficient when long-term effects are absent or cannot be safely explored.","sources":[{"title":"Dive into Deep Learning: Reinforcement Learning","url":"https://d2l.ai/chapter_reinforcement-learning/index.html","note":"Markov decision processes, value functions and Q-learning."}],"updatedAt":"2026-10-10"}},{"id":"multi-armed-bandits","name":"Multi-armed Bandits","category":"Reinforcement & Sequential Decision-Making","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"Multi-armed bandits learn which actions to choose while receiving feedback only for the selected action. They balance exploring uncertain alternatives with exploiting those that currently appear best. The competence includes reward design, exploration policy and evaluation of partially observed outcomes, especially when historical data were collected by a different selection policy.","type":"concept","editorial":{"definition":"A bandit repeatedly selects an arm and observes its reward. In the basic setting, each choice is evaluated by its immediate reward without modeling how it changes a future state. Contextual bandits condition the action choice on information available for the current decision. Exploration strategies such as uncertainty-based selection or randomization allow the system to learn about less-used alternatives. Logged feedback is selective: the reward for an unchosen action is usually unknown. This distinguishes bandit learning from ordinary supervised learning, where each example can provide its target directly, and from broader reinforcement learning with delayed consequences through state transitions.","practice":"Define eligible actions, context and a reward that arrives on a usable timescale. Select an exploration policy compatible with operational constraints and record action probabilities, chosen actions and outcomes. Compare against a fixed policy and assess whether offline evaluation methods have sufficient overlap with the candidate policy. Monitor reward drift and performance across contexts. The practical result is an auditable selection policy with a deliberate exploration budget, rather than a greedy ranking system that never gathers evidence about alternatives it initially undervalued.","example":"Imagine an illustrative help center choosing among several article suggestions. A contextual bandit uses the current question category and learns from whether the user resolves the issue. Some eligible articles are occasionally explored, with their selection probability recorded. An analyst checks whether resolution feedback is missing more often for particular users and compares the policy with a fixed suggestion rule. The system cannot infer the value of an article never shown solely from the outcomes of other articles.","limits":"Rewards can be delayed, biased or misaligned with user benefit. Insufficient exploration makes alternatives hard to assess, while excessive exploration can reduce short-term quality. Offline estimates require assumptions about logging probabilities and action coverage and may have high variance. A basic bandit is inappropriate when choices materially change future states or long-term opportunities. Distinguish genuine reward changes from changes in exposure or measurement, and evaluate the policy rather than only the accuracy of its internal reward predictor.","sources":[{"title":"Vowpal Wabbit: Contextual Bandits","url":"https://vowpalwabbit.org/docs/vowpal_wabbit/python/latest/tutorials/python_Contextual_bandits_and_Vowpal_Wabbit.html","note":"Context, action selection, reward feedback and logged probabilities."}],"updatedAt":"2026-10-10"}},{"id":"classical-machine-learning","name":"Classical Machine Learning","category":"Supervised Learning","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"Classical machine learning covers predictive and descriptive methods such as linear models, trees, kernels and clustering. The competence is selecting and validating a model appropriate to the data and decision. It emphasizes problem formulation, representation and reliable evaluation, often providing strong baselines before more complex neural approaches are considered.","type":"concept","editorial":{"definition":"Classical methods typically learn from explicitly represented features. Supervised models connect features to labels or continuous targets, while unsupervised methods identify structure without task labels. Linear models impose simple relationships; trees partition feature space; kernels express similarity; ensembles combine learners. Their assumptions and computational behavior differ, so no single method defines the field. The distinction from deep learning concerns the model and representation-learning approach, not an absolute division between simple and complex systems. Classical machine learning can also be combined with learned embeddings, as when a linear classifier operates on a neural representation of text.","practice":"Frame the task, define the prediction-time information and inspect data quality before choosing an estimator. Build a simple baseline and a leakage-safe preprocessing pipeline, compare suitable model families and tune only settings that matter for the problem. Select metrics and validation splits aligned with deployment, then inspect errors and model behavior. The deliverable is a reproducible pipeline with justified assumptions and operational constraints, including why the chosen complexity is warranted by the evidence and how its predictions will be monitored.","example":"For an illustrative shipment-delay model, an analyst begins with a historical route average and a regularized linear model. A boosted-tree candidate can capture interactions among route, weather and parcel attributes. The comparison uses future periods and excludes post-delivery information. If the tree model adds little value over the simpler baseline, the analyst may choose the simpler pipeline for easier inspection and maintenance. Model choice follows the task evidence rather than the novelty of the algorithm.","limits":"Handcrafted features can encode leakage or unstable proxies. Good performance on tabular data does not guarantee success on every task, and interpretability is not automatic merely because a model is non-neural. Hyperparameter search and feature selection can overfit validation. Statistical prediction does not establish a causal effect. Compare methods under the same information and evaluation protocol, and treat claims about a universally superior model family with caution when they omit the dataset, objective and deployment constraints.","sources":[{"title":"scikit-learn: Model Evaluation","url":"https://scikit-learn.org/stable/modules/model_evaluation.html","note":"Task metrics and assessing predictive behavior."},{"title":"scikit-learn: Ensemble","url":"https://scikit-learn.org/stable/modules/ensemble.html","note":"Tree ensembles and their relationship to other learning methods."}],"updatedAt":"2026-10-10"}},{"id":"gradient-boosting","name":"Gradient Boosting","category":"Supervised Learning","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"Gradient boosting builds an additive model by repeatedly fitting learners to improve a specified loss. Decision-tree boosting is widely applicable to structured prediction problems. The skill includes choosing the objective, balancing learning rate and model capacity and validating whether additional stages improve generalization rather than merely fitting training residuals.","type":"concept","editorial":{"definition":"Boosting constructs a sequence of learners whose predictions are added together. In gradient boosting, each stage targets a direction suggested by the loss gradient with respect to current predictions. Trees are common base learners because they represent nonlinear interactions and mixed feature effects. Learning rate scales each addition, and tree structure controls the complexity of each step. Implementations can differ in split search, regularization, sampling and categorical handling. The competence is understanding this additive optimization process and its connection to the chosen loss, rather than treating all boosted-tree libraries or all ensemble methods as interchangeable.","practice":"Choose a classification, regression or ranking objective that matches the target, then define time-aware or group-aware validation where necessary. Tune learning rate, tree capacity and iteration count together, using early stopping on development data. Inspect calibration, important error slices and sensitivity to unstable inputs. Record the selected iteration and preprocessing pipeline. The finished model should be compared with a simpler baseline and accompanied by evidence that its extra stages improve held-out behavior rather than exploiting leakage or idiosyncrasies of the training set.","example":"Suppose, illustratively, a maintenance team predicts component wear from structured sensor summaries. The first trees capture broad effects, while later trees correct remaining prediction errors. A lower learning rate requires more stages, so the engineer uses a validation trajectory to choose when to stop. If late stages reduce training loss while worsening performance on newer machines, the model is capped earlier and the engineer investigates differences between the training and deployment populations.","limits":"Boosting can overfit noisy labels and leak-prone features, particularly with high tree capacity or too many stages. Feature importance depends on the measure used and does not imply causation. Extrapolation outside observed feature ranges can be weak. Missing-value and categorical behavior differ by implementation. Gradient boosting is distinct from bagging: it builds learners sequentially to improve an additive objective, while bagging combines independently fitted learners to reduce instability.","sources":[{"title":"scikit-learn: Ensemble","url":"https://scikit-learn.org/stable/modules/ensemble.html","note":"Gradient-boosted trees, loss optimization and ensemble distinctions."},{"title":"XGBoost: Introduction to Boosted Trees","url":"https://xgboost.readthedocs.io/en/stable/tutorials/model.html","note":"Additive tree models and regularized training objectives."}],"updatedAt":"2026-10-10"}},{"id":"regression-analysis","name":"Regression Analysis","category":"Supervised Learning","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"Regression analysis models how an outcome relates to explanatory variables and evaluates the uncertainty of that relationship. The skill includes choosing a functional form, interpreting parameters and checking assumptions. Prediction, association and causal estimation are different uses of regression and require different arguments beyond fitting the same numerical model.","type":"concept","editorial":{"definition":"A regression specifies a relationship between predictors and an outcome distribution or conditional summary. Linear regression models a conditional mean as a linear combination of terms; generalized models use links and outcome families for other target types. Interactions and transformations can express relationships beyond a straight line in the original variables. Regularization controls complexity, while robust or alternative estimators address particular distributional or loss assumptions. Parameter interpretation depends on coding, scale and the other included variables. Regression is a framework for estimation and prediction, but a coefficient is not automatically the effect of changing its predictor through an intervention.","practice":"State the outcome, target interpretation and available covariates before fitting. Examine functional form, correlated predictors, influential observations and residual behavior. Choose uncertainty calculations compatible with the sampling design and dependence. For prediction, validate on unseen relevant cases; for explanation, communicate what a coefficient means conditional on the specification. The deliverable should contain the model formula, parameter and uncertainty summaries, diagnostics and sensitivity to reasonable alternatives, enabling readers to distinguish a useful fitted relationship from an unsupported causal story.","example":"In an illustrative energy analysis, an analyst relates building consumption to temperature, occupied area and operating hours. They include a temperature transformation to capture heating and cooling behavior, then inspect residual patterns across seasons. A coefficient for operating hours is interpreted within that model and population. It does not establish the energy savings from shortening opening hours, because staffing, occupancy and equipment use may change together and require a separate causal analysis.","limits":"Misspecified functional form, measurement error and omitted variables can distort interpretation. Multicollinearity can make individual coefficients unstable even when predictions are adequate. Outliers and dependent observations affect fitting and uncertainty. Residual diagnostics do not establish that all confounding has been removed. Logistic regression belongs to the regression family but predicts class probabilities rather than a continuous mean through the same linear response. Distinguish predictive performance, parameter uncertainty and causal validity instead of using one as evidence for the others.","sources":[{"title":"scikit-learn: Linear Model","url":"https://scikit-learn.org/stable/modules/linear_model.html","note":"Linear, regularized and generalized predictive models."},{"title":"statsmodels: Time Series analysis and model documentation","url":"https://www.statsmodels.org/stable/tsa.html","note":"Statistical modeling context and links to regression, generalized models and diagnostics."}],"updatedAt":"2026-10-10"}},{"id":"unsupervised-learning","name":"Unsupervised Learning","category":"Unsupervised Learning & Anomaly Detection","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"Unsupervised learning finds patterns or representations in data without using task labels as training targets. It includes clustering, dimensionality reduction and density modeling. The skill is defining useful structure, choosing a representation and evaluating stability and usefulness, because a discovered pattern is not automatically a meaningful category or explanation.","type":"concept","editorial":{"definition":"An unsupervised objective learns from the distribution or geometry of inputs. Clustering organizes similar observations, dimensionality reduction produces a lower-dimensional representation and density models describe how observations are distributed. The meaning of similarity depends on features, scaling and the distance or model selected. Some methods optimize reconstruction; others preserve variance or neighborhood relationships. These objectives produce different structures and need not agree. Without a task label, evaluation requires a combination of internal criteria, stability checks and substantive interpretation. Unsupervised learning can support exploration or a supervised pipeline, but should not be confused with the absence of assumptions.","practice":"Choose a representation that preserves the distinctions relevant to the question and inspect how missingness, scale and nuisance variables affect it. Compare simple methods and parameters, assess sensitivity to sampling or preprocessing and inspect representative observations. Use any available external knowledge cautiously to judge usefulness without retrospectively treating the output as confirmed labels. The deliverable should explain the learned structure, its stability and a proposed use, including which patterns may be artifacts and which require independent validation.","example":"Suppose, illustratively, an analyst explores service tickets without reliable categories. Sparse text features and a topic model reveal recurring terms, while clustering groups documents under a chosen similarity measure. The analyst reads representative and ambiguous tickets before naming groups and checks whether groups reflect issue content or merely writing style. The discovered structure can guide a new annotation scheme, but those annotations need review before being used as targets for a classifier.","limits":"Internal clustering scores can reward compact geometry that has little practical meaning. Changing scaling, dimensionality or random initialization can alter results. Rare meaningful observations may be labeled noise, and large patterns may reflect collection artifacts. A visually separated embedding does not prove natural categories exist. Unsupervised learning differs from semi-supervised learning, which explicitly uses some labels. Document the objective and representation, and evaluate proposed downstream use rather than assuming that an optimized unsupervised score establishes usefulness.","sources":[{"title":"scikit-learn: Clustering","url":"https://scikit-learn.org/stable/modules/clustering.html","note":"Cluster structure, distance assumptions and unsupervised evaluation."},{"title":"scikit-learn: Decomposition","url":"https://scikit-learn.org/stable/modules/decomposition.html","note":"Representation learning through matrix-factorization methods."}],"updatedAt":"2026-10-10"}},{"id":"prophet","name":"Prophet","category":"Forecasting & Recommender Systems","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"Prophet is a forecasting library that models a time series through trend, seasonal components and optional event effects. The skill is preparing a suitable series, configuring those components and evaluating forecasts over realistic horizons. Its interpretable decomposition helps investigation, but automatic fitting does not replace temporal validation or domain knowledge.","type":"tool","editorial":{"definition":"Prophet represents observations through a trend, recurring seasonal patterns and optional holiday or regressor effects. Trend can include changepoints, and seasonal components use a flexible periodic representation. The library provides fitting, future timestamp construction and prediction interfaces, with additive or multiplicative components for suitable settings. The component view makes it possible to inspect assumptions about recurring behavior and changes in growth. Prophet is a specific forecasting model and implementation, rather than a general name for automated forecasting. External regressors still require values at forecast time, and the model's decomposition should be checked against the process being forecast.","practice":"Prepare consistent timestamps and numeric outcomes, investigate gaps and decide how special events should be represented. Choose trend behavior, seasonality and changepoint flexibility rather than relying blindly on defaults. Fit only historical data available at each backtest date and compare errors against naive and seasonal baselines. Inspect component plots and prediction intervals, especially near structural changes. A useful deliverable includes a repeatable forecast workflow and a record of component choices, making clear which future assumptions were supplied by an analyst and which were learned from observations.","example":"For an illustrative visitor forecast, a museum models daily admissions with weekly seasonality and known closure dates. The analyst checks whether attendance variability scales with the level before choosing additive or multiplicative behavior. Rolling tests predict the same horizon needed for staffing. A trend change near a renovation is examined separately because it may not continue indefinitely. The final forecast distinguishes a model projection from a planned change in opening hours that requires an explicit future assumption.","limits":"Flexible components can fit historical noise, and sudden regime changes may not follow the extrapolated trend. Intervals reflect model assumptions and need empirical coverage checks. Holidays and regressors can leak future information if supplied retrospectively in a backtest. A component plot is not causal attribution. Prophet should be compared with alternative forecasting approaches under the same horizon and information set; ease of fitting alone does not establish that its decomposition is suitable for an irregular or very short series.","sources":[{"title":"Prophet: Quick Start","url":"https://facebook.github.io/prophet/docs/quick_start.html","note":"Model fitting, prediction and inspection of forecast components."}],"updatedAt":"2026-10-10"}},{"id":"automl","name":"AutoML","category":"Model Selection, Tuning & Evaluation","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"AutoML automates parts of model and pipeline selection within a defined search space. It can compare preprocessing, estimators and configurations under a resource budget. The skill is setting the task and validation correctly, inspecting the selected pipeline and deciding whether automation has improved the result without concealing leakage, constraints or maintenance costs.","type":"concept","editorial":{"definition":"An AutoML system searches combinations of data transformations, model families and hyperparameters, sometimes building an ensemble from candidate models. Its scope depends on the system: some handle structured prediction, others neural architecture or specialized tasks. Search is driven by an evaluation metric and validation procedure, which the user must align with intended use. Automation explores a predefined space rather than discovering the correct target or causal question. It also inherits the assumptions of its components. A high-scoring selected pipeline can be complex, resource-intensive or inappropriate for the environment in which predictions must be served.","practice":"Define the target, allowed features and prediction-time boundaries before running a search. Configure group-aware or temporal validation when required and include resource, latency or interpretability constraints. Compare with a simple manually built baseline, inspect the chosen preprocessing and assess errors on a separate final test. Record package versions and export the full pipeline rather than only its estimator. The result should explain what the automation searched and why the chosen pipeline is acceptable, including any operational limits that were evaluated outside the search objective.","example":"Imagine an illustrative team estimating delivery delays from a table of orders. An AutoML run explores encoders, imputers and regressors using a preset runtime budget. The analyst notices that the selected pipeline depends on a status field populated after dispatch, removes that leakage and reruns the comparison. They also measure prediction latency and compare a simpler regressor. Automation reduces search effort, but the analyst remains responsible for the data boundary and the deployment decision.","limits":"AutoML cannot repair a poorly defined target or unrepresentative labels. A default random split may be invalid for repeated entities or time-dependent data. Search can overfit validation, and a large ensemble may be difficult to explain or serve. Compatibility and export behavior depend on the implementation. Automation is broader than hyperparameter tuning when it also selects preprocessing or model families, but neither process yields unbiased final performance without an evaluation boundary that the search has not repeatedly inspected.","sources":[{"title":"Auto-sklearn: Manual","url":"https://automl.github.io/auto-sklearn/master/manual.html","note":"Automated pipeline search, configuration, resources and ensemble behavior."},{"title":"scikit-learn: Grid Search","url":"https://scikit-learn.org/stable/modules/grid_search.html","note":"Model-selection objectives and validation considerations."}],"updatedAt":"2026-10-10"}},{"id":"optuna","name":"Optuna","category":"Model Selection, Tuning & Evaluation","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"Optuna is a framework for defining and running hyperparameter optimization studies. A trial proposes values through an objective function, evaluates a configuration and may stop early when evidence suggests poor performance. Competence includes designing conditional spaces, selecting samplers and pruning rules and preserving a reliable record of the search.","type":"tool","editorial":{"definition":"Optuna uses a define-by-run interface: the objective requests parameter values as execution proceeds, enabling conditional choices that depend on earlier suggestions. A study coordinates trials and stores their values, outcomes and states. Samplers control how candidates are proposed, while pruners use intermediate reports to stop selected trials. The framework can optimize single or multiple objectives and organize persisted or distributed studies. It does not determine whether the objective is scientifically meaningful or the validation split leakage-free. The quality of a study depends on the data protocol, search-space design and how faithfully each trial measures the intended configuration.","practice":"Write an objective that builds preprocessing and training consistently within each evaluation. Use sensible distributions for parameters, including logarithmic ranges where scale matters, and avoid incompatible conditional combinations. Report intermediate scores only when they meaningfully indicate future performance. Set budgets and persistence, manage seeds and record failures rather than silently discarding difficult configurations. Review the resulting trial history and assess the selected pipeline independently. The deliverable is a reproducible study that allows someone to inspect why a configuration was chosen and what computation supported that choice.","example":"For an illustrative classifier study, a trial first selects a model family and then requests only that family's relevant parameters. The engineer evaluates each candidate on the same grouped folds and reports a development score after training stages. A pruner stops some weak trials, while completed and failed trials remain visible. After selecting a candidate, the engineer evaluates it on a reserved test period and reports that result separately from the study's best validation value.","limits":"A flexible objective can accidentally change more than the intended hyperparameters, making trials incomparable. Pruning based on noisy or misleading intermediate values can reject useful configurations. Distributed runs require attention to storage, resource contention and reproducibility. Search diagnostics do not establish generalization, and optimization of multiple metrics still requires a decision about tradeoffs. Optuna supplies orchestration and search mechanisms; it should not be treated as a replacement for task definition, leakage prevention or a final assessment outside the search.","sources":[{"title":"Optuna: Tutorial","url":"https://optuna.readthedocs.io/en/stable/tutorial/index.html","note":"Studies, conditional define-by-run spaces, sampling and pruning."}],"updatedAt":"2026-10-10"}},{"id":"catboost","name":"CatBoost","category":"Supervised Learning","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"CatBoost is a gradient-boosting library with mechanisms for categorical features and ordered training. The competence is preparing feature types, configuring an objective and evaluating the fitted model under the data's real boundaries. Native categorical support can simplify a pipeline, but it does not remove leakage or the need to examine generalization.","type":"tool","editorial":{"definition":"CatBoost trains an additive ensemble of decision trees. Its categorical processing uses statistics and combinations designed to represent category information, with ordered procedures that address prediction shift associated with naive target-statistic construction. Training options determine loss, tree growth and regularization behavior. The library supports structured prediction tasks and offers interfaces for fitting, inference and interpretation. Understanding feature typing is central: a numeric identifier and a measured continuous value should not automatically be treated the same way. CatBoost is one implementation of gradient boosting, with design choices that differ from the histogram and categorical strategies of other libraries.","practice":"Specify which columns are categorical, define missing-value conventions and check that training and inference use the same feature names and ordering. Choose the appropriate loss and tune capacity, learning rate and iterations with a valid development split. Use early stopping where appropriate and inspect errors for rare or new categories. Preserve the model together with feature-processing assumptions. A complete result explains the categorical representation, selected training settings and held-out behavior, including whether the model remains useful when categories or their relationship to the target change.","example":"Suppose, illustratively, a retailer predicts returns from product and order attributes. Brand and fulfillment center are categorical, while price and parcel weight are continuous. The analyst marks these roles explicitly and validates on later orders. They inspect performance for infrequent brands and verify how unseen categories are handled during scoring. A model that memorizes a temporary fulfillment incident may look strong on a random split, so the temporal comparison is essential to the decision.","limits":"Native categorical handling does not make a post-outcome field safe or eliminate dependence between training and test entities. Rare categories can still have uncertain behavior, and importance measures do not establish causal effects. Training options, hardware paths and export formats can have different constraints. Compare CatBoost with other boosted-tree implementations using the same task and validation protocol. Ordered procedures address particular statistical issues; they are not a universal guarantee against overfitting or distribution shift.","sources":[{"title":"CatBoost: How training is performed","url":"https://catboost.ai/docs/en/concepts/algorithm-main-stages","note":"Tree training, categorical processing and ordered boosting mechanisms."}],"updatedAt":"2026-10-10"}},{"id":"classification","name":"Classification","category":"Supervised Learning","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"Classification predicts a discrete label or a distribution over labels from an observation. The skill includes defining classes, learning decision boundaries and selecting thresholds that match error costs. It also requires evaluating uncertainty and ambiguous cases, because a model's most likely class is not automatically an acceptable decision.","type":"concept","editorial":{"definition":"A classifier maps features to class scores or probabilities and then, when needed, to a label. Binary, multiclass and multilabel tasks require different target representations and evaluation. The learning objective encourages correct distinctions from labeled examples, while regularization and representation shape the resulting boundary. Probabilities may need calibration before being used as risks. Thresholding turns continuous evidence into an action and can trade precision against recall. Classification competence therefore spans both the statistical model and the definition of the labels: inconsistent or overlapping categories limit what any fitted boundary can mean.","practice":"Create clear labeling instructions and check disagreement, missing labels and class prevalence. Choose features available at decision time and a validation design that separates relevant entities or periods. Compare a simple baseline, inspect the confusion matrix and tune thresholds on development data according to operational cost. Assess calibration and error slices, including an abstention or review path where uncertainty matters. The output should specify the class definitions, score interpretation and decision rule, enabling reviewers to distinguish a prediction from the action taken because of it.","example":"In an illustrative document-routing system, messages are assigned to billing, technical support or general inquiries. The team reviews ambiguous examples and introduces a manual-review path rather than forcing every message into a confident category. Evaluation examines which confusions delay customers, not only overall accuracy. A threshold for automatic routing is chosen on development data, and the remaining messages go to reviewers. The final test measures both routing quality and the fraction requiring review.","limits":"Classes can reflect annotation conventions rather than natural categories. Imbalanced data make accuracy misleading, and probability outputs are not necessarily calibrated. A closed-set classifier may confidently label an example outside all known classes. Changing prevalence or workflow can require threshold revision. Classification differs from clustering, which discovers groups without these target labels, and from regression on a continuous outcome. Check ambiguous, out-of-scope and costly-error cases before assuming a good average score supports fully automatic decisions.","sources":[{"title":"scikit-learn: Model Evaluation","url":"https://scikit-learn.org/stable/modules/model_evaluation.html","note":"Classification metrics, confusion matrices and probability scoring."},{"title":"scikit-learn: Linear Model","url":"https://scikit-learn.org/stable/modules/linear_model.html","note":"Logistic and other linear classification methods."}],"updatedAt":"2026-10-10"}},{"id":"decision-trees","name":"Decision Trees","category":"Supervised Learning","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"Decision trees predict by recursively partitioning feature space into regions with similar outcomes. Their conditional structure can be inspected as a sequence of tests. The skill includes controlling tree complexity, interpreting paths and validating stability, since a readable tree can still overfit or depend on misleading features.","type":"concept","editorial":{"definition":"A tree chooses feature tests that divide training examples, continuing recursively until a stopping rule is met. Leaves store a prediction, such as a class distribution or mean response. Split criteria quantify improvement in impurity or loss. Depth, leaf size and pruning control how finely the space is partitioned. A tree represents interactions through successive conditions and can model nonlinear relationships without a global equation. The readable structure is useful for inspection, but the fitting process is greedy in common implementations and small data changes can alter early splits, producing a substantially different tree.","practice":"Choose an objective and verify feature types and missing-value behavior in the implementation. Constrain depth, minimum leaf size or pruning using a valid development procedure. Inspect representative decision paths and compare them with domain expectations, then test performance and path stability on held-out data. Examine whether a split uses a genuine predictor or a proxy for information unavailable at prediction time. The deliverable combines the tree or a simplified representation with evidence that its apparent interpretability corresponds to a useful and sufficiently stable model.","example":"For an illustrative equipment classifier, a tree first tests a temperature feature and then vibration within the high-temperature branch. An engineer can trace why a particular reading was assigned to a warning class. They compare a shallow tree with a deeper one and find that extra branches isolate a few unusual training records without improving later cases. The shallower tree is retained, and the threshold values are reviewed for sensitivity to sensor noise.","limits":"Trees can be unstable, and a deep tree may memorize training examples. Axis-aligned splits can require many branches for smooth or oblique relationships. Leaf probabilities based on few examples can be unreliable. A decision path explains the model's rule, not the cause of the real-world outcome. Trees used inside forests or boosting are components of an ensemble; reading one component does not explain the ensemble's complete behavior. Validate complexity and stability rather than equating a visible rule set with trustworthiness.","sources":[{"title":"scikit-learn: Tree","url":"https://scikit-learn.org/stable/modules/tree.html","note":"Tree splitting, pruning, interpretation and practical limitations."}],"updatedAt":"2026-10-10"}},{"id":"ensemble-learning","name":"Ensemble Learning","category":"Supervised Learning","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"Ensemble learning combines multiple models to produce one prediction. Different constructions reduce instability, correct errors sequentially or learn how to mix complementary predictors. The skill is creating genuinely useful diversity and evaluating the combined system, including the added computation and the danger of leakage when a second model learns from first-stage predictions.","type":"concept","editorial":{"definition":"Bagging trains learners on resampled data and aggregates them, while boosting builds an additive sequence that improves an objective. Voting and averaging combine predictions directly; stacking trains another model on predictions from base learners. These approaches have different assumptions and sources of benefit. Diversity matters because models making the same errors offer little new information to combine. An ensemble may improve predictive quality but also increase complexity, latency and storage. Competence includes understanding how training data reach every layer, especially constructing out-of-fold predictions for stacking so the meta-model does not learn from overly optimistic in-sample outputs.","practice":"Begin with independently evaluated base models and inspect whether their errors differ on relevant cases. Choose an aggregation rule suitable for class scores, probabilities or continuous outcomes and align output scales. For stacking, produce leakage-safe training predictions and preserve the full preprocessing path for each learner. Compare the ensemble with its strongest component and measure operational cost. The result should explain which complementary behavior justifies the combination, rather than attributing a small score increase to the number of models alone.","example":"Suppose, illustratively, a demand predictor combines a seasonal baseline with a tree model using weather and calendar features. The analyst observes that their errors differ across ordinary days and special events. A weighted average is fitted on development data and evaluated on later periods. If stacking is considered, the meta-model receives historical out-of-fold predictions. The team checks whether the improvement survives the final test and whether maintaining both pipelines is worth the added operational effort.","limits":"Highly correlated models may add cost without useful improvement. Incompatible probability calibration or preprocessing can undermine aggregation. A stacking model trained on in-sample predictions leaks fitting information and can appear deceptively accurate. Ensemble interpretation is more difficult than interpreting each component separately. Gains can disappear after distribution shift, and averaging can dilute a model that performs well on a critical subgroup. Compare the complete system against a clear baseline with the same information and resource constraints.","sources":[{"title":"scikit-learn: Ensemble","url":"https://scikit-learn.org/stable/modules/ensemble.html","note":"Bagging, boosting, voting and stacking with their training requirements."}],"updatedAt":"2026-10-10"}},{"id":"lightgbm","name":"LightGBM","category":"Supervised Learning","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"LightGBM is a gradient-boosted tree library using histogram-based split search and, by default, leaf-wise tree growth. The competence includes preparing structured data, controlling tree capacity and validating the selected model. Its implementation choices affect memory, training behavior and overfitting, so they should be understood rather than reduced to a generic claim of speed.","type":"tool","aliases":["LGBM","light gbm"],"editorial":{"definition":"LightGBM groups continuous feature values into bins for split finding, reducing the work required to evaluate candidate partitions. Leaf-wise growth expands a selected leaf according to improvement, which can produce uneven-depth trees. The library also provides sampling, categorical handling and objectives for tasks such as classification, regression and ranking. Settings such as number of leaves, minimum data in a leaf and depth limits interact with this growth strategy. LightGBM belongs to the gradient-boosting family, but its configuration is not a one-to-one translation of parameters from a depth-wise boosting implementation.","practice":"Define feature types and consistent training and scoring representations, then choose an objective aligned with the target. Tune leaf count, leaf sample requirements and regularization along with learning rate and iteration count. Use development data for early stopping and preserve the selected iteration. Inspect performance for sparse regions, rare categories and later periods, and measure memory and serving cost on the actual workload. The deliverable is a model and reproducible feature pipeline with a clear justification for capacity and stopping, rather than merely a library configuration copied from an unrelated benchmark.","example":"In an illustrative warranty-risk model, an engineer uses mixed numeric and categorical product attributes. Increasing leaf count improves training fit but produces branches supported by few examples. The engineer increases minimum leaf support and compares performance on products released after the training period. Early stopping chooses the number of boosting rounds. The final report includes rare-product errors and inference cost, showing whether the leaf-wise model provides a useful improvement over a simpler baseline.","limits":"Leaf-wise growth can overfit small or noisy datasets without capacity controls. Native categorical handling has implementation-specific requirements and does not remove label leakage. Binning trades resolution against resource use, and missing values or zero values must be interpreted consistently. Feature importance is not causal evidence. Runtime depends on the data and configuration, so avoid assuming universal speed superiority. Evaluate LightGBM, CatBoost and XGBoost under the same target and validation boundaries if choosing among them.","sources":[{"title":"LightGBM: Features","url":"https://lightgbm.readthedocs.io/en/stable/Features.html","note":"Histogram splits, leaf-wise growth and categorical-feature mechanisms."}],"updatedAt":"2026-10-10"}},{"id":"random-forests","name":"Random Forests","category":"Supervised Learning","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"Random forests combine many decision trees trained with sample and feature randomization. Averaging or voting reduces the instability of individual trees. The skill includes choosing forest capacity, evaluating predictions and interpreting importance cautiously, especially when correlated features, repeated entities or imbalanced labels affect the apparent result.","type":"concept","editorial":{"definition":"A random forest fits trees to randomized views of training data and considers subsets of features during split selection. Combining their predictions can reduce variance when trees are not perfectly correlated. Classification aggregates class evidence, while regression commonly averages responses. Bootstrap-based forests can use out-of-bag observations for an internal assessment, though that assessment inherits the sampling assumptions. Forests model nonlinear interactions but remain collections of axis-aligned partitions. Their competence profile differs from gradient boosting: trees are trained with randomization and aggregation rather than sequentially correcting an additive model's loss.","practice":"Prepare features with consistent semantics and select classification or regression settings suited to the task. Tune tree count, depth, minimum leaf size and feature subsampling, watching both predictive quality and model size. Validate with the correct temporal or group boundaries instead of relying solely on out-of-bag scores. Examine permutation importance and error slices while recognizing correlated predictors. The result should compare the forest with a simple baseline and explain its operational footprint, including the cost of storing and evaluating many trees.","example":"For an illustrative sensor classifier, a forest combines trees that examine different measurements and sample subsets. One tree may react strongly to an unusual sensor reading, while the combined prediction is more stable. The analyst evaluates on machines absent from training to avoid learning machine identity. They inspect how class weighting changes missed-fault and false-alert rates and check whether more trees improve consistency enough to justify the larger model.","limits":"Randomization does not eliminate leakage or guarantee independence among trees. Forests can be large and may extrapolate poorly outside observed ranges. Impurity-based importance can favor features with many possible splits, while correlated features complicate permutation interpretation. Out-of-bag evaluation is not a substitute for a deployment-relevant test when observations share entities or time dependence. A forest probability may require calibration. Readable component trees do not make the complete ensemble a concise decision rule.","sources":[{"title":"scikit-learn: Ensemble","url":"https://scikit-learn.org/stable/modules/ensemble.html","note":"Forest randomization, out-of-bag estimates and feature-importance caveats."}],"updatedAt":"2026-10-10"}},{"id":"supervised-machine-learning","name":"Supervised Machine Learning","category":"Supervised Learning","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"Supervised machine learning learns a mapping from inputs to labeled outcomes. Its central competence is constructing the learning problem so labels, available features and evaluation represent the intended decision. Model fitting comes after those choices, and cannot compensate for a target that is unreliable, leaked or disconnected from practical use.","type":"concept","editorial":{"definition":"Training examples pair a representation with a target, and an algorithm estimates a mapping that reduces a specified loss. Classification uses discrete labels, regression predicts continuous values and other formulations handle ranking or structured outputs. The target may be a measurement, annotation or historical decision, each with distinct limitations. Generalization concerns performance on new relevant observations rather than training fit. Supervised learning assumes that useful relationships in the training data persist sufficiently in use. The task definition also determines what errors mean, so changing label construction can matter more than changing the model family.","practice":"Define when a prediction is made and when its target is observed. Audit label quality, delayed outcomes and selection effects, then identify features genuinely available at that moment. Build a baseline and a preprocessing pipeline fitted only on training data. Use appropriate time, group or random splits, choose metrics and inspect errors before tuning complexity. The deliverable should document how examples were constructed and how a prediction supports action, enabling another practitioner to reproduce the task and distinguish performance gains from changes in the data protocol.","example":"Suppose, illustratively, a service wants to predict which requests need specialist escalation. Historical escalation labels reflect both request difficulty and staffing policies. An analyst reviews examples, defines a consistent target and excludes specialist notes written after escalation. Models are tested on later requests under a comparable workflow. If the policy changes, labels and predictions may need reassessment even though the training algorithm remains unchanged.","limits":"Noisy labels, selective observation and historical biases can be learned faithfully. Random splits may leak information across repeated entities or future periods. A model can fit a proxy for the label without solving the desired task. Supervised prediction does not establish causation, and high confidence is not necessarily calibrated uncertainty. Evaluate the labeling and decision process as well as the estimator, and document when changes in collection or policy would invalidate the training examples.","sources":[{"title":"scikit-learn: Cross Validation","url":"https://scikit-learn.org/stable/modules/cross_validation.html","note":"Generalization evaluation and selecting appropriate splits."},{"title":"scikit-learn: Model Evaluation","url":"https://scikit-learn.org/stable/modules/model_evaluation.html","note":"Supervised-task losses, metrics and prediction assessment."}],"updatedAt":"2026-10-10"}},{"id":"support-vector-machines","name":"Support Vector Machines","category":"Supervised Learning","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"Support vector machines learn a decision boundary using margin-based optimization, with kernels enabling nonlinear relationships. The skill includes choosing a representation, controlling regularization and evaluating a suitable kernel. Scaling and computational cost matter, and the decision score should not be mistaken for a calibrated probability without additional assessment.","type":"concept","editorial":{"definition":"For classification, an SVM balances a large margin with penalties for training violations. Support vectors are observations that help determine the fitted boundary. A kernel computes similarity corresponding to an implicit feature space, allowing nonlinear boundaries without explicitly constructing all transformed features. Linear SVMs provide a different computational path suitable for many high-dimensional representations. Related formulations handle regression and one-class detection, but they solve distinct objectives. Parameters controlling regularization and kernel shape jointly affect fit. The competence is understanding how similarity and margins reflect the data, rather than assuming that selecting a nonlinear kernel automatically improves prediction.","practice":"Scale features inside a training-only pipeline and choose a linear or kernel formulation based on representation and dataset size. Tune regularization and kernel parameters with appropriate validation, compare a simpler baseline and inspect important error classes. If decisions require probabilities, evaluate the chosen calibration procedure rather than interpreting raw margins as risks. Measure training and scoring cost, especially the number of support vectors. The result should document feature scaling, kernel choices and the decision rule so predictions remain reproducible at inference.","example":"In an illustrative text classifier, sparse document features are first tested with a linear SVM. An engineer compares class-specific errors and adjusts weighting for a costly minority class. A nonlinear kernel is considered only if its additional computation has a plausible benefit. The final test uses documents from a later period, and the serving pipeline applies exactly the same vocabulary and transformations. Raw margins are used for ranking unless separately calibrated for probability-based decisions.","limits":"Kernel methods can become expensive as the number of examples grows. Feature scale strongly affects distance-based kernels, and extreme parameter choices can overfit or underfit. A large margin in the selected feature space does not establish semantic robustness or causal relevance. SVM outputs are not inherently probability estimates. The classification, regression and one-class variants should not be conflated. Compare configurations under identical preprocessing and validation, and inspect sensitivity to new ranges or representations at deployment.","sources":[{"title":"scikit-learn: Svm","url":"https://scikit-learn.org/stable/modules/svm.html","note":"Margins, kernels, regularization, scaling and SVM computational behavior."}],"updatedAt":"2026-10-10"}},{"id":"xgboost","name":"XGBoost","category":"Supervised Learning","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"XGBoost is a library for regularized gradient-boosted models, commonly using decision trees. The skill includes matching the objective to the task, controlling additive model complexity and building a consistent training and inference pipeline. Reliable use requires understanding validation, feature representation and iteration selection rather than relying on the library's reputation.","type":"tool","editorial":{"definition":"XGBoost constructs an additive model and optimizes a loss with regularization on its components. Tree learners partition features, and successive stages improve current predictions using information from the objective. Parameters control tree structure, learning rate, sampling and penalties; implementation options govern split finding and computation. Objectives support different target types and can impose particular data requirements. XGBoost is a specific implementation within gradient boosting, not a synonym for the entire method. Understanding the training objective helps explain why a configuration suited to squared-error regression may be inappropriate for probabilities, rankings or another decision-sensitive loss.","practice":"Choose an objective and construct a leakage-safe feature pipeline with consistent names and order. Configure development evaluation, tune structural capacity and learning rate together and retain the selected boosting iteration. Examine missing-value behavior, class weighting and relevant error slices. Compare with a baseline and measure the saved model's inference behavior, including preprocessing. The deliverable should preserve training settings, evaluation boundaries and model artifacts, enabling someone to reproduce the selected model and verify that the deployed scorer uses the same interpretation of input features.","example":"For an illustrative parcel-risk classifier, an engineer trains XGBoost on order attributes available before shipment. Development results guide early stopping, and a later test period provides final evidence. The engineer inspects false positives for small vendors and confirms that a missing carrier code is handled consistently in training and serving. A seemingly strong feature derived from a later inspection is removed before comparison, even though it improves the initial validation score.","limits":"Regularization does not prevent leakage, and additional trees can fit noise when the validation protocol is weak. Importance values depend on their definition and should not be interpreted as causal contributions. Tree models can behave poorly outside observed ranges. Hardware and tree-method options can affect compatibility and runtime. Compare XGBoost with other methods on the same data boundary and objective, and distinguish improvements in ranking from improvements in probability calibration or thresholded operational decisions.","sources":[{"title":"XGBoost: Introduction to Boosted Trees","url":"https://xgboost.readthedocs.io/en/stable/tutorials/model.html","note":"Additive objectives, tree complexity and regularized boosting."}],"updatedAt":"2026-10-10"}},{"id":"cluster-analysis","name":"Cluster Analysis","category":"Unsupervised Learning & Anomaly Detection","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"Cluster analysis groups observations according to a selected notion of similarity. The skill is choosing a representation and clustering model, interpreting groups and assessing their stability and usefulness. Clusters are outputs of assumptions and geometry; they are not automatically natural categories, causal mechanisms or ready-made labels for operational decisions.","type":"concept","editorial":{"definition":"Clustering methods impose different structures. Centroid methods partition around representative centers, hierarchical methods organize groups at multiple scales and density-based methods connect sufficiently dense regions while allowing noise. Feature scaling and the distance measure determine what similar means. A method requiring a cluster count answers a different question from one that discovers connected regions under density parameters. Internal criteria assess properties such as cohesion or separation, but do not establish substantive meaning. The competence combines algorithmic understanding with inspection of examples and sensitivity analysis, making clear why the selected groups are useful for the question being asked.","practice":"Define the purpose of grouping and select features that preserve relevant differences. Investigate scaling, missing data and nuisance attributes before comparing methods. Examine how groups change with parameters, seeds and resampled observations, and inspect representative and borderline examples. Use external information to evaluate usefulness where available, without quietly treating it as a training target. The output should describe each cluster, ambiguous or unassigned observations and stability evidence, including what decisions the groups can support and which require further validation.","example":"In an illustrative customer-support analysis, messages are grouped by text similarity. The analyst notices one cluster dominated by boilerplate signatures, removes that nuisance representation and compares results. Reviewers inspect characteristic terms and representative messages before assigning descriptive names. Some messages combine issues and remain ambiguous. The groups help organize exploration, but a later routing classifier needs a separately reviewed labeling scheme rather than simply inheriting every cluster assignment as ground truth.","limits":"Clustering can produce convincing groups even when the data form a continuum. Internal scores favor particular geometry and may conflict with domain usefulness. High-dimensional distance, uneven density and outliers can distort assignments. Dimensionality-reduction plots may exaggerate separation. Cluster analysis differs from classification because the target labels are not supplied. Report sensitivity and ambiguity, and avoid turning a convenient segmentation into claims about inherent types of people or objects without independent evidence.","sources":[{"title":"scikit-learn: Clustering","url":"https://scikit-learn.org/stable/modules/clustering.html","note":"Clustering families, geometry, internal metrics and method-specific limitations."}],"updatedAt":"2026-10-10"}},{"id":"naive-bayes","name":"Naive Bayes","category":"Supervised Learning","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"Naive Bayes builds a probabilistic classifier using Bayes' rule and a conditional-independence approximation for features. It provides a compact baseline when the likelihood model matches the representation. Competence includes selecting the right variant, smoothing estimates and evaluating classification and probability quality separately.","type":"concept","aliases":["naive-bayes","Naive Bayes Classifier"],"editorial":{"definition":"The classifier combines a prior probability for each class with feature likelihoods estimated within that class. The naive assumption factorizes those likelihoods as though features were conditionally independent. Gaussian variants model continuous values, while multinomial and Bernoulli variants suit different discrete representations, including text counts or presence indicators. Smoothing prevents unseen feature events from forcing a class probability to zero. The assumption is often unrealistic, yet the resulting decision rule can still be useful. Understanding the feature model is essential: changing counts to continuous normalized values can change whether a particular variant's probabilistic interpretation remains appropriate.","practice":"Choose the likelihood family after examining the input representation, fit vocabulary or preprocessing on training data and select smoothing using development results. Check class priors and the behavior of rare or unseen features. Compare a simple baseline with a discriminative model and inspect confusion patterns. If probabilities support decisions, assess calibration independently of classification accuracy. The deliverable should explain the chosen feature likelihood and its limitations, with a compact reproducible pipeline that handles new observations consistently rather than merely selecting a class from an unexplained probability calculation.","example":"For an illustrative document classifier, messages are represented by word counts and fitted with multinomial Naive Bayes. The analyst smooths class-specific word frequencies so a previously unseen term does not eliminate a class. They inspect errors for messages containing terms associated with several categories and compare held-out performance with a linear classifier. A confident posterior on a long repetitive message is examined separately, because correlated words can repeatedly count similar evidence.","limits":"Conditional dependence can lead to overconfident probabilities because related features are treated as separate evidence. Gaussian assumptions may poorly represent skewed or multimodal inputs. Vocabulary leakage and incorrect feature types still harm evaluation. A useful classification boundary does not establish accurate probabilities. Naive Bayes differs from a full Bayesian model over classifier parameters: using Bayes' rule in prediction does not mean every source of uncertainty is modeled. Evaluate both decision quality and probability behavior on relevant new data.","sources":[{"title":"scikit-learn: Naive Bayes","url":"https://scikit-learn.org/stable/modules/naive_bayes.html","note":"Gaussian, multinomial and Bernoulli likelihoods, smoothing and independence assumptions."}],"updatedAt":"2026-10-10"}},{"id":"hdbscan","name":"HDBSCAN","category":"Unsupervised Learning & Anomaly Detection","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"HDBSCAN finds density-based groups through a hierarchy of density levels and selects persistent clusters. It can label observations as noise without fixing the number of clusters in advance. The skill is choosing a meaningful geometry, configuring cluster size and density requirements and evaluating whether stable-looking groups answer the substantive question.","type":"concept","aliases":["Hierarchical Density-Based Spatial Clustering of Applications with Noise"],"editorial":{"definition":"HDBSCAN extends density-based clustering by considering connected structure across density levels rather than using one global neighborhood radius. A mutual-reachability representation helps form a hierarchy, which is condensed according to a minimum cluster size. A selection rule then extracts clusters based on persistence or a related criterion. Observations outside selected groups can remain noise, and implementations may provide membership-strength information. This flexibility can handle varying densities better than a single-radius approach in suitable settings, but the result still depends on distance, representation and selection parameters. HDBSCAN does not discover an assumption-free set of natural categories.","practice":"Inspect feature scale and choose a distance appropriate to the data before fitting. Configure minimum cluster size and minimum-sample density settings deliberately, recognizing that implementations may define parameters differently. Compare cluster and noise assignments across plausible settings and resampled observations. Read representative and weakly assigned cases, and assess usefulness beyond an internal score. The result should document selected groups and uncertainty or noise, with enough configuration detail to reproduce the hierarchy and distinguish genuine recurring structure from representation or dimensionality artifacts.","example":"Imagine an illustrative collection of device telemetry. After standardizing comparable measurements, an analyst uses HDBSCAN to explore operating modes with different densities. Small unusual patterns remain unassigned rather than being forced into a large group. The analyst compares settings and checks representative records with an engineer. A persistent cluster turns out to reflect a different measurement unit on one device, so the data issue is corrected before interpreting the remaining groups as operating behavior.","limits":"Density estimates become difficult in high dimensions, and distance choices strongly influence results. Noise is an algorithmic assignment, not proof that an observation is erroneous. Membership strengths are not automatically calibrated probabilities of a real-world class. Different implementations and cluster-selection rules can produce different outputs. HDBSCAN differs from DBSCAN's single-radius clustering and from supervised classification. Report stability and interpretation checks, and avoid assuming that persistence alone establishes a useful or causal grouping.","sources":[{"title":"HDBSCAN: How HDBSCAN Works","url":"https://hdbscan.readthedocs.io/en/latest/how_hdbscan_works.html","note":"Mutual reachability, hierarchy condensation and cluster selection."},{"title":"scikit-learn: HDBSCAN","url":"https://scikit-learn.org/stable/modules/generated/sklearn.cluster.HDBSCAN.html","note":"Estimator parameters and implementation-specific behavior."}],"updatedAt":"2026-10-10"}},{"id":"smote","name":"SMOTE","category":"Model Selection, Tuning & Evaluation","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"SMOTE creates synthetic minority-class training examples by interpolating between neighboring minority observations. It is one option for handling class imbalance, not a guarantee of better detection. The skill includes choosing a valid representation, restricting resampling to training folds and evaluating performance on the original deployment-like class distribution.","type":"concept","aliases":["Synthetic Minority Over-sampling Technique","SMOTE Oversampling"],"editorial":{"definition":"The basic Synthetic Minority Over-sampling Technique selects minority examples, identifies minority neighbors and generates points between them in feature space. This changes the training sample distribution without adding independently observed evidence. The method assumes that interpolation produces plausible examples for the chosen representation and local neighborhood. Variants alter which examples are emphasized, and extensions address mixed categorical and continuous inputs. SMOTE is distinct from duplicating observations, weighting the loss or undersampling the majority. Those alternatives affect fitting differently. Competence requires understanding how synthetic samples modify the decision problem and how this interacts with model and feature geometry.","practice":"Examine minority labels, feature scales and whether interpolation is meaningful before resampling. Place SMOTE inside a pipeline so each validation fold resamples only its training partition. Tune neighbor count and sampling ratio with the classifier and compare against class weighting or a simple threshold change. Evaluate on untouched data retaining the relevant prevalence, using precision, recall and decision costs. The deliverable should report both the training intervention and its held-out consequences, including whether gains persist for rare subgroups rather than only improving a chosen aggregate metric.","example":"For an illustrative fault classifier, an engineer has few labeled failures among many normal readings. A training fold is scaled and resampled with SMOTE, while the validation fold remains untouched. The engineer compares this pipeline with a weighted classifier and inspects synthetic readings for physically implausible combinations. If interpolation crosses between distinct fault modes, they reconsider the representation or method. The final test measures missed faults and review workload at the real class prevalence.","limits":"Synthetic points can cross class boundaries, amplify mislabeled examples or create unrealistic feature combinations. Resampling before splitting leaks information between training and evaluation. Ordinary SMOTE is not appropriate for treating arbitrary category codes as continuous quantities. Training balance does not imply calibrated probabilities under deployment prevalence. Compare with alternatives and assess operational thresholds. More synthetic examples do not provide the same evidence as observing additional independent minority cases, so uncertainty and label limitations remain important.","sources":[{"title":"SMOTE: Synthetic Minority Over-sampling Technique","url":"https://www.jair.org/index.php/jair/article/view/10302","note":"Original neighbor-interpolation method."},{"title":"imbalanced-learn: Over-sampling and pitfalls","url":"https://imbalanced-learn.org/stable/common_pitfalls.html","note":"Training-only resampling and leakage-safe evaluation."}],"updatedAt":"2026-10-10"}},{"id":"sarima","name":"SARIMA","category":"Forecasting & Recommender Systems","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"SARIMA models a univariate time series using seasonal and nonseasonal autoregressive, differencing and moving-average components. The skill is identifying a defensible seasonal structure, selecting orders and checking residuals and forecasts. It is useful when recurring temporal dependence can be represented parsimoniously, but requires careful treatment of stationarity and structural change.","type":"concept","aliases":["Seasonal ARIMA","Seasonal Autoregressive Integrated Moving Average"],"editorial":{"definition":"Seasonal ARIMA combines ordinary autoregressive and moving-average terms with corresponding terms at multiples of a seasonal period. Differencing can remove nonseasonal and seasonal persistence before modeling the remaining dependence. The specification is commonly expressed through separate nonseasonal and seasonal orders plus the period. Parameters are estimated from the observed series, and future values are generated under that fitted dependence structure. SARIMA is a seasonal extension of ARIMA; adding external regressors leads to related SARIMAX formulations. The moving-average component concerns past innovations or forecast errors, rather than a rolling average used to smooth observed values.","practice":"Verify a regular time index and choose a seasonal period grounded in the measurement process. Inspect plots and dependence, select differencing cautiously and compare plausible orders through development backtests and diagnostics. Check residual autocorrelation, estimation convergence and forecast intervals. Compare seasonal-naive predictions before accepting added complexity. The result should document orders, seasonal period, transformations and the rolling evaluation horizon, allowing another analyst to reproduce the forecasts and understand whether remaining structure or unstable parameters weaken the model.","example":"In an illustrative monthly demand forecast, an analyst considers annual seasonality. They compare a seasonal-naive baseline with several SARIMA specifications and test predictions at historical planning dates. Seasonal differencing is evaluated rather than imposed automatically. Residual dependence around holiday months suggests the model is missing a systematic effect. The analyst can investigate an external-regressor extension, while keeping the simple seasonal model as a transparent benchmark and preserving the same forecast horizon.","limits":"Too much differencing can damage signal and introduce avoidable dependence. Short histories may not support complex seasonal orders, and changing seasonal patterns or abrupt level shifts weaken extrapolation. A good information criterion is not a substitute for forecast evaluation. Prediction intervals depend on model assumptions and may miss operational shocks. SARIMA does not explain the causes of seasonality, and its moving-average terms should not be confused with simple smoothing. Check diagnostics and future-use conditions before relying on the fitted specification.","sources":[{"title":"statsmodels: SARIMAX","url":"https://www.statsmodels.org/stable/generated/statsmodels.tsa.statespace.sarimax.SARIMAX.html","note":"Seasonal and nonseasonal order specification, estimation and model options."},{"title":"statsmodels: Time Series analysis","url":"https://www.statsmodels.org/stable/tsa.html","note":"Forecasting and time-series diagnostic tools."}],"updatedAt":"2026-10-10"}},{"id":"arima","name":"ARIMA","category":"Forecasting & Recommender Systems","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"ARIMA models a time series through autoregressive terms, differencing and moving-average terms. The skill includes selecting a parsimonious specification, fitting it and checking whether residual behavior and held-out forecasts support its use. It provides a structured forecasting baseline rather than an automatic explanation of the process generating the series.","type":"concept","aliases":["Autoregressive Integrated Moving Average","ARIMA Models"],"editorial":{"definition":"Autoregressive terms relate a value to previous values, while moving-average terms describe dependence on past innovations. Integration refers to differencing the original series before modeling the remaining behavior. The orders specify the number of autoregressive terms, differencing steps and moving-average terms. ARIMA combines these components to represent temporal dependence and generate forecasts. A constant or trend term can have different interpretations depending on differencing. Seasonal extensions add dependence at a recurring period. The moving-average component is not a rolling arithmetic average, and the fitted coefficients should be interpreted within the transformed process rather than as causal effects.","practice":"Check frequency, gaps and revisions in the time index. Examine whether differencing is justified and compare plausible low-order models rather than maximizing specification complexity. Assess estimation convergence, residual autocorrelation and sensitivity to observations or transformations. Use rolling historical forecasts with the intended horizon and compare naive baselines. The deliverable includes orders, fitted-data window, diagnostics and prediction intervals, along with a reproducible rule for refitting and checking whether new data still follow the assumptions that supported the original specification.","example":"Suppose, illustratively, an analyst forecasts daily material usage. They compare an ARIMA model with a last-observation baseline, using historical dates to simulate the next planning period. Differencing removes a persistent level movement, but residual plots reveal a weekly pattern. Rather than simply increasing the nonseasonal order, the analyst considers a seasonal extension and compares it under the same backtest. The model choice follows evidence about the temporal structure and forecast usefulness.","limits":"Stationarity assumptions concern the modeled process after appropriate transformation and do not arise automatically from fitting. Overdifferencing can introduce noise, while structural changes can invalidate stable coefficients. Complex orders may be weakly identified on short data. Residual whiteness is useful but does not guarantee good future forecasts or causal validity. ARIMA often needs extensions for strong seasonality or external predictors. Evaluate intervals and horizon-specific errors, and avoid treating an in-sample fit as evidence of predictive value.","sources":[{"title":"statsmodels: ARIMA","url":"https://www.statsmodels.org/stable/generated/statsmodels.tsa.arima.model.ARIMA.html","note":"ARIMA orders, trends, estimation and forecasting interface."},{"title":"statsmodels: Time Series analysis","url":"https://www.statsmodels.org/stable/tsa.html","note":"Dependence diagnostics and related seasonal models."}],"updatedAt":"2026-10-10"}},{"id":"class-imbalance-handling","name":"Class Imbalance Handling","category":"Model Selection, Tuning & Evaluation","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"Class imbalance handling designs learning and decision rules when labels have unequal frequency or consequences. It can involve sampling, weighting, thresholds and better evaluation. The skill is choosing a response to the actual failure mode, rather than assuming that equalizing training counts will improve decisions at the population's original prevalence.","type":"concept","aliases":["Class-Imbalance Handling","Imbalanced Classification","Imbalanced Data Handling"],"editorial":{"definition":"An imbalanced dataset has uneven class representation, but the modeling challenge depends on overlap, label quality, minority diversity and error costs. Sampling changes which training examples appear, weighting changes their contribution to the objective and thresholding changes how scores become decisions. These interventions are not equivalent and can affect calibration differently. Evaluation should preserve a relevant class distribution and emphasize the mistakes that matter, often using precision–recall and cost-sensitive analysis. Imbalance handling is therefore a pipeline and decision-design competence. A rare class may be easy to distinguish, while a moderately imbalanced class can be difficult if its features overlap strongly with others.","practice":"Inspect label reliability and minority subgroups before selecting a method. Establish an unmodified baseline, choose metrics aligned with review capacity or missed-event cost and compare weighting, sampling and threshold adjustments separately. Resample only within training partitions and keep validation representative of intended use. Evaluate calibration if probabilities support action, and inspect which minority cases improve or deteriorate. The final artifact should explain the selected intervention and threshold, with evidence about operational consequences at realistic prevalence rather than only a balanced-test accuracy score.","example":"For an illustrative safety-alert classifier, reviewers can inspect only a limited daily queue. An analyst compares class weighting and a threshold adjustment before adding synthetic oversampling. Validation retains ordinary alert prevalence, so precision reflects reviewer burden. The analyst checks rare failure modes individually and documents the false-alert and missed-alert tradeoff. The chosen configuration may leave training counts unequal if it delivers a better decision rule for the actual workload.","limits":"Resampling can amplify label errors or create implausible examples, while aggressive undersampling discards useful majority structure. Weighting and changed training prevalence can distort probability interpretation. Accuracy and ROC summaries alone may hide poor precision for rare positives. Imbalance is not synonymous with unfairness, although subgroup representation can matter. Compare methods under the same untouched evaluation data and separate the model's ranking ability from the threshold decision; balancing counts is a means, not a success criterion.","sources":[{"title":"imbalanced-learn: Over-sampling","url":"https://imbalanced-learn.org/stable/over_sampling.html","note":"Sampling approaches and their assumptions."},{"title":"scikit-learn: Decision threshold tuning","url":"https://scikit-learn.org/stable/modules/classification_threshold.html","note":"Separating predictive scores from cost-sensitive class decisions."}],"updatedAt":"2026-10-10"}},{"id":"logistic-regression","name":"Logistic Regression","category":"Supervised Learning","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"Logistic regression predicts class probabilities from a linear combination of features passed through a logistic or related multiclass link. The skill includes representation, regularization, coefficient interpretation and threshold choice. It is a transparent classification baseline, provided its probabilities and assumptions are checked for the population and decision in which it will be used.","type":"concept","aliases":["logistic-regression","LogisticRegression"],"editorial":{"definition":"In binary logistic regression, a linear predictor determines log-odds and the logistic function maps it to a probability between zero and one. Fitting commonly minimizes a log-loss objective, optionally with regularization. Multiclass formulations can use a softmax model or other strategies depending on the implementation. The decision boundary is linear in the supplied features, though interactions or transformations can make it nonlinear in the original measurements. Coefficients describe conditional changes on the log-odds scale. Despite its name, logistic regression is generally used for classification, and a coefficient should not be treated as a causal effect without a separate identification argument.","practice":"Define the target class and encode features consistently, including scaling where regularization makes scale important. Choose a penalty and strength through development evaluation, inspect correlated predictors and confirm how categories are represented. Assess discrimination and calibration separately, then set an operational threshold using costs or capacity. Report coefficient interpretations only with their coding and model context. The deliverable includes a reproducible preprocessing and scoring pipeline plus an explanation of the probability and decision rule, rather than a list of coefficients detached from their assumptions.","example":"Imagine an illustrative registration-risk model using session length and prior visits. An analyst fits regularized logistic regression and checks calibration on later sessions. A nonlinear transformation of session length can represent a relationship that the raw linear term misses. The team selects a review threshold against available capacity. A positive coefficient for prior visits describes the fitted conditional association; it does not establish that encouraging extra visits would increase the modeled outcome.","limits":"Complete separation, strong collinearity and sparse categories can make coefficient estimates unstable. Regularization changes interpretation and needs suitable scaling. Linear log-odds may be an inadequate functional form, and probabilities may miscalibrate after prevalence shifts. Logistic regression differs from linear regression's ordinary continuous-response formulation and from a neural model with learned representations. Inspect convergence, residual or calibration behavior and influential cases, and distinguish a simple interpretable model from an automatically correct explanation.","sources":[{"title":"scikit-learn: Linear Model","url":"https://scikit-learn.org/stable/modules/linear_model.html","note":"Logistic links, regularization and multiclass classification."}],"updatedAt":"2026-10-10"}},{"id":"k-nearest-neighbors","name":"K-Nearest Neighbors","category":"Supervised Learning","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"K-nearest neighbors predicts from the labels or values of nearby stored examples under a chosen distance. It is a local, instance-based method rather than a compact fitted equation. The skill includes choosing a meaningful representation and neighborhood size and managing the quality and cost of retrieving neighbors at prediction time.","type":"concept","aliases":["KNN","k-NN","K Nearest Neighbors","KNN (K-Nearest Neighbors)","k-nearest neighbors (knn)"],"editorial":{"definition":"For classification, neighbor labels contribute votes or weighted class evidence; for regression, neighbor outcomes are averaged or otherwise weighted. The number of neighbors controls locality, and distance weighting gives closer examples more influence. The model's behavior depends strongly on feature scale, the metric and the distribution of stored examples. Training largely establishes the reference data and any preprocessing, while prediction performs a neighbor query. Search implementations can be exact or use data structures suited to particular geometry. KNN is a predictive use of neighbors and should be distinguished from clustering, where the goal is to discover groups rather than infer known targets.","practice":"Scale or transform features inside the training pipeline and select a metric appropriate to their meaning. Tune neighborhood size and weighting on relevant validation data, checking rare groups and regions with sparse support. Estimate memory and query cost before choosing a search strategy. Inspect actual neighbors for representative errors so the notion of similarity can be challenged. The deliverable includes the reference data, preprocessing and prediction rule, with checks for behavior on observations far from the stored examples and a plan for updating the reference set.","example":"In an illustrative equipment classifier, an engineer predicts operating mode from sensor measurements using nearby labeled readings. Without scaling, one measurement's large numeric range dominates the distance. After correcting scale, the engineer compares small and larger neighborhoods and inspects ambiguous boundary cases. A reading far from all stored examples is sent for review rather than treated as well supported merely because the method can always identify the nearest available observations.","limits":"Distances can become less informative in high dimensions, and irrelevant features can overwhelm useful similarity. Small neighborhoods are sensitive to noise, while large neighborhoods blur local distinctions. Prediction cost and storage can grow with the dataset. Voting does not automatically yield calibrated probabilities or an out-of-distribution warning. Data duplicates and entity overlap can make validation optimistic. Check neighborhood quality, support and deployment latency rather than assuming that an intuitive distance guarantees an appropriate predictive relationship.","sources":[{"title":"scikit-learn: Neighbors","url":"https://scikit-learn.org/stable/modules/neighbors.html","note":"Neighbor classification and regression, distance metrics and search methods."}],"updatedAt":"2026-10-10"}},{"id":"k-means-clustering","name":"K-Means Clustering","category":"Unsupervised Learning & Anomaly Detection","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"K-means partitions observations into a chosen number of groups by minimizing within-cluster squared Euclidean distances to centroids. The skill includes selecting features, scale and cluster count and assessing stability and interpretation. It is a useful geometric grouping method, but its objective does not establish that the resulting groups are meaningful categories.","type":"concept","aliases":["K-means","Kmeans","K Means"],"editorial":{"definition":"The algorithm alternates between assigning each observation to its nearest centroid and updating centroids from assigned observations. These steps reduce a within-cluster squared-distance objective until a stopping condition is reached. Initialization affects the solution because the objective can have multiple local minima. The cluster count is specified beforehand, and every observation receives an assignment in the standard formulation. K-means implicitly favors groups represented well by Euclidean centers. It differs from density-based methods that can discover irregular shapes and leave noise unassigned. Competence includes understanding what centroids and variance minimization mean for the selected feature representation.","practice":"Choose numeric features for which Euclidean distance is meaningful and scale them according to substantive importance. Compare cluster counts, initialization runs and stability under resampling. Inspect centroids, representative observations and borderline assignments, using internal criteria as diagnostic evidence rather than final proof of usefulness. Measure whether the groups support the intended analysis or downstream decision. The output should document preprocessing, cluster count and initialization, and explain how new observations are assigned and how changes in the input distribution will be detected.","example":"For an illustrative energy-use study, buildings are represented by normalized daily consumption profiles. An analyst fits several cluster counts and examines centroids for distinct usage patterns. One group contains unusually high overall consumption rather than a different profile, prompting reconsideration of normalization. After selecting a representation, the analyst reads building metadata and checks stability across months. The groups describe patterns under those choices; they do not prove inherent building types or causes of energy use.","limits":"K-means is sensitive to scale, outliers and initialization. Nonconvex shapes, strongly unequal densities and poorly chosen cluster counts can produce misleading partitions. Centroids may not correspond to an actual observation. Lower inertia follows from adding clusters and is not sufficient to choose their number. K-means is distinct from KNN prediction despite both using neighborhoods or distance. Report stability and ambiguity, and avoid equating a visually clean partition with a validated segmentation.","sources":[{"title":"scikit-learn: Clustering","url":"https://scikit-learn.org/stable/modules/clustering.html","note":"K-means objective, initialization, cluster-number selection and geometric limitations."}],"updatedAt":"2026-10-10"}},{"id":"isolation-forest","name":"Isolation Forest","category":"Unsupervised Learning & Anomaly Detection","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"Isolation Forest scores unusual observations by how readily randomized partitioning separates them from other data. It is an anomaly-detection method, not a supervised proof of harmful behavior. The skill includes feature preparation, threshold calibration and evaluation of alerts, especially when unusual but legitimate observations should not trigger action.","type":"concept","aliases":["Isolation Forests","iForest"],"editorial":{"definition":"An isolation tree repeatedly chooses a feature and a split value, partitioning observations until they are isolated or a limit is reached. Observations isolated through shorter paths are assigned stronger anomaly evidence, and a forest aggregates this behavior across trees. The approach relies on the idea that unusual points can be easier to separate under random partitioning. Sampling, feature selection and tree settings affect the score. A threshold converts that score to an outlier label and may be based on an assumed contamination level. The score should be interpreted as the model's isolation-based deviation measure rather than a calibrated probability of a particular incident.","practice":"Define which observations should form the reference and prepare features with attention to semantics and irrelevant dimensions. Fit the detector on a suitable historical window, inspect score distributions and calibrate thresholds using reviewed cases or realistic investigation capacity. Compare alerts across seeds and operating conditions, and examine representative high-score normal cases. The result includes scoring and threshold logic, a reviewer feedback process and monitoring for drift, making clear how model deviation becomes an operational alert and where human interpretation remains necessary.","example":"Suppose, illustratively, a service detects unusual account activity from session summaries. An Isolation Forest gives high scores to a small group with uncommon combinations of duration and access frequency. Review shows that some belong to a new legitimate workflow. The analyst checks whether reference coverage and features need adjustment, then compares alert precision at a fixed review budget. The detector identifies patterns worth investigating; it does not decide that those users acted maliciously.","limits":"Unusualness depends on the reference population, and rare normal subgroups can be flagged repeatedly. Irrelevant features or changing activity patterns can weaken scores. A contamination setting determines a thresholding assumption rather than discovering the true incident rate. Standard scores are not calibrated event probabilities. Isolation Forest differs from random-forest classification because it does not use class labels to learn a boundary. Assess alert burden and detection behavior against relevant cases instead of judging the method by how many observations it labels anomalous.","sources":[{"title":"scikit-learn: IsolationForest","url":"https://scikit-learn.org/stable/modules/generated/sklearn.ensemble.IsolationForest.html","note":"Random isolation trees, path-length scoring and contamination thresholds."},{"title":"scikit-learn: Outlier Detection","url":"https://scikit-learn.org/stable/modules/outlier_detection.html","note":"Anomaly-detection evaluation and outlier-versus-novelty context."}],"updatedAt":"2026-10-10"}},{"id":"dbscan","name":"DBSCAN","category":"Unsupervised Learning & Anomaly Detection","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"DBSCAN forms density-connected clusters using a neighborhood radius and a minimum density requirement. It can find irregular shapes and label observations outside selected dense regions as noise. The skill is choosing distance and density parameters and interpreting core, border and noise assignments without confusing algorithmic density with substantive meaning.","type":"concept","aliases":["Density-Based Spatial Clustering of Applications with Noise","DBSCAN Clustering"],"editorial":{"definition":"A core observation has enough neighbors within the specified radius according to the method's minimum-sample rule. Connected core observations form dense regions, and nearby border observations can join those clusters without themselves meeting the core criterion. Remaining points are noise. The cluster count is an outcome rather than an input, and groups need not be spherical. A single radius applies across the data, which can be difficult when densities differ greatly. DBSCAN is distinct from centroid clustering and from HDBSCAN's hierarchy over density levels. Understanding neighborhood geometry is essential because feature scaling can change density and therefore the entire cluster structure.","practice":"Select a distance appropriate to the representation and investigate scaling before setting the neighborhood radius. Compare plausible radius and minimum-sample values and inspect core, border and noise behavior. Check sensitivity to sampling and ambiguous observations, especially where groups are close. Estimate neighborhood computation and memory requirements for the intended dataset. The deliverable should describe clusters, unassigned cases and parameter choices, with domain inspection establishing whether dense groups correspond to the question rather than only satisfying the algorithm's connectivity rule.","example":"In an illustrative location analysis, an analyst groups repeated equipment positions to identify frequently occupied zones. They use a spatial distance compatible with the coordinate system and choose a radius reflecting positional uncertainty. Sparse transit positions remain noise. A bridge of dense observations unexpectedly joins two zones, so the analyst inspects whether this is actual traffic or a sampling artifact. The analysis records that changing the density threshold can merge or separate those regions.","limits":"One radius may not represent clusters with strongly different densities, and high-dimensional distance can become uninformative. Dense bridges can merge groups that an analyst expected to remain separate. Border assignments can depend on implementation details or ordering in ambiguous cases. Noise does not mean invalid data. DBSCAN also does not directly define a general supervised class predictor. Assess parameter sensitivity and substantive usefulness before treating a density partition as a stable taxonomy.","sources":[{"title":"scikit-learn: Clustering","url":"https://scikit-learn.org/stable/modules/clustering.html","note":"Density connectivity, core and border observations and DBSCAN limitations."},{"title":"scikit-learn: DBSCAN","url":"https://scikit-learn.org/stable/modules/generated/sklearn.cluster.DBSCAN.html","note":"Estimator parameters, distance options and computational constraints."}],"updatedAt":"2026-10-10"}},{"id":"cross-validation","name":"Cross-Validation","category":"Model Selection, Tuning & Evaluation","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"Cross-validation estimates predictive performance by repeatedly fitting on one part of the data and evaluating on another. The skill is selecting splits that reflect future use and keeping every learned transformation inside each training partition. It supports model comparison, but requires a separate view of the uncertainty and bias introduced by selection.","type":"concept","aliases":["Cross Validation","Cross validation techniques"],"editorial":{"definition":"A cross-validation procedure defines training and validation indices for several fits. Ordinary folds suit some independent-sample settings; grouped splits prevent shared entities crossing boundaries; temporal splits preserve information order. Stratification maintains class proportions where appropriate but does not solve entity or temporal leakage. Each fold assesses a newly fitted pipeline, including preprocessing, feature selection and resampling. Aggregated scores describe performance under the specified split design. Reusing them to choose models creates selection effects, so the best score is not automatically an unbiased assessment of the selected procedure. Nested validation or a reserved final test can assess that broader process.","practice":"Identify the unit of independence and the deployment boundary before selecting a splitter. Fit imputers, scalers, vocabularies and feature selectors within each training fold, and keep related records or future information out of validation. Choose a scoring rule, inspect variation and errors across folds and compare candidates on the same splits. Record indices or reproducible split logic. The deliverable explains what scenario the procedure simulates and how final performance will be assessed after model selection, rather than reporting an average without describing how data were separated.","example":"Suppose, illustratively, a model predicts outcomes from multiple visits per customer. Randomly splitting rows would let earlier or similar visits from the same customer appear on both sides. The analyst uses grouped folds when evaluating new-customer use, fitting preprocessing afresh in each fold. If the application instead predicts later visits for existing customers, a time-aware design answers that different question. The validation plan is chosen from the intended deployment, not from whichever split yields a higher score.","limits":"Fold scores are dependent because training sets overlap, so their spread is not automatically a confidence interval for final performance. Cross-validation cannot repair biased labels or an unrepresentative sample. Repeatedly tuning against the same folds can overfit selection. Temporal gaps or embargoes may be needed when outcomes overlap in time. Grouped and temporal designs answer different generalization questions. Document the boundary and evaluate the complete pipeline, including feature selection and resampling, to avoid optimistic leakage.","sources":[{"title":"scikit-learn: Cross Validation","url":"https://scikit-learn.org/stable/modules/cross_validation.html","note":"Fold strategies, groups, time dependence, pipelines and model-selection assessment."}],"updatedAt":"2026-10-10"}},{"id":"linear-regression","name":"Linear Regression","category":"Supervised Learning","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"Linear regression estimates a continuous response through a linear combination of specified predictors. The skill includes selecting features and transformations, fitting coefficients and assessing assumptions, uncertainty and predictive error. Its simplicity supports inspection, but a linear coefficient is a conditional association unless a separate design justifies a causal interpretation.","type":"concept","aliases":["linear-regression"],"editorial":{"definition":"The ordinary least-squares formulation chooses coefficients to minimize summed squared residuals between observed and predicted outcomes. Linearity concerns the coefficients: transformed features and interaction terms can represent nonlinear patterns in original variables. Rank and correlated predictors affect whether coefficients are uniquely and stably estimated. Statistical uncertainty calculations need assumptions about errors and sampling, which are separate from the algebraic fitting criterion. Regularized variants change the objective to constrain coefficients and can improve prediction in suitable settings. Linear regression is therefore both a predictive model and a statistical framework, but its adequacy depends on the specification and intended interpretation.","practice":"Define the continuous outcome and inspect scale, functional relationships and data provenance. Fit a baseline with meaningful predictors, check residual patterns, influential observations and collinearity, and choose uncertainty calculations that respect dependence or unequal error variance. Validate predictions on relevant held-out cases. Report coefficient coding and transformations clearly and assess sensitivity to alternative specifications. The deliverable should separate parameter interpretation from predictive quality, enabling a reader to see which assumptions support an interval and which evidence supports future-use performance.","example":"For an illustrative building-energy model, an analyst predicts daily consumption from temperature and occupancy. Residual plots reveal curvature, so the analyst adds a justified temperature transformation rather than assuming the straight-line relationship is adequate. They validate on later days and inspect unusually influential holidays. The coefficient on occupancy is interpreted conditional on the included terms; a plan to reduce occupancy would require additional causal reasoning rather than simply reading the coefficient as a guaranteed saving.","limits":"Outliers, correlated predictors and misspecified functional form can undermine fitting or interpretation. Constant error variance is not guaranteed, and repeated observations can invalidate ordinary standard errors. A good average error may hide poor behavior in tails or unseen ranges. Regularization changes estimates and should not be described as ordinary least squares. Linear regression differs from logistic regression's probability link and discrete target. Check residuals and deployment relevance while avoiding causal claims based solely on fitted coefficients.","sources":[{"title":"scikit-learn: Linear Model","url":"https://scikit-learn.org/stable/modules/linear_model.html","note":"Ordinary least squares, regularization and feature transformations."},{"title":"NumPy: Linear algebra","url":"https://numpy.org/doc/stable/reference/routines.linalg.html","note":"Least-squares solvers, rank and numerical stability."}],"updatedAt":"2026-10-10"}},{"id":"principal-component-analysis","name":"Principal Component Analysis","category":"Unsupervised Learning & Anomaly Detection","subcategory":null,"section_id":"classical-machine-learning-modeling","section_name":"Classical Machine Learning & Modeling","description":"Principal component analysis projects data onto orthogonal directions ordered by captured variance. It supports compression, visualization and removal of redundant linear dimensions. The skill includes choosing scale, fitting the projection without leakage and assessing lost information, because variance preserved by an unsupervised projection is not necessarily the information a downstream task needs.","type":"concept","aliases":["PCA","Principal Component Analysis","principal component analysis (pca)"],"editorial":{"definition":"PCA centers a numeric representation and finds directions that successively maximize projected variance subject to orthogonality. It can be computed through singular-value decomposition, yielding component directions, scores and explained-variance quantities. Keeping fewer components produces a low-rank representation and a corresponding reconstruction. Feature scale determines which variables contribute most strongly; centering does not automatically standardize them. PCA does not use target labels and therefore optimizes a different objective from supervised feature selection. Component signs can be reversed without changing the represented subspace, and correlated or similarly strong directions can complicate interpretation of individual components.","practice":"Decide whether standardization matches the meaning of features and fit all preprocessing and the PCA projection on training data. Choose component count using reconstruction, variance and downstream validation rather than a universal cutoff. Inspect loadings and representative reconstructions, and measure behavior across relevant data slices. Save centering, scaling and components for consistent inference. The result should explain what variation the reduced representation retains and loses, including whether the compression improves a downstream model or simply makes the dataset easier to visualize.","example":"In an illustrative sensor project, several channels measure related physical variation. An analyst fits PCA on historical training readings and reconstructs held-out readings from a reduced set of components. A low-variance channel carries an important fault indicator, so retaining only the dominant components harms classification despite good average reconstruction. The analyst revises component selection and documents the distinction between compact representation and preserving information needed for the fault-detection task.","limits":"PCA captures linear variance, which can be dominated by scale, noise or nuisance variation. Low-variance directions can contain important target information. Components do not automatically correspond to interpretable or causal factors. Fitting on evaluation data leaks distributional information, and a two-dimensional plot can obscure structure lost in projection. PCA differs from nonlinear embedding methods and supervised selection. Evaluate reconstruction and task consequences, and avoid treating an explained-variance percentage as a complete measure of usefulness.","sources":[{"title":"scikit-learn: PCA","url":"https://scikit-learn.org/stable/modules/generated/sklearn.decomposition.PCA.html","note":"Centering, solvers, components and explained variance."},{"title":"scikit-learn: Decomposition","url":"https://scikit-learn.org/stable/modules/decomposition.html","note":"Dimensionality reduction and matrix-factorization context."}],"updatedAt":"2026-10-10"}},{"id":"hugging-face","name":"Hugging Face","category":"DL Frameworks","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Hugging Face provides a model and dataset hub alongside libraries for loading, training and using machine-learning models. The competence is selecting compatible artifacts, understanding their documented assumptions and building a reproducible workflow. A downloadable checkpoint is a starting point for evaluation, not evidence that its license, behavior or dependencies suit the intended application.","type":"tool","editorial":{"definition":"The Hub organizes versioned repositories containing model weights, configurations, documentation and related artifacts. Libraries such as Transformers supply model definitions, preprocessors and interfaces for training or inference. A tokenizer or processor is part of the model's input contract, and its configuration must match the checkpoint. Model cards describe intended use, training information and limitations when supplied by the publisher. Different tasks and architectures require different interfaces rather than one universal pipeline. Competence includes distinguishing the platform, individual libraries and third-party repository content, because hosting an artifact does not make every claim in its documentation verified or every checkpoint interchangeable.","practice":"Inspect the model card, license, architecture and required processor before choosing a checkpoint. Pin revisions and package versions, validate input and output conventions and avoid enabling custom repository code without review. Test representative examples and measure quality and resource use on the actual workload. Preserve preprocessing, configuration and weights together when packaging a model. The deliverable is a reproducible artifact-selection and execution path, with evidence about compatibility and task suitability instead of only a successful download or a generic demonstration using a hosted pipeline.","example":"In an illustrative text-classification project, an engineer compares two encoder checkpoints. They load each checkpoint with its matching tokenizer, attach a task head and evaluate on the same labeled development set. A model card reveals different language coverage, prompting separate tests on multilingual cases. The final pipeline records the exact repository revision and processor settings, so a later repository update does not silently change the deployed representation.","limits":"Repositories can contain incomplete documentation, incompatible files or custom code with additional risk. A task pipeline's default settings may not match a production requirement. Model availability does not establish open-source licensing or suitability for sensitive use. Dependency changes can affect behavior, and benchmarks may not represent the intended data. Distinguish the Hub from Transformers and from a hosted inference service, and verify the selected artifact's actual inputs, outputs and limitations before using platform familiarity as a substitute for evaluation.","sources":[{"title":"Hugging Face: Transformers","url":"https://huggingface.co/docs/transformers/index","note":"Model definitions, preprocessors, pipelines, training and inference interfaces."},{"title":"Hugging Face: The Model Hub","url":"https://huggingface.co/docs/hub/models-the-hub","note":"Model repositories, artifact discovery and documentation."}],"updatedAt":"2026-10-23"}},{"id":"jax","name":"JAX","category":"DL Frameworks","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"JAX is a numerical-computing library centered on composable transformations such as automatic differentiation, compilation and vectorization. The skill includes writing transformation-compatible array programs and understanding how execution differs from ordinary Python. It supports machine-learning research and training, but correct performance requires attention to shapes, state and accelerator behavior.","type":"tool","editorial":{"definition":"JAX provides array operations with a familiar numerical interface and transformations that act on functions. Automatic differentiation computes derivatives, just-in-time compilation prepares compatible calculations for execution and vectorization maps operations over batches. These transformations compose, allowing a numerical function to become a differentiated or compiled training computation. The programming model emphasizes explicit data flow and functional treatment of state, including random-number keys. Python control flow and side effects can behave differently when tracing or compiling a function. Competence therefore includes understanding which values are static, how shapes influence compiled programs and when asynchronous device execution affects measurement.","practice":"Write small pure numerical functions with explicit inputs and outputs, then add transformations while checking results against untransformed cases. Manage parameters, optimizer state and random keys explicitly. Inspect array shapes and device placement, and separate compilation time from steady-state execution when benchmarking. Use appropriate debugging tools for traced computations and verify numerical stability. The result should be a reproducible computation or training loop whose state transitions and transformations are clear, rather than code that happens to work eagerly but changes behavior when compiled or vectorized.","example":"For an illustrative simulation model, an engineer writes a loss over a batch of observations and uses JAX differentiation to update parameters. They vectorize the per-observation calculation and compile the combined step. A benchmark first warms up the compiled function and waits for device completion before measuring repeated steps. Separate random keys are passed to stochastic components, so the experiment can be reproduced without accidentally reusing the same random draw across examples.","limits":"Tracing and compilation introduce constraints on Python behavior, shapes and mutation. Recompilation can dominate workloads with changing static inputs, and asynchronous execution can make naive timing misleading. Random-key reuse can create unintended dependence. Automatic gradients still differentiate the implemented objective, including mistakes in it. JAX differs from a complete high-level training framework; additional libraries may supply model and optimizer abstractions. Validate transformed computations and measure end-to-end workloads rather than assuming compilation always improves runtime.","sources":[{"title":"JAX: Quickstart","url":"https://docs.jax.dev/en/latest/quickstart.html","note":"Arrays, differentiation, compilation, vectorization and execution behavior."}],"updatedAt":"2026-10-23"}},{"id":"pytorch","name":"PyTorch","category":"DL Frameworks","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"PyTorch is a tensor and automatic-differentiation framework for building, training and running machine-learning models. The competence includes data handling, module design, optimization and reliable inference. It requires understanding tensor shape, device and gradient state, so a working training loop produces a model that can be reproduced and evaluated correctly.","type":"tool","editorial":{"definition":"PyTorch represents numerical data as tensors and records differentiable operations in a computational graph. Modules organize parameters and forward computations, while loss functions and optimizers define the fitting procedure. Data utilities construct batches, and execution can occur on supported CPUs or accelerators. Training and evaluation modes alter the behavior of components such as dropout and normalization; disabling gradient recording is a separate concern. Compiled or distributed execution introduces additional choices. The framework supplies mechanisms rather than a correct model specification, so practitioners need to understand the relationship among representations, parameter updates, saved state and the pipeline used during inference.","practice":"Build a data pipeline with explicit dtypes and dimensions, test a model on a small batch and verify that the loss and gradient path are correct. Manage optimizer updates, learning-rate schedules and train/evaluation modes. Monitor nonfinite values and compare against simple baselines. Save the model configuration and required preprocessing with its state, then test reloading and inference independently. The deliverable should include a repeatable training and scoring workflow, with checks showing that evaluation uses the intended mode and that the packaged model reproduces the measured behavior.","example":"In an illustrative image classifier, an engineer verifies channel ordering and normalization before training. They test whether the model can fit a tiny subset, then evaluate on images from separate sources. Evaluation switches the module to inference behavior and disables unnecessary gradient recording. After saving, the engineer loads the artifact in a fresh process and checks predictions on known examples. This catches missing preprocessing or configuration that a weights-only file would not preserve.","limits":"Shape-compatible tensor operations can still encode the wrong axes or target alignment. Incorrect mode, stale gradients or mismatched preprocessing can invalidate results. Accelerator timing needs synchronization, and compilation or precision changes require behavioral checks. A saved state dictionary does not document architecture and input conventions by itself. PyTorch is distinct from a specific neural architecture or hosted inference service. Review data boundaries and numerical behavior as carefully as API correctness, because successful execution alone does not establish useful training.","sources":[{"title":"PyTorch: Learn the Basics","url":"https://docs.pytorch.org/tutorials/beginner/basics/intro.html","note":"Tensors, datasets, modules, autograd, optimization and model saving."}],"updatedAt":"2026-10-23"}},{"id":"tensorflow","name":"TensorFlow","category":"DL Frameworks","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"TensorFlow is a numerical and machine-learning framework providing tensors, differentiation and execution tools for training and inference. The skill includes choosing suitable model APIs, managing graph execution and exporting a consistent model. Reliable use connects the data pipeline, objective and runtime behavior rather than treating model construction as the whole task.","type":"tool","editorial":{"definition":"TensorFlow supports tensor operations and automatic differentiation, with eager execution and traced graph functions providing different execution paths. High-level model APIs can organize layers and standard training, while custom loops expose more control over losses and updates. Data pipelines prepare and batch examples, and distribution tools coordinate supported multi-device settings. Exported models require defined input signatures and any preprocessing needed by consumers. TensorFlow and Keras are related but distinct: Keras supplies a model-oriented API and can support multiple numerical backends, whereas TensorFlow provides one computational framework. Competence includes understanding this boundary and the effects of tracing, state and serialization.","practice":"Define shapes, dtypes and data transformations before fitting. Choose a standard fit interface or a custom loop based on the required objective, and verify gradient and mode behavior on a small case. Inspect retracing and data-pipeline bottlenecks when performance matters. Evaluate independently, export with explicit signatures and test the exported artifact with representative inputs. The deliverable should preserve preprocessing and model assumptions across training and serving, with version and compatibility information sufficient to reproduce both the fit and the runtime behavior.","example":"For an illustrative sequence classifier, an engineer uses a padded batch pipeline and an explicit mask. They check that padding does not contribute incorrectly to the loss and compare eager results with the traced step. After training, the model is exported and tested on short, long and empty-edge cases under the documented input contract. A serving consumer receives the same tokenization and masking rules, preventing a technically valid input tensor from changing the task interpretation.","limits":"Tracing can specialize behavior in ways that surprise code written as ordinary Python, and repeated retracing can add cost. Unsupported operations or ambiguous signatures can complicate export. Mixing framework and high-level API versions can cause compatibility problems. A graph that executes successfully may still mishandle padding, state or training mode. TensorFlow is not synonymous with Keras or a particular deployment runtime. Test the artifact actually used by consumers, rather than assuming that training-time evaluation guarantees identical exported behavior.","sources":[{"title":"TensorFlow: Core guide","url":"https://www.tensorflow.org/guide","note":"Tensor execution, differentiation, data, tracing, distribution and model export."},{"title":"Keras: Developer guides","url":"https://keras.io/guides/","note":"High-level model APIs and the distinction from backend execution."}],"updatedAt":"2026-10-23"}},{"id":"deep-learning","name":"Deep Learning","category":"Deep Learning & Training Paradigms","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Deep learning fits neural networks with multiple learned transformations to build representations and predictions. The skill combines architecture, objective, data and optimization with careful evaluation. It means understanding how a network learns and fails, rather than assuming that greater depth or parameter count produces a better model for a given task.","type":"concept","editorial":{"definition":"A neural network composes parameterized operations and nonlinearities, transforming an input into features and outputs. Training uses a loss and gradients, usually computed by backpropagation, to update parameters. Convolutions, recurrence and attention encode different structures, while regularization and normalization influence fitting. Learned representations can reduce the need for manually specifying every useful feature, but the data and objective still determine what is encouraged. Deep learning includes supervised, self-supervised and generative approaches. The competence is reasoning about how architecture and learning signal match a task, including the distinction between minimizing training loss and generalizing to relevant unseen data.","practice":"Establish a simple baseline and define training examples, target and evaluation boundary. Select an architecture suited to input structure and available resources, then verify shapes, loss and gradient flow on a small case. Monitor training and validation trajectories, tune capacity and regularization and inspect difficult slices. Preserve preprocessing, model configuration and checkpoints. The result is a reproducible model with evidence of task-level quality and resource requirements, plus an explanation of remaining failure modes and the conditions under which retraining or additional evaluation is needed.","example":"In an illustrative image-recognition project, an engineer starts from a pretrained convolutional encoder instead of training a large model from scratch. They compare a frozen representation with partial fine-tuning and evaluate on images from a separate acquisition source. Training accuracy rises rapidly, but errors under different lighting remain. Inspecting those cases leads to changes in data coverage and validation, showing that model depth alone is not the main unresolved issue.","limits":"Networks can overfit, learn shortcuts and remain confident on unfamiliar inputs. Training instability, data leakage and poorly specified losses can produce misleading results. More data or compute cannot automatically repair annotation errors or missing populations. Explanations and saliency methods require careful interpretation. Deep learning differs from the broader field of machine learning and from any one architecture. Evaluate generalization, robustness and operational cost, and distinguish empirical improvements on a task from claims about universal capability.","sources":[{"title":"PyTorch: Learn the Basics","url":"https://docs.pytorch.org/tutorials/beginner/basics/intro.html","note":"Neural modules, gradient-based fitting and evaluation workflow."},{"title":"Dive into Deep Learning: Convolutional Neural Networks","url":"https://d2l.ai/chapter_convolutional-neural-networks/index.html","note":"Learned representations and architecture-dependent input structure."}],"updatedAt":"2026-10-23"}},{"id":"edge-ai","name":"Edge AI","category":"Efficient, Edge & Compressed Models","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Edge AI runs model computation close to the source of data, such as a phone, camera or embedded device. The competence balances model quality with latency, memory, power and runtime compatibility. It includes the local pipeline and update strategy, rather than merely selecting a small model or claiming that local execution solves every privacy concern.","type":"concept","editorial":{"definition":"An edge system performs some or all inference on a device instead of depending entirely on a remote service. Models can be compressed or selected for the hardware, and runtimes map supported operations to CPUs, GPUs or other accelerators. The deployment must also handle input processing, buffering, outputs and intermittent connectivity. Edge AI is broader than small language models: vision, audio and conventional predictive models can all run locally. Local execution changes the placement of computation and data, but does not by itself define the model's architecture, guarantee real-time performance or establish the security of storage, telemetry and updates.","practice":"Specify the device and end-to-end response requirement before choosing a model. Measure memory, startup, sustained latency and energy behavior on actual hardware with representative inputs. Check operator support and quantify any quality changes introduced by conversion or compression. Design local error handling, update rollback and the boundary between local and remote work. The deliverable is a tested device pipeline with explicit resource and quality tradeoffs, including behavior during limited connectivity and prolonged use rather than only a successful desktop demonstration.","example":"Suppose, illustratively, a mobile app labels objects from the camera. An engineer converts a model to an on-device runtime, verifies preprocessing and compares predictions with the original implementation. They measure camera-to-result latency while the app runs continuously, observing whether heat changes performance. Uncertain results can prompt review or optional remote processing under the application's data policy. The deployment decision accounts for the full camera and UI pipeline, not just the isolated model invocation.","limits":"A small weight file can still require substantial activation memory or preprocessing time. Conversion and quantization can alter accuracy, and unsupported operations may fall back to a slower path. Thermal and power constraints affect sustained behavior. Local processing reduces some data transfers but does not secure every stored or logged artifact. Edge deployment differs from model compression: compression is one possible means. Test the final device and workload before extrapolating from accelerator specifications or desktop benchmarks.","sources":[{"title":"Google: LiteRT","url":"https://developers.google.com/edge/litert","note":"On-device model conversion, runtime and hardware acceleration."},{"title":"NVIDIA: Jetson Orin Nano Quick Start","url":"https://docs.nvidia.com/jetson/orin-nano-devkit/user-guide/latest/quick_start.html","note":"Device-based execution and hardware setup context."}],"updatedAt":"2026-10-23"}},{"id":"open-source-llms","name":"Open-Source LLMs","category":"Foundation & Multimodal Models","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"This competence covers selecting, adapting and operating language models whose artifacts are available for inspection or local use. The existing Atlas label includes the open-weight ecosystem, but openness varies. Practitioners must distinguish access to weights from an open-source license and evaluate documentation, reproducibility, compatibility and model behavior for their intended use.","type":"concept","editorial":{"definition":"A publicly downloadable language-model checkpoint allows some forms of local inference, inspection or adaptation, subject to its license and technical requirements. It may not include training data, full training code or unrestricted reuse rights. Open weights and open source therefore describe different properties and should be examined separately. Model repositories can supply tokenizers, configuration and model cards, while compatible libraries provide execution. The competence includes choosing a specific checkpoint and revision, assessing architecture and context behavior and deciding how to package or adapt it. Artifact availability does not establish trustworthy behavior, adequate documentation or suitability for the target application.","practice":"Read the license and model card, identify required dependencies and determine whether custom code or special input formatting is needed. Compare candidate checkpoints on representative tasks, resource use and important failure cases. Pin revisions and preserve tokenizer, configuration and any adapters with the weights. Test deployment and update paths, including the effect of quantization or fine-tuning. The result should document exactly which artifacts and permissions the workflow relies on, with a task-specific evaluation rather than a generic claim that a locally runnable model is open or superior.","example":"In an illustrative support prototype, an engineer compares two downloadable checkpoints for local text generation. One requires a particular conversation template, while the other has different license conditions and hardware needs. The engineer evaluates both with the same support questions and source context, measures resource use and records the exact revisions. A model is selected only after the team understands how its artifact access, permitted use and observed behavior fit the planned system.","limits":"Available weights can coexist with missing training information or restrictive terms. Model cards are publisher-provided evidence and may omit important limitations. Local operation does not eliminate hallucination, data leakage through logs or insecure integrations. Tokenizer and runtime mismatches can materially change behavior. Open-source LLMs are not one architecture or a uniform quality category. Avoid treating a license label or download count as a performance guarantee, and reassess the exact checkpoint after adaptation or runtime changes.","sources":[{"title":"Hugging Face Hub: Licenses","url":"https://huggingface.co/docs/hub/repositories-licenses","note":"Repository license metadata and the need to examine permitted artifact use."},{"title":"Hugging Face: Transformers","url":"https://huggingface.co/docs/transformers/index","note":"Checkpoint configuration, preprocessors and execution interfaces."}],"updatedAt":"2026-10-23"}},{"id":"comfyui","name":"ComfyUI","category":"Generative Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"ComfyUI is a graph-based interface and execution system for composing generative-media workflows. Nodes connect models, conditioning, sampling and output operations. The skill is constructing a valid reproducible graph, understanding what each component contributes and managing checkpoints and extensions, rather than treating a visually complex workflow as evidence of controlled generation.","type":"tool","editorial":{"definition":"A ComfyUI workflow represents operations as nodes with typed connections. A graph can load a checkpoint, encode a prompt, prepare latent inputs, run a sampler and decode an image, with additional branches for masks, adapters or other conditioning. The graph makes dependencies inspectable and reusable, but behavior still depends on node implementations, model versions and execution settings. Custom nodes extend functionality and add their own dependencies. ComfyUI is a workflow environment rather than a generative architecture: it can orchestrate supported models, and the underlying model and conditioning determine what the system can generate or edit.","practice":"Start with a minimal graph and verify each connection, model family and input convention before adding control branches. Record checkpoints, samplers, seeds and node versions, and inspect intermediate outputs when diagnosing failures. Review custom extensions and isolate incompatible dependencies. Evaluate whether conditioning produces the requested visual constraint and whether the saved workflow can be reopened consistently. The deliverable is a documented executable graph plus its required artifacts, allowing another practitioner to reproduce the setup and understand which settings affect quality, control and resource use.","example":"For an illustrative product mockup, a designer builds a workflow using a prompt, reference image and masked editing region. They first confirm the base generation path, then add the relevant conditioning and compare intermediate results. The final graph stores the required model references and seed settings, while the designer checks that untouched regions and product proportions remain acceptable. Reopening the workflow with missing custom nodes is treated as a reproducibility failure, not merely a UI inconvenience.","limits":"A saved graph may omit external model files or rely on extensions whose behavior changes. Checkpoints, adapters and conditioning nodes must be compatible. A fixed seed does not guarantee identical outputs across every runtime or implementation. Custom nodes can execute code and require review. ComfyUI differs from Diffusers as a programming library and from Stable Diffusion as a model family. Inspect visual outcomes and dependencies directly; graph complexity and many controls do not guarantee faithful editing or production-ready assets.","sources":[{"title":"ComfyUI: Project documentation and repository","url":"https://github.com/Comfy-Org/ComfyUI","note":"Graph workflows, supported components, execution and custom nodes."}],"updatedAt":"2026-10-23"}},{"id":"diffusion-models","name":"Diffusion Models","category":"Generative Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Diffusion models learn to generate data through a process related to reversing gradual corruption or noise. The competence includes understanding the training target, conditioning and sampling procedure. Related flow-matching approaches learn a different transport formulation; practitioners should distinguish their objectives while evaluating the resulting generative pipeline's quality, control and computational cost.","type":"concept","editorial":{"definition":"A denoising diffusion formulation defines a forward noising process and learns a reverse or denoising process that produces samples from noise. Different parameterizations predict noise, clean data or a related quantity, and sampling schedules determine how learned steps are applied. Conditioning can guide outputs using text, images or other information. Latent diffusion performs these operations in a learned compact representation rather than directly on full-resolution pixels. Flow matching is related generative modeling through learned vector fields along probability paths, not merely another name for the same training loss. Competence requires connecting the selected objective, model representation and sampler instead of assuming components can be exchanged arbitrarily.","practice":"Identify the model's prediction parameterization and conditioning interface, then choose a compatible scheduler and input representation. Inspect the role of guidance, step count and random initialization, comparing settings on a fixed evaluation set or prompt suite. For training, verify noising and target construction; for deployment, measure latency, memory and failure cases. The deliverable should document the model and sampler combination with evidence about fidelity and control, making clear whether observed changes come from the objective, conditioning or inference settings.","example":"In an illustrative image workflow, an engineer compares two sampling configurations for the same conditioned checkpoint. They keep prompts and initial seeds controlled, examine adherence to spatial requirements and measure end-to-end generation time. Increasing guidance improves some prompt details but introduces artifacts in others. The engineer records that tradeoff rather than choosing a setting solely from a visually striking sample, and confirms scheduler compatibility before drawing conclusions about the model family.","limits":"Sampling quality depends on the checkpoint, conditioning and scheduler rather than step count alone. Generated examples can contain distortions or reproduce unwanted training patterns. Guidance can alter diversity and fidelity, and latent compression can lose fine details. Diffusion and flow matching have related applications but distinct formulations. A handful of selected outputs does not establish distributional quality or task suitability. Evaluate representative and difficult conditions and avoid assuming that changing a sampler preserves the guarantees or behavior of another algorithm.","sources":[{"title":"Denoising Diffusion Probabilistic Models","url":"https://arxiv.org/abs/2006.11239","note":"Forward noising, learned reverse process and diffusion training."},{"title":"Flow Matching for Generative Modeling","url":"https://arxiv.org/abs/2210.02747","note":"Vector-field training along probability paths and distinction from diffusion objectives."}],"updatedAt":"2026-10-23"}},{"id":"video-generation","name":"Video Generation","category":"Generative Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Video generation produces sequences from prompts, images or other conditioning. The skill includes designing temporal and visual constraints, selecting compatible models and inspecting motion and continuity across frames. It extends image generation with consistency over time, so a strong single frame is insufficient evidence that a generated clip satisfies the intended scenario.","type":"concept","editorial":{"definition":"A video-generation pipeline models spatial appearance and temporal relationships together, commonly with generative neural architectures operating on frames or latent representations. Text-to-video defines a scene from language, while image-to-video also anchors appearance in an input image. Conditioning can influence camera behavior, objects or motion, but the available controls depend on the model. Sampling settings, frame count and output resolution interact with resource use. The competence concerns the sequence as a whole: identity, geometry and action should remain coherent across time. Video generation is distinct from interpolating frames or editing existing footage, even though a workflow may combine these operations.","practice":"Specify the intended action, duration and continuity requirements before generating. Choose a model supporting the needed conditioning, prepare inputs consistently and record seeds and sampling settings. Inspect the entire clip for object changes, implausible motion and discontinuities rather than choosing a thumbnail alone. Compare variants under a repeatable prompt suite and measure latency and memory. The deliverable is a reviewed sequence plus a reproducible workflow, with explicit constraints and any postprocessing steps so users understand which aspects were controlled and which emerged from sampling.","example":"For an illustrative instructional animation, a designer starts from an approved image of a device and asks for a short rotation showing its side. They inspect whether labels, buttons and dimensions remain stable throughout the clip. A version with attractive lighting but a changing button layout is rejected. The workflow records the input image and generation settings, and any edited frames are checked again for temporal discontinuities introduced by postprocessing.","limits":"Models can change object identity, invent hidden surfaces or produce physically inconsistent motion. Prompt adherence may weaken over time, and a fixed input image does not guarantee faithful geometry in unseen views. Longer or higher-resolution output can impose substantial memory and runtime costs. A visually plausible clip is not evidence of a real event. Distinguish generation from faithful reconstruction, and evaluate complete sequences under representative constraints rather than treating selected frames as a quality benchmark.","sources":[{"title":"Hugging Face Diffusers: Video generation","url":"https://huggingface.co/docs/diffusers/using-diffusers/text-img2vid","note":"Text- and image-conditioned video pipelines and execution considerations."}],"updatedAt":"2026-10-23"}},{"id":"graph-neural-networks","name":"Graph Neural Networks","category":"Graph Neural Networks","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Graph neural networks learn representations from connected entities and their relationships. They use graph structure alongside node or edge attributes for tasks such as node classification, link prediction and graph prediction. The competence is constructing a valid graph, choosing information flow and evaluating without leakage across connected observations or future edges.","type":"concept","editorial":{"definition":"A common GNN layer updates a node representation by aggregating information from neighboring nodes and edges. Repeated layers extend the receptive field, and pooling can produce a representation for an entire graph. Other formulations use attention or specialized graph operations, but all depend on how relationships are represented. Nodes may be people, devices or molecular components, while edges encode particular interactions. The task can be transductive, involving a known graph, or inductive, requiring generalization to new nodes or graphs. Competence includes distinguishing graph topology from predictive evidence, since constructing edges from future or target-derived information can leak the answer.","practice":"Define what nodes and edges mean, their direction and the time at which they become known. Choose features and a message-passing architecture appropriate to the task, then inspect isolated nodes, degrees and missing attributes. Design splits that reflect new-node, new-graph or future-edge use, and compare against non-graph baselines. Assess sensitivity to graph construction and neighborhood sampling. The deliverable includes the graph-building procedure and model, making it possible to reproduce information flow and understand whether relationships genuinely improve predictions under the intended boundary.","example":"In an illustrative device-monitoring network, nodes represent machines and edges represent known physical connections. A GNN predicts maintenance categories using local measurements and neighboring states. The engineer tests on a separate site rather than randomly hiding labels on the same connected graph. They compare a model using only node features and inspect whether high-degree nodes dominate messages. A benefit from graph structure is accepted only if it persists under the deployment-relevant split.","limits":"Incorrect or incomplete edges can mislead the model. Too many aggregation layers can blur representations, and bottlenecks can limit distant information. Graph sampling changes what a node observes, while heterogeneity may require relation-specific handling. Random splits can leak through connected entities. A GNN does not automatically infer causal relationships from edges. Distinguish a graph-learning task from a knowledge-graph store or ordinary tabular prediction, and validate the topology-building process as carefully as the neural architecture.","sources":[{"title":"PyTorch Geometric: Introduction by Example","url":"https://pytorch-geometric.readthedocs.io/en/latest/get_started/introduction.html","note":"Graph data, message passing and node-level prediction."}],"updatedAt":"2026-10-23"}},{"id":"multimodal-ai","name":"Multimodal AI","category":"Foundation & Multimodal Models","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Multimodal AI combines information from more than one type of input or output, such as text, images and audio. The skill is choosing representations, alignment and evaluation for the modalities involved. It includes handling missing or conflicting evidence and understanding that supporting several modalities does not guarantee equally reliable behavior across them.","type":"concept","editorial":{"definition":"A multimodal model connects representations of different data types through aligned embeddings, cross-attention or another fusion mechanism. Some systems retrieve across modalities; others generate text from images or produce media from language. Training can use paired observations and objectives that encourage correspondence. The input processor is part of the model contract, determining image resizing, audio sampling or token placement. Modality support also has boundaries: an image-text model is not automatically an audio model, and apparent fluency does not establish accurate perception. Competence includes understanding where information is encoded, how modalities interact and which outputs are actually grounded in supplied evidence.","practice":"Define the role of each modality and whether inputs are paired, synchronized or independently available. Choose a model and processors compatible with those inputs, inspect data alignment and evaluate each modality as well as their combination. Test missing, contradictory and low-quality inputs, and measure resource use for realistic sizes. The deliverable should document input conventions and task-level evidence, including whether the model attends to the intended signal or exploits a shortcut in one modality while appearing to integrate both.","example":"Suppose, illustratively, a support assistant receives a screenshot and a written question. The engineer checks whether the model can read the relevant interface details and answer from them. Tests include a misleading textual hint and an image containing a different error code, revealing whether the system simply follows the hint. Unreadable screenshots prompt a request for clarification. Evaluation separates visual recognition errors from mistakes in interpreting the support instructions.","limits":"Paired data can be noisy or misaligned, and one modality can dominate learned behavior. Resolution, sampling and context limits can remove crucial information before inference. Models may hallucinate unseen objects or overstate what an image or sound supports. Multimodal AI is an umbrella competence, while vision-language models cover a narrower set of modalities. Evaluate grounding and conflict handling explicitly, and avoid assuming that a correct response on clean paired examples transfers to incomplete or adversarial inputs.","sources":[{"title":"Hugging Face Transformers: Image-text-to-text","url":"https://huggingface.co/docs/transformers/tasks/image_text_to_text","note":"Multimodal processors, input formatting and conditional text generation."},{"title":"Hugging Face: Transformers","url":"https://huggingface.co/docs/transformers/index","note":"Supported text, vision, audio and multimodal model interfaces."}],"updatedAt":"2026-10-23"}},{"id":"convolutional-neural-networks","name":"Convolutional Neural Networks","category":"Neural Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Convolutional neural networks learn local feature detectors using shared kernels across structured inputs. They are commonly used for images and can also process other grids or sequences. The skill includes understanding receptive fields, resolution and feature hierarchy, and validating whether local structure and weight sharing match the problem.","type":"concept","editorial":{"definition":"A convolutional layer applies learned filters to local neighborhoods and shares their parameters across positions. Successive layers build representations from simpler patterns to more task-specific features. Stride, padding and pooling affect spatial dimensions and receptive fields, while channel structure determines how features are combined. Weight sharing reduces parameter requirements relative to a fully connected mapping over the same grid. Modern CNNs can include residual connections, normalization and other blocks. Convolution provides an inductive bias about locality and translation behavior, but the full network and data pipeline determine how robust that behavior is to real image changes.","practice":"Track spatial and channel dimensions through every layer and choose input resolution with the smallest relevant feature in mind. Compare a pretrained backbone with a smaller custom model, configure augmentation and regularization and evaluate on distinct acquisition conditions. Inspect failures involving scale, background or orientation and measure inference cost. The deliverable includes preprocessing and architecture choices with evidence of generalization, making clear whether the network recognizes task-relevant structure or relies on backgrounds, borders or collection artifacts that may change during use.","example":"For an illustrative surface-defect classifier, an engineer chooses a CNN whose resolution preserves small scratches. They test different crop and augmentation settings and validate on images from a separate camera. A model that performs well on familiar backgrounds fails when lighting changes, so error inspection informs data collection. The engineer compares a pretrained encoder with partial fine-tuning and records the final resize, normalization and class decision rule with the model artifact.","limits":"Pooling or aggressive resizing can remove small features, while padding can create boundary artifacts. Translation-related structure is not a guarantee of invariance to rotation, lighting or domain shift. Deep feature hierarchies can still learn shortcuts. Convolutions differ from attention-based architectures, but either family can be appropriate depending on task and resources. Inspect receptive-field and resolution choices, and validate across relevant acquisition conditions rather than using a high training score as evidence that the local inductive bias is sufficient.","sources":[{"title":"Dive into Deep Learning: Convolutional Neural Networks","url":"https://d2l.ai/chapter_convolutional-neural-networks/index.html","note":"Convolutions, channels, padding, stride and pooling."}],"updatedAt":"2026-10-23"}},{"id":"mixture-of-experts","name":"Mixture of Experts","category":"Neural Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Mixture of Experts combines specialized submodels with a routing mechanism that selects or weights their contributions. Sparse variants activate only some experts for each input. The skill includes understanding routing, capacity and load balance, and evaluating the complete model's quality and runtime rather than equating total parameters with the computation used for every prediction.","type":"concept","editorial":{"definition":"An MoE layer contains several experts and a gate or router that determines how an input is processed. In sparse routing, a limited subset of experts receives each token or example, allowing model capacity and active computation to differ. Routing decisions can create specialization but also uneven demand, so auxiliary objectives or capacity policies may be used. Distributed execution introduces communication as expert inputs move between devices. MoE is an architectural pattern and can appear within a larger neural network. It does not automatically mean independent end-user agents, nor does it guarantee that each expert corresponds to an interpretable subject domain.","practice":"Identify where routing occurs and how many experts are active per input. Inspect capacity limits, balancing settings and behavior when an expert receives too many tokens. For deployment, measure memory, communication and throughput under realistic batch and sequence patterns, not only arithmetic estimates. Evaluate difficult or rare inputs for routing-related quality changes. The result should document the architecture and execution assumptions, including the distinction between total model storage and active computation and the monitoring needed to detect overloaded or underused experts.","example":"In an illustrative language-model deployment, an engineer loads a sparse MoE checkpoint across several accelerators. Short requests benchmark well, but a mixed batch causes heavy traffic to a few experts and increased communication delay. The engineer profiles routing and end-to-end latency, then compares batching and placement choices. Task evaluation is repeated after runtime changes, because a capacity policy that improves throughput might also alter which tokens receive their preferred expert computation.","limits":"Sparse activation does not eliminate the memory needed to store experts. Routing imbalance and communication can erode computational savings, and capacity overflow policies may affect outputs. Expert specialization can be unstable or hard to interpret. MoE differs from a simple ensemble that combines separately trained whole-model predictions and from multi-agent orchestration. Compare actual quality and service metrics under representative loads, and avoid using total parameter count or nominal active parameters as a complete proxy for capability or cost.","sources":[{"title":"Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer","url":"https://arxiv.org/abs/1701.06538","note":"Sparse expert routing, conditional computation and load-balancing considerations."}],"updatedAt":"2026-10-23"}},{"id":"recurrent-neural-networks","name":"Recurrent Neural Networks","category":"Neural Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Recurrent neural networks process sequences by updating a hidden state as observations arrive. The skill includes choosing sequence boundaries, state handling and training objectives for ordered data. It requires understanding temporal information flow and gradient behavior, rather than treating any array with a time axis as a correctly modeled sequence.","type":"concept","editorial":{"definition":"An RNN applies a recurrent transformation that combines the current input with the previous hidden state. Shared parameters allow the same transition to operate across sequence positions. The state summarizes earlier information for prediction at each step or at the sequence end. Backpropagation through time trains those transitions, and long dependencies can create vanishing or exploding gradients. Gated variants such as LSTM and GRU change how information is retained and updated. Bidirectional recurrence can use both directions when the complete sequence is available, but is incompatible with strict online use if it requires future observations.","practice":"Define whether outputs are needed per step or per sequence and choose padding, masking and truncation accordingly. Specify when state resets and whether it is carried between batches. Check time ordering, target alignment and gradient stability, using clipping or gated alternatives where justified. Validate on independent sequences or future periods and compare simpler temporal baselines. The deliverable should include a model and state-management contract, ensuring that training, evaluation and streaming inference interpret sequence continuity and available information in the same way.","example":"Suppose, illustratively, an engineer classifies operating sequences from a machine. Batches contain variable-length runs, with masking preventing padded positions from changing the loss. Hidden state resets at the start of each run. The engineer compares a plain RNN with a GRU and checks errors on longer runs. If the deployed system streams readings, evaluation avoids bidirectional information that would only be available after the entire run had finished.","limits":"Long-range dependencies can be difficult to learn, and hidden-state mistakes can leak information between unrelated sequences. Padding and target alignment errors may execute without exceptions. Recurrence can limit parallelism across time. A hidden state is not a complete or interpretable memory of past events. RNNs differ from state-space and attention-based models despite overlapping sequence tasks. Test length sensitivity, state resets and the prediction-time boundary before drawing conclusions from a good score on conveniently segmented sequences.","sources":[{"title":"Dive into Deep Learning: Recurrent Neural Networks","url":"https://d2l.ai/chapter_recurrent-neural-networks/rnn.html","note":"Hidden-state updates, sequence outputs and recurrent training."}],"updatedAt":"2026-10-23"}},{"id":"state-space-models","name":"State Space Models","category":"Neural Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"State-space models represent sequence behavior through an evolving internal state and an observation mapping. In neural sequence modeling, structured and selective variants provide alternatives to attention. The competence includes understanding state updates, discretization and information retention, while distinguishing classical statistical state-space models from particular modern neural architectures such as Mamba.","type":"concept","editorial":{"definition":"A state-space formulation separates a latent state transition from the relationship between that state and observed or predicted values. Classical models use this structure for dynamical estimation and forecasting; neural variants learn transformations suitable for representation learning. Structured implementations can exploit recurrence or convolution, and selective architectures make parts of the state update depend on the input. Mamba is one such selective sequence architecture, not a synonym for every state-space model. Competence requires identifying which formulation is being used, how continuous or discrete updates are implemented and what information can pass through the state under the chosen parameterization.","practice":"Start from the sequence task and determine whether a statistical dynamical model or neural representation is needed. Inspect state dimensions, update equations and input-dependent behavior, then implement masking and state reset consistently. Compare with recurrent or attention baselines under matched data and resource budgets. Test long sequences, streaming behavior and sensitivity to missing observations. The resulting artifact should explain the state contract and evaluation, including which computational benefits depend on a particular kernel, hardware path or sequence shape rather than the abstract architecture alone.","example":"In an illustrative streaming sensor classifier, an engineer evaluates a selective state-space network that updates a compact state for each reading. They test whether patterns separated by long intervals are retained and compare results with a gated recurrent baseline. Sequence starts reset state, while genuine continuation preserves it. Performance is measured on the intended streaming path as well as batch execution, so an efficient benchmark implementation is not assumed to represent the deployed system.","limits":"A compact state can lose task-relevant distant detail, and selective updates do not guarantee memory of every event. Kernel and hardware choices influence practical runtime. Classical probabilistic state-space models and neural SSMs offer different interpretations and uncertainty handling. Claims of efficiency depend on workload and implementation, while benchmark quality may not transfer. Evaluate retention, numerical stability and deployment behavior, and avoid treating Mamba, ordinary recurrence and every dynamical model as interchangeable methods.","sources":[{"title":"Mamba: Linear-Time Sequence Modeling with Selective State Spaces","url":"https://arxiv.org/abs/2312.00752","note":"Input-dependent state-space updates and neural sequence-model architecture."},{"title":"statsmodels: State space methods","url":"https://www.statsmodels.org/stable/statespace.html","note":"Classical statistical state-space formulations, distinct from neural selective models."}],"updatedAt":"2026-10-23"}},{"id":"transformer-architecture","name":"Transformer Architecture","category":"Neural Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"The Transformer architecture models relationships using attention alongside learned transformations and positional information. It underpins encoder, decoder and encoder–decoder systems for many tasks. The skill is understanding attention masks, representation flow and runtime costs, so the selected architecture and input format match what information is available when a prediction is made.","type":"concept","editorial":{"definition":"Attention forms weighted combinations of value representations using relationships between queries and keys. Multiple heads learn different projection spaces, while feed-forward blocks, residual connections and normalization transform and stabilize representations. Positional information gives the model access to order that attention alone does not encode. Encoders can attend across an input, causal decoders restrict attention to preceding positions and encoder–decoder models connect an input representation to generated output. These variants have different task and leakage implications. KV caching reuses prior key and value computations during suitable autoregressive inference, but is an execution mechanism rather than the defining concept of a Transformer.","practice":"Choose encoder, causal decoder or encoder–decoder structure from the task. Verify masks, positional handling, padding and token alignment before training or inference. Inspect context-length and memory behavior and compare attention implementations only with behavioral checks. For generation, understand cache state and how decoding settings interact with the model. The deliverable should document architecture and input contracts with evaluation on relevant sequences, including evidence that future or padded information is not unintentionally available and that runtime optimization preserves the intended prediction behavior.","example":"For an illustrative language-understanding classifier, an engineer uses a bidirectional encoder over complete messages. A separate next-token experiment instead applies a causal mask, preventing access to future tokens. The engineer checks both tasks on short synthetic sequences where information flow is easy to inspect. During autoregressive inference, caching reduces repeated computation, but cached and uncached outputs are compared under controlled settings before the optimization is accepted.","limits":"Attention weights are not automatically faithful explanations or causal contributions. Context size and memory grow with architecture and implementation, and position handling may weaken on lengths unlike training. Incorrect masks can produce excellent but leaked results. Transformer architecture is distinct from a particular pretrained language model and does not imply generation, reasoning or multimodal support by itself. Check information flow and the full input-processing contract, and assess optimized attention or caching under the exact workload rather than relying on architectural labels.","sources":[{"title":"Attention Is All You Need","url":"https://arxiv.org/abs/1706.03762","note":"Multi-head attention, positional encoding and encoder–decoder architecture."}],"updatedAt":"2026-10-23"}},{"id":"reasoning-models","name":"Reasoning Models","category":"Foundation & Multimodal Models","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Reasoning models are language models trained or configured to spend additional computation on intermediate problem solving before producing an answer. The competence is selecting and evaluating that behavior for a task, including latency and verification. Longer generated reasoning is not automatically correct, faithful or preferable to a simpler response.","type":"concept","editorial":{"definition":"The label describes a family of model behaviors and training approaches rather than one architecture. Post-training can encourage multi-step problem solving through supervised examples or reinforcement learning, including tasks with verifiable outcomes. At inference, a model may generate intermediate tokens or use other computation before the final answer, and systems expose that process differently. Visible explanations are outputs, not a complete account of internal computation. Reasoning performance depends on task, evaluation and resource budget. The competence includes distinguishing improved answer quality from convincing-looking deliberation and understanding that an automatically checkable training reward covers only what its verifier actually tests.","practice":"Define tasks where extra computation could improve outcomes and compare a reasoning-oriented model with a simpler baseline under realistic budgets. Evaluate correctness using independent checks where possible, inspect failure cases and measure response latency and output variability. Configure available computation controls deliberately and preserve the evaluation protocol. For tool-assisted tasks, check the actual action and result rather than relying on a reasoning narrative. The deliverable should explain when additional deliberation helps, what it costs and which answers require verification before users act on them.","example":"Suppose, illustratively, a model helps solve programming exercises. An engineer compares answer quality under several allowed computation budgets and runs generated code against withheld tests. A lengthy explanation accompanying failing code is counted as failure. Some simple exercises gain little from extra computation, while difficult cases benefit. The system uses the task evidence to choose a budget and reports verified results separately from the model's explanation of how it reached them.","limits":"Longer reasoning can introduce extra mistakes, consume resources or merely rationalize an incorrect answer. A verifier may be incomplete or exploitable, and benchmark gains may not transfer to open-ended tasks. Visible chain-of-thought is not guaranteed to be faithful or exhaustive. Reasoning models remain language models with factual and distributional limits. Evaluate final outcomes, tool behavior and cost together, and avoid using explanation length or confidence as a substitute for correctness or evidence of a reliable internal process.","sources":[{"title":"DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning","url":"https://arxiv.org/abs/2501.12948","note":"A concrete reasoning-oriented post-training approach and outcome-based evaluation."}],"updatedAt":"2026-10-23"}},{"id":"transfer-learning","name":"Transfer Learning","category":"Deep Learning & Training Paradigms","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Transfer learning reuses knowledge learned on one task or dataset to support another. It can use a fixed representation or adapt some or all model parameters. The skill is deciding what to transfer, how much to update and whether the source representation improves the target task under a fair evaluation.","type":"concept","editorial":{"definition":"A pretrained model contains representations shaped by its source data and objective. A target task can use those representations as features, replace an output head or fine-tune selected layers. The approach can reduce the amount of target-task fitting required, but its usefulness depends on compatibility between source and target. Frozen-feature training and full fine-tuning make different assumptions about what should change. Transfer learning is broader than language-model fine-tuning and appears in vision, audio and other domains. Competence includes recognizing negative transfer, where inherited features or adaptation choices make performance worse than an appropriate target-specific baseline.","practice":"Inspect the pretrained model's input conventions, source task and documented limitations. Establish a frozen-feature baseline before choosing layers to update, set learning rates and regularization accordingly and check target-label quality. Evaluate on target data separated by meaningful sources or time, comparing with simpler or from-scratch alternatives where practical. Save the base revision, preprocessing and adaptation artifacts. The result should explain which parameters were reused or changed and provide evidence that the transfer helps the intended target population rather than only fitting a small development set.","example":"In an illustrative inspection task, an engineer adapts an image encoder to a new material. They first train a small classifier on frozen features, then compare partial fine-tuning. The target images have different lighting and texture from the source data, so validation uses a separate acquisition batch. If deeper adaptation improves training but not the new batch, the engineer returns to a more constrained update and investigates data coverage before increasing capacity.","limits":"Source-task success does not guarantee useful target features. Large domain differences, incompatible preprocessing or small noisy target datasets can cause negative transfer or overfitting. Fine-tuning can forget previous behavior and changes the artifact that must be evaluated. A pretrained checkpoint's license and documentation remain relevant. Transfer learning differs from simply reusing code and from training an entire model from scratch. Compare adaptation choices on the actual target task and preserve enough provenance to reproduce the inherited representation.","sources":[{"title":"Dive into Deep Learning: Fine-Tuning","url":"https://d2l.ai/chapter_computer-vision/fine-tuning.html","note":"Frozen representations, adaptation and target-task transfer."}],"updatedAt":"2026-10-23"}},{"id":"long-context-modeling","name":"Long-Context Modeling","category":"Foundation & Multimodal Models","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Long-context modeling designs and evaluates systems that process extended sequences. It involves position handling, attention or alternative memory mechanisms and careful management of input information. The skill is verifying whether the model uses relevant distant evidence reliably, rather than treating a large advertised context limit as equivalent to accurate understanding of everything supplied.","type":"concept","editorial":{"definition":"A context window defines the input and generation capacity of a particular model and runtime, but useful handling of long sequences also depends on training and architecture. Position encodings, including rotary methods and scaling variants, influence extrapolation beyond familiar lengths. Attention implementations, caching and sequence distribution affect memory and computation. Systems may combine retrieval, summarization or recurrent state with long inputs, each changing what information survives. Competence includes separating technical acceptance of a long sequence from task performance within it. A model can accept the tokens yet miss relevant details, confuse sources or use evidence unevenly across positions.","practice":"Define the maximum relevant input and the kinds of dependencies the task needs. Check tokenizer, position configuration and runtime support, then evaluate at several lengths with evidence placed in different locations. Measure memory, latency and answer quality together. Compare supplying the full context with selecting relevant passages, and test conflicting or repeated material. The deliverable should document truncation, position and context-assembly choices, with evidence about retrieval and synthesis of distant information rather than a single test that merely fits within the configured limit. Measure effective context length on the intended tasks using a declared quality threshold. Vary evidence position, distractor volume and required cross-document reasoning at several input lengths; report a quality curve rather than treating the advertised context window as a guarantee.","example":"Suppose, illustratively, an assistant reviews a long equipment manual. The evaluator asks questions requiring details from the beginning, middle and end, including a later amendment that overrides an earlier instruction. They compare full-context input with a retrieval-assisted version and inspect source citations. A configuration that accepts the entire manual but cites the obsolete passage is not treated as successful. Resource use is reported alongside these evidence-use results.","limits":"Context length is not a guarantee of reliable recall, reasoning or source precedence. Position-scaling settings must match the architecture and can change quality. Large inputs increase resource use, while summarization or retrieval may omit important detail. Tests with one planted fact do not represent every long-document task. Long-context modeling differs from RAG, though the two can be combined. Evaluate multiple evidence positions, conflicts and realistic workloads, and inspect whether truncation or preprocessing silently removed the material the model was expected to use.","sources":[{"title":"Hugging Face Transformers: Rotary embeddings utilities","url":"https://huggingface.co/docs/transformers/main/en/internal/rope_utils","note":"Rotary position configurations and scaling variants."},{"title":"Hugging Face: Transformers","url":"https://huggingface.co/docs/transformers/index","note":"Model configuration, generation and runtime context."},{"title":"RULER","url":"https://arxiv.org/abs/2404.06654","note":"Evidence for the added evaluation or serving practice."}],"updatedAt":"2026-10-23"}},{"id":"litert-tensorflow-lite","name":"LiteRT (TensorFlow Lite)","category":"Efficient, Edge & Compressed Models","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"LiteRT is an on-device inference framework built on the TensorFlow Lite ecosystem. The competence includes converting supported models, preserving input conventions and choosing suitable runtime and acceleration paths. Reliable use requires checking the converted artifact's behavior and performance on the actual device, rather than assuming that successful conversion guarantees efficient or equivalent inference.","type":"tool","editorial":{"definition":"A LiteRT deployment packages a model in a runtime-compatible representation and executes supported operations on a device. Conversion, optimization and acceleration connect training frameworks to mobile, embedded or other supported environments. Quantization can reduce resource requirements, while runtime APIs and accelerator support depend on the model and platform. The historical TensorFlow Lite name remains relevant to artifacts and integrations, but current tooling should be checked explicitly. Competence includes understanding operator compatibility and input signatures, because conversion can change precision or require operations whose available execution path differs from the intended accelerator configuration.","practice":"Inspect model operators and input shapes, select a documented conversion path and create representative calibration data if quantization requires it. Compare outputs with the original model on normal and difficult examples. Integrate preprocessing and postprocessing consistently, then profile startup, sustained latency and memory on the target device. Verify which operations are accelerated and test fallback behavior. The deliverable includes the converted model and application contract, with evidence about quality and device resource use rather than only the size of the exported file.","example":"For an illustrative camera app, an engineer converts a classifier to LiteRT and tests it on a phone. They verify image resizing and channel normalization and compare predictions with the source model. Integer quantization lowers resource use but changes some low-confidence classifications, so the team evaluates those cases before release. Device profiling includes camera capture and result rendering, revealing whether the complete experience meets the response requirement.","limits":"Not every source operation or dynamic shape is supported identically, and accelerator fallback can alter performance. Calibration data may poorly represent real inputs, causing quantization errors. A smaller artifact can still have substantial activation or application memory needs. Platform and API differences require compatibility checks. LiteRT is a runtime and conversion ecosystem, not a neural architecture or universal speed guarantee. Evaluate the actual packaged pipeline and device, preserving versions and input conventions for reproducibility.","sources":[{"title":"Google: LiteRT","url":"https://developers.google.com/edge/litert","note":"On-device runtime, conversion, optimization and hardware acceleration."}],"updatedAt":"2026-10-23"}},{"id":"nvidia-jetson","name":"NVIDIA Jetson","category":"Efficient, Edge & Compressed Models","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"NVIDIA Jetson is an embedded computing platform used for local accelerated inference and related workloads. The skill includes deploying a complete model pipeline on a supported device and software stack. Practitioners balance latency, memory, power and sustained behavior, with measurements on the actual system rather than conclusions drawn only from hardware specifications.","type":"tool","editorial":{"definition":"A Jetson system combines embedded hardware with a software environment for accelerated computation and device integration. Applications may connect cameras or other sensors, preprocess inputs, execute a model and act on results. The exact capabilities depend on the module, runtime and installed software. Model conversion and acceleration tools can optimize compatible operations, while unsupported paths or transfer overhead can limit benefit. Jetson is a platform rather than a model architecture; choosing it does not determine the neural network or guarantee that an application is real-time. Competence includes understanding the interaction among model, runtime, sensor pipeline and device operating conditions.","practice":"Identify the target module and supported software versions, prepare a reproducible environment and verify device and sensor access. Profile preprocessing, inference and postprocessing separately and end to end. Compare precision or conversion options with task-quality checks, and measure sustained behavior under realistic power and thermal settings. Design startup, fault handling and model-update rollback. The deliverable is a tested application package with resource and compatibility records, allowing another engineer to reproduce the deployment and understand where performance depends on a particular hardware or software configuration.","example":"In an illustrative inspection station, a Jetson device receives camera frames and classifies visible defects. The engineer finds that image copying and preprocessing dominate latency more than model execution. They revise the pipeline and compare results under continuous operation, checking heat and dropped frames. The selected model is tested on the same camera and lighting conditions used at the station. A desktop benchmark is retained only as development context, not as the deployment performance result.","limits":"Different Jetson modules and software stacks are not interchangeable. Thermal throttling, power modes and shared workloads affect sustained performance. Model conversion can alter quality, and sensor buffering can add delay outside the model call. A working demo does not establish recovery behavior or maintainability. Jetson differs from the broader Edge AI competence and from a specific acceleration runtime. Measure complete workloads and document configurations rather than presenting nominal compute capacity as evidence that operational response requirements are met.","sources":[{"title":"NVIDIA: Jetson Orin Nano Quick Start","url":"https://docs.nvidia.com/jetson/orin-nano-devkit/user-guide/latest/quick_start.html","note":"Concrete device setup and Jetson software deployment context."}],"updatedAt":"2026-10-23"}},{"id":"large-language-models","name":"Large Language Models","category":"Foundation & Multimodal Models","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Large language models learn statistical patterns in language and can generate or transform text under a supplied context. The competence is understanding their capabilities and limits, choosing a model and designing evaluation for a task. It includes grounding, decoding and integration decisions rather than assuming fluent output establishes factual accuracy or reliable reasoning.","type":"concept","editorial":{"definition":"Language models assign probabilities to token sequences, with modern systems commonly using large neural architectures and extensive pretraining. Some models are encoders suited to representation tasks, while generative decoders produce continuations autoregressively. Post-training and input formatting shape how a model follows instructions. A model's context contains supplied information but is not the same as durable knowledge in parameters. Generation combines the learned distribution with a decoding procedure, so outputs can vary with sampling settings. Competence includes distinguishing the base model, adapted checkpoint and surrounding application, because retrieval, tools and safeguards add behavior not explained by the model alone.","practice":"Define the task and available evidence, compare candidate models on representative examples and inspect difficult cases. Preserve tokenizer, chat formatting and checkpoint revisions, and configure generation settings deliberately. Assess factuality, instruction following, latency and resource use separately. If retrieval or tools are added, evaluate those components and the resulting answer path. The deliverable should describe the selected model's input contract and measured task behavior, including uncertainty handling and conditions for human review, rather than relying on model size or a general benchmark as the deployment argument.","example":"Suppose, illustratively, a team uses a language model to draft answers from product manuals. The evaluator checks whether claims are supported by supplied passages, tests questions whose answer is absent and compares concise and verbose decoding settings. A fluent unsupported answer is counted as a failure. The final system records the checkpoint and context-assembly rules and separates the model's language ability from the retrieval and permission controls needed for the application.","limits":"Models can hallucinate, reproduce biases and remain confident on unfamiliar inputs. Context and tokenization limits constrain what they receive, while generation settings influence consistency. Larger parameter counts do not establish task suitability. A visible explanation does not guarantee faithful reasoning or correct conclusions. LLMs are a model family rather than a complete assistant or knowledge source. Evaluate the exact checkpoint and surrounding workflow, and verify consequential factual claims through appropriate evidence instead of treating language fluency as authority.","sources":[{"title":"Hugging Face: LLM Course introduction","url":"https://huggingface.co/learn/llm-course/chapter1/1","note":"Language-model tasks, representations and application workflow."},{"title":"Hugging Face: Transformers","url":"https://huggingface.co/docs/transformers/index","note":"Model, preprocessor and generation interfaces."}],"updatedAt":"2026-10-23"}},{"id":"generative-adversarial-networks-gan","name":"Generative Adversarial Networks (GAN)","category":"Generative Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Generative adversarial networks train a generator and discriminator through competing objectives. The generator learns to produce samples that the discriminator has difficulty distinguishing from training data. The skill includes balancing the training dynamics, evaluating sample diversity and fidelity and recognizing that realistic-looking outputs do not establish coverage of the underlying data distribution.","type":"concept","editorial":{"definition":"A GAN's generator maps a source of variation, often random latent inputs, into generated examples. A discriminator learns to distinguish generated examples from observed data, and its feedback shapes generator updates. Conditional variants incorporate labels or other guidance. The two components change together, creating optimization dynamics unlike a single fixed supervised objective. A generator can produce convincing samples while ignoring parts of the distribution, a failure often described as mode collapse. Competence includes understanding the objective variant and architecture rather than treating every adversarial method as equivalent. A discriminator score is part of the training game, not automatically a reliable external quality metric.","practice":"Choose a data representation and objective suited to the generation task, and verify the update sequence for generator and discriminator. Monitor training dynamics and sample diversity across latent inputs, comparing multiple runs where feasible. Evaluate held-out fidelity and coverage with appropriate quantitative measures and human inspection. Record conditioning and sampling procedures. The deliverable is a reproducible generator with evidence about its output distribution and failure modes, including whether apparent quality comes from broad learning or a narrow set of repeated patterns.","example":"In an illustrative texture-generation project, an engineer trains a conditional GAN for several material types. The discriminator improves quickly while generator outputs become repetitive. The engineer examines loss behavior and samples across many latent inputs, then revises training balance and regularization. Evaluation includes both visual realism and whether the material variations present in held-out data are represented. Attractive selected textures alone are insufficient to judge the model.","limits":"Adversarial training can be unstable and sensitive to architecture and optimization choices. Mode collapse, memorization and artifacts may not be obvious in a few selected samples. Quality metrics have their own representation assumptions and should not be read as universal perceptual scores. GANs differ from diffusion models and variational autoencoders in objective and sampling behavior. Evaluate diversity, fidelity and training reproducibility separately, and avoid claims that a convincing discriminator or image proves complete distributional learning.","sources":[{"title":"Generative Adversarial Networks","url":"https://arxiv.org/abs/1406.2661","note":"Generator–discriminator objective and adversarial learning formulation."}],"updatedAt":"2026-10-23"}},{"id":"generative-architectures","name":"Generative Architectures","category":"Generative Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Generative architectures learn to produce data samples or structured outputs rather than only predict a label. The competence includes understanding how an architecture represents a distribution and how outputs are conditioned and sampled. It supports choosing among autoregressive, variational, adversarial and diffusion approaches according to task, control and evaluation requirements.","type":"concept","editorial":{"definition":"Autoregressive models factor a sequence into conditional predictions, variational autoencoders learn a latent probabilistic representation, GANs learn through adversarial feedback and diffusion approaches learn a reverse process related to corruption. These families use different objectives and sampling procedures, with distinct tradeoffs in likelihood interpretation, latent structure and computational cost. Some operate directly on observations, while others generate through compressed representations. The same output modality can be handled by several families, and hybrid systems combine components. Competence means linking a distributional objective to the generated artifact, rather than calling every system that produces text or images the same kind of generative model.","practice":"Define what should be generated, which conditioning is available and how fidelity, diversity and control will be assessed. Compare architectures using compatible task evidence and resource budgets, not unrelated headline scores. Inspect the training objective, sampling path and input representation, and evaluate both typical and difficult conditions. The deliverable should justify the selected family and configuration, with a reproducible sampling procedure and checks for memorization, unwanted artifacts or poor coverage that a few attractive outputs would not reveal.","example":"Suppose, illustratively, a team needs synthetic sensor sequences for testing software. They compare an autoregressive model with a latent generative approach, checking temporal relationships, operating ranges and diversity. A candidate that produces plausible individual readings but impossible transitions is rejected. The evaluation is tied to the test purpose, and generated data are labeled as synthetic. The architecture decision follows those requirements rather than assuming that success in image generation transfers to sensor dynamics.","limits":"No architecture guarantees useful synthetic data or factual output. Training objectives measure different quantities, making cross-family scores difficult to compare. Latent compression can lose detail, autoregressive errors can accumulate and adversarial or diffusion sampling has its own failure modes. Generated data can reproduce biases or sensitive patterns from training. Generative architecture is an umbrella concept, distinct from a particular checkpoint or tool. Evaluate application-specific validity, diversity and resource cost rather than judging the family by selected demonstrations.","sources":[{"title":"Auto-Encoding Variational Bayes","url":"https://arxiv.org/abs/1312.6114","note":"Latent-variable generative modeling and variational training."},{"title":"Generative Adversarial Networks","url":"https://arxiv.org/abs/1406.2661","note":"Adversarial generation objective."},{"title":"Denoising Diffusion Probabilistic Models","url":"https://arxiv.org/abs/2006.11239","note":"Diffusion-based generation formulation."}],"updatedAt":"2026-10-23"}},{"id":"hugging-face-diffusers","name":"Hugging Face Diffusers","category":"Generative Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Hugging Face Diffusers is a library for constructing and running supported diffusion and related generative pipelines. It organizes models, schedulers and conditioning components in code. The skill includes selecting compatible components, controlling generation settings and validating outputs and resource use, rather than treating a pipeline invocation as a complete reproducible workflow.","type":"tool","editorial":{"definition":"A Diffusers pipeline combines the modules required for a generation or editing task, such as a text encoder, generative network, scheduler and decoder. Components can be loaded from pretrained artifacts and configured through documented APIs. Schedulers determine aspects of sampling, while adapters or additional conditioning can modify control where supported. The library covers multiple tasks and model families, each with its own input and compatibility requirements. Diffusers is an implementation framework rather than a synonym for diffusion theory or one model such as Stable Diffusion. Competence includes understanding which components a pipeline actually uses and how their configuration affects the produced media.","practice":"Choose a pipeline for the task and checkpoint, pin revisions and inspect its expected inputs. Confirm scheduler and adapter compatibility, manage precision and device placement and record seeds and generation parameters. Compare outputs across representative prompts or inputs and profile memory and runtime before applying optimization settings. Preserve the configuration and required artifacts for reopening the workflow. The deliverable should be executable code with task-quality checks and a clear component record, so changes in a scheduler or checkpoint can be assessed rather than silently altering generation.","example":"For an illustrative image-editing service, an engineer loads a pipeline supporting a source image and mask. They compare several strengths and guidance settings, checking whether unmasked content remains acceptable. A memory optimization is tested on the target accelerator and evaluated for output differences. The saved workflow includes the checkpoint revision, mask preprocessing and scheduler settings, enabling another engineer to reproduce the service's behavior rather than only rerun a similar prompt.","limits":"Pipeline classes and checkpoints are not freely interchangeable. Adapters, schedulers and precision settings can have model-specific constraints. Fixed seeds do not guarantee identical outputs across every device and version. Optimization settings should be measured, not assumed to improve every workload. Diffusers differs from a graph interface such as ComfyUI and from the underlying model family. Evaluate complete generation or editing behavior, including preprocessing and postprocessing, and preserve exact dependencies when reproducibility matters.","sources":[{"title":"Hugging Face: Diffusers","url":"https://huggingface.co/docs/diffusers/index","note":"Pipelines, models, schedulers and supported generative tasks."}],"updatedAt":"2026-10-23"}},{"id":"image-generation","name":"Image Generation","category":"Generative Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Image generation produces visual outputs from learned models and optional conditioning such as text, reference images or masks. The competence includes specifying visual constraints, choosing a workflow and reviewing fidelity and consistency. It combines generation with evaluation and iteration, because an attractive image can still fail the intended composition, identity or editing requirements.","type":"concept","editorial":{"definition":"A generative pipeline transforms random or structured inputs into an image, often through a sequence of sampling steps in pixel or latent space. Text conditioning describes content, while image, mask or structural conditioning can supply more direct control where supported. Guidance and sampling settings influence the relationship between conditioning and output. Text-to-image, image-to-image and inpainting solve different tasks and impose different contracts on inputs. The competence is broader than writing a prompt: it includes understanding which controls the model supports, how preprocessing affects them and whether the output preserves or invents details relevant to the intended visual use.","practice":"Translate the brief into observable requirements such as objects, layout, identity and untouched regions. Choose an appropriate generation or editing pipeline, prepare references and masks and keep a record of settings. Compare multiple outputs against the requirements and inspect details at the resolution needed for use. Iterate by changing a specific control rather than adding vague instructions. The deliverable is a reviewed asset and reproducible workflow, with any postprocessing documented so users can distinguish deliberate edits from uncontrolled model variation.","example":"In an illustrative catalog mockup, a designer supplies a product reference and requests a new background. They use an editing workflow and mask, then check product proportions, labels and edges. A visually pleasing result that changes the product's controls is rejected. Iteration focuses on the edit strength and mask boundary, and the final image is checked at export size. The chosen asset is justified by fidelity to the brief, not by the most dramatic appearance.","limits":"Models may distort text, geometry or identity and can introduce details absent from a reference. Strong conditioning is not a guarantee of exact preservation. Selected samples hide failure rates, and a seed alone does not capture the workflow. Generated images should not be treated as documentary evidence. Image generation differs from faithful image reconstruction or conventional retouching, though workflows can combine them. Evaluate the asset's intended use and constraints directly instead of relying on prompt adherence or aesthetic appeal alone.","sources":[{"title":"Hugging Face Diffusers: Text-to-image","url":"https://huggingface.co/docs/diffusers/using-diffusers/conditional_image_generation","note":"Conditioned sampling, pipeline inputs and generation settings."}],"updatedAt":"2026-10-23"}},{"id":"stable-diffusion","name":"Stable Diffusion","category":"Generative Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Stable Diffusion is a family of generative image models associated with latent-space diffusion workflows. The competence includes selecting a specific checkpoint, matching its conditioning and runtime and evaluating generation or editing behavior. Model versions and derivatives differ, so the family name alone does not establish compatibility, licensing or output quality.","type":"tool","editorial":{"definition":"The original latent-diffusion approach compresses images with an autoencoder and performs the generative process in that representation. A conditioning mechanism can connect text to generation, while decoding converts latent outputs back to images. Stable Diffusion checkpoints and subsequent variants package particular architectures, weights and input conventions. Sampling, guidance and optional adapters influence output but must be compatible with the selected model. The family should not be treated as one immutable implementation or as all diffusion models. Competence includes understanding the checkpoint's components and the distinction between adapting weights, adding conditioning and changing inference settings.","practice":"Inspect the checkpoint documentation and permitted use, choose a compatible pipeline and preserve the matching encoders and decoder. Establish prompt and editing tests, tune sampling settings deliberately and verify adapters or structural controls. Measure resource use and compare difficult cases such as fine text, composition and reference fidelity. Record revisions and workflow dependencies. The deliverable should specify the exact model and execution path, with reviewed outputs showing where it satisfies the task and where an alternative workflow or manual correction is required.","example":"Suppose, illustratively, a designer uses a Stable Diffusion checkpoint for packaging concepts. They first test the model's normal conditioning, then add a compatible adapter for a visual style. Generated text on the package is reviewed separately and may be replaced through conventional layout tools. The workflow stores the checkpoint and adapter versions. A later model-family change triggers a new evaluation rather than assuming that the old settings and components remain compatible.","limits":"Latent compression can lose small details, and generation may distort text, shapes or identities. Checkpoint derivatives can change architecture, behavior and license conditions. Guidance and adapters can trade fidelity against diversity or introduce artifacts. A local model is not automatically private if surrounding services or logs transmit inputs. Stable Diffusion differs from the general diffusion method and from a tool such as ComfyUI. Test the selected artifact and complete workflow instead of relying on the family name as a quality or compatibility guarantee.","sources":[{"title":"High-Resolution Image Synthesis with Latent Diffusion Models","url":"https://arxiv.org/abs/2112.10752","note":"Latent-space generation and conditioning architecture."},{"title":"CompVis: Stable Diffusion repository","url":"https://github.com/CompVis/stable-diffusion","note":"Original model implementation, artifacts and use documentation."}],"updatedAt":"2026-10-23"}},{"id":"pytorch-geometric","name":"PyTorch Geometric","category":"Graph Neural Networks","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"PyTorch Geometric is a library for graph learning built around graph data structures and neural operations in the PyTorch ecosystem. The skill includes constructing graph tensors, batching and sampling correctly and applying suitable message-passing models. The graph representation and split design remain central to validity even when the library makes model construction convenient.","type":"tool","editorial":{"definition":"PyG represents node features, edges and related attributes in data objects that can be processed by graph-specific layers and loaders. Its message-passing abstractions support building networks that aggregate information across neighborhoods. Batching may combine independent graphs, while sampling can limit computation for a large graph. Tasks include node, edge and graph prediction with different target shapes and evaluation boundaries. PyTorch Geometric is a toolkit rather than a single GNN architecture. Competence includes understanding how edge indices, directed relationships and batch assignments encode the intended graph, because a valid tensor can silently describe a different connectivity pattern.","practice":"Build a small graph with known connections and verify edge orientation, indices and feature alignment before training. Choose layers and aggregation suited to the task, configure batching or neighborhood sampling and check how labels map to outputs. Separate graphs, entities or times according to intended use and compare a non-graph baseline. Profile memory and sampled coverage. The deliverable includes reproducible graph construction and model code, with checks showing that batched or sampled execution preserves the meaning of relationships and does not leak evaluation information through graph preprocessing.","example":"For an illustrative molecular classifier, an engineer represents atoms as nodes and bonds as edges. They inspect a small molecule's tensors and check that batching keeps graphs separate while pooling returns one prediction per molecule. A dataset split groups related molecular scaffolds to test a harder generalization boundary. If random splitting produces much better results, the difference is explained through the evaluation design rather than attributed solely to the chosen PyG layer.","limits":"Incorrect edge indexing or direction can execute while changing the task. Neighbor sampling may omit relevant context and introduce variability. Extensions and accelerator dependencies require compatible installations. Graph leakage is possible even when labels are masked, particularly through target-derived edges or global preprocessing. PyG differs from the general GNN competence and from a graph database. Validate representation and splits directly, and avoid treating a library's benchmark loader or default example as a deployment-ready evaluation protocol.","sources":[{"title":"PyTorch Geometric: Introduction by Example","url":"https://pytorch-geometric.readthedocs.io/en/latest/get_started/introduction.html","note":"Graph tensors, data objects, message passing and prediction workflow."}],"updatedAt":"2026-10-23"}},{"id":"model-pruning","name":"Model Pruning","category":"Efficient, Edge & Compressed Models","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Model pruning removes or masks selected parameters or structures to reduce a model's effective complexity. The skill includes choosing what to prune, assessing quality loss and verifying whether the target runtime benefits. Sparse weights do not automatically make a model faster or smaller in its deployed representation.","type":"concept","editorial":{"definition":"Unstructured pruning removes individual weights, while structured pruning removes units such as channels or other blocks. Selection can use magnitude or another importance criterion, and subsequent fine-tuning may recover some lost quality. A mask can leave the original dense tensor shape unchanged, so storage and execution savings depend on representation and kernel support. Pruning changes model structure or effective connectivity and should be distinguished from quantization, which changes numeric precision, and distillation, which trains another model. Competence includes linking the pruning method to the actual runtime rather than treating a sparsity percentage as a complete measure of compression or efficiency.","practice":"Establish a quality and latency baseline on the target workload. Choose structured or unstructured pruning based on supported execution paths, apply it incrementally and inspect which layers are sensitive. If fine-tuning follows, preserve the same evaluation boundary and check important slices for regressions. Export the intended representation and profile the deployed artifact, including load time and memory. The deliverable should report quality and measured resource changes together, making clear whether savings arise from reduced tensors, sparse storage or specialized execution rather than from masked zeros alone.","example":"In an illustrative image classifier, an engineer prunes low-magnitude weights and observes little change in accuracy. The dense runtime, however, still executes the same tensor operations, so latency barely changes. The engineer then evaluates a structured channel reduction with appropriate fine-tuning and export. Performance is measured on the device used by the application. This separates a successful weight-removal experiment from an actual improvement in deployed resource use.","limits":"Pruning can damage rare behaviors or layers whose importance is not captured by a simple criterion. Fine-tuning may overfit or fail to recover quality. Sparse formats and kernels have hardware-dependent overhead, and masks can retain dense storage. A headline sparsity value does not establish speedup. Pruning differs from quantization and distillation, although methods can be combined. Evaluate the final artifact's task quality and execution path rather than equating removed weights with equivalent reductions in cost.","sources":[{"title":"PyTorch: Pruning Tutorial","url":"https://docs.pytorch.org/tutorials/intermediate/pruning_tutorial.html","note":"Masks, structured and unstructured pruning and model representation."}],"updatedAt":"2026-10-23"}},{"id":"autoencoders","name":"Autoencoders","category":"Neural Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Autoencoders learn an encoder–decoder mapping that reconstructs data through an internal representation. They support representation learning, denoising and compression. The skill is designing a bottleneck or constraint that encourages useful structure and evaluating reconstruction and downstream behavior, because copying inputs accurately does not automatically produce a meaningful or generative representation.","type":"concept","editorial":{"definition":"An encoder transforms an input into a code and a decoder attempts to reconstruct the intended output from that code. A bottleneck, sparsity constraint or other regularization prevents a trivial unconstrained copy from being the only objective. Denoising autoencoders reconstruct clean targets from corrupted inputs. Variational autoencoders introduce a probabilistic latent formulation and a different training objective, enabling principled sampling under that model. Ordinary deterministic autoencoders do not automatically provide such a generative distribution. Competence includes understanding how reconstruction loss, latent capacity and constraints shape the representation, and what information is lost or retained for the intended use.","practice":"Define whether the goal is compression, denoising or feature learning and choose input and reconstruction targets accordingly. Set latent capacity and loss with attention to data scale, then compare held-out reconstructions and task-relevant downstream behavior. Inspect failures on rare structures and test sensitivity to corruption or domain change. Preserve encoder, decoder and preprocessing together. The deliverable should explain the representation's purpose and limitations, distinguishing low average reconstruction error from preservation of small but important features or useful separation for another task.","example":"For an illustrative inspection workflow, an engineer trains a denoising autoencoder on sensor patterns with simulated noise. Clean readings are the reconstruction target. Average error is low, but a small transient warning pattern is smoothed away, so the engineer adds task-specific checks and adjusts the objective or capacity. If reconstruction error is used as an anomaly score, that detector is evaluated separately on reviewed cases rather than assuming that every poorly reconstructed event is a defect.","limits":"A large unconstrained model can learn near-identity behavior without useful compression. Reconstruction losses can favor common patterns and erase rare details. Anomaly scoring depends on what the model learned to reconstruct and is not automatically reliable. Deterministic and variational autoencoders have different assumptions about latent sampling. Autoencoders also differ from PCA's linear variance objective. Evaluate the actual representation and downstream purpose, and avoid treating visually good reconstructions as evidence of complete or interpretable latent structure.","sources":[{"title":"Keras: Convolutional autoencoder for image denoising","url":"https://keras.io/examples/vision/autoencoder/","note":"Encoder–decoder reconstruction and denoising workflow."},{"title":"Auto-Encoding Variational Bayes","url":"https://arxiv.org/abs/1312.6114","note":"Probabilistic latent-variable formulation distinct from deterministic reconstruction."}],"updatedAt":"2026-10-23"}},{"id":"contrastive-learning","name":"Contrastive Learning","category":"Deep Learning & Training Paradigms","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Contrastive learning trains representations by distinguishing related examples from alternatives under a chosen similarity objective. It can use paired views, labels or other relationships. The skill is defining valid positives and negatives and evaluating the learned representation, because a successful contrastive loss may encode augmentation shortcuts or unwanted distinctions rather than the intended semantics.","type":"concept","editorial":{"definition":"A contrastive objective encourages representations of designated positive pairs to be similar relative to negative examples or another comparison set. In self-supervised visual learning, different augmentations of one image can be positives; in cross-modal learning, paired text and images can define correspondence. The representation and projection head serve different roles, and temperature or sampling choices affect optimization. Positive and negative definitions impose assumptions about what should be invariant and what should remain distinct. Contrastive learning is one representation-learning approach, not a synonym for all self-supervision, and its usefulness must be assessed on a task beyond the training comparison itself.","practice":"Specify the relation that makes a pair positive and check whether augmentations preserve task-relevant information. Design sampling to avoid treating genuinely related examples as negatives without consideration. Monitor training and compare representations through a held-out downstream task, retrieval assessment or other relevant use. Inspect shortcut features and performance across input conditions. The deliverable should preserve encoder and preprocessing and explain the pairing scheme, with evidence that the learned similarity serves the application rather than simply identifying which observations came from the same training source.","example":"In an illustrative visual-search project, an engineer learns embeddings from two augmented views of each product image. Crops that remove the distinguishing product part are found to create misleading positives, so augmentation is revised. Retrieval tests use different photographs of the same products and similar competing products. The evaluator inspects whether embeddings capture product identity or merely background color, and compares a pretrained representation before accepting the contrastive training workflow.","limits":"False negatives, inappropriate augmentations and biased pair construction can shape the wrong representation. Batch composition and comparison scale influence the objective. Low training loss does not establish semantic quality, calibration or robustness. Invariance can remove information that a later task needs. Contrastive learning differs from reconstruction-based autoencoding and from supervised classification, though their objectives can be combined. Evaluate real downstream behavior and difficult related examples rather than inferring usefulness solely from separation achieved during training.","sources":[{"title":"A Simple Framework for Contrastive Learning of Visual Representations","url":"https://arxiv.org/abs/2002.05709","note":"Augmented positive pairs, contrastive objectives and representation evaluation."}],"updatedAt":"2026-10-23"}},{"id":"model-training","name":"Model Training","category":"Deep Learning & Training Paradigms","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Model training estimates parameters by applying a learning objective to data and updating the model. The competence includes the complete fitting loop, validation and reproducible artifact creation. It means knowing what is optimized, how data reach the objective and when to stop, rather than equating a falling training loss with a successful model.","type":"concept","editorial":{"definition":"A training loop prepares a batch, computes predictions and loss, obtains gradients or another update signal and changes parameters through an optimizer. Schedules, regularization and precision affect the process, while validation assesses behavior outside the examples used for updates. Different objectives require different target and masking conventions. State includes parameters, optimizer variables and sometimes data-order or random-number information. Model training is an implementation and experimental competence spanning many architectures. It is distinct from model selection, which compares alternatives, and from inference, which uses the resulting parameters without the same update process.","practice":"Verify input shapes, target alignment and loss reduction on a small case, then establish whether the model can fit a simple controlled example. Track training and validation behavior, gradients and nonfinite values. Configure update frequency, schedules and checkpoints deliberately, recording the data split and settings. Choose a stopping rule from development evidence and test reloadability. The deliverable is a reproducible trained artifact and experimental record, with enough information to understand why the chosen checkpoint was retained and whether a later run follows the same data and optimization procedure.","example":"Suppose, illustratively, an engineer trains a sequence classifier. A tiny-batch check reveals that padded positions contribute to the loss, so masking is corrected before a larger run. Validation loss improves and then deteriorates while training loss continues falling. The engineer retains an earlier checkpoint and tests it in a fresh inference process. The final report records the stopping choice and data boundary, separating model quality from the mere completion of all planned epochs.","limits":"A loop can execute while using the wrong targets, reductions or gradient state. Training scores can hide overfitting or leakage. Precision and distributed settings can change numerical behavior, and restarting without optimizer state changes the continuation procedure. A checkpoint alone may omit preprocessing and architecture. Training differs from fine-tuning only in context and scope of reused parameters, not in the need for careful verification. Inspect the objective and evaluation boundary before increasing epochs or compute to address poor results.","sources":[{"title":"PyTorch: Optimizing Model Parameters","url":"https://docs.pytorch.org/tutorials/beginner/basics/optimization_tutorial.html","note":"Losses, gradient updates, optimizers and training/testing loops."}],"updatedAt":"2026-10-23"}},{"id":"resnet","name":"ResNet","category":"Neural Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"ResNet is a convolutional-network family using residual connections so blocks learn changes to a shortcut representation. The skill includes selecting a variant, adapting its task head and understanding how residual paths affect training and feature dimensions. Reliable use also requires matching preprocessing and evaluating the adapted model on relevant image conditions.","type":"concept","aliases":["ResNets"],"editorial":{"definition":"A residual block combines a learned transformation with a shortcut path, commonly expressed as a correction added to an input representation. Identity shortcuts are possible when shapes match; projections can align dimensions when they change. This architecture helps optimization of deeper networks, but does not remove the need for a suitable objective and data. ResNet variants differ in block type, depth and implementation details. A pretrained network can supply image features or be fine-tuned for another task. Competence includes understanding the residual operation and checkpoint conventions rather than treating every network with skip connections as the same ResNet model.","practice":"Choose the model variant and pretrained weights from task and resource requirements, then preserve the documented input normalization and resolution assumptions. Decide whether to freeze the backbone or fine-tune selected layers, replacing the output head consistently. Inspect batch-normalization behavior and train/evaluation modes. Compare adaptation choices on held-out acquisition conditions and measure inference cost. The deliverable should specify the exact weights and architecture with a reproducible preprocessing path, making clear whether observed quality comes from fixed features or additional target-task training.","example":"For an illustrative material classifier, an engineer starts with a pretrained ResNet backbone and trains a new output head. They compare frozen features with partial fine-tuning and check images from a second camera. A custom residual block changes channel count, so its shortcut includes a compatible projection. Before packaging, the engineer verifies inference mode and image normalization in a fresh process, preventing adaptation and serving differences from masquerading as model limitations.","limits":"Residual connections improve optimization structure but do not guarantee generalization or immunity to vanishing gradients in every design. Pretrained features can transfer poorly to a new domain. Incorrect shortcut shapes, normalization behavior or preprocessing can undermine results. A deeper variant can add cost without useful task improvement. ResNet differs from EfficientNet's scaling family and from the broad CNN category. Validate the exact adapted artifact and input conditions rather than using depth or a familiar architecture name as evidence of suitability.","sources":[{"title":"Deep Residual Learning for Image Recognition","url":"https://arxiv.org/abs/1512.03385","note":"Residual blocks, shortcut connections and deep-network formulation."},{"title":"PyTorch Vision: ResNet","url":"https://docs.pytorch.org/vision/stable/models/resnet.html","note":"Model variants, pretrained weights and implementation interfaces."}],"updatedAt":"2026-10-23"}},{"id":"efficientnet","name":"EfficientNet","category":"Neural Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"EfficientNet is a convolutional-network family built around coordinated scaling of depth, width and input resolution. The competence includes choosing a variant that fits task and resource needs and adapting it correctly. The scaling idea informs model selection, but practical efficiency and quality must be measured on the chosen checkpoint and deployment workload.","type":"concept","aliases":["EfficientNets"],"editorial":{"definition":"The original EfficientNet work studies how increasing network depth, channel width and image resolution together can provide a balanced scaling strategy. Its family builds on a baseline architecture and compound scaling coefficients rather than treating each dimension independently. Different variants have different resource requirements, and later families may change the architecture or training recipe. A pretrained model supplies features and documented preprocessing conventions. Competence includes distinguishing the original scaling principle from a universal performance guarantee, and understanding that resolution affects both computation and whether small task-relevant image details remain visible to the network.","practice":"Select a documented variant and weight set, preserve its preprocessing and compare candidate input resolutions on the intended task. Decide which layers to adapt and evaluate validation behavior under separate image sources or periods. Measure memory and latency on the target hardware rather than assuming the variant ordering predicts all runtime differences. Inspect small-feature and low-quality-image errors. The deliverable should record variant, weights, resolution and adaptation settings with quality and resource evidence, explaining why the selected point on the tradeoff is suitable for the application.","example":"In an illustrative defect-inspection project, an engineer compares two EfficientNet variants. The smaller model meets a device memory limit but misses fine defects after resizing, while the larger input preserves them at greater cost. The engineer evaluates both on the same acquisition batch and measures complete inference latency. A resolution or crop change is considered before selecting the final variant, so the decision reflects actual defect visibility rather than a generic label of efficiency.","limits":"Published efficiency comparisons depend on training, hardware and benchmark conditions. Larger variants can overfit limited target data or exceed memory budgets. Preprocessing mismatches can substantially change transferred behavior. The original EfficientNet family and later variants should not be treated as identical architectures. EfficientNet differs from ResNet's residual-network family, though both are CNNs. Compare the exact artifacts under a consistent task and deployment protocol, and avoid inferring quality or latency solely from model size or the family name.","sources":[{"title":"EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks","url":"https://arxiv.org/abs/1905.11946","note":"Compound scaling across network depth, width and resolution."},{"title":"PyTorch Vision: EfficientNet","url":"https://docs.pytorch.org/vision/stable/models/efficientnet.html","note":"Supported variants, weight sets and model interfaces."}],"updatedAt":"2026-10-23"}},{"id":"gated-recurrent-unit","name":"Gated Recurrent Unit","category":"Neural Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"A Gated Recurrent Unit is a recurrent-network cell that controls state updates through reset and update gates. The competence includes designing sequence inputs, managing state and comparing gated recurrence with simpler alternatives. Its gates can improve information retention, but do not guarantee that every long dependency is learned or that sequence boundaries are handled correctly.","type":"concept","aliases":["GRU","GRUs","Gated Recurrent Units"],"editorial":{"definition":"A GRU combines the current input and previous hidden state to compute a candidate state and gated update. The reset gate affects how prior state contributes to the candidate, while the update gate controls how much previous state is retained versus replaced. Parameters are shared across positions, and training uses sequence gradients. Unlike a standard LSTM, a GRU does not maintain a separate cell-state variable in the same form. Implementations can differ in gate conventions or algebraic details, so checkpoint compatibility requires care. Competence includes understanding both the recurrent mechanism and how padding, masking and carried state affect available temporal information.","practice":"Define whether outputs are needed at each step or after the sequence and prepare ordered inputs with explicit lengths or masks. Choose hidden size, layer count and directionality, ensuring future information is unavailable in streaming tasks. Reset state at genuine sequence boundaries and monitor gradients and length-dependent errors. Compare a simple temporal baseline and alternative recurrent cells under the same evaluation. The deliverable should include model and state-management conventions, so training and inference agree on what a sequence is and when prior information is preserved.","example":"Suppose, illustratively, an engineer predicts a machine's operating state from a stream of measurements. A GRU retains information across readings within one run but resets between independent runs. The evaluator tests longer runs and missing intervals, comparing errors with a simple window-based classifier. A bidirectional version is evaluated only for complete recorded sequences, because a live system cannot use measurements that have not yet arrived.","limits":"Gates help manage recurrence but do not remove every optimization or memory limitation. State leakage between unrelated examples and incorrect padding can produce misleading scores. Long sequences may remain difficult, and implementation details affect imported weights. GRU and LSTM are related but distinct cells, while attention and state-space models offer different information paths. Evaluate temporal boundaries, length sensitivity and resource use, and avoid choosing a GRU solely because its parameter count is lower in one comparison.","sources":[{"title":"Dive into Deep Learning: Gated Recurrent Units","url":"https://d2l.ai/chapter_recurrent-modern/gru.html","note":"Reset and update gates and recurrent state equations."},{"title":"Keras: GRU layer","url":"https://keras.io/api/layers/recurrent_layers/gru/","note":"Layer options, state and implementation conventions."}],"updatedAt":"2026-10-23"}},{"id":"roberta","name":"RoBERTa","category":"Neural Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"RoBERTa is a BERT-based encoder pretraining approach and model family with revised training choices, including dynamic masking. The skill is adapting a specific encoder checkpoint to language-understanding tasks with its matching tokenizer and input conventions. It requires understanding those differences rather than treating RoBERTa as a generic text generator or interchangeable BERT artifact.","type":"concept","editorial":{"definition":"RoBERTa retains a bidirectional Transformer encoder while changing aspects of the original BERT pretraining recipe. The work studies training data and duration, batch size, masking and removal of the next-sentence prediction objective. Masked-language pretraining encourages representations that use surrounding context. A task-specific head can then support sequence or token predictions. Tokenization and special-token conventions differ from particular BERT checkpoints, so mixing processors can change behavior or fail. Competence includes distinguishing the pretraining approach, a released checkpoint and the downstream adaptation, because the architecture name alone does not specify language coverage, input length or fine-tuned task behavior.","practice":"Inspect the checkpoint and matching tokenizer, define the downstream target and prepare labels with correct token alignment or sequence conventions. Compare a frozen representation with fine-tuning where appropriate and preserve attention masks and special tokens. Evaluate on relevant language and domain slices, including long inputs that require truncation or segmentation. Save tokenizer, model configuration and task head together. The deliverable should identify the exact adaptation and preprocessing path, with evidence of task quality rather than relying on the pretraining paper's results as a guarantee for new data.","example":"In an illustrative complaint classifier, an engineer fine-tunes a RoBERTa encoder on reviewed messages. They test class definitions and inspect how long messages are truncated. The validation set comes from a later period, exposing new phrasing and product names. A baseline with sparse text features provides comparison. The final package includes the matching tokenizer and task head, so a consumer cannot accidentally use a BERT tokenizer with the RoBERTa weights.","limits":"Pretraining gains do not guarantee superior performance on every downstream dataset. Domain and language shifts, noisy labels and truncation can dominate results. A bidirectional encoder is not ordinarily an autoregressive conversational generator. Token-level tasks need careful alignment after subword tokenization. RoBERTa differs from BERT in recipe and checkpoint conventions, but both require task evaluation. Check the exact model and adaptation, and avoid attributing every result to dynamic masking when several training choices changed together.","sources":[{"title":"RoBERTa: A Robustly Optimized BERT Pretraining Approach","url":"https://arxiv.org/abs/1907.11692","note":"BERT-based encoder recipe, dynamic masking and objective changes."},{"title":"Hugging Face Transformers: RoBERTa","url":"https://huggingface.co/docs/transformers/model_doc/roberta","note":"Tokenizer conventions and downstream model interfaces."}],"updatedAt":"2026-10-23"}},{"id":"keras","name":"Keras","category":"DL Frameworks","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Keras is a high-level API for building, training, evaluating and saving neural models across supported numerical backends. The competence includes choosing the appropriate model interface and preserving backend-compatible behavior. Convenience abstractions help organize a workflow, but loss definitions, data boundaries and serialization still need explicit verification.","type":"tool","editorial":{"definition":"Keras provides layers, model composition and standard fitting and evaluation interfaces. Sequential models suit simple stacks, functional models express connected computation graphs and subclassing allows more custom behavior. Backend selection determines which numerical framework executes compatible operations. Optimizers, losses, metrics and callbacks organize training, while saved artifacts require architecture and state that can be reconstructed. Keras is not identical to TensorFlow, although many existing workflows use them together. Competence includes understanding which operations remain portable and when backend-specific code, custom layers or serialization conventions introduce additional constraints on reuse and deployment.","practice":"Choose the simplest model interface that expresses the required computation, verify input and output shapes and distinguish the optimization loss from reporting metrics. Configure callbacks and development evaluation deliberately, checking masks and train/evaluation behavior. For custom code, use compatible operations and test the intended backend. Save and reload the complete model with its preprocessing contract, then evaluate the reloaded artifact. The deliverable should document backend, dependencies and custom components, making clear whether portability was actually tested rather than assumed from the API name.","example":"For an illustrative sensor classifier, an engineer builds a functional model with two inputs and a shared representation. A custom layer is checked under the selected backend, and training uses a validation split respecting machine identity. The saved model is reloaded in a fresh process and evaluated with the same normalization. If a later backend switch is planned, the engineer repeats behavioral and performance checks instead of assuming that all custom operations will execute equivalently.","limits":"Backend-specific operations can undermine portability, and custom components may require explicit serialization support. Default metrics can be inappropriate for imbalance or decision costs. Mixing incompatible API and backend versions can cause subtle failures. A model that reloads may still depend on undocumented preprocessing. Keras differs from a complete data or deployment platform and from the neural architecture built with it. Validate the actual backend and saved artifact, including masks, custom losses and input conventions, before treating high-level convenience as correctness.","sources":[{"title":"Keras: Developer guides","url":"https://keras.io/guides/","note":"Model APIs, training, backend behavior and serialization workflows."}],"updatedAt":"2026-10-23"}},{"id":"long-short-term-memory","name":"Long Short-Term Memory","category":"Neural Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"Long Short-Term Memory is a gated recurrent architecture that maintains a cell state alongside a hidden state. The skill includes designing sequence tasks, controlling state continuity and evaluating long-range behavior. Its gates help regulate information flow, but correct masking and prediction-time boundaries are as important as choosing the recurrent cell.","type":"concept","aliases":["LSTM","LSTMs","Long Short-Term Memory","long short-term memory (lstm)"],"editorial":{"definition":"An LSTM uses input, forget and output gates to regulate updates to an internal cell state and the hidden representation exposed to later computations. This creates a path for retaining information across sequence positions and addresses some difficulties of plain recurrence. Parameters are shared through time, and backpropagation through the sequence fits the cell. Stacked or bidirectional variants change capacity and information access. The mechanism differs from a GRU's state formulation, though both use gates. Competence includes understanding the separate states and implementation contract, rather than assuming that the name guarantees arbitrary long-term memory or faithful reconstruction of past observations.","practice":"Define sequence units, output timing and how variable lengths are masked. Choose hidden and layer sizes and decide whether bidirectionality is compatible with intended use. Reset or carry both relevant states deliberately and verify behavior across batches. Monitor gradients and performance at different lengths, comparing simpler lag-based or recurrent baselines. The deliverable should include data ordering, state and masking conventions with a tested inference path, ensuring that the model's apparent long-range performance is not caused by leaked future observations or continuity between unrelated examples.","example":"In an illustrative demand-sequence classifier, an engineer trains an LSTM on separate daily operating runs. Padding is masked, and states reset between runs. Tests include patterns where an early event changes the interpretation of a later one, allowing the evaluator to inspect whether the needed dependency is retained. A streaming version uses only past readings. Performance is compared with a fixed-window baseline and a GRU under the same split and resource budget.","limits":"LSTMs can still struggle with very long dependencies and optimization instability. Incorrect state handling can leak information, while padding errors distort training. Bidirectional models need future context and are unsuitable for strict streaming unless the delay is explicit. Gates are not interpretable proof of remembered meaning. LSTM differs from GRU and attention-based models, with task-dependent tradeoffs. Evaluate length sensitivity, state resets and resource costs directly rather than assuming that cell-state design alone guarantees useful long-term behavior.","sources":[{"title":"Dive into Deep Learning: Long Short-Term Memory","url":"https://d2l.ai/chapter_recurrent-modern/lstm.html","note":"Cell and hidden states, gates and recurrent training."},{"title":"Keras: LSTM layer","url":"https://keras.io/api/layers/recurrent_layers/lstm/","note":"Layer inputs, state, masking and execution options."}],"updatedAt":"2026-10-23"}},{"id":"bert","name":"BERT","category":"Neural Architectures","subcategory":null,"section_id":"deep-learning-foundation-model-architectures","section_name":"Deep Learning & Foundation Model Architectures","description":"BERT is a bidirectional Transformer encoder pretrained to build contextual language representations. The competence includes adapting its encoder to classification, extraction or other understanding tasks with a matching tokenizer and task head. It requires correct token alignment and evaluation, rather than treating BERT as a general autoregressive chat model.","type":"concept","aliases":["BERTs","Bidirectional Encoder Representations from Transformers"],"editorial":{"definition":"The original BERT pretraining combines masked-language modeling with a next-sentence prediction task. Bidirectional attention lets representations use context on both sides of an input token, which supports many language-understanding tasks. A downstream head can operate on a sequence representation, individual tokens or spans, depending on the target. Released checkpoints differ in size, language and preprocessing conventions. BERT's contextual token representations differ from static word vectors, and an encoder's masked-token objective is not the same as a causal decoder's next-token generation. Competence includes distinguishing architecture, pretraining recipe and task-specific adaptation when interpreting the model's behavior.","practice":"Select a checkpoint with relevant language coverage and preserve its matching tokenizer and special-token conventions. Define the task head and align labels after subword tokenization, masking positions that should not contribute. Compare adaptation settings with a simple baseline and evaluate on relevant entities, time periods or sources. Inspect truncation and difficult contextual examples. The deliverable includes encoder, task head, tokenizer and preprocessing together, with task-specific quality evidence and a clear explanation of what the output scores or spans mean for the application.","example":"For an illustrative entity extractor, an engineer fine-tunes BERT on annotated product descriptions. Words split into several subwords require an explicit label-alignment rule, and padding is excluded from the loss. Evaluation checks complete entity spans rather than only token accuracy. New product names and longer descriptions form difficult test slices. The exported pipeline preserves the tokenizer and decoding rules, so users receive entities under the same conventions evaluated during development.","limits":"Pretraining does not remove domain shift, label ambiguity or context-length limits. Token alignment errors can yield misleading metrics, and a good aggregate score may hide poor span boundaries. BERT is not ordinarily a causal text generator, and using its name does not identify a checkpoint's language or task capabilities. RoBERTa and other encoder families alter aspects of training and preprocessing. Evaluate the exact adapted model and preserve its processor contract rather than inferring downstream suitability from the original pretraining results.","sources":[{"title":"BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding","url":"https://arxiv.org/abs/1810.04805","note":"Bidirectional encoder, masked-language and next-sentence pretraining."},{"title":"Hugging Face Transformers: BERT","url":"https://huggingface.co/docs/transformers/model_doc/bert","note":"Tokenizer conventions and classification, token and span task interfaces."}],"updatedAt":"2026-10-23"}},{"id":"audio-ai","name":"Audio AI","category":"Audio & Speech","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"Audio AI applies learned models to sound, including speech, music and environmental events. The competence is choosing a meaningful audio task, representing recordings correctly and evaluating predictions or generated sound under realistic conditions. It spans several objectives rather than treating every recording as a speech transcription problem.","type":"concept","editorial":{"definition":"An audio signal contains time-varying pressure information captured as sampled values. Models may operate on waveforms, time-frequency representations or learned features. Recognition tasks include identifying spoken words, classifying sound events and locating their occurrence in time; generative tasks include producing speech or other audio. Different outputs require different labels and evaluations. A clip label indicates that an event is present somewhere, while frame-level labels indicate when it occurs. Speech meaning, speaker identity and acoustic background are distinct information sources. Competence involves connecting the observable signal and available supervision to the intended output, without assuming one representation or model handles every audio problem equally well.","practice":"Define whether the application needs words, event labels, timing, separation or synthesized sound. Inspect sample rates, channels, duration, clipping and recording conditions. Choose labels and models consistent with that objective, and split by speaker, session or recording source to avoid acoustic leakage. Evaluate across microphones, noise levels and overlapping events, using task-specific measures and listening-based review where needed. Record preprocessing and temporal alignment with the model artifact. The useful result is an audio pipeline that produces a defined output with evidence about operating conditions and failures, including whether it can reject unclear or unfamiliar input.","example":"An illustrative workshop system identifies a machine alarm in short recordings. The developer uses sound-event labels rather than transcripts, collects negatives containing speech and similar mechanical noises, and holds out recordings from entire sessions. Evaluation checks missed alarms and false alerts at the chosen threshold. Listening to failures reveals that an alarm mixed with a compressor is harder than isolated examples, motivating mixed-event data and an explicit uncertainty path.","limits":"Models can exploit microphone or background differences instead of the target sound. Clip-level success does not establish accurate event timing, and speech benchmarks do not measure general acoustic understanding. Noise removal can erase useful signals, while resampling mistakes change model inputs. Audio generation also requires intelligibility and artifact checks. Distinguish learned audio interpretation from signal processing operations, and assess the specific output contract rather than describing all sound-related work with a single accuracy score.","sources":[{"title":"Hugging Face Audio Course: Working with audio data","url":"https://huggingface.co/learn/audio-course/en/chapter1/introduction","note":"Waveforms, sample rates, representations and audio dataset preparation."},{"title":"Google AudioSet","url":"https://research.google.com/audioset/","note":"Sound-event ontology and clip-level event annotation as a distinct audio task."}],"updatedAt":"2026-10-10"}},{"id":"computer-vision","name":"Computer Vision","category":"Computer Vision & Multimodal Vision","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"Computer vision extracts useful information from images or video through geometry, signal processing and learned models. Practitioners translate a visual question into an observable output, select suitable capture and annotation methods and test reliability under changing scenes. The competence extends from image preparation to evaluating complete perception systems.","type":"concept","aliases":["Wizja komputerowa"],"editorial":{"definition":"Visual data is represented as pixel arrays whose values depend on lighting, viewpoint, optics and acquisition settings. Computer vision methods transform those arrays into outputs such as class labels, object boxes, pixel masks, keypoints or estimated geometry. Classical techniques use edges, features and geometric constraints; learned models infer representations from examples. These outputs have different semantics: an image label does not locate an object, and a detected box does not delineate its boundary. A pipeline may combine calibration, preprocessing, inference and temporal logic. Understanding the measurement and capture process is as important as choosing a model, because visual appearance is not a direct or complete description of the underlying scene.","practice":"Define the decision that visual evidence should support and select the corresponding task. Inspect resolution, color conventions, camera geometry and representative acquisition conditions. Establish annotation guidelines and hold out complete scenes, subjects or recording sessions to reduce leakage. Compare simple geometric or image-processing baselines with learned models where appropriate. Evaluate relevant errors by object size, viewpoint, illumination and domain, then measure latency and resource use on the target device. The result is a reproducible perception pipeline with a clear output contract, measured coverage and a way to handle conditions outside the supported capture setup.","example":"An illustrative inspection station checks whether a connector is seated correctly. The engineer first stabilizes camera position and illumination, then compares a geometric alignment check with an image classifier. Test images come from separate production sessions and include glare and partial occlusion. Visual review shows that the classifier uses a background fixture color, so the data and crop definition are revised. Acceptance depends on connector evidence and error rates under the actual station conditions.","limits":"Appearance changes can cause failures even when the object itself is unchanged. Near-duplicate video frames across splits can inflate evaluation, and annotation conventions can dominate the reported score. A model may infer context rather than inspect the relevant object. Detection, segmentation, tracking and visual-language generation are neighboring capabilities with separate requirements. Verify coordinate transformations and capture assumptions, and avoid treating an attractive overlay or a benchmark result as proof that the system measures the intended visual property.","sources":[{"title":"OpenCV Tutorials","url":"https://docs.opencv.org/4.x/d9/df8/tutorial_root.html","note":"Image processing, calibration, features, video handling and neural inference components."},{"title":"Torchvision: Models and pre-trained weights","url":"https://docs.pytorch.org/vision/stable/models.html","note":"Distinct visual tasks and model-specific preprocessing requirements."}],"updatedAt":"2026-10-10"}},{"id":"object-detection","name":"Object Detection","category":"Computer Vision & Multimodal Vision","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"Object detection identifies instances of target classes and estimates where they occur in an image. The skill is defining consistent object categories and boxes, selecting a suitable detector and evaluating both localization and missed or spurious detections. It produces instance locations rather than only a label for the whole scene.","type":"concept","editorial":{"definition":"A detector predicts class scores and spatial regions, usually bounding boxes, for a variable number of objects. Two-stage systems propose regions and classify or refine them; one-stage systems predict detections more directly from image features. Postprocessing filters low-confidence candidates and may suppress overlapping duplicate predictions. Training needs instance annotations whose coordinates follow a precise convention. Evaluation matches predictions with reference objects using overlap criteria and then measures precision and recall across confidence thresholds. Object detection differs from segmentation, which assigns detailed pixels, and from tracking, which associates instances over time. Its output supports counting or localization only within the defined categories and annotation rules.","practice":"Write class and box-boundary guidelines, including partially visible objects and difficult examples. Audit annotation completeness and convert coordinates carefully after resizing or cropping. Split data by scene, location or video sequence, not adjacent frames. Compare detector quality by object size, occlusion and class, using average precision plus application-specific false-positive and missed-object costs. Set thresholds on development data and measure latency with postprocessing included. Inspect overlays to distinguish localization errors from label errors. The deliverable is an evaluated detector and documented operating threshold whose spatial outputs match the downstream coordinate system.","example":"An illustrative shelf-auditing task detects individual packages. The developer labels boxes consistently when one package hides part of another and holds out entire stores. Two models have similar overall precision, but one misses small packages on distant shelves. Evaluation includes that subgroup and counts duplicate boxes after suppression. A coordinate test projects resized-image detections back onto the original photographs, catching a scaling error before the boxes are used for inventory review.","limits":"Detection confidence is not automatically a calibrated probability, and overlap metrics may not reflect downstream counting errors. Unannotated objects can make correct predictions appear false, while incomplete labels corrupt training. Small, occluded or unfamiliar objects are common failures. Suppression can remove legitimate nearby instances. A successful detector does not establish object identity over time or detailed shape. Evaluate class coverage, spatial accuracy and threshold behavior separately, including scenes that contain no target objects.","sources":[{"title":"Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks","url":"https://arxiv.org/abs/1506.01497","note":"Two-stage detection through shared features and learned region proposals."},{"title":"Microsoft COCO: Common Objects in Context","url":"https://arxiv.org/abs/1405.0312","note":"Instance annotation and detection evaluation in complex scenes."}],"updatedAt":"2026-10-10"}},{"id":"opencv","name":"OpenCV","category":"Computer Vision & Multimodal Vision","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"OpenCV is a computer vision library for image and video operations, geometry and model inference. The competence is combining its functions into correct visual pipelines while managing array formats, coordinates and execution costs. Familiarity includes understanding the assumptions of each operation rather than only knowing how to display an image.","type":"tool","editorial":{"definition":"OpenCV exposes components for image filtering, color conversion, feature detection, calibration, image and video input, and other visual operations. Images are arrays with channel order, numeric range and type that affect function behavior. Geometric transforms map coordinates, and interpolation determines how pixel values are sampled after resizing or warping. Feature matching and camera calibration use mathematical assumptions that differ from neural model inference. The library can connect these components, but a function returning a valid array does not establish that its result is meaningful for the application. Build options, available backends and input-output support also influence which operations are usable in a given environment.","practice":"Check image shape, dtype, channel conventions and value range at each boundary. Select transformations based on the visual task, preserve coordinate mappings and test them on simple known patterns. For video, verify decoding, frame rate and timestamps rather than assuming every stream is uniform. Profile full processing cost, including capture and copying, and confirm any accelerated backend is actually active. Keep parameters and calibration files versioned. The useful result is a tested image or video workflow whose transformations are explicit and reproducible, with visual inspection and numeric checks demonstrating that downstream measurements use the intended pixels.","example":"An illustrative document capture pipeline rotates a photographed form and extracts a rectangular region. The engineer detects corner candidates, checks their order and uses a perspective transform. A synthetic grid exposes an incorrect coordinate convention that otherwise produces a plausible-looking warp. They test varied lighting and blur, then inspect crops at original resolution. The final output includes a mapping back to the source image so extracted regions can be reviewed in context.","limits":"Incorrect channel order, integer overflow or repeated interpolation can silently degrade results. Fixed thresholds may fail under lighting changes, and calibration only applies within its capture assumptions. Video backends can differ in supported formats and timing behavior. OpenCV provides operations and algorithms, not automatic task validity or complete document understanding. Inspect representative intermediate images, verify geometric units and measure the installed build's behavior instead of assuming identical results across environments.","sources":[{"title":"OpenCV Tutorials","url":"https://docs.opencv.org/4.x/d9/df8/tutorial_root.html","note":"Official library modules and workflows for image processing, geometry and video."},{"title":"OpenCV: Geometric Transformations of Images","url":"https://docs.opencv.org/4.x/da/d6e/tutorial_py_geometric_transformations.html","note":"Resizing, affine and perspective transformations and interpolation choices."}],"updatedAt":"2026-10-10"}},{"id":"vision-language-models","name":"Vision-Language Models","category":"Computer Vision & Multimodal Vision","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"Vision-language models connect visual inputs with language representations or generated text. Practitioners select a model suited to retrieval, classification or visual dialogue and test whether its outputs are grounded in the image. The skill includes preprocessing, prompt design and evaluation that separates visual evidence from plausible linguistic guesses.","type":"concept","editorial":{"definition":"Some models encode images and text into a shared embedding space, enabling similarity comparisons between a picture and candidate descriptions. Others connect a visual encoder to a language model so it can answer questions or generate captions conditioned on image features. Contrastive learning and generative supervision produce different capabilities; an image-text retrieval model is not automatically a conversational assistant. Image resolution, cropping, visual token construction and prompt format influence what information reaches the model. Competence includes identifying that input contract and the output's meaning. Reading visible text, locating an object and explaining a scene are separate tasks whose success cannot be inferred from one general demonstration.","practice":"Choose the output type and examine the model's documented processor and image limits. Build evaluation cases requiring genuine visual distinctions, including negative questions about absent objects. Keep related images and captions together when splitting data. Compare with text-only or image-free baselines to expose answers driven by language priors. For retrieval, judge ranked image-text matches; for generation, check claims against visible evidence and required abstention. Record preprocessing and prompt settings. The result is a grounded workflow with task-specific evidence, including the resolution and image conditions under which it can answer reliably.","example":"An illustrative repair assistant receives a photograph of a control panel. The evaluator asks about the visible switch position and also an intentionally absent connector. They compare answers with and without the image and inspect crops to ensure the switch remains readable after resizing. The model describes the panel fluently but guesses the absent connector's color. The team adds explicit uncertainty behavior and separates visual identification from instructions drawn from an approved manual.","limits":"Language fluency can conceal image-grounding errors. Small text, counting, spatial relations and unfamiliar symbols require dedicated tests. Resizing may remove evidence before inference, and similarity scores do not establish factual entailment. A model can identify a visual pattern without understanding its operational significance. Distinguish embedding-based matching, captioning, OCR and document understanding, and validate each required capability. Generated visual explanations need evidence checks just as ordinary generated answers do.","sources":[{"title":"Learning Transferable Visual Models From Natural Language Supervision","url":"https://arxiv.org/abs/2103.00020","note":"Contrastive image-text representations and text-conditioned visual matching."},{"title":"BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Models","url":"https://arxiv.org/abs/2301.12597","note":"Connecting visual features to language generation through an intermediate learned component."}],"updatedAt":"2026-10-10"}},{"id":"nlp","name":"NLP","category":"NLP Foundations","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"Natural language processing turns written or spoken language into representations, predictions or generated text for a defined task. The competence is identifying what linguistic information the application needs, selecting suitable data and methods and evaluating errors in context. It combines language-aware problem formulation with reproducible computational workflows.","type":"concept","editorial":{"definition":"Language expresses information through words, syntax, context and conventions that vary across speakers and domains. NLP systems may normalize and tokenize text, assign labels, extract structures, retrieve documents or generate responses. Representations range from sparse word features to contextual neural embeddings, with different assumptions about meaning and sequence. A pipeline can contain deterministic rules and trained components, each with its own error modes. The task determines what counts as correct: a relevant search result, an entity span and a faithful summary require different supervision and evaluation. Competence includes understanding ambiguity and preserving the distinctions between related linguistic tasks rather than expecting one generic model output to satisfy every application.","practice":"Translate the application goal into a specific input-output contract and label definition. Inspect language, document length, style and annotation disagreements before choosing a model. Establish a simple baseline, then add linguistic or learned components where they address observed failures. Split by documents, conversations or time periods to prevent shared content from leaking. Evaluate relevant subgroups and inspect errors involving context, negation or unfamiliar terminology. Version preprocessing and models together. The useful result is a language system whose outputs support the intended decision with documented evidence about coverage, ambiguity and the cases requiring a person or another component.","example":"An illustrative service receives short messages in several languages. The engineer separates intent routing from entity extraction: one predicts the requested action, the other identifies an order number. They compare a keyword baseline with trained components and hold out complete conversations. Error review shows that copied earlier messages confuse the router, so the input scope changes. Evaluation then checks both component accuracy and whether the combined result routes the actual request correctly.","limits":"Text can contain indirect requests, sarcasm, conflicting statements and domain-specific meanings. Models may exploit formatting or source patterns unrelated to the task. A benchmark language or genre may not cover the deployment setting. Preprocessing can remove useful evidence, and fluent generation does not imply comprehension or factuality. Distinguish broad NLP competence from proficiency with a single library, and measure the exact linguistic operation and downstream consequence rather than using one score for the whole pipeline.","sources":[{"title":"Speech and Language Processing","url":"https://web.stanford.edu/~jurafsky/slp3/","note":"Author-maintained reference for linguistic tasks, representations and NLP methods."},{"title":"spaCy: Language Processing Pipelines","url":"https://spacy.io/usage/processing-pipelines","note":"Distinct processing components and their dependencies within language workflows."}],"updatedAt":"2026-10-10"}},{"id":"tokenization","name":"Tokenization","category":"NLP Foundations","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"Tokenization converts text into units that a language-processing system can represent and use. The skill is choosing or applying the correct segmentation scheme, preserving useful boundaries and checking model compatibility. Word tokens, subword tokens and byte-level units have different purposes and should not be treated as interchangeable linguistic objects.","type":"concept","editorial":{"definition":"A tokenizer may split text into words and punctuation, or map it through a learned subword vocabulary into integer IDs. Schemes such as byte-pair encoding, WordPiece and unigram tokenization differ in vocabulary construction and segmentation. Normalization, special tokens and postprocessing are part of the full mapping. A pretrained model expects the vocabulary and conventions it learned with, so replacing its tokenizer changes the meaning of its input IDs. Offset mappings connect tokens to character positions when supported. Tokenization is narrower than preprocessing: it determines units and their representation, while cleaning, redaction or sentence selection changes the text supplied to that mapping.","practice":"Load the tokenizer matched to a checkpoint and pin its configuration. Inspect examples with punctuation, identifiers, accented characters, code and the languages used in the application. Check encoding and decoding behavior, special-token placement, padding, truncation and offset alignment. If training a new vocabulary, use permitted representative text and keep evaluation corpora out of fitting. Measure token expansion and unknown-unit handling rather than only vocabulary size. The deliverable is a stable text-to-input contract, including documented behavior at boundaries and tests showing that annotations, context limits and decoded outputs remain consistent.","example":"An illustrative entity extractor works with product codes containing hyphens and accented names. The developer compares the annotation's character spans with tokenizer offsets and discovers that normalization changes some apparent boundaries. They adjust alignment logic and inspect the decoded pieces. Long code-heavy messages also expand into many tokens, so evaluation includes truncation cases where the target entity falls near the end. The fixed pipeline preserves original text for highlighting extracted spans.","limits":"Tokens are computational units and do not always correspond to words, syllables or meaningful concepts. Language-dependent expansion can affect context coverage and cost. Normalization or byte decoding can complicate span alignment. Changing special tokens without updating model handling can produce invalid inputs. A round-trip decode may not reproduce every original formatting detail. Keep tokenizer identity distinct from model architecture, and verify the actual encoded examples rather than assuming whitespace splitting or a familiar tokenizer name establishes compatibility.","sources":[{"title":"Hugging Face Transformers: Tokenization algorithms","url":"https://huggingface.co/docs/transformers/en/tokenizer_summary","note":"Word, subword and byte-oriented segmentation schemes and model tokenizers."},{"title":"SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processing","url":"https://aclanthology.org/D18-2012/","note":"Learned subword segmentation directly from text and language-independent processing design."}],"updatedAt":"2026-10-10"}},{"id":"multilingual-nlp","name":"Multilingual NLP","category":"Text Understanding","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"Multilingual NLP builds language-processing systems that operate across multiple languages or transfer learning between them. Practitioners assess language coverage, representation quality and task behavior separately for each population. The competence includes scripts, morphology and code-switching, rather than assuming a model's multilingual label establishes equal performance everywhere.","type":"concept","editorial":{"definition":"A multilingual model shares some parameters or representations across languages, allowing information learned in one language to benefit another. Shared token vocabularies and multilingual pretraining support this transfer, but languages differ in data availability, writing systems and linguistic structure. A multilingual workflow may also combine language identification, language-specific components or translation into a pivot language. Those choices introduce different errors and maintenance requirements. Cross-lingual transfer means training and evaluation occur across language boundaries; it is distinct from evaluating several independently trained monolingual models. The task's annotation and meaning must also remain comparable, since a translated label or prompt can change what is being measured.","practice":"List supported languages and the task requirements for each, including mixed-language messages. Audit data balance, tokenizer expansion and translated annotation consistency. Keep translated versions and parallel documents in the same split to prevent cross-language leakage. Compare a shared model with appropriate language-specific or translation baselines. Evaluate each language and difficult script separately, including native examples rather than only translations from one source. Inspect error patterns with competent speakers. The result is a documented coverage matrix and routing strategy that states where shared modeling is adequate and where additional data or dedicated processing is needed.","example":"An illustrative support classifier handles English, Polish and Turkish. A shared model performs well on translated test messages but struggles with naturally written Turkish abbreviations. The team builds a native evaluation set and groups translated message families to avoid duplicates across splits. They inspect code-switching and compare direct classification with a translation-based route. The final decision reports each language's errors and includes a fallback for languages outside the evaluated coverage.","limits":"High-resource languages can dominate training and aggregate evaluation. Translation can lose politeness, ambiguity or domain meaning, while language identification is unreliable on very short or mixed text. Shared vocabulary does not guarantee shared semantics or equal coverage. Parallel data can leak across otherwise separate files. Multilingual NLP is broader than machine translation, and language support is a task-specific claim. Require per-language evidence and explicit handling of uncertain or unsupported inputs.","sources":[{"title":"Unsupervised Cross-lingual Representation Learning at Scale","url":"https://arxiv.org/abs/1911.02116","note":"Multilingual representation learning and cross-lingual transfer through XLM-R."},{"title":"SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processing","url":"https://aclanthology.org/D18-2012/","note":"Tokenization across writing systems without a required word segmentation preprocessing step."}],"updatedAt":"2026-10-10"}},{"id":"named-entity-recognition","name":"Named Entity Recognition","category":"Text Understanding","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"Named entity recognition identifies text spans that refer to defined categories such as people, organizations or domain-specific items. The skill is designing an annotation scheme, locating exact boundaries and evaluating span and type errors. Recognizing a mention is separate from linking it to a database record or resolving every reference.","type":"concept","editorial":{"definition":"NER maps tokens or character spans to entity labels under a chosen ontology. Systems may use sequence tagging, span classification, transition-based prediction, rules or combinations of these. Boundary conventions determine whether titles, modifiers and punctuation belong to an entity. Some tasks allow nested or overlapping mentions, whereas particular model implementations may not. Context helps distinguish a person's name from an ordinary word or an organization from a location. A recognized span remains a mention in the text; entity linking assigns a canonical identity, and coreference resolution connects mentions that refer to the same thing. These are neighboring operations with separate training and evaluation requirements.","practice":"Write labeling rules with positive examples and difficult boundary cases. Review annotation disagreements and audit whether the selected model supports overlapping spans. Keep whole documents or entity-rich source families together across splits. Train or configure the recognizer, preserve character offsets and compare exact span-plus-type precision and recall by category. Inspect missed entities, partial spans and ordinary phrases falsely labeled as names. If the output feeds redaction or a database, evaluate that downstream effect as well. The deliverable is a recognizer and annotation contract whose labels and coordinates can be used consistently on unseen text.","example":"An illustrative maintenance-note extractor recognizes equipment names and component identifiers. Annotators disagree about whether a preceding vendor name belongs in the equipment span, so the team resolves that rule before training. Evaluation holds out entire manuals and reports exact boundaries. A model identifies the device correctly but includes a neighboring date in some spans; reviewing highlights exposes this defect. Entity linking to the asset register is then tested as a separate stage.","limits":"NER depends on the label inventory and annotation conventions, so results from different schemes are not directly comparable. Unseen abbreviations and domain changes can reduce recall. Exact matching penalizes partial boundaries that may still be useful, while token accuracy can conceal missed rare entities. A detected organization name does not prove which organization it denotes. Distinguish recognition, linking and coreference, and verify source-text offsets before using predicted spans for redaction or structured records.","sources":[{"title":"spaCy: EntityRecognizer","url":"https://spacy.io/api/entityrecognizer","note":"NER component behavior, span outputs and implementation constraints."},{"title":"Introduction to the CoNLL-2003 Shared Task: Language-Independent Named Entity Recognition","url":"https://aclanthology.org/W03-0419/","note":"Entity annotation and standard span-based recognition task formulation."}],"updatedAt":"2026-10-10"}},{"id":"semantic-search","name":"Semantic Search","category":"Text Understanding","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"Semantic search retrieves material using learned representations intended to capture meaning beyond exact keyword overlap. The competence is selecting embeddings and similarity measures, constructing a useful index and evaluating retrieval against real information needs. Similar wording or a high vector score does not by itself establish that a result answers the query.","type":"concept","editorial":{"definition":"A common approach encodes queries and candidate passages into vectors, then ranks candidates by cosine similarity or another compatible distance. Bi-encoders represent each item separately, enabling precomputed document vectors and efficient search. Cross-encoders jointly score a query and candidate and can rerank a smaller set at greater computational cost. Symmetric similarity tasks and asymmetric question-to-passage retrieval may require different training or encoding conventions. Chunk boundaries, metadata filters and index approximation affect which evidence is available. Semantic search is one retrieval technique; lexical search remains useful for exact identifiers and rare terms, and hybrid systems can combine the two signals.","practice":"Define relevant results with representative queries and graded judgments. Choose a model suited to the language, domain and query-document relationship, and preserve its encoding instructions and similarity convention. Build passages that retain enough context without hiding relevant detail in overly long chunks. Evaluate recall and rank quality against lexical and hybrid baselines, holding out source families and query variants. Inspect approximate-index misses separately from embedding errors. The result is an evaluated search configuration with documented corpus version, filters, encoding and ranking stages, plus a clear rule for insufficient or irrelevant matches.","example":"An illustrative technician searches manuals with a description of a fault rather than the official component name. Embedding retrieval finds relevant explanatory passages, but searches for an exact part number work better lexically. The developer combines the candidates and reranks them. Held-out queries include similar failures with different causes, and review checks whether retrieved passages contain the actual diagnostic step. A topically similar introduction is not counted as an adequate answer source.","limits":"Embeddings can miss negation, numbers and specialized identifiers, or retrieve a related topic without the needed fact. Similarity values are model-specific and generally not calibrated relevance probabilities. Approximate indexes add retrieval errors, and stale embeddings can misrepresent changed documents. Semantic search differs from question answering because retrieval returns candidates rather than a verified answer. Evaluate ranked relevance and evidence coverage, and retain exact-match support when the application's information needs require it.","sources":[{"title":"Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks","url":"https://arxiv.org/abs/1908.10084","note":"Separately encoded sentence representations for similarity and retrieval."},{"title":"Sentence Transformers: Semantic Search","url":"https://www.sbert.net/examples/sentence_transformer/applications/semantic-search/README.html","note":"Query-corpus encoding, similarity search and symmetric versus asymmetric retrieval."}],"updatedAt":"2026-10-10"}},{"id":"audio-processing","name":"Audio Processing","category":"Audio & Speech","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"Audio processing prepares, transforms and measures sampled sound for analysis or playback. The competence is managing sampling, channels, levels and time-frequency representations while preserving the information required by the next stage. It supports audio AI workflows but also includes deterministic operations that do not recognize words or sound events.","type":"concept","editorial":{"definition":"A digital waveform stores samples at a specified rate, with channels and an amplitude representation. Resampling changes the time grid using reconstruction and filtering; changing a rate label without resampling instead changes apparent duration and pitch. Windowed transforms reveal frequency content over time, with a tradeoff between temporal and frequency resolution. Filtering, normalization, segmentation and feature extraction alter different properties of the signal. Their settings depend on the task: speech intelligibility, transient detection and musical pitch may require different treatment. A correct pipeline keeps physical units and timing explicit so derived features and model outputs can be aligned with the original recording.","practice":"Inspect file decoding, sample rate, channel layout, amplitude range and clipping before transformation. Choose resampling, filtering and window settings based on the signal and model requirements. Preserve the original recording and record every transformation. Listen to representative before-and-after clips, inspect waveforms and spectrograms, and test timing with known impulses or tones. If processing feeds a trained model, fit learned normalization only on training data and evaluate complete recording sessions separately. The result is a reproducible signal path whose outputs preserve useful content and whose timestamps remain meaningful for downstream analysis or playback.","example":"An illustrative speech pipeline receives stereo recordings from several devices. The engineer checks whether each channel contains a different speaker before mixing to mono. They resample to the recognizer's required rate and compare transcripts on noisy clips with and without filtering. A known test pulse checks timestamp conversion after trimming silence. The selected processing removes only the artifacts that demonstrably harm recognition and records offsets so transcript segments can still refer to the source audio.","limits":"Filtering and denoising can remove consonants, transients or other task evidence along with noise. Excessive normalization may emphasize background sounds, while clipping is often irreversible. Frame centering and padding can create timing offsets. Features depend on sample rate and window parameters, so array shapes alone do not establish compatibility. Audio processing is distinct from learned speech recognition or event classification. Validate signal integrity and downstream quality together instead of assuming cleaner-sounding audio necessarily produces better predictions.","sources":[{"title":"SciPy: Signal processing","url":"https://docs.scipy.org/doc/scipy/reference/signal.html","note":"Filtering, resampling and time-frequency signal analysis operations."},{"title":"Hugging Face Audio Course: Preprocessing an audio dataset","url":"https://huggingface.co/learn/audio-course/en/chapter1/preprocessing","note":"Model-compatible audio sampling and feature preparation."}],"updatedAt":"2026-10-10"}},{"id":"elevenlabs","name":"ElevenLabs","category":"Audio & Speech","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"ElevenLabs provides audio generation and transcription services with APIs and model-specific settings. The competence is selecting the appropriate service, managing voice and format configuration and checking the quality of returned audio or transcripts. Product familiarity includes current limits and reproducible requests, rather than assuming every model supports identical controls.","type":"tool","editorial":{"definition":"Text-to-speech requests combine text with a selected model, voice and supported synthesis settings to produce audio. Transcription instead maps supplied audio into text and, where the chosen service supports it, related timing or speaker information. These are separate input-output contracts. Voice identity, language, pronunciation conventions and output encoding affect generation behavior, while recording conditions affect recognition. Streaming and complete-file responses also imply different latency and integration choices. ElevenLabs is a service provider rather than a generic name for speech synthesis. Competence includes reading the current documentation for the exact endpoint and model, since capabilities and limits can vary across its offerings.","practice":"Choose an endpoint and model based on language, latency, output format and task requirements. Keep API credentials outside content artifacts and version the request configuration. For synthesis, test names, numbers, abbreviations and pauses with permitted voice assets. For transcription, compare returned text and timing with reviewed audio. Build realistic acceptance samples, inspect failure responses and budget retries without duplicating user-visible output. Measure request latency and quality under the intended workload. The deliverable is a documented audio integration with reviewed samples and a clear handling path for failed requests, mispronunciation or uncertain transcription.","example":"An illustrative museum guide generates narration from approved exhibit text. The developer selects a suitable voice and tests difficult historical names and dates before producing complete tracks. They retain the text, model identifier and synthesis settings with each output. Listening review catches one ambiguous abbreviation that should be expanded in the script. The published track is checked for complete narration and playable encoding, while future edits regenerate only the affected passage and receive another review.","limits":"Models and account limits can change, and voice or language support is not uniform across endpoints. Natural-sounding speech can contain pronunciation errors, omissions or unexpected prosody. Transcripts can misidentify words or speaker boundaries in poor recordings. Audio quality does not validate the truth of the source text. Voice usage rights and the intended identity are practical input requirements. Verify the selected API and model, and review actual outputs instead of treating a successful request as sufficient quality control.","sources":[{"title":"ElevenLabs: Text to Speech","url":"https://elevenlabs.io/docs/overview/capabilities/text-to-speech","note":"Official synthesis concepts, voice and model configuration."},{"title":"ElevenLabs: Transcription","url":"https://elevenlabs.io/docs/overview/capabilities/speech-to-text","note":"Official speech-to-text workflow and output capabilities."}],"updatedAt":"2026-10-10"}},{"id":"librosa","name":"Librosa","category":"Audio & Speech","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"Librosa is a Python library for audio and music analysis, including loading, spectral features and timing estimates. The skill is selecting explicit sampling and frame parameters, interpreting outputs in physical units and validating results by listening and inspection. Its numerical features are useful inputs, rather than automatic evidence of musical or semantic understanding.","type":"tool","editorial":{"definition":"Librosa represents audio with numerical arrays and supplies functions for time-frequency transforms, feature extraction, onset and beat analysis, and other signal operations. Many outputs use frames rather than samples or seconds. Hop length, transform window and sample rate determine how those frames map to time and frequency. Complex spectral values include magnitude and phase; reducing them to a magnitude or power representation discards different information. Loading defaults can mix channels or resample, depending on the documented version and arguments. Competence requires understanding these conventions and distinguishing a computed descriptor or estimated beat from a ground-truth label or a general-purpose sound classifier.","practice":"Pin the library version and set loading, sampling and channel options deliberately. Choose window and hop parameters for the event or feature scale of interest. Convert frames to time using the same settings that created them, and inspect outputs on controlled tones, impulses and representative recordings. Listen alongside plots to catch plausible-looking but incorrect interpretations. If features feed a classifier, split by recording or performer and fit scaling on training data only. The deliverable is a reproducible analysis script with explicit units and feature definitions, supported by checks that its outputs correspond to the actual recording.","example":"An illustrative music-analysis project marks percussion onsets for manual review. The engineer loads recordings without accidental resampling, computes an onset strength curve and converts candidate frames to timestamps. A test click track catches a mismatch between the analysis and conversion hop length. Listening shows that sustained notes produce occasional false peaks. The final interface presents candidate times as estimates, allowing a reviewer to correct them instead of treating every numerical peak as a confirmed beat.","limits":"Default parameters may suit one type of audio and fail on another. Beat and onset estimates depend on recording structure, and stereo mixing can remove spatial information. Centered frames and padding complicate real-time alignment. A spectrogram's appearance depends on scaling and axis conventions, so visual differences need careful interpretation. Librosa supplies analysis operations rather than a complete transcription or source-identification model. Validate the chosen version's defaults, feature units and task behavior before comparing arrays from different processing configurations.","sources":[{"title":"Librosa: Tutorial","url":"https://librosa.org/doc/0.11.0/tutorial.html","note":"Library modules, waveform loading, feature extraction and frame-to-time conventions."},{"title":"Librosa: Short-time Fourier transform","url":"https://librosa.org/doc/0.11.0/generated/librosa.stft.html","note":"Window, hop, centering, magnitude and phase semantics for a specified documented version."}],"updatedAt":"2026-10-10"}},{"id":"speech-recognition","name":"Speech Recognition","category":"Audio & Speech","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"Speech recognition converts spoken language in audio into text. Practitioners select an acoustic and decoding approach, prepare recordings correctly and measure transcription errors under the expected voices and environments. The competence includes proper evaluation of names, numbers and timing, rather than assuming a fluent transcript faithfully captures the recording.","type":"concept","editorial":{"definition":"Recognition models map acoustic evidence to word or token sequences. Connectionist Temporal Classification models align variable-length audio and text through paths that collapse repeated labels and blanks; encoder-decoder systems generate text conditioned on learned audio features. Decoding can use language constraints or prompts, which help resolve ambiguity but can also favor plausible words over weak acoustic evidence. Segmentation and contextual carryover matter for long recordings. Transcription is distinct from speaker diarization, which estimates who spoke when, and from speech translation, which changes language. Punctuation, capitalization and formatting are additional conventions whose correctness may differ from whether the spoken words were recognized.","practice":"Define whether the output must be verbatim, normalized or suitable for reading. Inspect sample rate, channels, overlap and recording quality, then select a recognizer with relevant language coverage. Keep speakers and recording sessions separate across evaluation splits. Use consistent text normalization when calculating word or character error rates, and separately check critical fields such as identifiers and amounts. Include silence, background speech and accented or mixed-language examples. The deliverable is a transcription pipeline with known quality by condition, documented decoding settings and a review or uncertainty path for errors that matter to the application.","example":"An illustrative archive search system transcribes spoken interviews. Evaluation holds out complete interviewees and includes regional accents. The developer measures general word errors and separately checks names needed for indexing. A transcript substitutes a common name for an uncommon one despite sounding coherent, so the workflow flags proper-name passages for review and retains audio links. Timestamp tests ensure each search result starts near the relevant speech rather than at an arbitrary chunk boundary.","limits":"Noise, overlapping speakers, unfamiliar names and weak audio can cause substitutions, omissions or invented speech. A language prior may hide poor acoustic evidence behind grammatical output. Aggregate error rate does not reflect the consequence of one wrong number. Diarization and timestamp quality need separate measurement. Recognition does not establish that a spoken statement is true. Compare transcripts with the recording and evaluate realistic speaker and device conditions, including inputs where the correct response is no transcription.","sources":[{"title":"Hugging Face Audio Course: Pre-trained models for automatic speech recognition","url":"https://huggingface.co/learn/audio-course/en/chapter5/asr_models","note":"CTC and sequence-to-sequence recognition architectures and decoding workflows."},{"title":"Robust Speech Recognition via Large-Scale Weak Supervision","url":"https://arxiv.org/abs/2212.04356","note":"Multilingual speech recognition, transcription and translation task distinctions."}],"updatedAt":"2026-10-10"}},{"id":"text-to-speech","name":"Text-to-Speech","category":"Audio & Speech","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"Text-to-speech converts written content into a spoken audio signal. The competence is controlling pronunciation, voice and delivery while preserving the intended words, then assessing intelligibility and playback behavior. Naturalness, timing and factual correctness are different qualities, so pleasing sound alone is insufficient evidence of a successful synthesis workflow.","type":"concept","editorial":{"definition":"A synthesis pipeline interprets text and produces acoustic structure, then generates a waveform. Some systems separate text normalization, pronunciation modeling, acoustic prediction and a vocoder; other models combine stages. Normalization decides how numbers, dates and abbreviations should be spoken. Prosody governs timing, stress and intonation, while voice characteristics determine aspects of the perceived speaker. Tacotron 2 illustrates predicting a mel spectrogram before waveform synthesis. The output depends on language and training coverage as well as text formatting. Speech synthesis is distinct from voice conversion, which changes properties of existing speech, and from recognition, which maps audio in the opposite direction.","practice":"Define the intended audience, language, voice and playback context. Prepare scripts with explicit treatment of names, units and ambiguous notation. Select synthesis controls supported by the chosen model, generate short trials and listen before producing full tracks. Check omitted or repeated words, pauses, loudness and encoding, and compare intelligibility across relevant listeners and devices. Preserve source text and generation configuration for revisions. The result should be a reviewed audio artifact whose spoken content matches the approved script and whose delivery meets the application's timing and accessibility requirements, with difficult pronunciations recorded for future reuse.","example":"An illustrative navigation guide must speak street names and distances. The developer creates a pronunciation test set containing local names, abbreviations and decimal values. They compare versions by listening and ask reviewers to transcribe the generated instructions. One reading turns a route number into an ordinary quantity, so the input script is normalized differently. Final checks cover the full instruction at the intended playback volume, including pauses that separate the turn direction from the distance.","limits":"A natural voice can mispronounce names, skip content or place emphasis in a misleading position. Quality varies by language and text domain, and unsupported controls may be ignored or behave unpredictably. Objective acoustic measures do not replace listening for intelligibility and fidelity. Synthesis reproduces source claims without verifying them. Voice identity and permitted usage need deliberate selection. Evaluate pronunciation, content completeness and delivery separately, and test the actual output encoding and playback chain before distribution.","sources":[{"title":"Natural TTS Synthesis by Conditioning WaveNet on Mel Spectrogram Predictions","url":"https://arxiv.org/abs/1712.05884","note":"Acoustic prediction and vocoder stages in Tacotron 2 speech synthesis."},{"title":"ElevenLabs: Text to Speech","url":"https://elevenlabs.io/docs/overview/capabilities/text-to-speech","note":"Official example of model, voice and synthesis configuration in a production API."}],"updatedAt":"2026-10-10"}},{"id":"whisper","name":"Whisper","category":"Audio & Speech","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"Whisper is a family of speech models and an open-source implementation for transcription and related audio-language tasks. The competence is choosing the checkpoint and decoding mode, preparing audio correctly and testing long-recording behavior. Its outputs need comparison with the recording, especially for silence, names and unsupported or difficult speech.","type":"tool","editorial":{"definition":"The published model uses an encoder-decoder architecture trained on weakly supervised audio-text pairs. Task and language tokens guide behavior such as transcription or translation into English, depending on the checkpoint. The open-source implementation processes audio through model-specific features and decoding, and its transcription path handles longer recordings in successive windows. Checkpoints differ in capacity and task support, including English-only variants. Whisper is not automatically a diarization system, and segment timing is a separate output quality from recognized words. The library and hosted services that offer speech recognition also have different operational contracts; competence requires knowing which implementation and model the workflow actually runs.","practice":"Select a checkpoint based on evaluated language coverage, quality and available memory. Verify required audio preparation and installed decoding dependencies. Choose transcription or translation explicitly and test language detection when inputs are uncertain. Evaluate complete recordings from held-out speakers and sessions, including silent portions, music and overlapping speech. Inspect critical words and time alignment, and document prompt and decoding settings. Measure processing time and memory on representative durations. The useful output is a reproducible transcription workflow with linked audio evidence, supported checkpoints and a handling path for passages where the model produces uncertain or unsupported text.","example":"An illustrative interview project uses Whisper to draft transcripts for review. The developer compares two checkpoints on voices absent from the test tuning set and confirms that the desired mode preserves the original language. In a quiet pause, one run generates a plausible sentence that was never spoken. The workflow tests silence explicitly and retains reviewer access to each audio segment. Uncommon names receive targeted review, and speaker labels come from a separately evaluated diarization stage.","limits":"Whisper can produce incorrect or hallucinated text when acoustic evidence is weak, and checkpoint size does not guarantee uniform improvement on every recording. Long-window context can propagate mistakes. English translation is different from verbatim multilingual transcription, and language detection can be uncertain. Segment timestamps and speaker attribution should not be assumed accurate from word quality alone. Pin the implementation and checkpoint, inspect difficult audio directly and evaluate the complete transcription mode instead of relying on the model family's general reputation.","sources":[{"title":"Robust Speech Recognition via Large-Scale Weak Supervision","url":"https://arxiv.org/abs/2212.04356","note":"Whisper architecture, weak supervision and multilingual task design."},{"title":"OpenAI Whisper repository","url":"https://github.com/openai/whisper","note":"Official implementation, checkpoint choices, transcription workflow and documented limitations."}],"updatedAt":"2026-10-10"}},{"id":"detectron2","name":"Detectron2","category":"Computer Vision & Multimodal Vision","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"Detectron2 is a framework for building and evaluating visual recognition models, especially detection and segmentation workflows. The competence is configuring models and datasets correctly, interpreting structured predictions and evaluating the complete pipeline. A working pretrained demo is a starting point for task adaptation, rather than proof of suitability for new images.","type":"tool","editorial":{"definition":"Detectron2 provides model components, training utilities, configuration and dataset interfaces around PyTorch. Its recognition tasks can produce boxes, classes, masks or keypoints, depending on the selected model. A dataset registration connects records and metadata to loaders and evaluators; annotation coordinates and category mappings must match the documented representation. Configuration links architecture, weights, input transformations and optimization. Pretrained weights belong to specific model definitions and class inventories. Competence includes tracing those dependencies, understanding the output objects and choosing an evaluator that measures the actual task. The framework is an implementation environment rather than a single detector or segmentation algorithm.","practice":"Install a compatible framework and accelerator stack, then run a small known example. Register the custom dataset, visualize loaded annotations and verify category IDs before training. Match the configuration and checkpoint, adapt output heads where needed and inspect transformed samples. Hold out entire scenes or recording sources, evaluate the relevant recognition outputs and review errors by size and class. Record configuration and dependencies, then test the saved model in a fresh inference path. The deliverable is a reproducible experiment and deployable loader with evidence that dataset conventions, prediction coordinates and evaluation correspond to the intended visual problem.","example":"An illustrative project uses Detectron2 to segment individual tools on a bench. The engineer registers masks and classes, then overlays annotations as read by the training loader. A mismatched category mapping initially assigns the wrench label to a screwdriver, which visual review catches before training. Evaluation on separate benches checks instance masks and missed tools. The final inference test confirms that output coordinates map back to the original photograph and that the saved configuration reloads correctly.","limits":"Version or compiled-operator mismatches can prevent execution, while incorrect annotation conventions can produce misleading results without a crash. Model-zoo benchmarks use particular datasets and configurations. A framework supporting masks does not make a box-only model a segmenter. Default thresholds and preprocessing may not suit the deployment scene. Inspect data and predictions, retain the exact configuration and validate resource use in the target environment instead of assuming an experiment's checkpoint is a self-contained application.","sources":[{"title":"Detectron2: Getting Started","url":"https://detectron2.readthedocs.io/en/latest/tutorials/getting_started.html","note":"Model configuration, prediction, training and evaluation workflow."},{"title":"Detectron2: Use Custom Datasets","url":"https://detectron2.readthedocs.io/en/latest/tutorials/datasets.html","note":"Dataset registration, metadata and annotation representation."}],"updatedAt":"2026-10-10"}},{"id":"emotion-recognition","name":"Emotion Recognition","category":"Computer Vision & Multimodal Vision","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"Emotion recognition assigns emotion-related labels to observations such as text, voice or facial behavior. The competence is defining exactly what the labels represent, validating the measurement and communicating uncertainty. Classifying an annotated expression is different from establishing a person's inner emotional state, intentions or psychological condition.","type":"concept","editorial":{"definition":"Systems may predict categories such as anger or joy, or continuous dimensions such as valence and arousal, from modality-specific features. The training target might come from self-report, an annotator's interpretation or a posed expression; those sources do not measure the same construct. Text can explicitly describe a feeling, while tone or facial movement requires contextual inference. Multimodal models combine signals but do not automatically resolve ambiguity or annotation bias. Competence includes separating observed behavior, perceived emotion and claimed internal state, and matching the output language to the evidence. Evaluation must examine whether the labeling scheme is valid in the actual population and setting, beyond performance on a familiar dataset.","practice":"Choose a narrow observable task and document label definitions and how ground truth is obtained. Review annotation disagreement and allow multiple labels or uncertainty when appropriate. Split by person, conversation or recording session so identity cues do not leak into evaluation. Compare with simple lexical or modality baselines and test context shifts. Measure per-label precision and recall, calibration and relevant group differences, then inspect ambiguous cases with appropriate expertise. The result is an evidence-bounded classifier or analysis aid whose output describes what was measured and does not silently escalate a probabilistic expression label into a judgment about a person.","example":"An illustrative research tool labels emotion expressed in short written comments. Reviewers can assign several labels and mark unclear text. The developer tests new discussion topics, including irony and quotations, and discovers that a sentence quoting another person's anger receives the same label as a direct expression. They refine the task and presentation to identify the annotators' perceived expression, with the source text available for review, rather than claiming to measure the writer's actual mood.","limits":"Emotional expressions vary with context, culture and individual behavior, so facial or vocal cues do not provide a universal readout of internal state. Dataset agreement can measure shared annotator expectations rather than validity. Posed examples may poorly represent spontaneous behavior. Sentiment, topic and emotion are related but distinct targets. Avoid inferring diagnoses, deception or intent from expression scores. Quality depends on construct validity, uncertainty handling and performance under the intended context, not only classification accuracy.","sources":[{"title":"GoEmotions: A Dataset of Fine-Grained Emotions","url":"https://aclanthology.org/2020.acl-main.372/","note":"Primary text-emotion annotation study and fine-grained label formulation."},{"title":"Emotional Expressions Reconsidered: Challenges to Inferring Emotion From Human Facial Movements","url":"https://pubmed.ncbi.nlm.nih.gov/31313636/","note":"Scientific analysis of context and validity limits when inferring emotion from facial behavior."}],"updatedAt":"2026-10-10"}},{"id":"facial-recognition","name":"Facial Recognition","category":"Computer Vision & Multimodal Vision","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"Facial recognition compares facial images to support identity verification or identification. The competence is designing the matching task, controlling capture quality and selecting thresholds using relevant error evidence. Detecting a face or estimating landmarks is a separate operation, and a similarity score alone does not establish a person's identity.","type":"concept","editorial":{"definition":"A typical pipeline detects and aligns a face, then computes a representation whose distance or similarity supports matching. Verification compares a candidate with a claimed identity, while identification searches a gallery of enrolled people. These tasks have different error behavior, especially when the person may be absent from the gallery. Embedding methods learn representations in which images of the same person should be closer under the training objective. Thresholds convert similarity into a decision. Capture conditions, gallery composition and population affect the score distribution, so benchmark accuracy cannot be transferred without evaluation. Presentation-attack detection and enrollment quality checks are additional components rather than automatic properties of recognition.","practice":"Define the authorized identity task, enrollment process and treatment of nonmatches. Use appropriately governed images and separate individuals and capture sessions in evaluation. Check image quality and compare genuine and nonmatching pairs at the intended threshold. For gallery search, test unknown people and realistic gallery size. Analyze errors across relevant capture conditions and populations, and evaluate any spoofing controls separately. Preserve model, preprocessing and threshold versions. The deliverable is a documented matching workflow with evidence about false matches and false nonmatches, an uncertainty path and operational controls appropriate to the consequences of an incorrect identity decision.","example":"An illustrative opt-in photo organizer groups a user's personal images by likely identity. The developer tests changes in lighting, age and pose, and includes similar-looking different people. Rather than assigning every image to the nearest gallery entry, the system can leave an uncertain face ungrouped and request a correction. Evaluation measures both incorrect merges and missed same-person groups. Corrections update the album organization without treating an embedding match as proof of real-world identity.","limits":"False matches and false nonmatches vary with threshold, image quality, gallery size and population. A nearest neighbor exists even when the correct person is absent. Face detection success does not guarantee matching accuracy, and recognition does not establish liveness. Demographic and capture-condition differences require direct measurement for the selected algorithm. Distinguish matching from attribute or emotion inference. Evaluate the complete enrollment and decision workflow, and keep uncertain matches reviewable when errors affect people.","sources":[{"title":"FaceNet: A Unified Embedding for Face Recognition and Clustering","url":"https://arxiv.org/abs/1503.03832","note":"Learned facial embeddings and distance-based verification or clustering."},{"title":"NIST: Face Recognition Technology Evaluation 1:1 Verification","url":"https://pages.nist.gov/frvt/html/frvt11.html","note":"Threshold-based false match and false nonmatch evaluation, capture and demographic differences."}],"updatedAt":"2026-10-10"}},{"id":"image-classification","name":"Image Classification","category":"Computer Vision & Multimodal Vision","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"Image classification assigns one or more category labels to an image or defined crop. The skill is designing meaningful classes, selecting compatible input processing and evaluating mistakes under realistic visual variation. It answers what category the input belongs to, without necessarily locating every object or explaining the evidence used.","type":"concept","editorial":{"definition":"A classifier maps image features to scores for a fixed label inventory. Single-label tasks select one mutually exclusive category; multilabel tasks can assign several independent labels. Neural architectures such as convolutional or vision transformer networks learn representations, while simpler systems use engineered features. Pretrained checkpoints require their matching normalization, resolution and class mapping. The whole-image label may reflect an object, a scene or a condition, depending on annotation. Classification differs from detection because no box is required, and from segmentation because no pixel mask is produced. Competence includes understanding whether the label is visually observable and whether background context can provide an unintended shortcut.","practice":"Define class boundaries, ambiguous cases and the treatment of unfamiliar categories. Audit labels and data balance, and split by original object, subject or capture session to reduce near-duplicate leakage. Start with a baseline, use checkpoint-specific transforms and select augmentation that preserves the label. Evaluate per-class precision and recall or other task-relevant measures, inspect confusion and test changed backgrounds. Choose an uncertainty threshold on development data and check calibration if scores guide decisions. The useful result is a classifier with a stable preprocessing and label contract, plus evidence about the visual conditions and categories it can distinguish.","example":"An illustrative classifier labels photographs of packaging as intact, damaged or unclear. The engineer groups images of the same package within one split and compares performance across camera positions. Background replacement tests reveal that a table color predicts damage because examples were collected in separate stations. New balanced captures address that shortcut. Evaluation checks both missed defects and harmless creases mislabeled as damage, while images outside the supported view receive an unclear result.","limits":"A fixed label set can force unfamiliar images into a known class unless rejection is designed explicitly. High aggregate accuracy can hide rare-class failures, and correlated backgrounds may produce convincing but fragile results. Cropping or resizing can remove small decisive details. Classification confidence is not automatically a calibrated correctness probability. Distinguish label prediction from localization and causal explanation, and verify performance on independent objects and realistic conditions rather than random splits of repeated photographs.","sources":[{"title":"Torchvision: Models and pre-trained weights","url":"https://docs.pytorch.org/vision/stable/models.html","note":"Classification model interfaces, class metadata and weight-specific transforms."},{"title":"Deep Residual Learning for Image Recognition","url":"https://arxiv.org/abs/1512.03385","note":"Primary convolutional classification architecture with residual representation learning."}],"updatedAt":"2026-10-10"}},{"id":"image-segmentation","name":"Image Segmentation","category":"Computer Vision & Multimodal Vision","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"Image segmentation assigns regions or labels at pixel level, allowing a system to describe an object's shape or a scene's composition. Practitioners choose semantic, instance or panoptic outputs, define boundary conventions and evaluate masks. The competence includes preserving spatial detail and assessing errors that a whole-image label or box cannot reveal.","type":"concept","editorial":{"definition":"Semantic segmentation labels pixels by category without necessarily distinguishing separate objects of the same type. Instance segmentation produces a distinct mask for each object, and panoptic segmentation combines instance identities with scene-region categories. Neural models commonly encode visual context and recover spatial predictions through a decoder or task head. Training needs masks, polygons or other supervision appropriate to the output. Boundary ambiguity, resolution and ignored regions affect both learning and metrics. Overlap measures such as intersection over union assess region agreement, while boundary or instance measures answer additional questions. A segmentation mask is an estimate under an annotation scheme, not automatically a physical measurement in real-world units.","practice":"Decide whether the application needs class area, individual objects or precise boundaries. Write mask guidelines for occlusion, holes and uncertain pixels, then inspect annotation consistency. Preserve image-mask alignment during resizing and augmentation, using label-safe interpolation. Split by source scene or specimen. Evaluate class overlap, small-region performance and boundaries where relevant, and inspect masks over original images. Convert area to physical units only with appropriate geometry or calibration. The result is an evaluated mask generator and spatial processing contract, with evidence about which types of boundary and object separation it can support.","example":"An illustrative habitat-mapping project segments vegetation in aerial photographs. The developer defines how shadows and mixed boundary pixels are labeled and holds out entire survey areas. Evaluation compares overlap and errors along narrow vegetation strips. Resizing masks with ordinary image interpolation initially creates invalid class values, so the pipeline uses a suitable label-preserving operation. Final area summaries retain uncertain regions and account for image scale instead of treating every predicted pixel as an exact ground measurement.","limits":"Class imbalance can make background-heavy masks appear strong while missing small regions. Overlap metrics may conceal boundary errors or merged instances. Annotation disagreement sets practical limits on apparent precision. Aggressive downsampling removes detail, and mask area is not physical area without capture geometry. Detection boxes, semantic labels and instance masks solve different tasks. Evaluate the chosen output and its downstream use directly, including empty images, tiny objects and uncertain boundaries.","sources":[{"title":"U-Net: Convolutional Networks for Biomedical Image Segmentation","url":"https://arxiv.org/abs/1505.04597","note":"Encoder-decoder segmentation and preservation of spatial information."},{"title":"Microsoft COCO: Common Objects in Context","url":"https://arxiv.org/abs/1405.0312","note":"Instance masks and detailed localization as distinct visual annotations."}],"updatedAt":"2026-10-10"}},{"id":"mmdetection","name":"MMDetection","category":"Computer Vision & Multimodal Vision","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"MMDetection is an OpenMMLab toolbox for configuring, training and evaluating object detection and related instance recognition models. The competence is navigating its configuration and data pipeline, selecting compatible dependencies and checking annotations and metrics. It enables reproducible experiments across model families rather than representing one particular detection algorithm.","type":"tool","editorial":{"definition":"The toolbox provides modular model components, dataset handling, preprocessing, training and evaluation through the OpenMMLab ecosystem. Configuration specifies the backbone, prediction heads, transforms, optimizer and runtime. A pretrained checkpoint must match the model definition and class inventory, while custom data must satisfy the selected dataset interface. Boxes and masks use explicit coordinate and encoding conventions. Training resumption restores run state, whereas initialization from weights serves a different purpose. Competence includes reading inherited configuration and understanding the effective settings after overrides. Adjacent OpenMMLab packages handle other perception tasks, so functionality should be attributed to the actual toolbox and selected model rather than the ecosystem's collective scope.","practice":"Check MMDetection, MMEngine, MMCV and accelerator compatibility for the chosen version. Load a known configuration, then visualize custom annotations as the pipeline reads them. Update class metadata and heads consistently, audit resize and augmentation logic and choose the evaluator for the intended output. Hold out complete scenes or sequences and inspect class-specific recognition errors. Verify effective batch, learning-rate settings and the difference between resume and initialization. Save the resolved configuration and test the checkpoint in a fresh inference process. The deliverable is a reproducible experiment whose dataset, model and metric conventions can be inspected.","example":"An illustrative project trains a detector for industrial parts using MMDetection. The engineer converts annotations into the expected format and checks overlays after augmentation. A copied configuration still contains the original class count, so it is corrected before training. Held-out images come from separate capture sessions. A small interrupted run validates checkpoint resumption, and the final evaluation checks small fasteners separately from larger parts. Inference inspection confirms correct labels and coordinates on original-resolution photographs.","limits":"Inherited configuration can hide assumptions about batch size, labels or preprocessing. Binary extension and dependency mismatches can prevent execution. A model-zoo result does not establish performance on custom categories. Incomplete annotations and mismatched category IDs can corrupt evaluation without obvious runtime errors. The toolbox's modularity does not remove the need to understand the selected detector. Pin dependencies, inspect the resolved pipeline and validate complete saving and inference behavior, including deployment format constraints.","sources":[{"title":"MMDetection Documentation","url":"https://mmdetection.readthedocs.io/en/latest/","note":"Toolbox architecture, supported recognition workflows and ecosystem dependencies."},{"title":"MMDetection: Train predefined models on standard datasets","url":"https://mmdetection.readthedocs.io/en/latest/user_guides/train.html","note":"Configuration, custom dataset training, checkpoint resumption and evaluation procedures."}],"updatedAt":"2026-10-10"}},{"id":"mediapipe","name":"MediaPipe","category":"Computer Vision & Multimodal Vision","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"MediaPipe provides components and task APIs for running machine learning perception in applications, including image and video workflows. The competence is selecting a supported task, managing model assets and runtime modes and interpreting results correctly. Application behavior also requires timing, coordinate and uncertainty handling beyond obtaining a prediction.","type":"tool","editorial":{"definition":"MediaPipe Solutions packages models and processing into task-specific interfaces, while the framework supports graph-based processing components. Available tasks have different input and output contracts, such as image labels, landmarks or masks. Image, video and live-stream modes can differ in timestamp requirements and result delivery. Landmark coordinates describe estimated points according to the task's convention; they do not automatically establish physical motion or user intent. Models and platform runtimes need compatible assets and configuration. Competence includes distinguishing detection or landmark estimation from the additional logic that turns those observations into gestures, controls or application decisions, and reading the exact task documentation rather than generalizing across all MediaPipe APIs.","practice":"Choose the task and platform implementation, then inspect model requirements and running mode. Verify image rotation, color handling, coordinate normalization and timestamps. Test representative users, camera distances and occlusions before adding application logic. Measure latency and missed results in the actual frame-processing loop, including callbacks and dropped frames. Evaluate gesture or interaction decisions separately from landmark accuracy, and design a neutral state for uncertain observations. The result is an integrated perception component with a reproducible asset and configuration setup, explicit timing assumptions and tested behavior when the target is temporarily absent or partly hidden.","example":"An illustrative hand-controlled drawing tool uses MediaPipe hand landmarks. The developer checks coordinate mirroring so the cursor follows the displayed hand and tests both still-image and live-stream paths. A gesture requires sustained evidence across frames rather than one noisy landmark estimate. Evaluation includes hands entering the frame and fingers becoming occluded. When tracking becomes uncertain, the tool stops drawing instead of continuing from a stale point, and latency is measured through the complete interaction loop.","limits":"Task outputs depend on capture conditions and model coverage. Normalized image coordinates and estimated world coordinates are not interchangeable measurements. Different modes impose distinct timestamp and callback behavior, and processing every frame may not be feasible on all devices. Landmarks alone do not prove a gesture, identity or health condition. Verify the selected task's documented semantics, measure complete interaction behavior and handle absence or uncertainty explicitly rather than treating smooth visual overlays as sufficient accuracy evidence.","sources":[{"title":"Google: MediaPipe Solutions guide","url":"https://developers.google.com/edge/mediapipe/solutions/guide","note":"Task APIs, platform workflows and the distinction from MediaPipe Framework."},{"title":"Google: Hand landmarks detection guide","url":"https://developers.google.com/edge/mediapipe/solutions/vision/hand_landmarker","note":"Example task inputs, landmark outputs, runtime modes and configuration."}],"updatedAt":"2026-10-10"}},{"id":"object-tracking","name":"Object Tracking","category":"Computer Vision & Multimodal Vision","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"Object tracking associates observations of an object across time to estimate its continuing position or trajectory. The skill is combining detection, motion and appearance evidence while managing missed observations and identity changes. Tracking adds temporal association to perception; accurate detections in individual frames do not automatically yield reliable tracks.","type":"concept","editorial":{"definition":"Single-object tracking follows a designated target, while multi-object tracking maintains several identities and their trajectories. Tracking-by-detection detects objects in each frame, predicts their likely motion and matches new observations to existing tracks. SORT illustrates motion prediction and assignment from boxes; Deep SORT adds an appearance representation to support association. Track creation, termination and reappearance rules determine behavior during gaps. Camera motion, frame timing and coordinate changes affect motion estimates. Track IDs are local bookkeeping identities rather than verified real-world identities. Evaluation must therefore distinguish detection errors, trajectory fragmentation and incorrect switches between objects instead of using frame-level detection accuracy alone.","practice":"Define whether the application needs short-term continuity, counting or longer trajectories. Choose association features and motion assumptions consistent with the camera and frame rate. Annotate complete sequences and keep sequences separate across development and test sets. Evaluate identity switches, missed tracks and fragmentation alongside detection quality. Inspect crossings, occlusions and entry or exit behavior visually. Tune thresholds and gap rules on development sequences, then measure processing latency and stale-result handling. The useful result is a temporal pipeline whose track semantics, lifecycle and uncertainty are explicit enough for downstream counting or movement analysis.","example":"An illustrative warehouse camera counts carts crossing a doorway. The developer starts with detection-based tracks and reviews sequences where two carts overlap. A single cart changing track ID can be counted twice, so the counting rule uses a persistent crossing event rather than every newly created ID. Evaluation holds out full video sessions and checks both track identity and final counts. Long occlusions are reported as uncertain trajectories instead of inventing continuous movement through hidden regions.","limits":"Fast motion, occlusion, similar appearance and moving cameras can break association. A detector's false positive may become a persistent track, while reidentification can connect unrelated objects. Smooth trajectories may be wrong, and interpolated locations are estimates rather than observations. Cross-camera identity is a separate problem with additional assumptions. Distinguish visual tracking from facial or personal identification, and evaluate the downstream event logic as well as temporal association, especially when missed frames or variable timestamps occur.","sources":[{"title":"Simple Online and Realtime Tracking","url":"https://arxiv.org/abs/1602.00763","note":"Motion-based tracking-by-detection and assignment."},{"title":"Simple Online and Realtime Tracking with a Deep Association Metric","url":"https://arxiv.org/abs/1703.07402","note":"Appearance-based association to reduce identity switches in multi-object tracking."}],"updatedAt":"2026-10-10"}},{"id":"yolo","name":"YOLO","category":"Computer Vision & Multimodal Vision","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"YOLO refers to a family of visual recognition models and implementations originating in direct object detection. The competence is selecting a specific version and task, preparing its annotations and evaluating the exported model. Different YOLO releases and libraries have distinct architectures, supported outputs and operating requirements.","type":"tool","editorial":{"definition":"The original YOLO formulation predicts object locations and classes from an image in a unified detection network rather than using a separate region-proposal pipeline. Later implementations revise prediction heads, training recipes and other design choices, so the family name alone does not define exact behavior. A detection model returns boxes, class scores and associated postprocessing results. Some toolchains also provide classification, segmentation, pose or tracking workflows, but these require the corresponding model and interface. Input resizing and padding affect how predicted coordinates map to original images. Competence includes distinguishing the architectural family, the selected checkpoint and the software implementation, and documenting the output task rather than assuming every YOLO artifact is equivalent.","practice":"Select a maintained implementation and identify the exact model, task and license. Validate class mappings and annotation coordinates, inspect transformed training samples and keep complete capture sessions outside training. Measure precision and recall by class and size, choose confidence and overlap settings on development data and review empty-scene behavior. Benchmark preprocessing, inference and postprocessing together on target hardware. Test exported outputs against the evaluated training runtime, including coordinate restoration. The deliverable is a versioned detection or other task pipeline whose quality and latency are demonstrated for the actual scene and deployment format.","example":"An illustrative sorter detects labeled cartons from a fixed camera. The engineer compares two YOLO detection checkpoints with the same held-out recordings. One misses small labels after input resizing, so the comparison includes resolution and throughput together. Export to an edge runtime produces different duplicate suppression behavior, which is checked on crowded scenes. The final system uses documented thresholds and maps boxes back to the camera image before a reviewer inspects detections.","limits":"A family's real-time reputation is not a latency guarantee for every model, device or input size. Different versions can use incompatible training, labels or export interfaces. Small objects, occlusion and changed lighting remain difficult. Confidence and suppression affect duplicate or missed detections, and an exported runtime may alter those steps. YOLO detection is distinct from segmentation or tracking even when one library offers them all. Validate the selected artifact and complete execution path rather than citing the family name as evidence of capability.","sources":[{"title":"You Only Look Once: Unified, Real-Time Object Detection","url":"https://arxiv.org/abs/1506.02640","note":"Original unified prediction approach to object detection."},{"title":"Ultralytics: Object Detection","url":"https://docs.ultralytics.com/tasks/detect","note":"Official implementation-specific training, prediction and export workflow for detection."}],"updatedAt":"2026-10-10"}},{"id":"dlib","name":"dlib","category":"Computer Vision & Multimodal Vision","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"dlib is a C++ library with Python interfaces for machine learning, numerical operations and computer vision components. The competence is selecting the appropriate algorithm or pretrained asset, managing image and coordinate conventions and evaluating its output. A face-related example demonstrates a component, rather than establishing a complete identity or interpretation system.","type":"tool","editorial":{"definition":"The library exposes algorithms and data structures for tasks including classification, optimization, image detection, landmark prediction and tracking. Particular interfaces require specific arrays, rectangles or model files, and output semantics depend on the chosen algorithm. A face detector estimates a region; a landmark predictor estimates positions within that region; a recognition representation supports a separate matching procedure. These components should not be conflated. Python bindings provide convenient access but retain computational and build requirements of the underlying implementation. Competence includes understanding which algorithm is being used, its assumptions and the provenance or permitted use of any pretrained weights, rather than treating every bundled example as one universal dlib model.","practice":"Select the documented algorithm and verify installation and model-file compatibility. Check image channel order, shape and coordinate conventions, then inspect results on controlled images and realistic capture conditions. When combining detection and landmark prediction, evaluate each stage and the effects of failed or inaccurate detections. Keep related subjects or sequences together across splits if learning or tuning is involved. Record algorithm parameters and asset versions, measure complete runtime and test saved models in a fresh process. The useful result is a reproducible component or pipeline with clearly defined outputs and evidence about the conditions where the chosen dlib operation works.","example":"An illustrative annotation tool uses dlib to propose facial landmarks in consented portrait images. The developer overlays points and checks that each index represents the expected location. Side views and partially hidden faces expose failures in the detector and predictor separately. The tool lets an annotator correct suggestions and preserves the original image coordinates. It does not infer identity or emotion from those landmarks, because those would require additional models, labels and evaluation.","limits":"Pretrained examples have specific coverage and asset licenses; library availability does not establish their suitability for every use. Poor detections can invalidate later landmark estimates even when points look plausible. Build options and dependencies affect installation and performance. Coordinate or color mistakes may silently change predictions. dlib provides several algorithms, not a single state-of-the-art claim across tasks. Evaluate the selected operation and full pipeline, and distinguish geometry outputs from identity, emotion or other interpretations added downstream.","sources":[{"title":"dlib: Python API","url":"https://dlib.net/python/","note":"Official algorithm interfaces and image, geometry and model operations."},{"title":"dlib: Face landmark detection example","url":"https://dlib.net/face_landmark_detection.py.html","note":"Separate face detection and landmark prediction stages and pretrained asset usage."}],"updatedAt":"2026-10-10"}},{"id":"gensim","name":"Gensim","category":"NLP Foundations","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"Gensim is a Python library for corpus representations, vector models, similarity and topic-oriented text analysis. The competence is building consistent dictionaries and corpus transformations, selecting a representation suited to the question and interpreting results with independent checks. A learned topic or neighboring word is an analytical pattern rather than a verified semantic fact.","type":"tool","editorial":{"definition":"Gensim organizes documents through representations such as token lists, sparse bag-of-words vectors and learned dense vectors. A dictionary maps tokens to stable IDs; a corpus supplies documents; transformations map one representation into another. Algorithms include topic models and distributional word representations, with different input and output semantics. Similarity indexes compare vectors under their representation and scoring convention. Streaming interfaces can process corpora without holding every document in memory, though vocabulary and model state still require resources. Competence includes preserving preprocessing, dictionary and model together, since a vector is meaningless if its IDs or learned basis are interpreted through an unrelated corpus artifact.","practice":"Define whether the project needs exploratory topics, word similarity or document retrieval. Inspect tokenization and document construction, then fit dictionaries and transformations on the intended training corpus. Keep held-out documents outside fitting when measuring generalization. Record vocabulary filtering, random state and algorithm settings, and examine representative document vectors and model outputs. Assess topic stability or retrieval relevance with reviewed examples instead of only optimization statistics. Save and reload the full artifact chain. The deliverable is a reproducible corpus analysis with interpretable outputs and evidence that representations remain aligned when new documents are processed.","example":"An illustrative archive project uses Gensim to explore themes in technical reports. The engineer builds a dictionary from training reports, trains a topic model and reviews both top words and representative passages for each topic. One topic is dominated by repeated footer text, so preprocessing is revised and the analysis repeated. Held-out reports test whether the topic representation is useful beyond the fitting corpus. The exported result retains dictionary IDs and model settings for consistent later analysis.","limits":"Corpus preprocessing and vocabulary filtering strongly influence learned patterns. Topic labels require interpretation and can shift across random initializations. Word similarity reflects distributional context, which can preserve stereotypes or associate opposites. Streaming does not eliminate all memory costs, and a new dictionary can invalidate saved vectors. Gensim is distinct from a general pretrained contextual language-model framework. Validate the particular representation and analytical question, and avoid interpreting numerical similarity or a topic label as a causal explanation of the corpus.","sources":[{"title":"Gensim: Core Concepts","url":"https://radimrehurek.com/gensim/auto_examples/core/run_core_concepts.html","note":"Documents, dictionaries, corpora, vectors and transformation semantics."},{"title":"Gensim: Documentation tutorials","url":"https://radimrehurek.com/gensim/auto_examples/index.html","note":"Official workflows for topic models, word embeddings and similarity analysis."}],"updatedAt":"2026-10-10"}},{"id":"nltk","name":"NLTK","category":"NLP Foundations","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"NLTK is a Python toolkit for language analysis, linguistic resources and educational NLP workflows. The competence is applying its tokenizers, corpora and linguistic algorithms with an explicit task and evaluation. Resource availability supports exploration, but the outputs still depend on language, preprocessing choices and the assumptions of each component.","type":"tool","editorial":{"definition":"NLTK supplies interfaces and algorithms for operations such as tokenization, tagging, stemming, parsing and classification, alongside access to corpus and lexical resources. A tokenizer divides text, a tagger assigns grammatical categories and a stemmer reduces forms according to an algorithm; these are separate transformations. Many functions rely on additional data packages, and resource coverage varies by language and domain. Text encoding and Unicode handling affect how inputs are read and normalized. NLTK can support a complete experimental workflow, but its individual components do not automatically share one trained pipeline or a common accuracy guarantee. Competence includes selecting resources deliberately and interpreting linguistic outputs at the level they actually represent.","practice":"Identify the linguistic operation and choose a suitable algorithm and resource. Record toolkit and data-package versions, inspect multilingual and punctuation-rich examples and preserve original text when alignment matters. Build a small reviewed evaluation set for the domain instead of assuming a textbook example transfers directly. Fit learned components on training data and keep complete documents outside fitting. Compare alternatives such as stemming versus lemmatization through downstream effects. The deliverable is a reproducible language-analysis script with explicit resource dependencies, correct encoding and evidence that each transformation helps the intended task without discarding important information.","example":"An illustrative corpus study counts how often writers use different forms of a technical term. The analyst uses NLTK tokenization, checks Unicode punctuation and compares raw forms with stemmed counts. Inspection shows that the stemmer combines an unrelated word with the target, so the final counting rule uses a reviewed lexical mapping. A held-out set of documents checks the rule's coverage, and the output retains original excerpts so another analyst can inspect counted occurrences.","limits":"Algorithms can be language-specific, and downloaded corpora may not match the application's genre or permissions. Stems are not necessarily valid dictionary words, and tags or parses are model predictions. Resource changes can alter behavior, while simple tokenization may mishandle identifiers or mixed scripts. NLTK is a toolkit rather than an automatic general language understanding system. Evaluate the chosen components and downstream result, and keep resource installation, linguistic assumptions and measured quality distinct.","sources":[{"title":"NLTK Book","url":"https://www.nltk.org/book/","note":"Official author-maintained guide to corpora, linguistic operations and experimental NLP."},{"title":"NLTK Book: Processing Raw Text","url":"https://www.nltk.org/book/ch03.html","note":"Unicode, tokenization, normalization and lexical processing workflows."}],"updatedAt":"2026-10-10"}},{"id":"spacy","name":"spaCy","category":"NLP Foundations","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"spaCy is a library for building language-processing pipelines with tokenization, trained linguistic components and rules. The competence is selecting compatible language assets, configuring dependencies and inspecting structured annotations. It supports efficient application workflows, but each component and rule still needs evaluation on the language and domain where it will be used.","type":"tool","editorial":{"definition":"A spaCy pipeline starts with text converted into a Doc containing tokens and can add components for tagging, parsing, lemmatization, entity recognition or custom annotations. Components may depend on attributes produced earlier in the pipeline. Tokenization is a separate initial step with language-specific rules, while trained packages supply learned models and configuration. Rule-based matching can operate on token attributes and combine with statistical predictions. Spans and token offsets link results to source text. Competence includes understanding component order, language and model compatibility, and whether an output is a deterministic rule match or a learned prediction. The library's structured object model does not make all annotations equally reliable.","practice":"Choose a language package and enable only components needed for the task, while retaining their prerequisites. Inspect token boundaries, entity spans and other relevant annotations on representative documents. Write precise rules with reviewed positive and negative examples. Batch processing where appropriate and measure end-to-end throughput. When training or tuning, keep documents and related sources separate across splits and evaluate each output type with suitable metrics. Save configuration, rules and model versions together. The useful result is a reproducible pipeline whose structured outputs remain aligned with the source text and whose observed failures are documented for downstream users.","example":"An illustrative contract-indexing tool uses spaCy to identify organization mentions and match a small set of clause phrases. The engineer checks component order and discovers that one matcher depends on lemmas from a disabled component. They repair the dependency and evaluate full documents held out by template family. Entity spans are shown with their source text, while clause matches are tested against near-miss phrases. Canonical organization linking is handled and measured as a separate stage.","limits":"Language packages and pipeline components have specific coverage and dependencies. Tokenization changes can invalidate span annotations or rules. Statistical entities and parses can be wrong despite a well-formed Doc object, while broad rules can overmatch. Fast processing does not establish task accuracy. spaCy differs from a single language model and from a complete document-understanding application. Pin assets, inspect effective component order and evaluate the exact annotations and downstream decisions required by the application.","sources":[{"title":"spaCy: Language Processing Pipelines","url":"https://spacy.io/usage/processing-pipelines","note":"Doc processing, component order, configuration and batching."},{"title":"spaCy: Linguistic Features","url":"https://spacy.io/usage/linguistic-features","note":"Tokenization, linguistic annotations, entities and rule-based processing semantics."}],"updatedAt":"2026-10-10"}},{"id":"information-retrieval","name":"Information Retrieval","category":"Text Understanding","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"Information retrieval finds and ranks material that addresses an information need within a collection. The competence is defining relevance, indexing suitable units, choosing ranking methods and evaluating results with representative queries. Retrieval returns candidate evidence or documents; it does not automatically synthesize or verify an answer.","type":"concept","editorial":{"definition":"A retrieval system represents a collection and a query so it can identify matching candidates efficiently. Lexical approaches use inverted indexes and term-based scores; dense approaches compare learned vectors; hybrid methods combine signals. Filters restrict eligible material, and reranking can apply a more expensive relevance model to a candidate set. Document segmentation and field weighting affect what a result means. Relevance is defined by the user's need, which may involve topical match, exact identifiers, authority or recency. Precision, recall and ranking metrics examine different aspects of success. Competence includes building a judgment set and understanding how query construction, index coverage and ranking each contribute to the final result.","practice":"Specify the collection, permissions and searchable unit, then inspect content extraction and metadata. Construct realistic queries with judged relevant results and keep tuning queries separate from final evaluation. Establish a lexical baseline before testing vector or hybrid methods. Measure candidate recall and final rank quality separately, including empty or ambiguous queries. Inspect missing documents, incorrect filters and ranking errors as different failure sources. Version the corpus and index and test updates. The deliverable is a search configuration whose relevance and coverage are supported by evidence, with clear handling for absent material and results outside the user's permitted scope.","example":"An illustrative engineering archive needs searches by component number and by descriptions of a failure. The developer indexes titles, body text and revision metadata. Exact identifiers favor lexical retrieval, while descriptive queries benefit from embeddings. Evaluation includes a relevant document whose body extraction failed; that is diagnosed as an indexing problem rather than poor ranking. The final report compares candidate recall and top-result usefulness on held-out query families and confirms that superseded revisions are labeled correctly.","limits":"Relevance judgments are incomplete and depend on the information need, so one benchmark may not represent another application. A ranker cannot recover documents missing from the index or removed by an incorrect filter. High recall can coexist with poor first results, and semantically similar text may lack the required fact. Query repetition during tuning can overfit evaluation. Distinguish retrieval, summarization and question answering, and measure index coverage, candidate selection and final ranking separately.","sources":[{"title":"Introduction to Information Retrieval","url":"https://nlp.stanford.edu/IR-book/","note":"Author-maintained textbook covering indexing, lexical ranking and retrieval models."},{"title":"Introduction to Information Retrieval: Evaluation in information retrieval","url":"https://nlp.stanford.edu/IR-book/html/htmledition/evaluation-in-information-retrieval-1.html","note":"Relevance judgments, precision, recall and ranking evaluation principles."}],"updatedAt":"2026-10-10"}},{"id":"intent-detection","name":"Intent Detection","category":"Text Understanding","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"Intent detection identifies the action or goal expressed by a message so a system can choose an appropriate next step. The skill is defining an actionable intent inventory, separating similar requests and handling ambiguity or unsupported goals. Predicting an intent label is distinct from authorizing or executing the requested action.","type":"concept","editorial":{"definition":"A system maps an utterance and, when needed, conversation context to one or more intent categories such as checking a delivery or changing an address. Classifiers, embedding matching, rules or prompted models can implement this mapping. Slot or entity extraction supplies arguments such as an order number, but does not replace the intent decision. Closely related intents require clear boundaries based on different downstream handling. Out-of-scope detection identifies messages that do not belong to the supported inventory. Multi-intent requests and changes of goal within a conversation need an explicit policy. The taxonomy is an application design choice, rather than a universal list of human intentions.","practice":"Start from supported workflows and write label definitions that specify different next actions. Collect realistic wording, short replies and confusing near-neighbor requests. Split by conversation and paraphrase family, and reserve unsupported requests for evaluation. Compare routing accuracy by intent, confusion between consequential actions and false acceptance of out-of-scope input. Tune clarification or abstention thresholds on development data. Evaluate extracted arguments and routing separately, then test their combination. The deliverable is an intent model and routing policy with documented ambiguity handling, including when the system asks a question before proceeding.","example":"An illustrative assistant distinguishes cancelling an order from asking about a cancellation policy. The developer adds near-miss examples that mention the same word but require different handling. Evaluation includes a message saying the customer does not want to cancel, as well as a short follow-up referring to a previous order. Uncertain cases request clarification, and even a confident cancellation intent passes through a separate authorized-action workflow rather than immediately changing the order.","limits":"A forced-choice classifier can assign a confident supported label to an unfamiliar request. Keywords alone miss negation, indirect questions and changing context. Overlapping categories create annotation disagreement and unstable routing. High accuracy on templated utterances may not transfer to natural conversations. Intent labels do not establish identity, permission or complete arguments. Evaluate rejection and clarification alongside classification, and keep the semantic interpretation separate from the controls that permit consequential actions.","sources":[{"title":"An Evaluation Dataset for Intent Classification and Out-of-Scope Prediction","url":"https://arxiv.org/abs/1909.02027","note":"Primary intent-classification benchmark with explicit unsupported-input evaluation."},{"title":"Snips Voice Platform: an embedded Spoken Language Understanding system for private-by-design voice interfaces","url":"https://arxiv.org/abs/1805.10190","note":"Intent and slot interpretation within an application-oriented spoken-language pipeline."}],"updatedAt":"2026-10-10"}},{"id":"natural-language-understanding-nlu","name":"Natural Language Understanding (NLU)","category":"Text Understanding","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"Natural language understanding maps language to interpretations useful for a task, such as intent, semantic relationships or evidence-supported answers. The competence is specifying the intended meaning operation and testing it under ambiguity and context changes. A benchmark score or fluent response does not establish unrestricted understanding of language.","type":"concept","editorial":{"definition":"NLU is a task family within NLP rather than one algorithm. Systems may identify intent and arguments, compare whether statements entail one another, resolve references or extract answers from context. Contextual encoders learn representations that support task-specific prediction; generative models can produce interpretations through prompted or trained outputs. BERT is an example of bidirectional representation pretraining followed by task adaptation, not the definition of NLU itself. The label understanding refers to observable task performance. Annotation rubrics determine what counts as an interpretation, and different tasks probe different aspects of meaning. A model that classifies sentiment well may still fail on negation, temporal relations or implied context.","practice":"Choose the semantic operation and define correct outputs before selecting a model. Build examples that distinguish surface word overlap from the intended meaning, including negation, role reversal and underspecified references. Keep source passages and paraphrase families together across splits. Compare simple baselines with learned representations and evaluate each task separately. Inspect controlled contrast pairs where a small text change should alter the result. The useful output is a task-bounded interpretation system with evidence about context sensitivity, ambiguity handling and generalization, rather than a broad claim of comprehension based on one successful conversation.","example":"An illustrative eligibility checker interprets whether a policy passage supports a user's requested condition. The developer tests pairs where only a negation or date changes, and includes passages that discuss the topic without stating the requirement. The model initially predicts support from shared vocabulary, so the evaluation distinguishes entailment from topical similarity. Ambiguous references produce an uncertain outcome with the passage available for review, while any final eligibility decision follows a separately defined business rule.","limits":"Linguistic benchmarks cover only sampled phenomena and can contain exploitable patterns. Performance may fail on new domains, languages or longer context. Interpretation labels can hide disagreement about the text's meaning. A representation model does not automatically retrieve relevant evidence, and generated explanations may rationalize incorrect predictions. Distinguish NLU from speech recognition, broad NLP tooling and answer generation. Evaluate the exact meaning relation and uncertainty behavior required by the application, especially where a plausible interpretation has consequential downstream effects.","sources":[{"title":"GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understanding","url":"https://arxiv.org/abs/1804.07461","note":"Distinct NLU tasks and diagnostic evaluation of linguistic behavior."},{"title":"BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding","url":"https://arxiv.org/abs/1810.04805","note":"Contextual bidirectional representations and adaptation to different understanding tasks."}],"updatedAt":"2026-10-10"}},{"id":"summarization","name":"Summarization","category":"Text Understanding","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"Summarization produces a shorter account of source material while preserving information needed by a particular reader or task. The skill is defining coverage and length priorities, choosing extractive or generative methods and checking faithfulness. A concise, fluent summary can still omit a decisive caveat or introduce an unsupported statement.","type":"concept","editorial":{"definition":"Extractive methods select source passages, while abstractive methods generate new wording that condenses or combines information. A summary may cover one document, several sources or material selected by a question. Its quality depends on source fidelity, salience, coherence and the requested compression, which can conflict. Generative models condition on available text, so truncation or chunking determines which evidence can influence the result. Reference-overlap metrics compare wording with sample summaries but do not fully measure factual consistency. Faithfulness asks whether claims are supported by the source; factuality can also consider external truth. These are distinct, since a source itself may contain an incorrect claim.","practice":"Specify audience, purpose, maximum length and information that must survive compression. Preserve source provenance and ensure decisive sections reach the model. Compare a simple extractive baseline with generation or hierarchical processing. Keep documents and summary variants grouped across data splits. Evaluate coverage against a content checklist, inspect every important claim and test numbers, actors and caveats. Use reference metrics as supporting evidence rather than the release criterion. The deliverable is a reviewed summarization workflow with a clear source boundary and an evaluation rubric that makes omissions and unsupported additions visible.","example":"An illustrative project summarizes a maintenance incident report for a shift handover. The essential content includes the observed fault, temporary workaround and unresolved risk. The developer checks each generated sentence against the report and discovers that a planned inspection became a completed inspection in the summary. They refine the rubric and test new reports with similar temporal distinctions. A final length check ensures brevity while preserving the unresolved risk, with a link back to the source passage.","limits":"Long inputs can lose crucial evidence through truncation or imperfect chunk aggregation. Extracted sentences can mislead when separated from qualifications, while generated wording can change causality or completion status. Multiple sources may disagree, and a summary must not silently merge their claims. Wording overlap does not establish fidelity. Summarization differs from open-ended generation and extraction of fixed fields. Check source support, coverage and reader usefulness separately, including whether the requested compression leaves enough space for essential uncertainty.","sources":[{"title":"Hugging Face Transformers: Summarization","url":"https://huggingface.co/docs/transformers/en/tasks/summarization","note":"Extractive and abstractive task formulations and supervised generation workflow."},{"title":"On Faithfulness and Factuality in Abstractive Summarization","url":"https://aclanthology.org/2020.acl-main.173/","note":"Primary analysis of unsupported content and limitations of common summary quality measures."}],"updatedAt":"2026-10-10"}},{"id":"text-classification","name":"Text Classification","category":"Text Understanding","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"Text classification assigns a predefined category or set of categories to a text unit. Practitioners define labels, select representations and evaluate prediction errors in the application context. The competence includes class imbalance, ambiguous examples and unsupported categories, rather than assuming every text can be forced into one useful label.","type":"concept","editorial":{"definition":"The input may be a message, sentence, document or selected passage, and its scope affects the meaning of the prediction. Single-label classification chooses one mutually exclusive class; multilabel classification can assign several. Models can use sparse lexical features with a linear classifier, contextual encoder representations or other learned mappings. Training targets express a labeling policy rather than a universal property of the text. Decision thresholds convert scores into output labels, especially in multilabel or rejection settings. Classification differs from sequence tagging, which labels spans or tokens, and from clustering, which discovers groupings without a fixed supervised inventory. The representation and annotation scheme jointly define the task.","practice":"Write label definitions and resolve overlaps before collecting training examples. Audit class frequencies, annotation agreement and source-specific artifacts. Establish a sparse-feature baseline and compare more complex models only against the same split and criteria. Hold out conversations, document families or time periods that could leak repeated content. Measure per-class precision and recall, confusion and relevant error costs; tune thresholds on development data. Inspect truncation and uncertain examples. The deliverable is a calibrated decision policy where needed, a versioned preprocessing and label mapping and evidence that the model generalizes to the texts that will actually be classified.","example":"An illustrative archive classifier separates technical reports, invoices and correspondence. A baseline performs well because file headers expose the categories, but deployment includes scans with missing headers. The developer evaluates body-only examples and groups template families across splits. They compare lexical and encoder models, inspect invoice-correspondence confusion and add an uncertain route for mixed documents. Final assessment checks the downstream review workload as well as category accuracy.","limits":"Aggregate accuracy can hide weak minority classes, while inconsistent labels limit what a model can learn. Models may rely on headers, author names or other shortcuts instead of relevant content. Long-document truncation and domain change can alter decisions. A high score does not automatically mean a calibrated probability, and fixed categories require explicit unknown handling. Sentiment and intent detection are particular classification tasks with additional semantics. Evaluate label policy, representation and decision threshold together.","sources":[{"title":"Hugging Face Transformers: Text classification","url":"https://huggingface.co/docs/transformers/en/tasks/sequence_classification","note":"Supervised sequence-label prediction, label mappings and inference."},{"title":"scikit-learn: Classification of text documents using sparse features","url":"https://scikit-learn.org/stable/auto_examples/text/plot_document_classification_20newsgroups.html","note":"Lexical-feature baselines and inspection of document-classification shortcuts."}],"updatedAt":"2026-10-10"}},{"id":"word2vec","name":"Word2Vec","category":"NLP Foundations","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"Word2Vec learns dense word vectors from patterns of neighboring words in a corpus. The skill is choosing the context objective and corpus preparation, training or selecting embeddings and assessing their usefulness for a downstream task. Vector proximity reflects distributional usage and should not be treated as a complete definition of meaning.","type":"concept","editorial":{"definition":"The Continuous Bag-of-Words formulation predicts a target word from surrounding words, while skip-gram predicts context words from a target. Training adjusts vector parameters so observed word-context relationships receive higher scores under the selected objective. Hierarchical softmax or negative sampling can make optimization practical for large vocabularies. Each vocabulary item generally receives a fixed vector, so different senses of a word share that representation. Context window, frequency filtering and corpus domain influence the geometry. Word2Vec differs from contextual encoders that change a token's representation with its sentence, and from TF-IDF, whose sparse dimensions directly represent vocabulary terms rather than learned latent coordinates.","practice":"Inspect the corpus, tokenization and phrase handling, then choose CBOW or skip-gram and set window, dimension and frequency thresholds deliberately. Prevent held-out documents from entering corpus fitting when claiming downstream generalization. Check vocabulary coverage and unstable neighbors for rare terms. Evaluate representations on the actual classification, retrieval or analysis task, comparing with simple lexical and contextual alternatives where relevant. Preserve vocabulary, preprocessing and model version together. The useful result is an embedding resource with documented corpus assumptions and evidence about where its distributional relationships help, including what happens when a new word is absent.","example":"An illustrative analyst studies terminology in equipment manuals. Word2Vec neighbors reveal terms used in similar contexts, and the analyst reviews passages before adding candidate synonyms to a search vocabulary. One opposite term appears nearby because both occur in the same troubleshooting descriptions. Evaluation on held-out search queries distinguishes useful synonyms from merely related words. The final artifact records reviewed mappings separately from vector neighbors, so the model's associations are not presented as verified equivalences.","limits":"A static vector blends senses and may place antonyms close because they share contexts. Rare words and changed terminology have weak or missing representations. Corpus biases can appear in similarities or analogies, and an attractive analogy does not establish broad reasoning ability. Mean word vectors lose order and composition unless additional modeling is used. Evaluate downstream utility and inspect source contexts, and keep learned similarity distinct from synonymy, factual relations or contextual meaning.","sources":[{"title":"Efficient Estimation of Word Representations in Vector Space","url":"https://arxiv.org/abs/1301.3781","note":"CBOW and skip-gram word representation objectives."},{"title":"Distributed Representations of Words and Phrases and their Compositionality","url":"https://arxiv.org/abs/1310.4546","note":"Negative sampling, subsampling and distributional word or phrase representations."}],"updatedAt":"2026-10-10"}},{"id":"tf-idf","name":"TF-IDF","category":"NLP Foundations","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"TF-IDF weights text features using their frequency within a document and rarity across a corpus. The competence is building a stable vocabulary and weighting scheme, preserving sparse representations and evaluating their usefulness for search or classification. It highlights discriminative lexical evidence without learning a full semantic representation.","type":"concept","aliases":["TFIDF","TF IDF","Term Frequency–Inverse Document Frequency"],"editorial":{"definition":"Term frequency measures how much a term occurs in an individual document, with possible normalization or logarithmic scaling. Inverse document frequency reduces the weight of terms that appear across many documents and emphasizes rarer terms. Their combination produces a sparse vector over vocabulary dimensions, sometimes including word or character n-grams. Implementations differ in smoothing, normalization and counting conventions, so the exact formula matters for reproducibility. Similarity can compare these vectors, or a classifier can use them as input. TF-IDF does not intrinsically model word order beyond selected n-grams, synonymy or context-dependent senses, and it differs from BM25's particular retrieval scoring formulation.","practice":"Choose tokenization, n-grams, vocabulary filtering and weighting based on the task and corpus. Fit vocabulary and document-frequency statistics on training data for a predictive evaluation, then transform held-out text with that fitted state. Inspect unusual top-weight terms and check whether boilerplate or identifiers dominate. Keep sparse matrices sparse and record feature ordering. Compare retrieval relevance or classification quality with raw counts and a suitable semantic baseline. The result is a reproducible feature pipeline whose fitted vocabulary and IDF values travel with the downstream model, with documented handling of unseen terms and changed corpus distributions.","example":"An illustrative classifier separates types of maintenance notes using TF-IDF and a linear model. The developer fits the vectorizer only on training reports and reviews features that influence each class. A rare report-template marker initially receives strong weight, so evaluation groups templates and tests cleaned versions. Character n-grams help with spelling variation, but technical part numbers still require careful token handling. The final package saves the vectorizer with the classifier to preserve feature alignment.","limits":"Rarity is not the same as importance: typos and private identifiers can receive large weights. Unseen words may contribute no feature, while synonym-heavy queries can miss relevant documents. Fitting on all data leaks corpus information into a claimed held-out comparison. Vocabulary changes invalidate feature alignment with a saved model. TF-IDF is a representation and weighting method, not a classifier or semantic embedding algorithm. Evaluate its chosen preprocessing and formula through the actual downstream task.","sources":[{"title":"scikit-learn: Text feature extraction","url":"https://scikit-learn.org/stable/modules/feature_extraction.html#text-feature-extraction","note":"Sparse count and TF-IDF representations, normalization and feature extraction."},{"title":"scikit-learn: TfidfVectorizer","url":"https://scikit-learn.org/stable/modules/generated/sklearn.feature_extraction.text.TfidfVectorizer.html","note":"Specific weighting parameters, vocabulary fitting and transformation interface."}],"updatedAt":"2026-10-10"}},{"id":"topic-modeling","name":"Topic Modeling","category":"NLP Foundations","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"Topic modeling discovers recurring patterns of terms or document representations in a corpus to support exploration and organization. The competence is choosing a model, preparing meaningful document units and evaluating topic interpretability and stability. Learned topics are analytical constructs, rather than automatically correct labels or explanations of why people discuss a subject.","type":"concept","aliases":["Topic Modelling","topic-modeling"],"editorial":{"definition":"Latent Dirichlet Allocation models documents as mixtures of topics and topics as distributions over words. Its bag-of-words formulation abstracts away much word order while inferring recurring term co-occurrence patterns. Other approaches, such as nonnegative matrix factorization or clustering document embeddings, use different assumptions and do not produce identical semantics. The number of topics, vocabulary filtering and document boundaries influence what patterns emerge. Human-readable topic names are usually assigned after inspecting words and representative documents. A topic mixture describes the model's representation of a document, not necessarily a verified count of real-world themes. Competence includes understanding the selected model's outputs and the exploratory question they can actually answer.","practice":"Define the corpus and unit of analysis, remove irrelevant boilerplate carefully and choose a representation compatible with the algorithm. Compare several reasonable topic counts and initializations rather than selecting by one statistic alone. Review top terms together with representative and borderline documents. Examine coherence, stability and usefulness for the intended analyst workflow, using held-out documents when testing extension beyond the fitting corpus. Preserve preprocessing, vocabulary and model state. The deliverable is a documented topic analysis with reviewed labels and examples, including ambiguous topics and evidence that apparent patterns are not dominated by formatting or duplicate content.","example":"An illustrative analyst explores recurring concerns in public consultation responses. A topic model groups passages about transport, access and scheduling, but one topic reflects a repeated introductory template. After inspecting representative responses, the analyst removes that boilerplate and compares the revised topics across initializations. They label the remaining patterns cautiously and check new responses. Topic proportions support navigation and further reading, while any claim about public opinion requires separate sampling and substantive analysis.","limits":"Topics can be unstable, overlapping or difficult to interpret, and high statistical fit need not imply useful themes. Very short texts provide little co-occurrence evidence. Preprocessing and duplicate documents can create artificial patterns. Topic assignments do not prove sentiment, causal factors or population prevalence. Clustering embeddings and probabilistic word-mixture modeling are distinct approaches. Evaluate interpretation with actual documents, retain uncertainty and avoid turning analyst-chosen topic names into apparently objective facts about the corpus.","sources":[{"title":"Latent Dirichlet Allocation","url":"https://www.jmlr.org/papers/v3/blei03a.html","note":"Primary probabilistic document-topic and topic-word mixture model."},{"title":"Gensim: Latent Dirichlet Allocation","url":"https://radimrehurek.com/gensim/models/ldamodel.html","note":"LDA fitting, corpus representation, inference and model parameters."}],"updatedAt":"2026-10-10"}},{"id":"text-preprocessing","name":"Text Preprocessing","category":"NLP Foundations","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"Text preprocessing prepares source text for a particular language-processing task through selected cleaning, normalization and structural transformations. The competence is deciding which changes preserve useful evidence and keeping them reproducible. It precedes or surrounds tokenization, but should not be reduced to a universal recipe that strips every text in the same way.","type":"concept","aliases":["Text Pre-Processing"],"editorial":{"definition":"Operations can include decoding, Unicode normalization, removing extraction artifacts, separating quoted messages, segmenting documents, normalizing whitespace or replacing sensitive fields. Lowercasing, stemming, lemmatization and stop-word removal change linguistic distinctions and may help some lexical tasks while damaging others. Tokenization determines computational units; preprocessing decides which text and form those units represent. Learned transformations such as vocabulary selection or normalization statistics have fitted state and must respect evaluation boundaries. Source offsets can become invalid after edits, so tasks involving highlights or extracted spans need an alignment strategy. Competence means treating preprocessing as part of the task's evidence contract, not merely improving how text looks.","practice":"Inspect representative raw text and identify artifacts that cause actual failures. Preserve originals, specify transformations and test edge cases such as negation, code, identifiers, accents and quoted replies. Compare task quality before and after consequential normalization choices. Split data before fitting learned transformations and keep related source content together. Maintain mappings back to original text when outputs require spans or provenance. Version the processing pipeline with downstream models. The useful result is an auditable transformation path that removes known noise without discarding the information required for prediction, retrieval or review.","example":"An illustrative support classifier receives emails containing signatures and quoted conversation history. The developer separates the latest message from earlier quotes and checks whether the user's actual request survives. A generic cleanup step removes punctuation from an order code and deletes a negation as a stop word, both of which harm interpretation. The revised pipeline preserves those cues. Held-out conversations compare routing quality, and extracted fields retain an offset mapping to the original email for review.","limits":"Cleaning can erase meaning while producing tidy text. Lowercasing may blur names or acronyms, stop-word removal can change negation, and aggressive stemming can merge unrelated terms. Rules that suit one language may corrupt another. Fitting preprocessing on evaluation data leaks information, and untracked edits break annotation alignment. Preprocessing is distinct from tokenization and from learned task interpretation. Evaluate transformations through their downstream consequence and preserve sufficient original evidence to diagnose errors or reverse an unsuitable choice.","sources":[{"title":"NLTK Book: Processing Raw Text","url":"https://www.nltk.org/book/ch03.html","note":"Encoding, normalization, segmentation and lexical-processing choices."},{"title":"scikit-learn: Common pitfalls and recommended practices","url":"https://scikit-learn.org/stable/common_pitfalls.html","note":"Fitted transformations, consistent preprocessing and prevention of data leakage."}],"updatedAt":"2026-10-10"}},{"id":"sentiment-analysis","name":"Sentiment Analysis","category":"Text Understanding","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"Sentiment analysis identifies evaluative polarity or opinion expressed in text, often about a particular target. The competence is defining what is being evaluated, labeling mixed or indirect opinions and measuring errors in context. It describes expressed appraisal, rather than establishing the author's emotional state or the truth of a statement.","type":"concept","aliases":["sentiment-analysis","Opinion Mining"],"editorial":{"definition":"A document-level classifier may label overall polarity as positive, negative or neutral. Aspect-based analysis first identifies the subject or aspect of an opinion and associates polarity with it, allowing different evaluations within one text. Lexicons, statistical classifiers and contextual models offer different ways to infer these labels. Negation, comparison, sarcasm and reported speech complicate the mapping from words to appraisal. A sentence containing negative vocabulary may describe a problem without expressing an opinion, and a quoted opinion may not belong to the writer. The annotation scheme determines whether mixed, uncertain or objective language has its own label, so competence includes understanding that scheme rather than treating polarity as an intrinsic universal property.","practice":"Specify the target, text scope and treatment of neutral, mixed and quoted opinions. Collect representative domain examples and review disagreements with annotators. Keep authors, conversation threads or product families separate across splits. Compare a lexical baseline with trained models and test negation, comparisons and indirect praise. Measure per-label errors and, for aspect tasks, evaluate aspect identification and polarity separately. Inspect aggregate trends against sampled source text. The deliverable is a sentiment workflow whose outputs retain their target and uncertainty, with evidence that the model detects appraisal rather than topic keywords or product identity.","example":"An illustrative review analyzer processes a comment praising a device's battery but criticizing its display. A single overall negative label would conceal the useful distinction, so the developer evaluates aspect-level predictions. Test reviews include quoted marketing claims and comparisons with an older model. Inspection reveals that positive language in a quote is attributed to the reviewer, prompting changes to the input or labeling policy. Trend reporting links each aspect judgment to the relevant passage for verification.","limits":"Domain words can reverse apparent polarity, and sarcasm or cultural conventions can defeat simple cues. Aggregate scores may reflect who writes reviews rather than all users. Mixed opinions and uncertain targets create label ambiguity. A sentiment score is not a measurement of emotion, intent or factual correctness. Models trained on one review genre may fail on support messages. Evaluate target attribution, polarity and context separately, and avoid presenting population conclusions without a suitable sampling design.","sources":[{"title":"Thumbs Up or Thumbs Down? Semantic Orientation Applied to Unsupervised Classification of Reviews","url":"https://aclanthology.org/P02-1053/","note":"Primary lexical and distributional approach to evaluative polarity in reviews."},{"title":"SemEval-2014 Task 4: Aspect Based Sentiment Analysis","url":"https://aclanthology.org/S14-2004/","note":"Aspect and polarity annotation as distinct components of sentiment analysis."}],"updatedAt":"2026-10-10"}},{"id":"information-extraction","name":"Information Extraction","category":"Text Understanding","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"Information extraction converts source content into structured entities, attributes, relations or events. Practitioners define a schema, connect outputs to evidence and evaluate both missing information and unsupported fields. The competence is broader than recognizing names, and differs from question answering because it produces a reusable structured representation under an extraction contract.","type":"concept","editorial":{"definition":"An extractor identifies information in text and maps it into a structure such as a record, relation tuple or event with arguments. Schema-based extraction uses predefined fields or relation types; open information extraction seeks more flexible predicate-argument relations. Systems can combine patterns, linguistic analysis, span models and generative structured outputs. Normalization may convert dates or units, while linking maps mentions to canonical records. These are additional operations whose correctness must be checked. Missing and contradictory evidence require explicit representation. Extracting a sentence's claim does not verify that the claim is true, and a well-formed record does not prove that every value is supported by the source.","practice":"Write field definitions, evidence requirements and policies for absent, conflicting or multiple values. Annotate representative documents and audit agreement at field and relation level. Keep source families and duplicate records together across splits. Compare rules with learned extraction, preserve source spans or other evidence links and validate output types and relationships. Measure precision and recall for fields, arguments and complete records, including unsupported-value rates. Inspect normalization and entity linking separately. The useful result is a versioned extraction contract and pipeline whose structured outputs can be traced back to the text and reviewed when evidence is insufficient.","example":"An illustrative system extracts maintenance events from reports: device, fault, action and completion date. The text describes an inspection scheduled for next week, so the correct record distinguishes a planned action from a completed one. The developer checks source spans and relation roles, not just whether the date and device name were found. Held-out reports include contradictions and multiple devices. Missing fields remain empty with evidence status instead of being filled from the model's general knowledge.","limits":"Valid JSON can contain incorrect or fabricated values. Recognizing every entity still does not establish their relationships, and nearby text may describe different events. Normalization can lose ambiguity, while extraction from tables or scans also depends on upstream parsing or OCR. OCR recognizes characters and is only one possible input stage. Distinguish extraction, entity recognition, linking and factual verification. Evaluate complete structured meaning and evidence support, including absent and contradictory information, rather than relying on schema validity alone.","sources":[{"title":"Stanford Open Information Extraction","url":"https://nlp.stanford.edu/software/openie.html","note":"Official predicate-argument extraction interface and output semantics."},{"title":"Leveraging Linguistic Structure For Open Domain Information Extraction","url":"https://aclanthology.org/P15-1034/","note":"Primary method connecting linguistic structure to extracted relation tuples."}],"updatedAt":"2026-10-10"}},{"id":"question-answering","name":"Question Answering","category":"Text Understanding","subcategory":null,"section_id":"natural-language-processing-computer-vision","section_name":"Natural Language Processing & Computer Vision","description":"Question answering produces an answer to a specific information request using a defined source of evidence. The competence is selecting extractive, generative or retrieval-based methods and testing answerability and support. A fluent answer or a plausible text span is insufficient when the available material does not actually contain the requested information.","type":"concept","aliases":["Question Answering (Q/A)","question-answering"],"editorial":{"definition":"Extractive QA selects an answer span from supplied context, often by predicting its start and end positions. Generative QA produces text and can combine or restate evidence. Open-domain systems additionally retrieve candidate sources before answering, while closed-context systems receive the material directly. These formulations have different failure sources: missing retrieval evidence, incorrect interpretation and unsupported generation. The question determines the requested relation, so locating a nearby entity is not enough. Unanswerable questions require a calibrated rejection or clarification path. Competence includes distinguishing an answer derived from the supplied evidence from information inferred or recalled by the model, and evaluating that distinction explicitly.","practice":"Define the question distribution, permitted sources and expected answer format. Build examples with reviewed evidence and deliberately unanswerable or ambiguous questions. Keep source documents and paraphrase families separate across training and evaluation. For extractive systems, inspect token offsets and context windows; for retrieval pipelines, measure evidence recall separately from answer quality. Assess correctness, support and appropriate abstention with task-specific matching and human review where needed. The deliverable is a QA workflow with reproducible source handling, linked evidence and a decision rule for questions that cannot be answered reliably from the available material.","example":"An illustrative manual assistant is asked which temperature triggers a shutdown. The manual states an operating range but omits the shutdown threshold. An extractive model selects the upper range value, which is a plausible number but answers a different relation. The evaluation treats this as unanswerable and tests abstention. A separate question with an explicit threshold should receive the supported value and source passage, demonstrating that rejection does not simply replace every numeric answer.","limits":"Span overlap metrics can reward an answer with the right words but wrong relationship. Retrieval may return topical material without the decisive fact. Generative systems can blend source evidence with unsupported recall, and long context can hide contradictions. Answerability scores need validation at the intended error cost. QA differs from broad information extraction, which fills a predefined structure across documents. Evaluate question interpretation, evidence availability, answer correctness and abstention separately, including cases where the safest correct answer is that the source does not say.","sources":[{"title":"Hugging Face Transformers: Question answering","url":"https://huggingface.co/docs/transformers/en/tasks/question_answering","note":"Extractive start/end prediction, preprocessing and context span alignment."},{"title":"SQuAD: 100,000+ Questions for Machine Comprehension of Text","url":"https://arxiv.org/abs/1606.05250","note":"Primary context-based question answering and span evaluation formulation."},{"title":"Know What You Don’t Know: Unanswerable Questions for SQuAD","url":"https://arxiv.org/abs/1806.03822","note":"Unanswerable questions and the need to distinguish evidence-supported answers from plausible guesses."}],"updatedAt":"2026-10-10"}},{"id":"direct-preference-optimization","name":"Direct Preference Optimization","category":"Alignment","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Direct Preference Optimization trains a language model from comparisons between preferred and rejected responses to the same prompt. The skill is constructing meaningful preference pairs and optimizing their relative likelihood against a reference policy, then checking whether the resulting behavior improves on independent tasks and judgments.","type":"concept","editorial":{"definition":"Basic DPO derives a preference loss from a reward maximization objective with a constraint on departure from a reference model. Rather than fitting an explicit scalar reward model and running a separate reinforcement learning loop, it adjusts the policy using the difference between chosen and rejected response log probabilities, normalized by the reference policy. The comparison is conditional on the same prompt. The reference checkpoint and the beta parameter affect the tradeoff represented by the objective. DPO is a specific formulation; KTO, ORPO and other preference methods use different assumptions or losses and should be documented separately.","practice":"Design annotation criteria that distinguish correctness, helpfulness and style, and collect pairs with a clear preference rather than arbitrary winners. Audit prompt equivalence, truncation and chat formatting before computing losses. Split by prompt families and source documents so paraphrases do not leak into evaluation. Record the reference checkpoint, objective, beta and any adapter configuration. Inspect chosen and rejected likelihoods alongside held-out preference accuracy. Evaluate generated responses with separate factuality and capability tests; a larger training margin alone is insufficient evidence of useful alignment.","example":"An illustrative documentation assistant often gives confident answers when a question lacks essential context. Reviewers compare a guessed answer with a concise clarification request for each ambiguous prompt. The team trains DPO on those comparisons and tests new product areas whose documents were excluded from training. Reviewers then inspect whether the assistant asks an appropriate question when needed while still answering complete requests, because indiscriminate clarification would be a regression.","limits":"Preference labels can reward verbosity, familiarity or annotator bias rather than the intended behavior. Offline comparisons may poorly cover responses that the updated model later generates. Training can suppress rejected answers without improving the absolute quality of chosen ones. Reference regularization does not guarantee truthfulness or broad safety. Check length effects, preference disagreements and capability regressions, and report the precise loss rather than using DPO as a label for every direct preference method.","sources":[{"title":"Direct Preference Optimization: Your Language Model is Secretly a Reward Model","url":"https://arxiv.org/abs/2305.18290","note":"Original derivation of the reference-normalized preference objective and distinction from explicit reward modeling."},{"title":"Hugging Face TRL: DPO Trainer","url":"https://huggingface.co/docs/trl/en/dpo_trainer","note":"Preference dataset formats, reference model configuration, loss variants and diagnostic metrics."}],"updatedAt":"2026-10-10"}},{"id":"rlhf","name":"RLHF","category":"Alignment","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Reinforcement Learning from Human Feedback uses human judgments to shape a model's behavior through a learned reward signal. Practitioners design comparisons, train and test the reward model, and optimize a policy while controlling unwanted drift. The competence includes evaluating behavior independently of the score that training maximizes.","type":"concept","editorial":{"definition":"In a common language model pipeline, supervised demonstrations first establish useful response behavior. Annotators then compare candidate answers, and a reward model learns to assign scores that reflect those comparisons. A reinforcement learning algorithm updates the generating policy to obtain higher predicted reward, often with a penalty for divergence from a reference policy. PPO is one possible optimizer, rather than part of the definition. The broader method also applies to nonlanguage policies whose trajectories people evaluate. Human feedback expresses preferences under a particular rubric and sampling process; it does not directly reveal a universal or complete reward function.","practice":"Specify who supplies feedback and what tradeoffs the rubric asks them to make. Sample prompts and candidate answers that expose meaningful failures, preserve annotation disagreements and reserve comparisons for reward model validation. Monitor policy reward, divergence, response length and optimization stability, with a stopping rule based on independent evaluation. Hold out related conversations and tasks as groups. The useful result is a documented behavior change supported by fresh human comparisons and task checks, including cases where optimizing the learned reward harms another requirement.","example":"For an illustrative summarization assistant, reviewers prefer summaries that preserve an important caveat while omitting repetitive background. Their comparisons train a reward model. During policy optimization, the developer notices that highly scored summaries become longer, so a separate evaluation asks readers whether each summary covers the caveat within the requested length. The team selects a checkpoint using those judgments and source fidelity, rather than selecting the run with the highest reward.","limits":"A policy can exploit weaknesses in its reward model, and preference agreement on familiar examples may not transfer to new topics. Annotator population, instructions and candidate sampling all influence what is learned. Reward scores from different training runs are not automatically comparable. RLHF can improve measured preferences while leaving factual errors or competing objectives unresolved. Direct preference optimization and verifiable rewards are neighboring approaches with different learning signals, and should not be silently treated as the same pipeline.","sources":[{"title":"Deep reinforcement learning from human preferences","url":"https://arxiv.org/abs/1706.03741","note":"Preference comparisons as a learned reinforcement learning reward for policy training."},{"title":"Training language models to follow instructions with human feedback","url":"https://arxiv.org/abs/2203.02155","note":"Language model demonstration, ranking, reward modeling and policy optimization pipeline."}],"updatedAt":"2026-10-10"}},{"id":"reinforcement-learning-from-verifiable-rewards","name":"Reinforcement Learning from Verifiable Rewards","category":"Alignment","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Reinforcement Learning from Verifiable Rewards improves a generating policy using outcomes that a program can check, such as a correct mathematical answer or passing tests. The skill is designing reliable verifiers and a useful task distribution, then determining whether optimization teaches transferable problem solving or merely exploits the checks.","type":"concept","editorial":{"definition":"The model samples completions for tasks whose results can be evaluated without a learned human preference model. A verifier returns a reward based on properties such as answer equivalence, executable tests or valid output structure. Policy optimization increases the probability of rewarded completions; different reinforcement learning algorithms can perform this update. Outcome verification checks the final result and does not necessarily establish that an explanation is sound. Format rewards may supplement correctness rewards but represent a separate objective. The approach is most natural when evaluation is inexpensive, reproducible and difficult for the model to game, though these conditions need testing.","practice":"Build and version the verifier before scaling policy training. Inspect parsing, numerical tolerances, test coverage, timeouts and adversarial outputs that might receive credit incorrectly. Separate problem generators, templates and solutions across training and evaluation. Sample tasks at a difficulty that produces informative variation rather than uniformly zero or maximum reward. Track reward distributions and evaluate on independently checked problems. The deliverable includes a trained policy, a reproducible verification harness and evidence distinguishing actual task success from improvements caused by formatting or a weak checker.","example":"An illustrative coding exercise asks a model to implement a parser. The reward comes from unit tests in a sandbox. A developer adds cases for malformed input and verifies that a solution cannot read expected outputs from the harness. Training tasks and held-out parser specifications use different generators. The resulting policy is assessed on hidden tests and inspected for clear failure handling, because passing the training suite does not prove that it implements the specification.","limits":"Verification can be incomplete: tests miss behaviors, answer parsers accept ambiguous strings and numerical comparisons mishandle units. Sparse rewards make exploration difficult, while permissive checks invite shortcuts. Success on automatically checkable tasks does not establish quality on subjective assistance or open-ended factual claims. Correct answers also need not imply faithful reasoning traces. Treat verifier reliability and independent task accuracy as separate quality measures, and reassess them when the policy discovers new output strategies.","sources":[{"title":"DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning","url":"https://arxiv.org/abs/2501.12948","note":"Rule-based correctness and format rewards in reasoning-oriented reinforcement learning."},{"title":"Hugging Face TRL: GRPO Trainer","url":"https://huggingface.co/docs/trl/en/grpo_trainer","note":"Custom reward functions, generated completion groups and policy training diagnostics."}],"updatedAt":"2026-10-10"}},{"id":"reward-modeling","name":"Reward Modeling","category":"Alignment","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Reward modeling learns a scoring function from judgments about the quality of model outputs or actions. The competence is turning a defensible evaluation rubric into training data and a calibrated comparison model, then testing how reliably that proxy behaves on candidates outside the examples used to fit it.","type":"concept","editorial":{"definition":"A reward model takes a prompt and candidate response, or a state and trajectory, and produces a scalar or structured assessment. In pairwise language model setups, its parameters are trained so a preferred response receives a higher score than a rejected response. Other formulations use ratings, rankings or process-level judgments. Scores summarize learned preferences rather than objective correctness unless the data specifically supports that interpretation. A reward model may select candidates, evaluate experiments or supply a reinforcement learning objective. These uses expose it to different distributions, particularly when a policy actively searches for outputs that maximize its score.","practice":"Write a rubric, choose label granularity and gather comparisons with varied quality gaps. Check inter-annotator agreement and audit whether response length or formatting predicts the labels. Split related prompts and candidate sources together to avoid leakage. Evaluate pairwise accuracy and disagreement by task and response style; inspect score changes on controlled perturbations. Test generated candidates from policies that differ from the training generator. The result is a versioned scorer with a defined validity range and explicit evidence about its errors, suitable for a particular decision rather than an unrestricted quality oracle.","example":"An illustrative answer-selection system produces several explanations of a technical concept. Reviewers label pairs for factual accuracy and clarity. The fitted reward model chooses a candidate, but a challenge set adds polished answers containing a subtle false claim. The developer compares its rankings with fresh expert judgments and inspects whether the scorer values polish over correctness. Those findings determine whether it can automate selection or should only flag candidates for review.","limits":"High held-out comparison accuracy can hide systematic bias on rare but consequential cases. Scalar rewards collapse competing objectives, and their scale is usually meaningful only within the model's training setup. Optimization can amplify weaknesses that ordinary evaluation never encounters. A learned reward is distinct from a deterministic verifier and from direct policy preference losses. Validate under the intended selection or training pressure, preserve independent evaluators and avoid interpreting a high score as a probability that an answer is true.","sources":[{"title":"Hugging Face TRL: Reward Modeling","url":"https://huggingface.co/docs/trl/en/reward_trainer","note":"Pairwise reward datasets, trainer behavior and reward diagnostics."},{"title":"Training language models to follow instructions with human feedback","url":"https://arxiv.org/abs/2203.02155","note":"Role of learned preference rewards and limitations of optimizing the proxy."}],"updatedAt":"2026-10-10"}},{"id":"catastrophic-forgetting","name":"Catastrophic Forgetting","category":"Fine-Tuning & PEFT","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Catastrophic forgetting is a sharp loss of previously learned capability when a model trains on new data or tasks. The skill is recognizing interference, measuring retained competence and choosing adaptation methods that balance learning the new requirement with preserving behaviors that remain important to the application.","type":"concept","editorial":{"definition":"Neural network parameters are shared across tasks, so updates that reduce a new task's loss can disrupt representations or decision boundaries needed for earlier tasks. This differs from a change in the evaluation population: forgetting compares capability on the same earlier requirement before and after adaptation. Mitigation families include replaying old examples, constraining changes to important parameters, separating task-specific components and balancing data mixtures. Elastic Weight Consolidation illustrates regularization based on parameter importance. No single mechanism defines all forgetting, and the acceptable balance depends on whether older tasks, domains, languages or safety behaviors must still be supported.","practice":"Establish a baseline on old and new tasks before sequential training. Keep representative retention sets separate from replay data, and track performance after each adaptation stage. Compare targeted replay, smaller updates, regularization and isolated adapters when they fit the model. Group evaluation examples by original source to prevent a remembered template from overstating retention. Report the new capability gain alongside losses elsewhere. A useful deliverable is an adaptation strategy and checkpoint selection rule that makes the retention tradeoff explicit, with rollback criteria for critical behaviors.","example":"An illustrative multilingual classifier is adapted to specialist English support tickets. The developer measures its original French and Polish tasks after each training stage. New-ticket accuracy improves while earlier language performance declines. They compare a mixed-language replay set with an isolated specialist adapter and evaluate both on untouched tickets from each language. The selected approach supports the new domain while meeting the project's minimum retained capability, rather than optimizing English performance alone.","limits":"Replay requires access to suitable older data and may preserve its biases. Importance estimates and parameter constraints are approximations, while separate adapters add routing and maintenance decisions. Retention tests can overlook rare skills or reward superficial similarity to old answers. Domain shift and forgetting can coexist, so diagnose them separately. Forgetting is a measured failure mode, not a guarantee that any particular fine-tuning recipe will fail; verify before and after behavior under the same evaluation protocol.","sources":[{"title":"Overcoming catastrophic forgetting in neural networks","url":"https://arxiv.org/abs/1612.00796","note":"Sequential task interference and parameter-importance regularization as one mitigation."},{"title":"Don’t Stop Pretraining: Adapt Language Models to Domains and Tasks","url":"https://arxiv.org/abs/2004.10964","note":"Domain adaptation context for distinguishing new-domain gains from retention requirements."}],"updatedAt":"2026-10-10"}},{"id":"fine-tuning-evaluation","name":"Fine-Tuning Evaluation","category":"Fine-Tuning & PEFT","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Fine-tuning evaluation determines whether an adapted model improves the intended task while retaining other required behavior. The skill combines clean comparison data, task-specific measurements and inspection of generated failures. It supports checkpoint and release decisions rather than treating a falling training loss as evidence of a successful adaptation.","type":"concept","editorial":{"definition":"Evaluation compares the adapted model with the original checkpoint and meaningful alternatives under controlled inputs and decoding settings. Training loss measures fit to training targets; held-out loss estimates similar-distribution prediction quality; application tests examine whether outputs serve the actual task. These quantities answer different questions. A complete design may assess correctness, format compliance, robustness, retention, latency and resource requirements. Train, development and test sets need boundaries based on the unit that can leak, such as conversation, document, customer or problem family. Human or model-based judgments require explicit rubrics and their own checks for consistency.","practice":"Define acceptance criteria before training and reserve a final test set for the release decision. Deduplicate examples across splits, track dataset versions and inspect whether synthetic training answers reproduce evaluation material. Use the development set for checkpoint selection and tuning, then run the fixed final protocol once decisions are settled. Compare against prompt-only or retrieval baselines where relevant. Break results down by difficult cases and retained tasks, and inspect representative errors. The output should identify the supported improvement and remaining failures with enough detail for another person to reproduce the comparison.","example":"An illustrative model is tuned to extract maintenance fields from notes. The developer holds out complete machines and reporting periods, checks exact field accuracy and measures unsupported values. They compare the tuned model with the base model using a structured prompt. A checkpoint with lower validation loss invents more missing serial numbers, so the release decision favors one that meets field correctness and abstention criteria. The final report includes malformed-note examples and operating cost.","limits":"A benchmark can become a development set through repeated tuning, even when its file remains labeled test. Aggregate scores hide minority languages, long inputs and rare high-impact failures. Automated judges can share biases with the trained model, while reference overlap metrics miss factual errors. Evaluation estimates behavior within its coverage and cannot prove universal reliability. Keep training diagnostics, application acceptance criteria and independent retention tests separate, and disclose when a comparison lacks enough examples for a stable conclusion.","sources":[{"title":"Hugging Face Evaluate","url":"https://huggingface.co/docs/evaluate/en/index","note":"Evaluation modules and reproducible measurement tooling."},{"title":"Hugging Face Transformers: Fine-tuning","url":"https://huggingface.co/docs/transformers/en/training","note":"Training, evaluation datasets and checkpoint configuration in model adaptation."}],"updatedAt":"2026-10-10"}},{"id":"hugging-face-peft","name":"Hugging Face PEFT","category":"Fine-Tuning & PEFT","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Hugging Face PEFT is a library for adapting pretrained models while training a selected subset of parameters or added components. The competence is choosing a suitable adaptation method, configuring its target modules and saving a reproducible adapter that can be loaded with the correct base model and processing setup.","type":"tool","editorial":{"definition":"Parameter-efficient fine-tuning reduces the number of trainable parameters compared with updating an entire model. PEFT provides implementations and interfaces for methods such as low-rank adapters and prompt-based tuning. Their mechanisms differ: an adapter can modify internal transformations, while learned prompt parameters affect the model through its input representation. A saved adapter typically contains adaptation weights and configuration rather than a complete independent model. Its behavior therefore depends on the base checkpoint, task head, tokenizer or processor and supported architecture. Parameter efficiency describes what is trained, and is separate from weight quantization or the choice of training objective.","practice":"Select a method based on task requirements, architecture support and the memory available for training and deployment. Inspect module names, verify which parameters are trainable and test forward behavior before a long run. Preserve base revision, adapter configuration, processing artifacts and any additional saved modules. Evaluate against the unadapted model and a modest full-tuning baseline when feasible. Load the saved adapter in a fresh process and test representative inputs. The result should be a portable adaptation package with an explicit base dependency and evidence that its deployment behavior matches the evaluated training checkpoint.","example":"For an illustrative classifier, an engineer applies low-rank adapters to an encoder and saves the updated classification head with them. A clean loading test initially gives inconsistent labels because the head was omitted. After fixing the packaging configuration, the developer loads the same base revision and adapter and reproduces held-out predictions. They document the modules being adapted so a later checkpoint with different internal names does not silently receive an incompatible configuration.","limits":"A small adapter file does not imply negligible total inference memory because the base model is still required. Method and architecture support vary, and some combinations with quantization or merging have constraints. Too few trainable parameters can restrict adaptation, while excessive rank can weaken the expected savings. Adapters can still overfit or alter important behavior. Check packaging and version compatibility, and evaluate the complete loaded system rather than relying on a trainable-parameter count as a quality measure.","sources":[{"title":"Hugging Face PEFT","url":"https://huggingface.co/docs/peft/en/index","note":"Library purpose, parameter-efficient method families and adapter integration."},{"title":"LoRA: Low-Rank Adaptation of Large Language Models","url":"https://arxiv.org/abs/2106.09685","note":"Mechanism of a supported low-rank adaptation method."}],"updatedAt":"2026-10-10"}},{"id":"hugging-face-trl","name":"Hugging Face TRL","category":"Fine-Tuning & PEFT","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Hugging Face TRL provides training components for supervised and preference-based language model post-training. The skill is matching a trainer to the intended learning signal, formatting data correctly and interpreting its diagnostics. Library familiarity includes understanding the objective and integration constraints behind a short training script.","type":"tool","editorial":{"definition":"TRL offers trainers for distinct post-training procedures, including supervised fine-tuning, direct preference optimization, reward modeling and group-relative policy optimization. Each expects a particular dataset structure and applies a particular loss or reward pipeline. Conversational records may require a model-specific chat template, and generated policy training also involves sampling settings and reward functions. TRL can integrate with model and adapter tooling, but those integrations do not make every combination valid. The library is an implementation layer: selecting a trainer does not resolve the scientific choice of objective, the meaning of labels or the evaluation needed for an application.","practice":"Read the selected trainer's expected data format, configuration and logged metrics for the installed version. Validate a small batch, inspect rendered conversations and check which tokens contribute to the loss. For preference training, audit chosen and rejected pairs; for reinforcement learning, test reward functions independently. Pin versions and model revisions, record effective batch and generation settings, and keep evaluation data independent of trainer examples. Reproduce saving and loading before scaling. The useful output is a documented post-training experiment whose data, objective and artifact behavior can be inspected beyond whether the trainer completed.","example":"An illustrative team wants an assistant to prefer accurate concise answers. Their dataset contains prompt, preferred answer and rejected answer records, so they select DPOTrainer rather than SFTTrainer. A small debug run reveals that long prompts remove the key distinction during truncation. After changing data handling, they evaluate fresh generated answers with a separate rubric. The run report names the DPO loss and reference policy so another engineer can interpret the result.","limits":"Trainer defaults and supported integrations change across versions. Similar-looking constructor calls can implement materially different objectives, and training metrics can be misread as application success. Incorrect templates, masking or truncation can invalidate otherwise well-formed data. Resource-intensive generation and reference models also affect feasibility. Verify the exact documented trainer behavior, and avoid treating TRL as a single alignment algorithm or assuming that supported code paths automatically yield reliable, safe or useful model behavior.","sources":[{"title":"Hugging Face TRL","url":"https://huggingface.co/docs/trl/en/index","note":"Library scope and available post-training components."},{"title":"Hugging Face TRL: Dataset formats","url":"https://huggingface.co/docs/trl/en/dataset_formats","note":"Data representations and their relationship to training procedures."}],"updatedAt":"2026-10-10"}},{"id":"llm-fine-tuning","name":"LLM Fine-Tuning","category":"Fine-Tuning & PEFT","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"LLM fine-tuning adapts a pretrained language model by updating its parameters on data chosen for a task, domain or behavior. The skill is defining an objective that benefits from training, preparing compatible examples and evaluating the complete adapted artifact against the base model and simpler alternatives.","type":"concept","editorial":{"definition":"Fine-tuning starts from learned weights rather than training a model from random initialization. Updates may involve the full network, a task head or parameter-efficient components. The objective can predict task labels, imitate target responses, continue language modeling or optimize preferences; these choices imply different data and behavior. The tokenizer, context construction and output format remain part of the model's input contract. Fine-tuning primarily changes learned behavior and representations. It is not a dependable mechanism for inserting frequently changing facts or retrieving authoritative records, and does not replace a retrieval layer when answers require current source evidence.","practice":"Identify the observed failure and compare training with improved prompts, retrieval or deterministic processing. Select a licensed base checkpoint, curate examples that express the target behavior and preserve provenance. Split related documents or conversations together, inspect templates and masking, and choose full or partial parameter updates within resource limits. Monitor held-out task quality and retained capabilities while selecting checkpoints. Package tokenizer, configuration and adaptation weights together and test a fresh load. The result is an evaluated artifact and an explanation of the specific improvement that justifies the additional training and maintenance.","example":"An illustrative team repeatedly converts free-form equipment notes into a stable schema. They train a language model on reviewed note-to-record examples, including missing and contradictory fields. Entire equipment groups are held out. Evaluation compares the tuned model with a strong structured prompt, checking valid output, field accuracy and unsupported values. The final package includes the exact template and schema, because using a different prompt after deployment can change the behavior being assessed.","limits":"Poor demonstrations teach their errors, and small datasets can encourage memorization rather than generalization. Adaptation can reduce language coverage or other previously useful capabilities. A model may reproduce sensitive training material, so data selection and evaluation must account for that possibility. Lower loss does not establish factuality or format reliability. Distinguish broad fine-tuning from instruction tuning, continued pretraining and preference optimization, and document the actual objective instead of presenting them as interchangeable recipes.","sources":[{"title":"Hugging Face Transformers: Fine-tuning","url":"https://huggingface.co/docs/transformers/en/training","note":"Adaptation from pretrained weights, data preparation and training configuration."},{"title":"Hugging Face PEFT","url":"https://huggingface.co/docs/peft/en/index","note":"Alternative to full-parameter updating through selected adaptation parameters."}],"updatedAt":"2026-10-10"}},{"id":"supervised-fine-tuning-sft","name":"Supervised Fine-Tuning (SFT)","category":"Fine-Tuning & PEFT","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Supervised fine-tuning adapts a pretrained model using examples of the desired prediction or response. Practitioners choose targets, control which outputs contribute to the loss and check whether imitation generalizes to unseen inputs. Instruction-response training is one application of SFT, alongside classification, extraction and other labeled tasks.","type":"concept","editorial":{"definition":"Supervision supplies target outputs rather than only a preference between candidates or a reward for sampled actions. For an autoregressive language model, a common objective minimizes the negative log likelihood of target tokens given the context. Depending on the task, loss may cover a full text sequence, a completion or selected assistant turns. Other pretrained architectures use supervised task losses such as classification. Teacher forcing trains on reference prefixes, whereas deployment generates its own prefixes. SFT therefore teaches patterns represented by demonstrations, with behavior determined by their correctness, coverage and the loss assigned to different parts of each example.","practice":"Define the input-output contract and obtain reviewed targets that match it. Include realistic ambiguous and missing-input cases rather than only ideal answers. Inspect token-level masking, padding, packing and truncation to confirm that the intended target survives preprocessing. Split by underlying source or task family, reserve untouched evaluation examples and monitor overfitting. Measure task success on generated or predicted outputs, with format and factuality checks when appropriate. The deliverable is a model that reproduces the required behavior on unseen cases, accompanied by the exact target construction and loss configuration.","example":"An illustrative extraction model receives a note and must output a JSON object. The training record includes both the prompt and correct object, but the loss is applied to the object tokens. The developer checks examples where a field is absent and expects a null value. Evaluation uses notes from unseen reports and measures field correctness as well as parse validity. This is supervised fine-tuning even though the goal is a narrow extraction task.","limits":"The model can learn an answer's style without learning its correctness, and frequently occurring targets may dominate rarer requirements. Teacher forcing does not expose every error chain that occurs during generation. Incorrect masking can spend capacity predicting prompts, while truncation can remove the supervised answer. SFT does not directly express comparative preferences or guarantee safe behavior. Instruction tuning is a particular data and task formulation within the broader supervised adaptation approach, rather than a synonym for every SFT run.","sources":[{"title":"Hugging Face TRL: SFT Trainer","url":"https://huggingface.co/docs/trl/en/sft_trainer","note":"Supervised data formats, loss masking, packing and training configuration."},{"title":"Hugging Face Transformers: Fine-tuning","url":"https://huggingface.co/docs/transformers/en/training","note":"General pretrained-model adaptation and supervised training context."}],"updatedAt":"2026-10-10"}},{"id":"model-merging","name":"Model Merging","category":"Model Adaptation, Merging & Compression","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Model merging combines compatible model weights or task updates into a single artifact. The competence is identifying which components can meaningfully be combined, choosing a merge rule and testing the resulting capabilities and interference. A merged checkpoint needs its own evaluation rather than inheriting the strengths claimed for its inputs.","type":"concept","editorial":{"definition":"Merging differs from an ensemble because inference ordinarily uses one combined parameter set instead of consulting multiple models. Simple averaging interpolates weights; task-vector approaches combine differences from a shared base; other methods address redundant updates or conflicting signs. Compatibility involves architecture, parameter shapes, tokenizers and the relationship between training histories. A common base can make task updates more interpretable, but does not eliminate interference. TIES-Merging illustrates trimming small updates and resolving sign conflicts before combination. Merging can also apply to adapters, subject to the constraints of their representation and loading or conversion path.","practice":"Inspect architecture, licenses, base revisions and processing artifacts before selecting inputs. Choose the merge rule and coefficients on development tasks that represent all intended capabilities. Preserve separate final tests and compare the merged artifact with its base and each source model. Check language coverage, output formatting and regressions rather than using one aggregate score. Record the merge specification and reproduce it from pinned input checkpoints. The deliverable is a loadable model plus evidence of which capabilities survived, which changed and whether one merged artifact actually fits the deployment requirement.","example":"An illustrative project has two adapters from the same base: one for structured reports and one for domain terminology. The engineer compares a simple weighted combination with a method designed to reduce update interference. Held-out tasks include both report formatting and terminology interpretation. The merged model preserves specialized vocabulary but occasionally breaks the report schema, so the developer adjusts the selection criterion and evaluates fresh reports before treating the artifact as suitable for both roles.","limits":"Weights from unrelated architectures cannot be averaged meaningfully just because they serve similar tasks. Even compatible checkpoints may encode conflicting updates, and special-token differences can invalidate a merge. A merge can lose capability or amplify unwanted behavior without an obvious loading error. It does not create an inference ensemble's independent votes or a distillation student's learning process. Validate the complete output artifact and retain provenance of every input, since a compact merge recipe alone does not establish reproducible behavior.","sources":[{"title":"TIES-Merging: Resolving Interference When Merging Models","url":"https://arxiv.org/abs/2306.01708","note":"Task-update interference, trimming and sign-resolution merge mechanism."},{"title":"mergekit","url":"https://github.com/arcee-ai/mergekit","note":"Maintained model-merging implementation, supported merge specifications and artifact workflow."}],"updatedAt":"2026-10-10"}},{"id":"knowledge-distillation","name":"Knowledge Distillation","category":"Model Adaptation, Merging & Compression","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Knowledge distillation trains a student model to reproduce useful behavior or predictions from a teacher. Practitioners choose what information to transfer, which inputs expose it and how to measure the student's retained quality. The goal may be a smaller deployable model, a different architecture or a specialized policy.","type":"concept","editorial":{"definition":"A teacher can provide probability distributions, intermediate representations or generated target responses. In classic classification distillation, softened class probabilities reveal relationships between alternatives that a single hard label omits. Temperature controls the softness of those distributions, and the student may combine a teacher-matching loss with ordinary labeled supervision. For language models, sequence-level distillation can train on teacher-generated answers, while token-level methods compare predictive distributions. These are different transfer mechanisms. The student learns through training on sampled inputs; it does not receive a literal compressed copy of every teacher parameter or necessarily inherit all of the teacher's capabilities.","practice":"Define the deployment constraint and choose a student capable of the required inputs and outputs. Build a transfer set that covers difficult cases, verify teacher targets and keep the final evaluation independent of both target generation and student tuning. Select the matching objective and any mixture with trusted labels. Evaluate the student against the teacher and a student trained without distillation, measuring task quality, latency and memory in the actual runtime. Preserve teacher provenance and generation settings. The result should identify the capabilities transferred successfully and the cases where the smaller model still needs escalation.","example":"An illustrative helpdesk classifier must run locally with limited memory. A larger teacher supplies class distributions for reviewed and unlabeled tickets. The student trains on these distributions plus trusted labels. Evaluation groups tickets by conversation and includes rare request types. The engineer finds that broad categories transfer well but subtle billing distinctions do not, and adds targeted labeled examples. Deployment testing checks the student's actual runtime rather than inferring speed from its parameter count.","limits":"Distillation transfers teacher mistakes and depends heavily on the input distribution. A student with insufficient capacity may imitate surface patterns while losing nuanced behavior. Synthetic outputs can introduce unsupported claims, and evaluating on teacher-generated references can favor imitation over correctness. Access to teacher probabilities, usage permissions and model interfaces can constrain the method. Distillation differs from quantization and weight merging because it learns a new model; compare quality and operating cost after that learning process, not merely model size.","sources":[{"title":"Distilling the Knowledge in a Neural Network","url":"https://arxiv.org/abs/1503.02531","note":"Soft targets, temperature and teacher-to-student training formulation."},{"title":"Hugging Face TRL: Distillation Trainer","url":"https://huggingface.co/docs/trl/en/distillation_trainer","note":"Implementation context for language model distillation objectives."}],"updatedAt":"2026-10-10"}},{"id":"model-quantization","name":"Model Quantization","category":"Model Adaptation, Merging & Compression","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Model quantization represents model quantities with fewer bits to reduce storage or computation requirements. The skill is choosing a numerical format and supported execution path, calibrating where necessary and measuring the resulting quality and resource tradeoff. A smaller weight file alone does not establish faster or reliable inference.","type":"concept","editorial":{"definition":"Quantization maps values from a higher-precision representation to a more limited set using scales, offsets or other encoding parameters. A scheme may quantize weights, activations or both, with parameters shared across a tensor, channel or group. Post-training quantization converts an existing model, sometimes using representative calibration data; quantization-aware training incorporates the effect during optimization. Algorithms differ in how they control approximation error and handle unusually large values. Low-bit storage also requires compatible kernels or dequantization during execution. Quantization changes numerical representation and is distinct from LoRA, which changes the set of trainable adaptation parameters.","practice":"Start with an evaluated higher-precision baseline and identify whether memory, throughput or deployment support is the constraint. Select a method supported by the target hardware and model architecture. For calibration-based schemes, use representative inputs without borrowing the final test set. Record bit width, grouping, calibration construction and excluded modules. Check task quality, long-input behavior and retained capabilities, then measure peak memory and latency at realistic batch sizes. Save the quantization configuration with the artifact. The useful result is a verified runtime configuration with an explicit accuracy-cost tradeoff, rather than a compression ratio presented as sufficient validation.","example":"An illustrative assistant needs to fit on one workstation accelerator. The engineer compares a lower-bit weight representation with the baseline using the same questions and decoding settings. A held-out suite includes code generation and long instructions. The compressed model fits memory, but one format slows short requests because conversion overhead dominates. Another compatible kernel performs better in the workload. The deployment decision uses actual request measurements and error inspection together.","limits":"Outliers and accumulated rounding error can damage particular layers or tasks, even when average loss changes little. Hardware support, batch size and memory bandwidth determine whether reduced precision improves speed. Calibration data can miss important input ranges. Quantizing weights does not automatically reduce activation or attention-cache memory. Adapter training over quantized weights is a combined procedure, not proof that quantization itself performs adaptation. Validate artifacts after conversion and loading, including configuration and kernel compatibility.","sources":[{"title":"Hugging Face Transformers: Quantization overview","url":"https://huggingface.co/docs/transformers/en/quantization/overview","note":"Supported quantization families, calibration and hardware-dependent execution."},{"title":"GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers","url":"https://arxiv.org/abs/2210.17323","note":"A specific post-training weight quantization method and error-control approach."}],"updatedAt":"2026-10-10"}},{"id":"lora-qlora","name":"LoRA / QLoRA","category":"Fine-Tuning & PEFT","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"LoRA adapts a model through trainable low-rank weight updates; QLoRA combines that adaptation with a quantized frozen base. The competence is selecting adapter targets and capacity, controlling memory use and verifying the complete loaded model. Low-rank adaptation and reduced-precision storage solve different parts of the training problem.","type":"concept","editorial":{"definition":"LoRA represents an update to a weight matrix as a product of two smaller trainable matrices while the original weight remains frozen. The rank controls the update's representational capacity, and scaling influences its contribution to the layer. Target-module choices determine which computations can adapt. QLoRA retains this adapter-training idea while storing the frozen base in a low-bit format and computing through dequantized values. Its published recipe includes NormalFloat quantization and memory-management techniques. Quantized base weights are not simply trained like ordinary full-precision weights. The canonical label groups related techniques, but a reproducible run must state whether it uses ordinary LoRA or a particular quantized-base configuration.","practice":"Inspect the architecture and choose target modules based on the task rather than copying names from another model. Check trainable parameters, rank, scaling and saved task heads. For QLoRA, confirm the quantization backend, compute dtype and device support, and test a small backward pass. Keep evaluation sources outside adapter training and compare with the base on target and retained tasks. Measure training peak memory and deployment behavior separately. Save base revision, adapter and quantization settings, then reproduce a fresh load and test any merge or export path that deployment requires.","example":"An illustrative team adapts a model to produce consistent laboratory report fields. Limited accelerator memory leads them to test QLoRA. They verify that only the adapter parameters update and inspect samples where a required field is absent. Held-out reports determine whether increasing rank improves field accuracy or merely fits familiar templates. The final loader reconstructs the exact quantized base and adapter, because loading the adapter onto a different revision can change the measured behavior.","limits":"Low rank restricts the available update and may be insufficient for some adaptations. A low trainable-parameter count still leaves base weights, activations and optimizer state to account for. Quantized computation can add approximation and compatibility constraints. Adapter merging and re-quantization require separate validation; they need not reproduce the original loading path exactly. LoRA is not a quantization algorithm, and QLoRA is not a guarantee of quality equivalence to full tuning. Evaluate their chosen configuration on the actual task.","sources":[{"title":"LoRA: Low-Rank Adaptation of Large Language Models","url":"https://arxiv.org/abs/2106.09685","note":"Frozen base weights and trainable low-rank matrix updates."},{"title":"QLoRA: Efficient Finetuning of Quantized LLMs","url":"https://arxiv.org/abs/2305.14314","note":"Quantized-base adapter training and its published numerical and memory techniques."}],"updatedAt":"2026-10-10"}},{"id":"continual-pre-training","name":"Continual Pre-Training","category":"Model Adaptation, Merging & Compression","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Continual pre-training extends a pretrained model's representation learning on additional corpora, often to adapt its language or domain coverage. Practitioners curate the new distribution, preserve important earlier capabilities and measure downstream effects. This skill concerns further language-model learning rather than directly teaching a conversation format or response preference.","type":"concept","editorial":{"definition":"The model resumes an objective such as next-token prediction or masked-token prediction from an existing checkpoint. Domain-adaptive pretraining uses broad text from a target field, while task-adaptive pretraining uses text closer to a particular application. Both can alter vocabulary usage and representations without requiring explicit answer labels. Corpus selection, tokenizer compatibility, sequence packing and the mixture with general text shape the resulting distribution. Continual pre-training is also part of broader sequential learning, where later updates can interfere with earlier knowledge. It differs from instruction tuning because the supervision ordinarily comes from the corpus itself rather than a set of instruction-response demonstrations.","practice":"Establish a downstream need and inspect whether the existing model already handles it. Curate permitted corpora, remove duplicates and low-quality boilerplate, and exclude evaluation documents and close variants. Decide how much general material to retain and whether tokenizer changes are justified by evidence. Monitor held-out language-model loss in the new and earlier domains, then evaluate tasks that represent actual use. Check retained languages and behaviors after each stage. The deliverable is a new pretrained checkpoint with documented corpus composition, update budget and independent evidence that further representation learning benefits the intended application.","example":"An illustrative model must interpret technical maintenance prose with unusual abbreviations. The team continues pretraining on reviewed manuals and historical descriptive notes, holding out entire manual families. They then fine-tune a small extraction task using the same labels for the original and adapted checkpoints. Better domain loss is treated as an intermediate observation; the deciding test is whether the adapted representation improves extraction on unseen equipment without degrading general-language instructions.","limits":"Additional text can reinforce noise, outdated statements or sensitive material. A narrow corpus can reduce broader capability, and repeated documents can dominate learning. Lower in-domain perplexity does not guarantee better downstream performance or accurate factual recall. Tokenizer changes introduce compatibility and initialization decisions that require separate evaluation. Continued pretraining does not make a model's factual content current in a controlled way; retrieval and explicit source handling remain useful when individual facts change frequently.","sources":[{"title":"Don’t Stop Pretraining: Adapt Language Models to Domains and Tasks","url":"https://arxiv.org/abs/2004.10964","note":"Domain-adaptive and task-adaptive pretraining with downstream evaluation."},{"title":"Overcoming catastrophic forgetting in neural networks","url":"https://arxiv.org/abs/1612.00796","note":"Sequential learning interference relevant to retaining earlier capabilities."}],"updatedAt":"2026-10-10"}},{"id":"deepspeed","name":"DeepSpeed","category":"Training Infrastructure","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"DeepSpeed is a training systems library that helps execute large neural-network workloads across available hardware. The competence is configuring memory and communication strategies, integrating the training engine correctly and validating recovery and performance. Its optimizations change how training runs, while the model objective and data quality remain separate responsibilities.","type":"tool","editorial":{"definition":"DeepSpeed wraps model execution, backward computation and optimizer steps with distributed and memory-management features. ZeRO partitions training state across data-parallel workers: its stages progressively shard optimizer states, gradients and model parameters. Offloading can move selected state to other memory tiers, trading accelerator capacity against transfer and processing overhead. Configuration also governs precision, batch sizes and related execution behavior. These mechanisms reduce redundancy or redistribute work rather than altering the task's learning objective. Competence includes recognizing which state dominates memory and how sharding, communication and checkpoint formats affect the complete run, not only enabling a named optimization stage.","practice":"Profile memory and step time before choosing a ZeRO stage or offload strategy. Reconcile microbatch size, accumulation and world size with the intended effective batch. Verify precision support, loss scaling and optimizer ownership in the integration. Run a small distributed smoke test and compare loss behavior with a known baseline. Test checkpoint saving, resumption and export with the planned worker count and deployment loader. The useful result is a reproducible configuration that meets memory constraints with measured throughput and a demonstrated recovery path, including evidence that data is neither skipped nor duplicated unexpectedly.","example":"An illustrative language-model adaptation run exceeds accelerator memory because optimizer state occupies a large share. The engineer first tests state sharding, then compares a more aggressive stage when parameters become the constraint. Offloading fits the run but slows each step, so the choice depends on total experiment time. A deliberately interrupted small run verifies that the restored checkpoint continues with the expected optimizer and scheduler state before the team launches the expensive workload.","limits":"Higher sharding stages can add communication overhead, and offloading depends on host memory and transfer capacity. A model that fits may still train inefficiently. Integration mistakes can create inconsistent effective batches or incorrect update schedules. Sharded checkpoints may need a supported consolidation or loading path. DeepSpeed does not establish model quality, dataset integrity or convergence by itself. Record versions and hardware topology, inspect numerical behavior and compare measured end-to-end performance before attributing gains to configuration changes.","sources":[{"title":"DeepSpeed: Getting Started","url":"https://www.deepspeed.ai/getting-started/","note":"Training engine integration, configuration and checkpoint workflow."},{"title":"DeepSpeed: Zero Redundancy Optimizer","url":"https://www.deepspeed.ai/tutorials/zero/","note":"ZeRO stages, state partitioning and offload configuration."}],"updatedAt":"2026-10-10"}},{"id":"distributed-training","name":"Distributed Training","category":"Training Infrastructure","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Distributed training coordinates model learning across multiple devices or machines. Practitioners decide how to partition data, parameters and computation, then verify that synchronized updates implement the intended objective. The skill includes communication costs, numerical behavior, failure recovery and reproducible comparisons with a smaller trusted training setup.","type":"concept","editorial":{"definition":"Data parallelism gives workers different batches and combines their gradients while maintaining a shared model. Sharded data parallelism distributes parameter, gradient or optimizer state to reduce per-device memory. Tensor parallelism partitions operations within layers, and pipeline parallelism assigns different layers to stages that process microbatches. These approaches can be combined, but impose different communication and scheduling requirements. A distributed process group coordinates collectives such as reductions and gathers. Effective batch size depends on local batches, accumulation and participating workers, while averaging conventions determine the scale of the resulting update. Distributed execution is a systems choice rather than a new learning objective.","practice":"Measure model-state memory, compute time and network capacity to choose a partitioning strategy. Establish a correct single-device reference, then test a small distributed run with controlled data and randomness. Ensure samplers, accumulation, gradient scaling and scheduler steps agree across workers. Profile time spent computing, communicating and waiting for input. Validate full checkpoint recovery and test how partial failures terminate or resume the job. The deliverable should show correct update semantics and useful scaling for the workload, with resource and recovery assumptions explicit enough to reproduce the experiment.","example":"An illustrative classifier expands from one device to several. The engineer distributes disjoint training batches and reduces gradients through data parallelism. They compare an update with an equivalent combined batch on the reference implementation to catch an incorrect loss normalization. Throughput then plateaus because input decoding is slow, so optimizing the data loader helps more than adding workers. A restart test checks that sampler state and checkpoint restoration do not repeat an unintended segment of data.","limits":"Communication, imbalance and input bottlenecks can erase expected scaling gains. Numerical reduction order and mixed precision can alter results, and bitwise reproducibility is not always attainable. More workers can change optimization if effective batch or scheduling is left uncontrolled. Sharding complicates checkpoint loading and inspection. Distinguish data distribution from model partitioning, and assess total run cost rather than reporting device count as evidence of efficiency. A successful launch alone does not establish correct synchronized learning.","sources":[{"title":"PyTorch: Distributed Data Parallel theory","url":"https://docs.pytorch.org/tutorials/beginner/ddp_series_theory.html","note":"Replicated models, distributed inputs and gradient synchronization."},{"title":"PyTorch: Getting Started with Fully Sharded Data Parallel","url":"https://docs.pytorch.org/tutorials/intermediate/FSDP_tutorial.html","note":"Sharded model-state execution and training integration."}],"updatedAt":"2026-10-10"}},{"id":"grpo","name":"GRPO","category":"Alignment","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Group Relative Policy Optimization updates a generating policy using rewards compared within groups of sampled responses. The skill is constructing informative prompt groups, implementing reliable rewards and controlling policy changes. GRPO can support verifiable or learned rewards; its optimizer is distinct from the source of the reward signal.","type":"concept","editorial":{"definition":"GRPO samples multiple completions for a prompt and uses their rewards to estimate relative advantages, commonly by centering and scaling scores within the group. It avoids a separately trained value model in the original formulation, using the group as its baseline instead. A clipped policy objective limits updates relative to the sampling policy, and formulations may include a penalty for divergence from a reference. Group size, generation settings and reward variability affect the learning signal. Modern implementations offer normalization and loss variants, so the exact objective needs documentation. GRPO does not define whether correctness, human preference or another property supplies the reward.","practice":"Test reward functions independently and select prompts where sampled completions exhibit meaningful quality differences. Choose group size and generation limits within the available inference and training budget. Inspect zero-variance groups, reward distributions, completion lengths, clipping and divergence. Keep problem families and solution sources separate from evaluation. Record the implementation's loss and normalization settings, then assess independently verified task accuracy rather than average reward alone. The useful result is a policy improvement with a reproducible sampling and optimization recipe and evidence that the relative signal corresponds to the intended behavior.","example":"An illustrative arithmetic policy generates several solutions for each exercise. A verifier rewards final answers only when parsed values match the expected result. Some easy prompts produce all-correct groups and some difficult prompts all-wrong groups, so the developer inspects how little comparative signal they supply. Training uses a more informative mixture. Evaluation on independently generated exercises checks answer correctness and whether the policy has learned parser-specific tricks rather than transferable arithmetic.","limits":"Relative normalization can interact with prompt difficulty and reward variance, while group sampling adds substantial generation cost. Identical rewards within a group provide weak or absent differentiation. A flawed verifier or biased reward model still produces flawed optimization. Length effects and normalization choices can influence which responses receive pressure. GRPO is neither a guarantee of reasoning nor a synonym for reinforcement learning from verifiable rewards. Evaluate the reward source, policy objective and task behavior as separate components.","sources":[{"title":"DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models","url":"https://arxiv.org/abs/2402.03300","note":"Original group-relative policy optimization formulation."},{"title":"Hugging Face TRL: GRPO Trainer","url":"https://huggingface.co/docs/trl/en/grpo_trainer","note":"Sampling groups, reward functions, normalization choices and training diagnostics."}],"updatedAt":"2026-10-10"}},{"id":"unsloth","name":"Unsloth","category":"Fine-Tuning & PEFT","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Unsloth supplies tooling and optimized execution paths for language model adaptation and related training workflows. The competence is selecting a supported model and hardware configuration, preparing compatible data and checking that training and export preserve the intended behavior. Performance claims need verification on the actual workload and installed version.","type":"tool","editorial":{"definition":"Unsloth integrates model loading, adapter setup and training workflows with optimizations intended to reduce memory use or execution time. Its documented guides cover tasks such as supervised fine-tuning, low-rank adaptation and reinforcement learning, with support dependent on model family and environment. Optimized kernels and memory strategies are implementation choices, while SFT, LoRA and reward-based training retain their own conceptual definitions. The input contract still includes tokenizer or processor, conversation template and loss masking. Exported adapters or converted models also depend on their target runtime. Competence therefore combines familiarity with the library's supported path and independent understanding of the underlying training procedure.","practice":"Check the current guide for the chosen model, accelerator, precision and quantization combination. Pin dependencies and start with a small reproducible dataset. Inspect rendered conversations, label masks and trainable modules before scaling. Measure memory and step time against a comparable baseline with the same effective batch and sequence length. Reserve evaluation prompts outside training examples, and test the saved adapter or exported model in the deployment loader. The deliverable is a documented configuration and working artifact whose task quality and resource use are demonstrated, rather than an unverified speed claim copied from a general benchmark.","example":"An illustrative developer uses Unsloth to adapt a small assistant to write structured issue summaries. A short trial checks template formatting and completion-only loss. They compare peak memory with a conventional adapter-training setup using identical data and sequence lengths. After training, they export the artifact and rerun unseen issue examples in the target runtime. A formatting discrepancy exposes a missing chat-template setting, which is fixed before the model is considered ready.","limits":"Supported architectures, installation requirements and export routes can change. Results from one model or hardware configuration need not transfer to another. An optimization can reduce memory while shifting time to preprocessing or generation, so end-to-end measurement matters. Incorrect templates or labels remain harmful even when the training code runs efficiently. Unsloth is a toolchain, not a distinct alignment objective. Validate quality and a fresh deployment load after each material version or conversion change.","sources":[{"title":"Unsloth Documentation","url":"https://unsloth.ai/docs","note":"Official scope, installation and training workflow documentation."},{"title":"Unsloth: Fine-tuning LLMs Guide","url":"https://unsloth.ai/docs/get-started/fine-tuning-llms-guide","note":"Data preparation, model configuration and fine-tuning workflow."}],"updatedAt":"2026-10-10"}},{"id":"federated-learning","name":"Federated Learning","category":"Training Infrastructure","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Federated learning trains a shared model from data held by separate participants without routinely collecting all raw examples in one place. The competence is designing local updates, aggregation and evaluation under heterogeneous data and unreliable participation. Keeping data local is an architectural property, not a complete privacy guarantee.","type":"concept","editorial":{"definition":"A coordinator distributes model parameters to selected participants, each trains locally, and an aggregation rule combines returned updates. Federated averaging weights local model contributions according to an agreed procedure, commonly related to local data volume. Participants may be devices or organizations and can have different data distributions, compute capacity and availability. Multiple local steps reduce communication but can increase divergence between participants. The system must account for who contributes and how updates are validated. Secure aggregation and differential privacy are additional mechanisms with separate assumptions; the ordinary federated training protocol does not automatically prevent sensitive information from appearing in transmitted updates.","practice":"Define participants, participation rules and the trust model before choosing a protocol. Measure data heterogeneity and compare local-only, centralized reference where permitted and federated baselines. Configure local steps, weighting and communication rounds, and test dropped or delayed participants. Keep evaluation users or organizations separate from training participants where the generalization question requires it. Evaluate each participant group as well as the aggregate. The result includes an aggregation procedure, privacy and robustness controls appropriate to the threat model, and evidence that the shared model serves participants beyond those dominating the update volume.","example":"In an illustrative collaboration, several laboratories hold differently distributed sensor observations. Each trains a shared classifier locally and returns an update. Evaluation shows that an aggregation favoring large laboratories performs poorly on a smaller site's operating conditions. The team inspects per-site results, changes the participation and weighting policy and tests a previously unseen laboratory. They also assess update exposure separately, because no raw-data transfer alone does not establish confidentiality.","limits":"Nonidentical data, uneven participation and stale updates can slow convergence or disadvantage small groups. Malicious or faulty updates can corrupt aggregation, and ordinary updates may leak information. Privacy protections introduce their own utility and system costs. A centralized test set can conceal participant-specific failures, while local tests may not be comparable. Federated learning differs from distributed training over centrally managed data and from secure multiparty computation. State the actual trust and privacy mechanisms and evaluate both shared and participant-level utility.","sources":[{"title":"Communication-Efficient Learning of Deep Networks from Decentralized Data","url":"https://arxiv.org/abs/1602.05629","note":"Federated averaging, local updates and decentralized heterogeneous data."},{"title":"Advances and Open Problems in Federated Learning","url":"https://arxiv.org/abs/1912.04977","note":"Research account of heterogeneity, privacy, robustness and deployment constraints."}],"updatedAt":"2026-10-10"}},{"id":"instruction-tuning","name":"Instruction Tuning","category":"Fine-Tuning & PEFT","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Instruction tuning trains a model on examples that express a task in natural language and show a suitable response. Practitioners design task diversity, instructions and demonstrations so behavior generalizes beyond memorized templates. It is a particular supervised fine-tuning formulation, with instruction following as the capability being developed and evaluated.","type":"concept","aliases":["Instruction-Tuning","Instruction Fine-Tuning"],"editorial":{"definition":"Each example specifies what the model should do, often with additional input, and supplies a target answer. A mixture can include classification, transformation, explanation and generation tasks expressed through different instructions. The supervised objective teaches the model to condition its response on the requested operation and constraints. Task breadth and instruction variation matter because merely repeating one prompt can teach a narrow mapping rather than general instruction following. Multi-turn examples add conversation roles and context dependencies. Instruction tuning differs from continual pretraining on raw text and from preference optimization, which compares candidate responses instead of simply imitating a demonstrated answer.","practice":"Define the desired instruction behaviors, then select diverse, reviewed tasks and consistent response conventions. Include constraints such as requested format, missing information and conflicting context where they matter. Audit synthetic demonstrations for factual errors and duplicated evaluation tasks. Split by task families and source material, inspect chat templates and target masking, and balance frequent tasks against less common requirements. Evaluate unseen instruction phrasings and tasks alongside retained knowledge and language coverage. The deliverable is an adapted model with evidence of broader instruction conditioning, plus a documented dataset mixture and response rubric.","example":"An illustrative assistant learns to transform short workplace notes into either a summary, action list or structured record according to the request. Training varies wording and includes examples where there are no actions. Evaluation holds out note sources and new instruction phrasings. The developer checks that changing only the requested operation changes the answer appropriately, rather than always returning the most frequent training format. New task families provide a harder test of generalization.","limits":"Demonstrations can contain unsupported facts or encode an overly uniform style. Apparent instruction following may depend on templates, language or task overlap. Models can follow some constraints while ignoring others, especially with long or conflicting contexts. Supervised imitation does not settle how competing instructions should be prioritized in every situation. Instruction tuning is narrower than SFT as a general method and does not directly optimize comparative preferences. Evaluate the specific requested behavior and novel tasks, not just similarity to reference answers.","sources":[{"title":"Finetuned Language Models Are Zero-Shot Learners","url":"https://arxiv.org/abs/2109.01652","note":"Instruction-formatted task mixtures and generalization to unseen tasks."},{"title":"Hugging Face TRL: SFT Trainer","url":"https://huggingface.co/docs/trl/en/sft_trainer","note":"Implementation of supervised instruction-response training and target loss configuration."}],"updatedAt":"2026-10-10"}},{"id":"context-engineering","name":"Context Engineering","category":"Prompt & Context Engineering","subcategory":null,"section_id":"prompt-engineering-model-interaction","section_name":"Prompt Engineering & Model Interaction","description":"Context engineering is the design of the information a language model receives at each step of an application. It covers instructions, conversation history, retrieved evidence, tool definitions and state, with the aim of giving the model enough relevant context to act reliably within a finite context window.","type":"concept","editorial":{"definition":"A prompt is one component of context; context engineering also controls how information is selected, represented, refreshed and removed. An application may retrieve documents before a call, expose only tools relevant to the current task, summarize an older conversation, or load a file only when needed. These choices change what evidence and constraints the model can use without changing its trained weights. Long contexts are therefore a resource to manage, rather than a reason to send every available document. For an agent, the process repeats as tool results and intermediate decisions accumulate.","practice":"The practitioner specifies a context assembly policy and tests it against realistic tasks. Useful artifacts include a message layout, retrieval rules, a history retention policy, compact state records and a trace showing the material sent on each call. Evaluation should separate missing evidence from evidence the model failed to use. A comparison might keep the model and task constant while changing document selection or summary format. Token cost matters, but preserving an unresolved requirement or a critical exception may justify additional context.","example":"Consider an assistant investigating an installation failure. It begins with the user's environment, a short troubleshooting policy and the current error. It retrieves the relevant installation guide, then calls a diagnostic tool. After several unsuccessful attempts, it keeps a structured record of commands already tried and their outcomes rather than repeating all terminal output. Before proposing a change, it loads the exact configuration section affected. The context evolves with the investigation instead of becoming an ever longer transcript.","limits":"Compaction can discard a constraint, retrieval can select obsolete evidence, and tool output can contain instructions that conflict with the user's request. Context assembly needs explicit provenance and boundaries between instructions and source material. A large advertised context window does not establish reliable use of every token. Good checks include whether the same requirement survives repeated summarization, whether conflicting sources are surfaced, and whether the model can identify the evidence behind a decision.","sources":[{"title":"Effective context engineering for AI agents","url":"https://www.anthropic.com/engineering/effective-context-engineering-for-ai-agents","note":"Explains context selection, tool design, just-in-time retrieval and compaction as application engineering decisions."}],"updatedAt":"2026-10-10"}},{"id":"synthetic-data-generation","name":"Synthetic Data Generation","category":"Structured Generation & Decoding","subcategory":null,"section_id":"prompt-engineering-model-interaction","section_name":"Prompt Engineering & Model Interaction","description":"Synthetic data generation creates examples using a model or a programmed process rather than collecting each example directly from the target setting. In language-model applications, it can produce demonstrations, test cases or training records, but usefulness depends on validation and coverage rather than the volume generated.","type":"concept","editorial":{"definition":"A generator receives a specification, seed examples, source material or a sampling procedure and produces candidate records. Those records may be labeled by construction, reviewed by people, checked against executable rules, or evaluated with another model. Synthetic data is a property of how data was created, not a training method in itself. The same generated records can support supervised training, preference comparisons or evaluation. Grounding generation in real documents can preserve domain facts, while deliberately varying situations can explore rare cases that ordinary sampling would miss.","practice":"Work begins with a target distribution and a reason that existing data is insufficient. The practitioner designs generation instructions, records provenance, filters duplicates and invalid labels, and audits a sample before using the result. Training and evaluation records need separate construction paths to avoid circular success. Useful deliverables include a generation recipe, acceptance rules, a coverage table and a comparison against a model trained without the synthetic addition. Sensitive seed material also needs review before it is propagated into generated examples.","example":"A team building a document classifier has many ordinary purchase orders but few examples of canceled orders. It generates fictional orders with explicit cancellation language and varied layouts, checks that required fields and labels agree, and asks reviewers to inspect unusual cases. The resulting examples supplement the real training set. A held-out collection of genuine documents then tests whether the classifier learned cancellation evidence or merely the generator's preferred wording and formatting.","limits":"Generated data can amplify the generator's mistakes, hide distribution gaps and create misleading diversity through superficial rewording. A second model agreeing with a label is not independent ground truth. Repeated training on model-produced material can also change the distribution in undesirable ways. Synthetic records should be labeled as such, evaluated on realistic external data and checked for memorized source content. More examples are useful only when they add reliable information relevant to the intended task.","sources":[{"title":"Self-Instruct: Aligning Language Models with Self-Generated Instructions","url":"https://arxiv.org/abs/2212.10560","note":"Describes generating and filtering instruction data for language-model adaptation."},{"title":"The Curse of Recursion: Training on Generated Data Makes Models Forget","url":"https://arxiv.org/abs/2305.17493","note":"Examines distributional risks from recursively using model-generated training data."}],"updatedAt":"2026-10-10"}},{"id":"llm-decoding-strategies","name":"LLM Decoding Strategies","category":"Structured Generation & Decoding","subcategory":null,"section_id":"prompt-engineering-model-interaction","section_name":"Prompt Engineering & Model Interaction","description":"LLM decoding strategies determine how an application selects the next token from a language model's predicted distribution. Greedy selection, sampling and beam search make different trade-offs between repeatability, diversity and search effort; temperature and probability filters modify selection rather than adding knowledge to the model.","type":"concept","editorial":{"definition":"At each generation step, the model produces scores over possible tokens. Greedy decoding selects the highest-scoring token; sampling draws from a distribution, often after temperature scaling or filtering. Top-k retains a fixed number of candidates, while top-p retains a set whose cumulative probability reaches a threshold. Beam search keeps several partial sequences and compares their scores across steps. These choices interact with stopping rules, repetition controls and the model's training. Provider APIs may expose only a subset, and similarly named parameters need not imply identical implementations.","practice":"A practitioner chooses decoding settings by measuring the application's desired behavior across representative inputs. Extraction may prioritize stable schema adherence, while brainstorming may value varied usable options. The configuration should record the model, seed support, token budget, stop conditions and sampling parameters. Repeated trials reveal variation that a single attractive answer conceals. Evaluating both failed generations and successful ones helps distinguish a model limitation from settings that encourage repetition, truncate an answer or suppress valid alternatives too aggressively.","example":"For an assistant drafting product names, a team compares several sampling configurations and scores uniqueness, suitability and violations of naming constraints. For an invoice extractor using the same model, it tests more conservative decoding with structured output and field validation. Neither application selects settings by an abstract claim that a particular temperature is best. The decision follows the output distribution observed for that task, with a fallback for incomplete or invalid generations.","limits":"Lower temperature does not make an answer true or universally deterministic. Hardware, model changes, hidden service settings and ties in token scores can still produce variation. Increasing diversity can help search but also increase errors and review cost. Beam scores are model likelihoods, not factual quality scores. Decoding experiments therefore need task-level checks, and a parameter that works for one model or objective should be retested when either changes.","sources":[{"title":"Generation strategies","url":"https://huggingface.co/docs/transformers/main/en/generation_strategies","note":"Defines generation modes and the role of sampling and search parameters."}],"updatedAt":"2026-10-10"}},{"id":"prompt-caching","name":"Prompt Caching","category":"Routing & Token Efficiency","subcategory":null,"section_id":"prompt-engineering-model-interaction","section_name":"Prompt Engineering & Model Interaction","description":"Prompt caching reuses computation for a repeated input prefix so that later model requests need less repeated processing. It is an inference optimization for shared instructions or context; it differs from returning a previously generated answer because the model can still produce a new response to each request.","type":"concept","editorial":{"definition":"Transformer inference computes internal representations for input tokens before generating an answer. A serving system can retain eligible prefix computation and reuse it when another request begins with the same supported prefix. Cache matching, lifetime, minimum length and billing rules depend on the provider or engine. Stable instructions and reference documents can form a reusable prefix, while a changing question belongs after it. Prompt caching is distinct from semantic caching, which retrieves an old response for a meaningfully similar request, and from application memoization of an exact result.","practice":"The practitioner organizes messages so stable material precedes variable material, then measures actual cache reads and writes through provider usage fields or engine metrics. A useful experiment compares identical workloads with and without eligible prefix reuse, tracking latency and total cost rather than assuming every request hits. Cache policy also needs a tenant boundary and a plan for changed instructions or documents. The artifact is a request layout and measurement report that explain which portion was reused under the selected implementation.","example":"A support application repeatedly sends the same product manual and response policy, followed by a different customer question. The stable manual and policy are placed before the variable conversation. Later requests may reuse their prefix computation, while the assistant still reasons over the new question and generates a fresh answer. When the manual changes, the application uses the updated version and observes a new cache population rather than expecting the previous cached prefix to contain new information.","limits":"A cache hit is not a quality improvement, and a miss does not mean the application is broken. Small changes near the beginning can invalidate reuse; low request frequency can make writes or expired entries uneconomic. Provider caching semantics and pricing can change, so measurements need the actual service configuration. Reusing prefix computation also does not exempt an application from access controls or retention requirements for the material included in requests.","sources":[{"title":"Prompt caching","url":"https://platform.claude.com/docs/en/build-with-claude/prompt-caching","note":"Documents prefix reuse, cache configuration and usage accounting for the Claude API."},{"title":"Prompt caching","url":"https://developers.openai.com/api/docs/guides/prompt-caching","note":"Documents provider-specific prefix matching and cached-token reporting."}],"updatedAt":"2026-10-10"}},{"id":"token-optimization","name":"Token Optimization","category":"Routing & Token Efficiency","subcategory":null,"section_id":"prompt-engineering-model-interaction","section_name":"Prompt Engineering & Model Interaction","description":"Token optimization reduces unnecessary input or output tokens while preserving the information and behavior an application needs. It includes selecting context, shortening repetitive instructions, controlling generated length and choosing suitable representations; the target is useful task completion per resource spent, rather than the shortest possible prompt.","type":"concept","editorial":{"definition":"Language models process text as tokens, whose count depends on the tokenizer rather than a simple word count. Input tokens consume context capacity and processing work, while generated tokens add decoding time and often dominate interactive latency. An application can remove irrelevant passages, avoid duplicating history, summarize completed work or request a bounded output format. These changes may alter behavior, so token savings are an engineering hypothesis to evaluate. Prompt caching addresses repeated computation, whereas token optimization changes how much material is processed or generated.","practice":"The practitioner profiles token use by call and identifies expensive patterns such as oversized retrieval batches or repeated tool schemas. A before-and-after evaluation records task success, omitted facts, latency and usage. It is useful to preserve a budget for essential exceptions instead of applying indiscriminate truncation. Deliverables include a context selection policy, output length rules and a token breakdown linked to task outcomes. For multi-call workflows, the total includes retries and verification calls, not merely the final response.","example":"An assistant summarizes a long meeting transcript. Sending every earlier conversation turn adds cost but little evidence, so the application keeps the user's requested decisions and the transcript, removes unrelated chat and asks for decisions with owners and unresolved questions. It then checks summaries against annotated meetings. If shorter inputs cause a disputed decision to disappear, the selection policy is revised even though the token count had improved. Savings remain subordinate to the required coverage.","limits":"Compression can erase qualifiers, provenance or rare but decisive facts. A short output limit can produce a polished yet incomplete answer, while overly narrow retrieval can force another costly call. Token counts also vary by language, content and model tokenizer. Optimization should compare end-to-end resource use at an acceptable quality level. A reduction measured on easy examples may fail when a task needs long evidence or several rounds of clarification.","sources":[{"title":"Latency optimization","url":"https://developers.openai.com/api/docs/guides/latency-optimization","note":"Discusses reducing generated tokens and improving application latency through request design."},{"title":"Effective context engineering for AI agents","url":"https://www.anthropic.com/engineering/effective-context-engineering-for-ai-agents","note":"Supports selecting and compressing context while preserving task-relevant information."}],"updatedAt":"2026-10-10"}},{"id":"anthropic-api","name":"Anthropic API","category":"LLM APIs & Integration","subcategory":null,"section_id":"prompt-engineering-model-interaction","section_name":"Prompt Engineering & Model Interaction","description":"The Anthropic API is a developer interface for sending inputs to Claude models and receiving generated responses. The skill involves translating application requirements into supported message formats, tool interactions and streaming behavior, then handling authentication, usage, errors and model-specific capabilities as part of a reliable service integration.","type":"tool","editorial":{"definition":"An application submits a request containing a model identifier, input messages and supported configuration. Responses may include text, tool requests or other content blocks, depending on the model and endpoint. When a tool is requested, application code decides whether and how to execute it and returns the result for a subsequent model step. Streaming delivers events incrementally rather than a single completed response. API access is distinct from using the Claude chat product: the developer owns application state, authorization, retry behavior and the user experience around the model.","practice":"Implementation starts with the current endpoint and SDK documentation. The practitioner stores credentials securely, validates message construction, sets explicit time and output limits, and records request identifiers and usage without indiscriminately logging sensitive inputs. Tool handlers enforce their own permissions and validate arguments. Integration tests cover interrupted streams, rate limits, partial results and refusal or unsupported-content cases. A versioned client adapter and a small evaluation set make it possible to assess a model migration before routing normal traffic to it.","example":"A document assistant sends a report and asks Claude to extract a constrained set of issues. When the model requests a lookup tool, the application checks that the referenced document belongs to the current user, retrieves the allowed passage and returns it as a tool result. The interface shows partial text as streaming events arrive and records completion separately from connection success. An interrupted response is retried according to an explicit policy instead of being presented as a finished review.","limits":"API features, limits and model availability change, and a feature supported by one model may be absent from another. A successful HTTP response does not establish valid content or correct tool behavior. Retries can duplicate application-side actions unless handlers are designed for that possibility. Vendor documentation establishes the interface, while representative task evaluations establish whether a particular Claude configuration is suitable for the application's needs.","sources":[{"title":"Claude API overview","url":"https://platform.claude.com/docs/en/api/overview","note":"Official entry point for API authentication, endpoints, SDKs and request conventions."}],"updatedAt":"2026-10-10"}},{"id":"openai-api","name":"OpenAI API","category":"LLM APIs & Integration","subcategory":null,"section_id":"prompt-engineering-model-interaction","section_name":"Prompt Engineering & Model Interaction","description":"The OpenAI API exposes models and tools through interfaces that developers can integrate into their own applications. Competence involves constructing supported requests, managing response and tool lifecycles, and building reliable error, usage and evaluation handling around the selected API rather than treating a generated answer as a complete application.","type":"tool","editorial":{"definition":"For text generation, an application sends instructions and input to a supported endpoint and receives structured response items. Depending on the selected interface and model, a response may contain text, function-call arguments or tool-related events. Streaming allows incremental processing, while conversation handling requires an explicit choice about state and stored items. The API and the ChatGPT product have different application responsibilities. Model selection, permissions, data flow and business logic remain developer decisions even when the service handles model execution or a built-in tool.","practice":"A practitioner reads the current endpoint documentation, implements a narrow client adapter and records model identifiers and relevant settings. The adapter handles authentication, deadlines, rate limits, cancellation and incomplete results. Function-call arguments are validated before execution, and externally visible actions are protected against duplicate retries. A representative evaluation suite checks both output quality and application behavior. Useful artifacts include typed request and response handling, an operational usage view and a migration plan that tests a replacement model before releasing it.","example":"An application reviews customer feedback and emits records containing topic, supporting quotation and uncertainty. It submits the text with a supported structured-output configuration, validates the returned record and checks that the quotation occurs in the input. If the model asks for a function that loads account details, application code applies the account access policy before running it. The resulting workflow combines model inference with deterministic validation and authorization instead of delegating those responsibilities to prompt wording.","limits":"Endpoint names, supported parameters and models can evolve. OpenAI-compatible interfaces from other providers may implement only part of the same contract. Format adherence also does not prove that a field is factually correct. Testing should include unavailable models, interrupted streams and content that cannot be answered from the input. Interface documentation is evidence of supported behavior, not a guarantee that one model will satisfy every task requirement.","sources":[{"title":"Text generation","url":"https://developers.openai.com/api/docs/guides/text","note":"Explains generation requests, response handling, model choice and API-specific integration patterns."},{"title":"Function calling","url":"https://developers.openai.com/api/docs/guides/function-calling","note":"Defines the application-managed function call and tool result lifecycle."}],"updatedAt":"2026-10-10"}},{"id":"llm-api-integration","name":"LLM API Integration","category":"LLM APIs & Integration","subcategory":null,"section_id":"prompt-engineering-model-interaction","section_name":"Prompt Engineering & Model Interaction","description":"LLM API integration connects a model service to application data, workflows and user interfaces. It requires more than sending a prompt: the integration must preserve task state, validate outputs, control tool execution and handle timeouts, limits and changing provider interfaces in a way the rest of the application can depend on.","type":"concept","editorial":{"definition":"A model API is an external dependency whose outputs may vary even when inputs look similar. Integration code translates domain inputs into messages or content blocks and translates responses into application objects or user-facing content. It also manages streaming, conversation state, usage and errors. A provider abstraction can reduce duplicated code, but different models still have different tool schemas, context behavior and supported modalities. The integration boundary is where these differences become explicit contracts instead of hidden assumptions spread across business logic.","practice":"The practitioner defines the application's required response shape, failure states and maximum waiting time before selecting an API. Client code centralizes credential handling and provider adaptation, while domain code validates facts and permissions. Contract tests exercise supported inputs, truncated outputs, quota errors and unavailable dependencies. Logging captures identifiers and timing with appropriate redaction. A practical deliverable is an adapter whose documented behavior tells callers whether they received a complete result, a retryable failure or an answer requiring human review.","example":"A procurement system adds a model-assisted description normalizer. The adapter accepts an item record, asks a provider for a structured proposed description and returns either a validated proposal or an explicit failure. The existing system still checks product codes and requires review before saving. When the provider is unavailable, manual editing remains available. Replacing the model provider changes the adapter and evaluation configuration rather than forcing every procurement screen to understand a new message format.","limits":"A common interface does not make models interchangeable in quality or semantics. Retries can increase cost and repeat side effects; streaming text can be shown before later validation rejects the full answer. Silent provider fallbacks may change behavior users depend on. Good integration tests therefore inspect application outcomes as well as network success, and release decisions include representative model evaluations rather than relying only on mocked API responses.","sources":[{"title":"Text generation","url":"https://developers.openai.com/api/docs/guides/text","note":"Supports explicit request construction and response lifecycle handling."},{"title":"Claude API overview","url":"https://platform.claude.com/docs/en/api/overview","note":"Provides an independent provider interface for comparing integration contracts."}],"updatedAt":"2026-10-10"}},{"id":"semantic-routing","name":"Semantic Routing","category":"Routing & Token Efficiency","subcategory":null,"section_id":"prompt-engineering-model-interaction","section_name":"Prompt Engineering & Model Interaction","description":"Semantic routing chooses a processing path from the meaning of an incoming request. A router may compare query embeddings with example routes or use a classifier to select a tool, workflow or model; the key skill is making routing decisions measurable and handling uncertain or overlapping cases explicitly.","type":"concept","editorial":{"definition":"Unlike keyword routing, semantic routing attempts to recognize related intentions expressed with different wording. A route can be represented by example utterances embedded into a vector space, with a similarity score used to choose a destination. Other systems use learned classifiers or a model-based decision. These are implementation choices, not a single standardized algorithm. Routing differs from retrieval because its main output is a control decision. It can occur before generation to choose a cheaper model, or inside a workflow to select an operation appropriate to the request.","practice":"A practitioner defines routes that correspond to distinct application behaviors, labels representative requests and establishes a fallback for weak or conflicting matches. Thresholds are calibrated on held-out examples, including requests that belong to no route. The evaluation reports confusion between routes and the consequences of wrong routing, not just aggregate accuracy. Versioned examples, route definitions and routing traces provide a reviewable artifact. When routing selects a model, end-to-end output quality and savings need measurement after the choice is applied.","example":"A workplace assistant has separate workflows for finding policies, opening an IT ticket and requesting an expense explanation. A request to replace a damaged laptop should reach IT even without the word ticket. A request comparing laptop reimbursement policies should reach policy search. The router tests these near neighbors, and uncertain requests ask for clarification or use a general handler. Route similarity is exposed to debugging tools so a misclassification can be traced to the examples used.","limits":"Embedding similarity is not a calibrated probability of intent. Broad example sets can absorb neighboring routes, and language or domain changes can invalidate a threshold. Requests containing several goals may need decomposition instead of one destination. A wrong route can invoke an inappropriate action, so authorization remains downstream of routing. Semantic routing is useful when explicit routes improve the application; it should be compared with a simpler rule or direct model call.","sources":[{"title":"Semantic Router","url":"https://docs.aurelio.ai/docs/semantic-router","note":"Official implementation documentation for semantic route definitions, utterances and routing behavior."}],"updatedAt":"2026-10-10"}},{"id":"in-context-learning","name":"In-Context Learning","category":"Prompt & Context Engineering","subcategory":null,"section_id":"prompt-engineering-model-interaction","section_name":"Prompt Engineering & Model Interaction","description":"In-context learning is a model's use of examples or task information supplied in its input to guide a new response without updating its weights. A few labeled examples can communicate a mapping, format or convention, although the result remains sensitive to which demonstrations are chosen and how they are presented.","type":"concept","editorial":{"definition":"A prompt can show several input–output pairs and then a new input whose output is left to the model. The model conditions its next-token predictions on that sequence, applying patterns that its training enabled it to recognize. There is no separate optimizer step or persistent parameter change during ordinary inference. Few-shot prompting is a common way to invoke this behavior, while in-context learning is the broader capability being used. Instructions, labels, ordering and formatting all contribute to the task representation, including unintended correlations in the examples.","practice":"The practitioner chooses demonstrations that cover distinct cases and match the intended output convention. It is useful to vary example order, test an instruction-only baseline and reserve evaluation cases that are not near duplicates of the demonstrations. For large example pools, retrieval can select relevant demonstrations per request. The artifact includes the selected pairs, selection policy and measured behavior on unfamiliar inputs. Recording the full prompt matters because the same model can perform differently when examples are changed without any new training.","example":"A team wants short incident notes classified as service outage, access issue or unclear. The prompt includes examples showing ordinary cases and an ambiguous note labeled unclear. A new note about an expired login session is then classified under the demonstrated scheme. Evaluation includes notes with both an outage and an access problem, testing whether the model follows the intended tie-breaking convention. Adding more examples is accepted only if it improves those decisions on held-out notes.","limits":"Demonstrations can encourage copying incidental wording or position patterns instead of the desired rule. A model can also follow a well-formed example while misunderstanding a genuinely new case. In-context learning should not be described as durable training or proof that the model learned a general algorithm. Its quality depends on the model, task and prompt distribution, so examples need evaluation and isolation from the final test set.","sources":[{"title":"Language Models are Few-Shot Learners","url":"https://arxiv.org/abs/2005.14165","note":"Primary demonstration and definition of language-model task conditioning with in-context examples."}],"updatedAt":"2026-10-10"}},{"id":"prompt-engineering","name":"Prompt Engineering","category":"Prompt & Context Engineering","subcategory":null,"section_id":"prompt-engineering-model-interaction","section_name":"Prompt Engineering & Model Interaction","description":"Prompt engineering is the design and evaluation of instructions, examples and output requirements used to guide a language model on a task. It turns a vague request into an explicit interaction contract, then tests whether that contract produces useful behavior across representative inputs and failure cases.","type":"concept","editorial":{"definition":"A prompt influences generation by describing the task, supplying relevant material and indicating how an answer should be formed. It may include demonstrations, delimiters, a requested structure or rules for handling insufficient evidence. The model still uses its existing weights; changing a prompt is different from training or fine-tuning. Techniques such as few-shot examples and intermediate reasoning can help particular tasks, but they are choices to compare rather than mandatory ingredients. Context engineering is broader: it also decides which history, retrieved documents and tool results become available alongside the instructions.","practice":"The practitioner starts with success criteria and an evaluation set. A first prompt states the task plainly, defines important terms and makes uncertainty or escalation behavior explicit. Revisions follow observed failures: an example may clarify a boundary, while a missing input may require a tool rather than more prose. Prompts and model settings are versioned together. A useful deliverable includes the prompt, test cases, scoring criteria and a record of which changes improved performance without introducing unacceptable regressions.","example":"An assistant converts maintenance notes into structured repair summaries. The initial instruction produces fluent summaries but sometimes invents a replacement part. A revision requires every part to be supported by the note and permits an unknown value. Tests include incomplete notes and notes mentioning a part that was inspected but not replaced. The team compares results before deployment. If the remaining problem is missing access to the parts catalog, it adds a controlled lookup rather than repeatedly rewriting the wording.","limits":"A convincing example is weak evidence of general reliability. Prompts can overfit a small test collection, contain contradictory instructions or rely on model-specific behavior. They do not establish security permissions or guarantee factual correctness. Asking for extensive reasoning can increase latency without improving a task. Prompt quality is therefore measured against application outcomes, and meaningful model or input-distribution changes require renewed evaluation of the instruction contract.","sources":[{"title":"Prompt engineering overview","url":"https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/overview","note":"Establishes success criteria, evaluation and the limits of solving application problems with prompt changes."},{"title":"Tree of Thoughts: Deliberate Problem Solving with Large Language Models","url":"https://arxiv.org/abs/2305.10601","note":"Provides a primary example of structured reasoning and search beyond a single direct prompt."}],"updatedAt":"2026-10-10"}},{"id":"system-prompt-design","name":"System Prompt Design","category":"Prompt & Context Engineering","subcategory":null,"section_id":"prompt-engineering-model-interaction","section_name":"Prompt Engineering & Model Interaction","description":"System prompt design establishes persistent instructions for an assistant's role, behavior and interaction with tools. It defines how the model should approach a task and handle uncertainty or conflicting input, while recognizing that application permissions and critical checks must be enforced outside natural-language instructions.","type":"concept","editorial":{"definition":"A system prompt occupies an instruction position defined by the selected model interface. It can specify the assistant's purpose, tone, output conventions and rules for using evidence. Unlike a user's individual request, it is intended to remain stable across many interactions. Some APIs distinguish system and developer messages or use different instruction hierarchies, so the application must use the provider's actual contract. Source documents and tool results should be presented as data with clear boundaries; embedding everything in one undifferentiated message makes authority and task context harder to interpret.","practice":"The designer writes a concise behavior contract with explicit priorities and realistic exceptions. Tool descriptions explain when an operation is appropriate and what information it needs. Tests cover ordinary requests, insufficient evidence, contradictory instructions and attempts to treat retrieved text as authority. The prompt is versioned with the model and tool schema. An effective review asks whether each instruction changes a measurable behavior and whether a deterministic rule would be better enforced by code, access control or output validation.","example":"A technical support assistant is instructed to distinguish verified product documentation from suggested troubleshooting steps. It must state when a procedure is unsupported and escalate requests that require a privileged account change. A retrieved forum post telling the assistant to ignore those rules is handled as source content. The application additionally blocks privileged tools for ordinary users. The system prompt helps shape the explanation, while the server decides which actions are actually available to the current account.","limits":"A system prompt is not a security boundary or a complete specification of model behavior. Long lists of prohibitions can conflict, and models may fail to follow even clear instructions in difficult contexts. Vendor instruction hierarchies differ and can evolve. Quality checks need adversarial and ambiguous inputs as well as friendly examples, and high-consequence actions need application controls that remain effective when the model interprets an instruction incorrectly.","sources":[{"title":"Effective context engineering for AI agents","url":"https://www.anthropic.com/engineering/effective-context-engineering-for-ai-agents","note":"Discusses clear system instructions, suitable specificity and separation of context components."},{"title":"OpenAI Model Spec","url":"https://model-spec.openai.com/2025-12-18.html","note":"Documents an example instruction hierarchy and treatment of differing instruction authority."}],"updatedAt":"2026-10-10"}},{"id":"prompt-management","name":"Prompt Management","category":"Prompt & Context Engineering","subcategory":null,"section_id":"prompt-engineering-model-interaction","section_name":"Prompt Engineering & Model Interaction","description":"Prompt management treats prompts as versioned application artifacts with review, evaluation and controlled release. It connects the text used in model calls to its owner, parameters and observed behavior, so teams can compare changes, reproduce incidents and roll back a prompt that worsens results.","type":"concept","editorial":{"definition":"A prompt can live in source control or in a registry that serves named versions to an application. Templates expose variables for user input or retrieved context while keeping the instruction structure controlled. A release may bind a prompt version to a model, output schema and evaluation configuration. This differs from prompt engineering, which focuses on designing the instructions themselves. Management supplies their lifecycle: draft, review, test, promotion and retirement. Runtime traces become more informative when they record the exact version instead of only the prompt's display name.","practice":"The practitioner chooses a versioning strategy and separates editable drafts from production references. Automated tests check template variables and required output formats, while task evaluations compare quality and resource use. A rollout can send a controlled portion of traffic to a new version with explicit success and rollback criteria. Useful artifacts include the registry record, release notes and an evaluation report. Credentials and private runtime values should remain outside the stored template and be handled through the application's normal data controls.","example":"A customer-support team revises a prompt to ask for shorter replies. Offline evaluation reveals that some replies omit the final troubleshooting step. The team adds coverage checks, releases a corrected version to a limited test group and links each response trace to its prompt version. When a later review finds a regression on warranty questions, the production reference returns to the previous version. The team can then reproduce the affected requests with their original instructions rather than guessing what text was active.","limits":"Versioning text alone is insufficient if the model, retrieval index or tool behavior changes underneath it. A prompt registry does not prevent unsafe edits or prove that online traffic is comparable between variants. Evaluation data can also leak into repeated optimization. A useful management process records the complete relevant configuration, limits editing privileges and makes rollback operationally possible without assuming that every regression originates in the prompt.","sources":[{"title":"Prompt management","url":"https://langfuse.com/docs/prompt-management/overview","note":"Official documentation for prompt versions, labels, templates and links to application traces."}],"updatedAt":"2026-10-10"}},{"id":"automated-prompt-optimization","name":"Automated Prompt Optimization","category":"Prompt & Context Engineering","subcategory":null,"section_id":"prompt-engineering-model-interaction","section_name":"Prompt Engineering & Model Interaction","description":"Automated prompt optimization searches for instructions or demonstrations that improve a measured task objective. Candidate prompts may be generated or revised by a model, selected through trial performance or evolved with search; the optimized artifact remains a prompt rather than a newly trained base language model.","type":"concept","editorial":{"definition":"An optimization loop evaluates a candidate on examples, computes a score and proposes a revision. Some methods use gradients expressed as natural-language feedback; others search demonstration sets or combine promising variants. The metric provides the selection pressure, so the procedure optimizes whatever the evaluator rewards. This makes task definition and held-out validation central. Automated optimization differs from asking a model to polish wording once: it requires repeated comparison under an explicit objective and a record of which candidate was selected and why.","practice":"The practitioner defines a program boundary, training examples, a development objective and a separate test set. Search budgets and candidate provenance are recorded so improvements can be compared with simpler manual revisions. Invalid outputs and execution cost belong in the objective or acceptance checks, rather than being ignored. The final artifact includes the selected instructions or examples, evaluation configuration and independent test results. Reviewing the generated prompt can reveal brittle shortcuts or surprising requirements that numerical selection did not penalize.","example":"A classifier routes service requests to several teams. The optimizer proposes clearer category definitions and different example combinations, then measures performance on a development set. A candidate that boosts overall accuracy by sending most ambiguous requests to one large category is rejected after per-category review. The selected prompt is tested on a fresh set containing uncommon departments and misspellings. Search results are accepted because they improve those decisions under the chosen constraints, not because the optimizer describes its own revision as better.","limits":"An optimizer can overfit its examples or exploit weaknesses in a model-based judge. More search also increases cost and the opportunity for evaluation leakage. Improvements may disappear with another model or different requests. No automated method removes the need for representative labels, sound scoring and an external test. Emerging optimizers have different search mechanisms, so a report should name the implementation and budget instead of presenting automation as a single universal technique.","sources":[{"title":"DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelines","url":"https://arxiv.org/abs/2310.03714","note":"Describes optimization of prompts and demonstrations for modular language-model programs."},{"title":"GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learning","url":"https://arxiv.org/abs/2507.19457","note":"Presents a particular reflective prompt-search method and its evaluation setting."}],"updatedAt":"2026-10-10"}},{"id":"dspy","name":"DSPy","category":"Prompt & Context Engineering","subcategory":null,"section_id":"prompt-engineering-model-interaction","section_name":"Prompt Engineering & Model Interaction","description":"DSPy is a framework for building language-model programs as composable modules with declared input and output roles, then optimizing their instructions or examples against a metric. It makes prompt behavior part of a program and evaluation workflow, while leaving the developer responsible for the task specification and evidence of improvement.","type":"tool","editorial":{"definition":"A DSPy program expresses tasks through signatures and modules rather than scattering hand-written prompts throughout application code. A signature describes what a call should consume and produce; modules can implement prediction, reasoning or retrieval-related steps. An optimizer evaluates the program on examples and adjusts supported prompt components or other configurable elements. The original DSPy work describes this as compilation, but it is not conventional compilation into machine instructions. The result is an executable language-model pipeline whose performance depends on the selected model, modules, data and metric.","practice":"The practitioner creates meaningful signatures, assembles the smallest program that performs the task and defines an evaluator. Training and validation examples are kept separate from the final test. Optimization is run with a recorded budget, then the selected program is inspected for invalid assumptions and evaluated end to end. A useful artifact includes code, model configuration, optimized state and test results. Retrieval failures or unreliable tool execution still need direct debugging; an optimizer cannot compensate for information the program never receives.","example":"A question-answering application separates query generation, document retrieval and answer production into modules. Its metric checks whether the answer is supported by the retrieved passage and whether it addresses the question. Optimization selects demonstrations for the query and answer modules. A held-out test then checks whether unfamiliar questions retrieve the right documents. The resulting program can be compared with the original hand-written pipeline under the same retrieval index and model settings, making the source of an improvement easier to investigate.","limits":"DSPy does not make evaluation objective by itself. A weak metric can reward fluent unsupported answers, and optimization on a small example set can produce brittle prompts. Library APIs and supported optimizers evolve, so reproducibility requires pinned versions and saved configuration. Claims about optimized performance should name the workload and budget. The framework is useful for organizing and improving programs, rather than a guarantee that programmatic prompting outperforms a simpler implementation.","sources":[{"title":"DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelines","url":"https://arxiv.org/abs/2310.03714","note":"Primary explanation of signatures, modular programs and prompt optimization."},{"title":"DSPy repository","url":"https://github.com/stanfordnlp/dspy","note":"Maintained source and documentation for the framework's current implementation."}],"updatedAt":"2026-10-10"}},{"id":"program-aided-lms-pal","name":"Program-Aided LMs (PAL)","category":"Reasoning & Test-Time Compute","subcategory":null,"section_id":"prompt-engineering-model-interaction","section_name":"Prompt Engineering & Model Interaction","description":"Program-Aided Language Models use a language model to translate a problem into executable code and use a runtime to perform the resulting calculation. PAL separates interpreting the request from carrying out exact operations, so a useful answer depends on both the generated program and controlled execution of that program.","type":"concept","editorial":{"definition":"In the PAL approach, prompts demonstrate how a problem can be represented as a short program. The language model generates code expressing variables and operations, and an interpreter computes the result. This differs from a purely textual chain of thought, where the model also produces intermediate arithmetic and the final number. The runtime can calculate consistently, but it cannot determine whether the program represents the intended problem. PAL is therefore a division of labor: language understanding remains probabilistic, while execution applies the semantics of the generated code.","practice":"The practitioner defines the supported problem class, provides suitable program demonstrations and restricts execution to an appropriate environment. Generated code is checked for forbidden operations, missing outputs and runtime errors. The application validates units and compares answers with known cases. A useful artifact contains the prompt, execution harness, result extraction and a test set with both straightforward and ambiguous questions. For broader code-execution agents, permission and sandbox design become additional responsibilities beyond the narrower calculation pattern demonstrated by PAL.","example":"A scheduling assistant is asked how many work hours remain after several breaks. The model generates variables for the shift duration and each break, then calculates the difference in a restricted Python environment. A test case containing an unpaid overnight break checks whether the model converted dates and units correctly. The interpreter reliably subtracts the numbers it receives, but an incorrect interpretation still produces a wrong answer. The application therefore verifies the encoded assumptions before presenting a result.","limits":"Executable reasoning can be precisely wrong when the generated code omits a condition or uses the wrong formula. Runtime success is not proof of task correctness, and unrestricted code can introduce security or resource risks. PAL also adds execution latency and operational complexity. It is most appropriate when the relevant steps can be represented and checked in code; qualitative judgments or missing facts require a different form of evidence and validation.","sources":[{"title":"PAL: Program-aided Language Models","url":"https://arxiv.org/abs/2211.10435","note":"Introduces generated programs with external execution as a reasoning approach."}],"updatedAt":"2026-10-10"}},{"id":"self-consistency","name":"Self-Consistency","category":"Reasoning & Test-Time Compute","subcategory":null,"section_id":"prompt-engineering-model-interaction","section_name":"Prompt Engineering & Model Interaction","description":"Self-consistency samples several reasoning paths and aggregates their final answers instead of trusting one generation. The method seeks a result supported by multiple sampled paths, commonly through majority voting, while recognizing that agreement among outputs from the same model is different from independent verification of the answer.","type":"concept","editorial":{"definition":"The original technique combines chain-of-thought prompting with stochastic sampling. Each sample develops a path and produces an answer; an aggregation rule then chooses the answer appearing most often after normalization. The mechanism relies on different valid paths converging on a result while some errors diverge. It is a decoding and aggregation procedure rather than a training update. Variants may use weighted votes or other selectors, but those choices need explicit definition. For open-ended outputs, deciding when two answers are equivalent is harder than comparing a number or a class label.","practice":"The practitioner defines an answer extraction rule, sampling settings, number of trials and aggregation behavior before evaluating results. Invalid or missing answers require a policy, and ties may trigger a fallback or more sampling. Test cases compare single-generation quality with aggregated quality under the same budget constraints. The artifact should retain sampled outputs and the normalized votes so failures are inspectable. An external correctness check is especially useful where the model can repeatedly reproduce the same mistaken assumption across apparently different explanations.","example":"A model solves a collection of arithmetic word problems. Several samples produce different explanations but the same numerical result, while others misread a quantity. The application extracts a normalized number from each sample and takes the most frequent valid answer. For a problem with ambiguous units, the votes may split or all repeat one interpretation. Those cases are routed for further checking rather than describing the vote margin as a calibrated probability that the answer is true.","limits":"Repeated model samples share training, prompts and often the same blind spots. A majority can therefore be wrong, especially when the question invites a common misconception. Sampling multiplies inference cost and latency, and aggregation can hide disagreement if answer normalization is too coarse. The technique should be evaluated on the target task against other ways to spend the same budget, including a stronger model, executable verification or better evidence retrieval.","sources":[{"title":"Self-Consistency Improves Chain of Thought Reasoning in Language Models","url":"https://arxiv.org/abs/2203.11171","note":"Primary formulation of sampled reasoning paths with answer aggregation."}],"updatedAt":"2026-10-10"}},{"id":"structured-llm-outputs","name":"Structured LLM Outputs","category":"Structured Generation & Decoding","subcategory":null,"section_id":"prompt-engineering-model-interaction","section_name":"Prompt Engineering & Model Interaction","description":"Structured LLM outputs constrain or validate model responses against a machine-readable shape such as a JSON schema. They make generated content easier for application code to consume, but a response satisfying the schema can still contain incorrect facts, unsupported inferences or values that violate the application's business rules.","type":"concept","editorial":{"definition":"There are several ways to obtain structure. A prompt can request a format, application code can parse and retry a response, or a provider or local engine can constrain generation to supported syntax and schema rules. These approaches offer different guarantees. A JSON schema describes types, required properties and some value restrictions; it usually does not establish the truth of a value. Tool calls also use structured arguments, but their purpose is to request an operation rather than merely return data. The chosen mechanism and supported schema subset should be explicit.","practice":"The practitioner designs a small schema that represents success, uncertainty and missing information. It validates the actual response and handles refusals, incomplete generations or unsupported schemas according to the provider contract. Domain checks follow structural validation: identifiers must exist, dates must be plausible and quotations should match the source. Tests include empty input and cases that cannot satisfy all fields honestly. The deliverable is a typed response contract with validation and failure handling, rather than a prompt that assumes valid JSON will always appear.","example":"An application extracts deliveries from an email into records containing an item, quantity, date and supporting passage. Structured generation ensures a predictable container, while validation checks positive quantities and whether each supporting passage occurs in the message. A date absent from the email is represented as unknown. If a refusal or incomplete response arrives, the application shows a review state instead of saving an empty successful delivery. The schema makes that behavior clear to downstream code.","limits":"A narrower output grammar does not eliminate hallucination. Overly strict required fields can encourage invented values when the input lacks evidence, and providers differ in supported schema features. Retrying invalid content can also conceal systematic failures. Quality requires semantic validation and representative tests in addition to parsing. Structured outputs are particularly useful at software boundaries, provided the application preserves an explicit distinction between a valid structure and a verified record.","sources":[{"title":"Structured model outputs","url":"https://developers.openai.com/api/docs/guides/structured-outputs","note":"Defines schema-constrained output behavior, supported patterns and response exceptions."}],"updatedAt":"2026-10-10"}},{"id":"test-time-compute-scaling","name":"Test-Time Compute Scaling","category":"Reasoning & Test-Time Compute","subcategory":null,"section_id":"prompt-engineering-model-interaction","section_name":"Prompt Engineering & Model Interaction","description":"Test-time compute scaling spends additional inference resources on solving a request instead of only enlarging or retraining the model. Extra reasoning, multiple candidates, search and verification are different ways to use that budget; the useful question is whether they improve task outcomes enough to justify their cost and latency.","type":"concept","editorial":{"definition":"A fixed trained model can perform more work at inference time. It may generate a longer reasoning sequence, sample several candidate answers, revise a draft or explore alternatives selected by a verifier. These mechanisms change the computation performed for a request without necessarily changing model weights. They are not interchangeable: repeated sampling searches across answers, while sequential refinement depends on how feedback changes an existing answer. Allocating effort according to question difficulty is itself a decision policy. The term therefore describes a family of approaches, not a universal knob with predictable gains.","practice":"The practitioner defines the allowed budget and compares methods at matched cost or latency. Evaluation records task correctness alongside generated tokens, verifier calls and search overhead. Easy cases may receive a short path, while uncertain cases receive additional candidates or a stronger check. Stopping rules prevent endless work. A useful report shows where extra effort helps, where it repeats mistakes and how a budget policy performs on a held-out workload. Deployment also needs a response deadline and a fallback when the budget expires.","example":"A coding assistant first proposes a small patch and runs targeted tests. If the tests fail, it receives the error, revises the patch and tests again within a fixed budget. A separate experiment instead generates several patches and selects one using test results. The team compares successful repairs and total execution time under equal budgets. Extra compute is justified for difficult failures if it improves verified repairs; longer explanations alone do not count as better problem solving.","limits":"More computation can reinforce a wrong premise or exploit a weak verifier. Gains measured on tasks with reliable answers need not transfer to open-ended work, and tail latency can become unacceptable. Internal reasoning length is also not always exposed by a provider. Reports should specify the mechanism, budget and selection criterion rather than implying that more tokens always improve intelligence. External evidence and sound checks remain essential when additional inference produces confident but unsupported results.","sources":[{"title":"Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameters","url":"https://arxiv.org/abs/2408.03314","note":"Studies inference-time candidate generation, verification and compute allocation under defined experimental conditions."},{"title":"Tree of Thoughts: Deliberate Problem Solving with Large Language Models","url":"https://arxiv.org/abs/2305.10601","note":"Illustrates deliberate search over intermediate reasoning states."}],"updatedAt":"2026-10-10"}},{"id":"google-gemini-api","name":"Google Gemini API","category":"LLM APIs & Integration","subcategory":null,"section_id":"prompt-engineering-model-interaction","section_name":"Prompt Engineering & Model Interaction","description":"The Google Gemini API provides developer access to Gemini models for supported text and multimodal tasks. The integration skill covers request construction, content and tool handling, streaming and operational controls, with explicit attention to the differences between model capabilities, API surfaces and the requirements of the application using them.","type":"tool","editorial":{"definition":"An application supplies content parts such as text or supported media, selects a model and configures generation behavior through the API. Responses can contain generated content or requests for functions handled by application code. Some services support reusable context or additional tools, but availability depends on the model and API environment. The developer-facing Gemini API and a Gemini chat interface are distinct products. Likewise, accessing Gemini through Google AI tooling or a cloud platform involves different authentication and operational choices that should be checked in current official documentation.","practice":"The practitioner selects the supported environment, builds a versioned client adapter and tests the input formats required by the product. It validates generated records, applies permissions to function handlers and handles rate limits, cancellation and partial responses. Multimodal tests include unreadable media and cases where text and images disagree. Useful artifacts include a request contract, model configuration and quality evaluation. Operational logging should capture usage and errors while respecting the sensitivity of documents, audio or images included in requests.","example":"A field-service application submits a technician's note and an equipment photograph to propose an inspection summary. The integration keeps the note and image as separate supported content parts and asks for uncertainty when a label is unreadable. The application checks asset identifiers against its database and routes conflicting evidence for review. It evaluates whether the selected model actually extracts the needed visual details before enabling the workflow, instead of assuming that support for image input guarantees accurate equipment recognition.","limits":"Models differ in context limits, supported modalities and tool behavior, and these capabilities can change. A long-context feature does not establish reliable recall of every input detail. Network success is separate from usable or correct content. Provider documentation defines what can be submitted and returned; realistic application tests determine whether the integration meets the desired quality, latency and cost constraints for the selected environment.","sources":[{"title":"Gemini API documentation","url":"https://ai.google.dev/gemini-api/docs","note":"Official documentation for models, content formats, generation and supported API capabilities."}],"updatedAt":"2026-10-10"}},{"id":"chain-of-thought-prompting","name":"Chain-of-Thought Prompting","category":"Reasoning & Test-Time Compute","subcategory":null,"section_id":"prompt-engineering-model-interaction","section_name":"Prompt Engineering & Model Interaction","description":"Chain-of-thought prompting asks a language model to produce intermediate reasoning steps before or alongside an answer. It can help some multi-step tasks by providing a pattern for decomposing the problem, but the visible explanation is generated text and should not be treated as a faithful record of the model's internal computation.","type":"concept","editorial":{"definition":"The original few-shot approach demonstrates problems with intermediate steps and final answers, encouraging the model to continue in the same style. A related zero-shot approach asks for stepwise reasoning without worked examples. Both modify the input and output behavior of a trained model rather than supplying a symbolic proof engine. The resulting steps can expose an arithmetic mistake or omitted condition, but they can also rationalize a wrong answer. Models specifically trained for reasoning may use provider-supported reasoning settings instead, so explicit requests for a detailed visible chain are not universally appropriate.","practice":"The practitioner tests whether intermediate steps improve the actual task, comparing direct answers and supported reasoning configurations under a recorded budget. Output checks focus on the final answer and externally verifiable steps rather than explanation length. For sensitive applications, a concise rationale tied to evidence may be more appropriate than a full generated chain. The artifact includes the prompting method, demonstrations if used, task scores and error analysis. Mathematical or code-based steps can be checked with tools when their correctness matters.","example":"An assistant solves a delivery-planning question requiring several durations to be combined. A worked example shows how to identify each duration and convert units before calculating the total. In testing, the approach reduces some unit mistakes but still fails when a waiting period overlaps travel. Reviewers inspect the final schedule against the stated conditions. A fluent sequence of steps that double-counts the overlap is marked wrong even when it looks more explanatory than a direct answer.","limits":"Visible reasoning can omit influential information, invent a justification or reproduce a shared misconception. Asking the model to reason does not guarantee improved accuracy, and additional tokens increase latency. Reported gains depend on the model, demonstrations and task distribution. A useful distinction is between an explanatory answer, a correct answer and a verified derivation: chain-of-thought prompting may assist the first two, while independent checks are needed for the third.","sources":[{"title":"Chain-of-Thought Prompting Elicits Reasoning in Large Language Models","url":"https://arxiv.org/abs/2201.11903","note":"Introduces prompting with intermediate reasoning demonstrations and evaluates selected reasoning tasks."},{"title":"Language Models Don't Always Say What They Think: Unfaithful Explanations in Chain-of-Thought Prompting","url":"https://arxiv.org/abs/2305.04388","note":"Provides evidence that generated chains can misrepresent influences on a model's answer."}],"updatedAt":"2026-10-10"}},{"id":"agentic-rag","name":"Agentic RAG","category":"RAG Architectures & Grounding","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Agentic RAG gives an agent control over when and how to retrieve information before answering. Instead of always running one fixed search, the system can choose a source, refine a query or retrieve again when evidence is insufficient, with explicit limits on the actions and resources available to it.","type":"concept","editorial":{"definition":"Retrieval-augmented generation combines external evidence with model generation. In an agentic design, retrieval is exposed as a tool or decision-controlled step. The model may answer a simple request directly, search a document collection, inspect a result and decide that another query is necessary. A controller retains the current question, evidence and actions across those steps. The term is an architectural category rather than a single algorithm: implementations differ in how they select tools, assess evidence and stop. A fixed multi-stage retrieval pipeline can be sophisticated without being agent-controlled.","practice":"The practitioner defines the retrieval tools, their access boundaries and the decision policy for using them. State records preserve the original question and previously gathered evidence so iterative searches do not drift. Evaluation tracks task completion, unnecessary searches, evidence coverage and total cost. A maximum step or time budget provides a stopping condition. Useful artifacts include the control graph, tool contracts and traces that reveal why retrieval happened or was skipped. Retrieval quality and agent decision quality are tested separately where possible.","example":"An assistant is asked whether a product can be installed in a humid warehouse. It first searches the installation manual, then finds an environmental rating but no humidity limit. It follows a reference to the warranty conditions and retrieves a second passage before answering. A greeting does not trigger either search. The system preserves both source versions and stops with an explicit uncertainty if the second document still lacks the requested limit, instead of treating more searches as progress by themselves.","limits":"An agent can choose the wrong collection, rewrite away a constraint or repeatedly search without finding new evidence. Model-based relevance checks can share the generator's errors. Extra steps increase latency and complicate debugging, so agentic RAG should be compared with a simpler retrieval baseline. Authorization must be enforced by tools, and retrieved instructions remain source content. More autonomy is useful only when the decision policy improves evidence gathering under the application's constraints.","sources":[{"title":"Build a custom RAG agent with LangGraph","url":"https://docs.langchain.com/oss/python/langgraph/agentic-rag","note":"Demonstrates conditional retrieval, document grading and query rewriting in an agent control graph."}],"updatedAt":"2026-10-10"}},{"id":"multimodal-rag","name":"Multimodal RAG","category":"RAG Architectures & Grounding","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Multimodal RAG retrieves evidence from more than one media type, such as text, images, audio or video, and supplies usable evidence to a generative model. The engineering challenge is preserving the information carried by each medium while linking retrieval results to their source location and the question being answered.","type":"concept","editorial":{"definition":"A multimodal collection can be indexed through extracted text, captions, media embeddings or a mixture of representations. A query may be textual even when the relevant evidence is a chart or video frame. The retrieval stage returns source items or regions, and the generation stage must receive a representation the selected model can interpret. This differs from merely attaching an image to a prompt: RAG includes searching a collection for evidence. Cross-modal embedding and vision-native retrieval are possible mechanisms, while OCR-based document retrieval is another, with different information losses and operational costs.","practice":"The practitioner maps each question type to the media evidence it needs. Ingestion records document pages, image regions or timestamps and retains originals for verification. Retrieval tests distinguish locating the right item from interpreting it correctly. Generation checks verify that citations point to the actual supporting page or segment. Useful artifacts include the media representation pipeline, source locator schema and annotated queries. Comparing text-only and multimodal approaches helps establish whether the additional complexity improves answers that depend on visual or acoustic information.","example":"An engineering assistant searches maintenance slides containing diagrams and a recorded training session. A question about valve order retrieves a diagram page and the video segment where the technician demonstrates the sequence. The answer references the diagram and timestamp rather than only a generated caption. Tests include a slide whose text labels are correct but whose arrows reverse the order, checking whether the system uses the visual relationship instead of answering from nearby words alone.","limits":"Captions and OCR can omit layout, small labels or temporal relationships, while media embeddings may retrieve a visually similar but irrelevant item. Large media inputs can also increase cost and processing time. A cited image is not proof that the answer interpreted it correctly. Quality requires media-specific ground truth and inspection of source regions. Implementations differ, so multimodal RAG should be described by its actual representations and retrieval behavior rather than assumed to be uniformly more capable.","sources":[{"title":"ColPali: Efficient Document Retrieval with Vision Language Models","url":"https://arxiv.org/abs/2407.01449","note":"Presents visual document representations and retrieval as one concrete multimodal retrieval approach."},{"title":"Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks","url":"https://arxiv.org/abs/2005.11401","note":"Establishes the retrieval-plus-generation architecture extended by multimodal systems."}],"updatedAt":"2026-10-10"}},{"id":"query-optimization","name":"Query Optimization","category":"RAG Architectures & Grounding","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Query optimization for retrieval transforms a user's request into search inputs that are more likely to find relevant evidence. It can resolve references, expand terminology, decompose a question or generate a hypothetical passage, while preserving the original intent and testing whether the transformation actually improves retrieval.","type":"concept","editorial":{"definition":"A user's wording may not match the vocabulary or structure of an indexed collection. Query rewriting can express the same request using domain terms; expansion adds related search terms; decomposition creates subqueries for separate evidence needs. HyDE is a specific approach that generates a hypothetical answer-like document and embeds it as a retrieval query. These methods operate before or during retrieval rather than changing database execution plans, another meaning of query optimization. They can be implemented with rules or language models, and their output is a search representation, not verified evidence.","practice":"The practitioner records original and transformed queries, evaluates retrieved items against relevance labels and checks intent preservation. Transformation policies should preserve identifiers, dates, negation and other decisive constraints. Multiple query results need deduplication and a documented fusion rule. A direct-query baseline reveals whether the added call is worthwhile. Useful artifacts include the rewriting prompt or rules, examples of harmful rewrites and retrieval scores by question type. Generated hypothetical content should never be presented as a source that supports the final answer.","example":"A user asks why a particular machine keeps losing pressure after the evening cycle. A rewrite introduces the machine's documented term for the pressure-maintenance subsystem while preserving the evening condition and model identifier. A second query targets error logs. The system compares retrieved troubleshooting passages with those from the original request. If a rewrite drops the evening condition and retrieves a generic pressure fault, it is treated as a failed transformation despite returning many plausible documents.","limits":"Expansion can dilute a precise request, and a fluent rewrite can introduce a premise the user never supplied. Hypothetical documents may steer retrieval toward an imagined answer. Additional queries also consume latency and can inflate apparent recall by returning too much irrelevant material. Quality should be measured on the evidence ultimately used, with particular attention to rare terms and constraints. A transformation is valuable when it improves relevant retrieval while retaining the question's meaning.","sources":[{"title":"Precise Zero-Shot Dense Retrieval without Relevance Labels","url":"https://arxiv.org/abs/2212.10496","note":"Introduces HyDE and explains hypothetical-document representations for retrieval."}],"updatedAt":"2026-10-10"}},{"id":"self-reflective-rag","name":"Self-Reflective RAG","category":"RAG Architectures & Grounding","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Self-reflective RAG adds decisions that assess retrieved evidence or generated answers and use that assessment to retrieve again, revise or stop. Self-RAG and Corrective RAG are specific research approaches within this space; ordinary reflection instructions alone do not reproduce their trained mechanisms or evaluation claims.","type":"concept","editorial":{"definition":"A retrieval pipeline can fail because evidence is irrelevant, incomplete or poorly used. Self-reflective designs introduce signals that assess these stages. Self-RAG trains a model to emit reflection tokens governing retrieval and evaluating passages and generation. Corrective RAG uses a retrieval evaluator and corrective actions when retrieved evidence is unreliable. Other applications use a separate judge or programmed checks. The common idea is feedback controlling the retrieval–generation process, but the implementations differ in training, critique representation and fallback behavior. These differences matter when attributing a claimed result.","practice":"The practitioner identifies which failure a check is intended to detect and validates that check against independently labeled examples. A control policy specifies the response to low relevance, unsupported claims or missing evidence, including step limits. Traces retain critique decisions and the passages they evaluated. The artifact should name the actual mechanism rather than label every retry loop Self-RAG. End-to-end evaluation compares the reflective system with the same retriever and generator without correction, including costs and errors introduced by mistaken critiques.","example":"A product assistant retrieves passages about a similarly named model. A relevance check detects that the identifier differs and requests a new search with the exact model code. After generation, a support check finds that the answer's temperature limit has no matching passage and removes it or retrieves further evidence. In evaluation, reviewers inspect both cases where correction helped and cases where the checker wrongly rejected valid material. The system is judged on supported answers, not the number of reflective steps it performs.","limits":"A model's critique is fallible and may agree with its own unsupported answer. Repeated reflection can add confident wording without new evidence, while overstrict checks discard useful passages. Research mechanisms requiring trained reflection tokens cannot be assumed to emerge from a generic prompt. The correction policy needs an abstention path and resource limit. Independent validation of the evaluator is as important as evaluation of the generator it is intended to improve.","sources":[{"title":"Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection","url":"https://arxiv.org/abs/2310.11511","note":"Defines trained reflection tokens and adaptive retrieval and generation decisions."},{"title":"Corrective Retrieval Augmented Generation","url":"https://arxiv.org/abs/2401.15884","note":"Describes retrieval evaluation and corrective actions as a distinct approach."}],"updatedAt":"2026-10-10"}},{"id":"embedding-models","name":"Embedding Models","category":"Embeddings","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Embedding models map inputs such as words, passages or images to numerical vectors whose geometry supports a task. For search, useful representations place relevant queries and documents in compatible regions; selecting or adapting an embedding model therefore requires evaluation of relevance, language coverage and the intended comparison function.","type":"concept","editorial":{"definition":"An embedding is a learned representation rather than a database record identifier or a guarantee of semantic equivalence. A model encodes an input into a vector, which can be compared using cosine similarity, inner product or distance according to the model's design. Query and document encoders may share weights or use different instructions and training roles. Representations can serve retrieval, clustering or classification, but performance in one task does not establish quality in another. Training or adaptation typically uses examples that bring desired pairs together and separate less relevant alternatives.","practice":"The practitioner chooses a model compatible with input length, language and deployment constraints, then measures retrieval on realistic queries and relevance labels. It records tokenization, truncation, normalization and the exact model version. Changing the embedding model generally requires re-encoding indexed content and reconsidering similarity thresholds. Fine-tuning needs representative positive and negative pairs with a held-out evaluation. The artifact includes an encoding pipeline and benchmark against lexical or existing retrieval, making it clear whether the representation captures the distinctions important to the application.","example":"An equipment knowledge base contains abbreviations and near-identical model names. A generic embedding model retrieves documents about the wrong variant, so the team compares a domain-adapted model and a hybrid lexical–dense baseline. Evaluation asks whether passages with the exact variant and relevant procedure rank highly, including queries written with informal terminology. If domain tuning improves broad topical matches but loses identifier precision, the final design retains lexical constraints rather than assuming better semantic vectors solve every retrieval need.","limits":"Similarity scores do not directly measure truth or calibrated relevance probability. Models can encode unwanted biases, truncate decisive text or poorly represent rare identifiers. Mixing vectors from incompatible models makes distances unreliable even if dimensions match. Public benchmarks also may not reflect a private task's languages or vocabulary. Good selection combines representative relevance tests, operational measurement and explicit model versioning instead of choosing solely by vector size or a general leaderboard.","sources":[{"title":"Sentence Transformers usage","url":"https://www.sbert.net/docs/sentence_transformer/usage/usage.html","note":"Explains embedding generation, similarity and task-specific model use."},{"title":"Dense Passage Retrieval for Open-Domain Question Answering","url":"https://arxiv.org/abs/2004.04906","note":"Primary account of learned query and passage representations for retrieval."}],"updatedAt":"2026-10-10"}},{"id":"neo4j","name":"Neo4j","category":"Knowledge Graphs & Graph Databases","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Neo4j is a graph database that represents data as nodes, relationships and properties and supports queries over those connections. In AI applications, the skill includes modeling entities and relationships, writing reliable graph queries and deciding when explicit graph structure adds value beyond document or vector retrieval.","type":"tool","editorial":{"definition":"A property graph stores entities as nodes and typed relationships between them, with properties on both. Neo4j's Cypher language expresses patterns such as finding components connected to a supplier or traversing a dependency chain. Indexes and constraints support efficient lookup and data integrity. This is different from an embedding store, whose main operation compares vector representations, although graph and vector capabilities can coexist. A knowledge graph built in Neo4j additionally requires meaningful entity identities, relation semantics and provenance; the database alone does not supply those modeling decisions.","practice":"The practitioner defines labels, relationship types, identifiers and constraints before ingesting data. Query tests verify both results and traversal boundaries, especially where cycles or high-degree nodes can expand work. Application access is restricted to allowed operations, and natural-language-generated Cypher is validated before execution. Useful artifacts include the graph schema, ingestion mapping, tested queries and source provenance. Performance evaluation uses representative graph shapes rather than only small examples, since a query that looks simple can touch many relationships in a real collection.","example":"A maintenance assistant needs to explain which machines are affected by a recalled component. The graph links component batches to assemblies and installed machines. A query follows those typed relationships and returns affected machine identifiers with source records. The language model summarizes the query result but does not invent links from textual similarity. When an installation record is missing, the answer distinguishes an unknown dependency from a machine verified to use another component.","limits":"Incorrect entity merging or poorly defined relationships can produce confidently wrong traversals. Graph queries also require attention to cardinality, privileges and query cost. Neo4j is a particular database implementation, while knowledge graphs and GraphRAG are broader modeling and application approaches. Choosing it should follow a demonstrated need for connected-data queries and operational requirements. A graph structure does not make extracted facts true or remove the need to maintain their provenance.","sources":[{"title":"Get started with Neo4j","url":"https://neo4j.com/docs/getting-started/","note":"Official explanation of property graphs, Cypher and database modeling concepts."}],"updatedAt":"2026-10-10"}},{"id":"ai-grounding-citations","name":"AI Grounding & Citations","category":"RAG Architectures & Grounding","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"AI grounding connects an answer to evidence the system can inspect, while citations identify where particular claims are supported. The skill combines evidence selection, claim attribution and source presentation, so a reader can distinguish a supported statement from an inference or a claim for which the available material is insufficient.","type":"concept","editorial":{"definition":"A grounded response conditions generation on relevant external material rather than relying only on information encoded in model weights. A citation should connect a statement to a source passage, page or other inspectable location. Merely appending a document title or link does not establish support: the cited material must entail the relevant claim, with qualifiers and scope preserved. Grounding and citation are related but separable. An answer may use evidence without exposing it, or display citations that fail to support what the text says. Both behavior and attribution therefore require evaluation.","practice":"The practitioner retains source identifiers and passage locations during retrieval, asks for claim-level attribution and validates references against supplied material. Review checks whether a citation exists, whether it supports the statement and whether important statements lack support. Conflicting or outdated sources require an explicit handling policy. Useful artifacts include an attribution schema, annotated claim–passage pairs and an interface that opens the relevant evidence. Generated interpretations should be identified as interpretations when the source does not state the conclusion directly.","example":"A policy assistant answers whether employees may carry unused leave into a new year. It retrieves the policy section, states the allowed conditions and cites the exact passage. A separate source describes a departmental exception, so the answer explains that exception with its own citation. If the documents do not specify a contractor's eligibility, the assistant says the evidence is insufficient. A link to the general policy homepage would not substitute for support of that narrower question.","limits":"Faithful use of a source does not establish that the source itself is accurate or current. Citations can be fabricated, overbroad or attached to a sentence containing several differently supported claims. Model-based attribution checks can also fail on subtle contradictions. Quality assessment should inspect evidence relationships and source reliability separately. The desired outcome is traceable, appropriately scoped claims, rather than maximizing the number of visible citation markers.","sources":[{"title":"Enabling Large Language Models to Generate Text with Citations","url":"https://arxiv.org/abs/2305.14627","note":"Studies citation quality and the relationship between generated claims and supporting evidence."}],"updatedAt":"2026-10-10"}},{"id":"document-ai","name":"Document AI","category":"Document Indexing & Multimodal Chunking","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Document AI turns document content and structure into information that software can use. It combines capabilities such as text recognition, layout analysis, field extraction and validation, with attention to tables, reading order and source locations rather than assuming every document is a clean sequence of plain text.","type":"concept","editorial":{"definition":"Documents carry meaning through both content and arrangement. OCR recognizes text in an image; layout analysis identifies regions such as headings or tables; extraction maps evidence to fields or relationships. Vision-language models can also interpret pages, sometimes alongside specialist OCR and parsing tools. These components may be combined in a pipeline or provided by a service. Document AI is broader than OCR and distinct from retrieval: extraction interprets the document, while a retriever decides which document or region to inspect. Preserving structure helps downstream generation avoid losing associations between values and labels.","practice":"The practitioner identifies required fields and document families, creates annotated examples and evaluates extraction at both field and document level. Ingestion retains page coordinates or text spans so reviewers can inspect errors. Normalization and business validation follow recognition: an extracted amount still needs a currency and consistent total. Useful artifacts include the document schema, parsing pipeline, source locator and review workflow for uncertain cases. Tests cover scans, rotated pages, merged table cells and layouts that differ from the examples used to configure the extractor.","example":"An invoice system extracts supplier identity, line items and totals from PDF files. A table parser preserves which quantity and price belong to each line, while OCR handles scanned pages. The application checks arithmetic and compares the supplier identifier with an approved record. When a scan obscures the decimal separator, the field is sent for review with the relevant page region. The goal is a verified usable invoice record, not simply an OCR transcript with impressive coverage.","limits":"Recognition errors can propagate through normalization and look plausible in a generated summary. Tables, handwriting and unfamiliar layouts remain difficult, and confidence values are implementation-specific rather than universal correctness probabilities. A model can also infer a field that is absent from the page. Evaluation needs actual document variety and source-grounded checks. Processing sensitive documents requires controlled access and retention, regardless of whether extraction runs locally or through a managed service.","sources":[{"title":"Azure Document Intelligence overview","url":"https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/overview","note":"Explains OCR, layout and structured field extraction as components of a document-processing service."}],"updatedAt":"2026-10-10"}},{"id":"document-chunking","name":"Document Chunking","category":"Document Indexing & Multimodal Chunking","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Document chunking divides source material into units that can be indexed, retrieved and supplied to a model. Good boundaries preserve enough local meaning to answer a question while keeping units selective, traceable and small enough for the retrieval and generation system that will use them.","type":"concept","editorial":{"definition":"A chunk can be a fixed token window, paragraph, section, table or another document-aware unit. Overlap repeats some content across boundaries so a split does not discard continuity, but it also creates redundancy. Chunk size interacts with the embedding model's input limit, the granularity of relevance labels and the amount of context the generator receives. A short chunk may lose a definition's subject; a long one may bury the relevant sentence. Chunking changes the evidence units in the index, not merely the formatting of a document for display.","practice":"The practitioner tests several boundary and size policies on annotated questions, preserving source identifiers, headings and locations. Tables and code blocks may need special handling so structure is not split arbitrarily. Evaluation inspects retrieval recall and final-answer support, including the additional cost of overlap and duplicated context. Useful artifacts include the splitter configuration, sample chunks and an error analysis of missing or misleading boundaries. Changing the policy requires rebuilding affected index entries and checking whether existing source links still point to the intended material.","example":"A troubleshooting manual has a warning at the end of one page and the procedure on the next. Fixed page-sized chunks retrieve the steps without the warning. A document-aware policy groups the warning with its procedure and retains the section title as context. Tests then check whether queries about the procedure retrieve both. The team also avoids combining several unrelated procedures into a large chunk that would make every answer appear supported by a broad but poorly targeted block.","limits":"There is no universally best chunk size. Results depend on document structure, query style, embedding behavior and downstream context selection. Overlap can inflate apparent retrieval success by producing near-duplicate hits, while generated chunk summaries can introduce inaccuracies. Quality checks should preserve original source evidence and compare complete pipelines. The useful unit is one that supports the intended question with the necessary qualifiers, not one selected solely because a framework offers that default.","sources":[{"title":"Build a custom RAG agent with LangGraph","url":"https://docs.langchain.com/oss/python/langgraph/agentic-rag","note":"Shows document splitting as an explicit preparation step before embedding and retrieval."},{"title":"Contextual Retrieval","url":"https://www.anthropic.com/engineering/contextual-retrieval","note":"Discusses missing context in isolated chunks and an approach to enriching their representations."}],"updatedAt":"2026-10-10"}},{"id":"graphrag","name":"GraphRAG","category":"Knowledge Graphs & Graph Databases","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"GraphRAG uses a graph representation of entities and relationships to help retrieve or organize evidence for generation. The name includes a specific Microsoft research approach as well as broader graph-assisted designs; a useful description should state which graph, retrieval mechanism and evidence aggregation the implementation actually uses.","type":"concept","editorial":{"definition":"In Microsoft's GraphRAG approach, a language model extracts entities and relationships from source text, builds a graph and creates summaries of graph communities. Different query strategies can then use local entity context or community summaries to answer questions, including broad questions across a collection. Other graph-assisted RAG systems traverse curated relationships or combine graph results with vector search. These designs share the use of connected evidence but are not identical algorithms. GraphRAG differs from simply storing embeddings in a graph database: explicit connections influence what evidence is retrieved or how it is summarized.","practice":"The practitioner defines entity identity, relationship semantics and provenance, then validates the extracted graph before relying on it. Query tests should distinguish local factual lookup from global synthesis because they exercise different retrieval behavior. A comparison with ordinary lexical or dense RAG measures whether graph construction adds value. Useful artifacts include graph-building configuration, sampled extraction audits, query modes and answer traces back to original sources. Rebuilding or updating summaries also needs an operational policy when the underlying documents change.","example":"A collection of incident reports describes failures involving overlapping suppliers and components. A graph-assisted system links recurring entities and creates summaries of related incidents. A question about shared failure patterns can use those summaries, while a question about one component follows its local evidence. Reviewers check the resulting synthesis against the original reports, including reports that contradict the dominant pattern. The graph helps organize connections but does not permit a summary to turn a correlation into a verified cause.","limits":"Entity extraction and merging can introduce false links, and community summaries can lose minority evidence or qualifiers. Graph construction may be costly and updates complex. Broad synthesis quality does not establish superior performance for simple lookups. The label should therefore identify the actual method and workload, with separate checks for graph accuracy and answer support. A graph is an organized representation of available claims, not an automatic guarantee that those claims are correct.","sources":[{"title":"From Local to Global: A Graph RAG Approach to Query-Focused Summarization","url":"https://arxiv.org/abs/2404.16130","note":"Primary formulation of entity graphs, community summaries and global query-focused synthesis."},{"title":"Microsoft GraphRAG documentation","url":"https://microsoft.github.io/graphrag/","note":"Official implementation documentation and query architecture."}],"updatedAt":"2026-10-10"}},{"id":"knowledge-graphs","name":"Knowledge Graphs","category":"Knowledge Graphs & Graph Databases","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Knowledge graphs represent entities and their relationships using explicit identities and meaningful relation types. They help applications connect facts across sources, query those connections and preserve provenance; their value depends on the quality of the model and evidence, rather than simply displaying data as nodes and edges.","type":"concept","editorial":{"definition":"A knowledge graph associates statements with identifiable entities, such as a component, organization or location, and expresses relationships such as manufactured by or installed in. Implementations may use RDF triples, property graphs or other representations. A schema or ontology gives relationships and types consistent meaning, while provenance connects statements to supporting records. This differs from a graph database, which is storage and query infrastructure, and from GraphRAG, which uses graph-organized evidence for generation. A knowledge graph can support rules or inference, but only under explicitly defined semantics and assumptions.","practice":"The practitioner designs identifiers, types and relation definitions, then maps source data into that structure. Entity resolution is audited because merging similarly named objects can create false connections. Validation checks required properties, allowed relationships and contradictions. Useful artifacts include the graph model, ingestion rules, provenance links and queries that answer actual business questions. Updating or retracting a fact should be planned alongside insertion. A graph built through model extraction needs sampled review and source traceability rather than assuming every extracted edge is reliable.","example":"A manufacturer links products to component batches, suppliers and inspection records. A query can identify products connected to a batch with a failed inspection and return the underlying records. If two suppliers share a similar trading name, their identifiers remain distinct until evidence establishes they are the same entity. An assistant can summarize the connected records, but it must distinguish a recorded failure from an inferred risk and retain the inspection source for each affected batch.","limits":"Graphs can organize incorrect or incomplete information very effectively. Entity ambiguity, inconsistent relationship meaning and stale updates can mislead downstream queries or generation. Absence of an edge may mean missing data rather than evidence that a relationship does not exist. Quality checks need semantic and provenance review as well as schema validation. Graph modeling is worthwhile when explicit connections answer important questions; a graph representation alone does not create knowledge or guarantee valid inference.","sources":[{"title":"RDF 1.1 Concepts and Abstract Syntax","url":"https://www.w3.org/TR/rdf11-concepts/","note":"Defines a standard graph data model with identified resources and statements."},{"title":"Get started with Neo4j","url":"https://neo4j.com/docs/getting-started/","note":"Provides an official property-graph implementation perspective."}],"updatedAt":"2026-10-10"}},{"id":"visual-document-retrieval","name":"Visual Document Retrieval","category":"Document Indexing & Multimodal Chunking","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Visual document retrieval searches documents using representations of rendered pages or page regions, preserving information in layout, charts and images. It can complement text extraction when the relevant evidence is visual, but retrieving the correct page and accurately interpreting that page remain separate tasks to evaluate.","type":"concept","editorial":{"definition":"Traditional document search commonly indexes OCR text or parsed passages. A visual retriever instead encodes page imagery, sometimes into multiple patch-level vectors that interact with query-token vectors. ColPali is a specific research implementation of this approach using a vision-language model and late interaction. Such representations can capture visual relationships that a plain-text transcript loses. Visual retrieval does not necessarily eliminate every preprocessing step or guarantee that text in small labels is understood. It supplies candidate pages or regions; an answer system still needs a model or tool capable of reading the retrieved evidence.","practice":"The practitioner renders documents consistently, keeps page identifiers and selects a model with an appropriate visual retrieval design. Evaluation includes questions dependent on diagrams, tables and layout, alongside text-only queries. Retrieval recall is measured separately from downstream answer quality. Storage and query costs need attention because multiple vectors per page can be substantial. Useful artifacts include the rendering pipeline, indexing configuration, page-level relevance labels and evidence links that let a reviewer inspect exactly what the system retrieved.","example":"An engineering collection contains wiring diagrams whose labels and connections are spread across a page. A query asks which connector feeds a particular sensor. OCR text contains both connector names but loses the line connecting them. A visual retriever finds the relevant diagram page, and a vision-capable answer step inspects the connection. Tests include a visually similar diagram for another device, checking whether the model identifies the correct page rather than merely a familiar drawing style.","limits":"Visual similarity can retrieve the wrong revision or a page with the same template but different values. Small text, low-resolution scans and unusual diagrams can also defeat the encoder or answer model. Page retrieval scores do not establish that a generated claim follows from the image. The approach should be compared with text and hybrid baselines on the same documents, with explicit evidence review and realistic memory, latency and indexing measurements.","sources":[{"title":"ColPali: Efficient Document Retrieval with Vision Language Models","url":"https://arxiv.org/abs/2407.01449","note":"Primary description of vision-language page embeddings and late-interaction document retrieval."}],"updatedAt":"2026-10-10"}},{"id":"retrieval-augmented-generation","name":"Retrieval-Augmented Generation","category":"RAG Architectures & Grounding","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Retrieval-augmented generation supplies a generative model with external evidence found for the current request. The application indexes or searches a collection, selects relevant material and uses it during answer generation, making knowledge updates and source attribution possible without relying only on information encoded in the model's weights.","type":"concept","aliases":["Retrieval-Augmented Generation (RAG)","retrieval augmented generation"],"editorial":{"definition":"A typical RAG pipeline prepares documents, indexes searchable representations, retrieves candidates for a query and passes selected evidence to a generator. Retrieval may be lexical, vector-based, graph-assisted or combined. The original RAG research integrated retrieved passages with a generative model; deployed applications often use a simpler explicit retrieve-then-prompt architecture. RAG differs from fine-tuning because adding or changing evidence in the collection does not inherently update the model's parameters. It also differs from merely providing a long document: retrieval chooses relevant evidence from a larger source space for each request.","practice":"The practitioner builds ingestion with source versioning, chooses retrieval and context policies and evaluates questions with known supporting evidence. Tests distinguish failure to retrieve a passage from failure to use it correctly. Answer checks inspect coverage, unsupported claims and citations. Useful artifacts include the indexing pipeline, relevance labels, generation contract and traces of selected passages. Operational work covers access controls, document updates and deletion. The application needs an abstention or clarification path when the collection cannot support a reliable answer.","example":"A product assistant answers a question about an installation requirement. It searches current manuals, retrieves the matching model's procedure and uses those passages to explain the requirement with a source reference. When an older manual differs, source metadata prevents the older revision from silently becoming the answer. A test asks about an undocumented configuration: the assistant should state that the evidence is missing instead of filling the gap with a plausible instruction learned during pretraining.","limits":"RAG can reduce some knowledge gaps but does not eliminate hallucination. Retrieval may miss the evidence, return an unauthorized document or rank a near match above the correct item. The generator may ignore qualifiers or combine conflicting passages incorrectly. Quality depends on the collection and complete pipeline, so adding a vector database alone does not establish a trustworthy system. Grounding, source reliability and access enforcement require their own checks.","sources":[{"title":"Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks","url":"https://arxiv.org/abs/2005.11401","note":"Primary retrieval-plus-generation formulation and comparison with parameter-only generation."}],"updatedAt":"2026-10-10"}},{"id":"hybrid-search","name":"Hybrid Search","category":"Retrieval Techniques","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Hybrid search combines retrieval signals, commonly lexical matching and dense-vector similarity, to find candidates that either method might miss alone. The skill includes defining the combination rule and evaluating the resulting ranking, with particular attention to exact terms, semantic paraphrases and the behavior of filters.","type":"concept","editorial":{"definition":"Lexical search scores shared terms and can preserve rare identifiers, while dense search compares learned representations that may connect different wording. A hybrid system runs both or incorporates both signals into a retrieval engine. Scores can be normalized and weighted, or rankings can be fused with a method such as reciprocal rank fusion. A fusion rule is necessary because raw scores from different retrievers usually have different scales. Hybrid retrieval is distinct from reranking: it combines candidate generation signals, while a reranker may then rescore the smaller candidate set more expensively.","practice":"The practitioner creates relevance judgments covering semantic queries and exact-match cases, then measures the hybrid against each component separately. Candidate counts, fusion weights and filters are tuned on development data and checked on held-out queries. Deduplication should preserve source identity. Useful artifacts include index mappings, query definitions, a documented fusion rule and rank-level error analysis. Operational measurement records latency and resource use for both retrievers, since combining them can increase work even when the returned result count stays small.","example":"A parts catalog contains model codes and descriptions. A query with an exact code benefits from lexical matching, while a query describing a leaking seal can benefit from semantic matching with a passage using different terminology. The hybrid ranking combines these candidates and retains the exact model restriction. Evaluation includes near-identical codes and paraphrased descriptions. A fusion configuration is accepted only if it improves those retrieval needs without allowing a thematically similar part to displace the specified one.","limits":"Combining weak retrievers does not guarantee a strong ranking. Score normalization, candidate truncation and filter placement can suppress relevant items before fusion. Hybrid gains also depend on query distribution and corpus vocabulary. A final similarity score is not a probability of relevance or evidence of truth. The combination should be reported with its concrete method and measured against component baselines, rather than presenting hybrid search as automatically superior for every collection.","sources":[{"title":"Vector relevance and ranking","url":"https://learn.microsoft.com/en-us/azure/search/vector-search-ranking","note":"Official explanation of vector ranking and reciprocal rank fusion in a hybrid search implementation."}],"updatedAt":"2026-10-10"}},{"id":"search-re-ranking","name":"Search Re-Ranking","category":"Retrieval Techniques","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Search reranking applies a second scoring or ordering step to an initial candidate set. It spends more detailed computation on a smaller collection of results, using signals such as query–document interaction or business rules to improve the order presented to a user or supplied to a generative model.","type":"concept","editorial":{"definition":"Initial retrieval must search a large collection efficiently, so its scoring may be comparatively coarse. A reranker receives the query and candidate items and recomputes relevance or applies a ranking policy. Cross-encoders are one common neural method, but reranking can also use learning-to-rank features, language-model judgments or deterministic constraints. The operation differs from indexing or candidate generation: an item missing from the initial set normally cannot be recovered by reranking. It also differs from simple filtering, which excludes items rather than assessing their relative position.","practice":"The practitioner measures candidate recall before choosing a reranker, then evaluates ranking metrics and downstream usefulness on labeled queries. Candidate count, input truncation and batching affect cost and latency. Tests include items with similar vocabulary but different factual relevance. Useful artifacts include the scoring model or policy, a candidate-size study and before-and-after ranked examples. A business rule affecting the order should be documented separately from model relevance so reviewers can see whether the ranking reflects evidence, freshness, access or another explicit objective.","example":"A support search returns several passages about resetting devices. A reranker jointly inspects the query and each passage, pushing the procedure for the requested hardware revision above generic reset advice. The generator receives the best supported candidates with their source identifiers. A test where the correct procedure never appears in the initial set reveals a retriever problem; increasing reranker complexity would not solve it. The team improves candidate recall before assessing additional ranking changes.","limits":"A reranker can favor persuasive or lengthy text, truncate the decisive part of a document or misinterpret negation. Its score is not necessarily calibrated across queries. Larger candidate sets improve opportunity but increase computation. Quality checks must therefore examine both the initial retrieval and final order, including latency and access filtering. Reranking is most useful when the relevant evidence already enters the candidate pool and the second stage reliably distinguishes it from plausible alternatives.","sources":[{"title":"Retrieve and rerank","url":"https://www.sbert.net/examples/sentence_transformer/applications/retrieve_rerank/README.html","note":"Explains a two-stage retrieval and cross-encoder reranking pipeline."}],"updatedAt":"2026-10-10"}},{"id":"faiss","name":"FAISS","category":"Vector Search","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"FAISS is a library for efficient similarity search and clustering over dense vectors. It supplies exact and approximate index structures that applications can use to find nearby embeddings, while leaving document storage, permissions, update workflows and the meaning of those embeddings to the surrounding system.","type":"tool","aliases":["faiss (facebook ai similarity search)"],"editorial":{"definition":"Given a collection of vectors and a query vector, FAISS computes or approximates neighbors under supported similarity measures. Different indexes trade search quality, memory, construction time and query speed. Some approaches partition vectors, compress them or use graph structures; suitable builds can use GPU acceleration. FAISS is a library rather than a complete managed vector database. It returns vector identifiers and scores, so applications need a mapping to original records and their metadata. Choosing an index is separate from choosing an embedding model, although vector dimension and geometry constrain index configuration.","practice":"The practitioner establishes an exact-search baseline, selects candidate indexes and measures recall against that baseline on realistic queries. It records index training, search parameters, memory and build time. The system keeps stable identifiers and a consistent mapping between vectors and source records. Useful artifacts include the benchmark, serialized index configuration and an update or rebuild procedure. Filtering and access controls require explicit design around the library. Evaluation should include the collection's actual distribution and scale instead of relying only on synthetic random vectors.","example":"A research application encodes article passages and stores their vectors in a FAISS index. Query results return passage identifiers that the application resolves to text and citations. The team compares a compressed approximate index with exact search, inspecting whether the relevant passage remains among the returned candidates. If memory savings lose rare technical distinctions, it changes compression or search effort. A separate record store handles article metadata and deletion so a removed passage cannot remain visible through an outdated identifier mapping.","limits":"Approximate indexes can miss true nearest neighbors, and compressed distances can alter ranking. An index trained on an unrepresentative sample may behave poorly after the collection changes. Persistence alone does not synchronize FAISS with a document store or enforce authorization. The library's efficiency claims concern defined vector-search workloads; application quality still depends on embeddings, relevant labels and reliable record handling around the index.","sources":[{"title":"FAISS repository","url":"https://github.com/facebookresearch/faiss","note":"Official library description, supported search concepts and implementation references."}],"updatedAt":"2026-10-10"}},{"id":"vector-databases","name":"Vector Databases","category":"Vector Search","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Vector databases store vector representations alongside identifiers and often metadata, providing similarity search and lifecycle operations for an application. They support retrieval infrastructure; deciding what to embed, which similarity means relevance and how retrieved evidence should be used remains a separate modeling and application responsibility.","type":"concept","editorial":{"definition":"A vector database receives embeddings from an encoding process and retrieves items near a query vector under a configured distance or similarity measure. It may provide approximate indexes, metadata filters, updates, persistence and distributed operations. Some products also offer lexical or hybrid search. The category includes embedded stores and managed or self-hosted services with different operational trade-offs. A vector database does not inherently know that a nearby item answers a question, and storing embeddings is distinct from training the model that produced them. Access control and consistency semantics depend on the implementation.","practice":"The practitioner compares candidate systems against realistic collection size, update rate, filtering needs and latency targets. It evaluates retrieval recall alongside memory, ingestion cost and operational reliability. Records should preserve embedding model version and source identity so incompatible representations are not silently mixed. Useful artifacts include the collection schema, index configuration, backup or recovery plan and relevance benchmark. Deletion and tenant isolation need end-to-end tests, especially where a retrieved vector maps to an external document with its own permissions.","example":"A company indexes product manuals with vectors, product identifiers and revision dates. A query searches only manuals for the selected product and returns passage identifiers for generation. The team measures whether the database finds annotated relevant passages under those filters and confirms that deleted revisions disappear from both search and source resolution. Selecting the store involves update and recovery requirements as well as raw search speed, because a fast stale result can still produce a wrong answer.","limits":"Nearest neighbors can be irrelevant, and approximate search adds another source of misses. Aggressive filtering may change recall or leave too few candidates. Vendor features and limits evolve, so product selection needs current documentation and workload testing. A database is one stage of a retrieval system rather than a guarantee of answer correctness. Comparing exact search and a lexical baseline helps identify whether errors originate in indexing, representation or the evidence collection itself.","sources":[{"title":"Qdrant concepts","url":"https://qdrant.tech/documentation/overview/","note":"Official vector-store concepts covering collections, vectors, payloads and similarity search."},{"title":"Milvus overview","url":"https://milvus.io/docs/overview.md","note":"Provides a second official implementation perspective on vector database functions."}],"updatedAt":"2026-10-10"}},{"id":"pgvector","name":"pgvector","category":"Vector Search","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"pgvector is a PostgreSQL extension that adds vector data types and similarity-search operations to a relational database. It lets an application keep embeddings near its existing records and query them with SQL, while requiring deliberate index selection, filtering and performance evaluation as the collection and workload grow.","type":"tool","editorial":{"definition":"The extension stores vectors in PostgreSQL columns and exposes operators for supported distance or similarity calculations. Exact search compares eligible records directly, while approximate indexes such as HNSW and IVFFlat can reduce search work with a recall trade-off. Relational joins and ordinary metadata conditions remain available, which is useful when source data already lives in PostgreSQL. pgvector differs from an embedding model and from a separate vector service: it supplies vector operations within the database's existing transaction and operational environment. Index behavior depends on the query shape and configuration.","practice":"The practitioner defines vector dimensions and similarity consistently with the encoder, tests SQL queries and inspects query plans. Exact-search results provide a recall reference for approximate indexes. Filter selectivity, result limits and search parameters are tested together because an approximate candidate set may not contain enough matching records. Useful artifacts include migrations, index definitions, relevance tests and capacity measurements. Embedding updates should maintain source version consistency, and normal PostgreSQL access controls still need correct application use rather than reliance on a similarity predicate.","example":"A document application already stores records and access metadata in PostgreSQL. It adds an embedding column to searchable passages and uses a query that combines a permitted-document condition with vector ordering. The team compares exact results and an approximate index for both broad and highly selective filters. A test account with access to only a small folder verifies that search returns enough relevant authorized passages. If the approximate query misses them, search settings or the query plan are revised.","limits":"Sharing a relational database does not make every vector workload inexpensive. Large indexes consume resources alongside transactional queries, and approximate filtering can affect recall. Supported types and index features depend on the installed extension version. Evaluation should measure the actual deployment rather than assume it matches a dedicated vector service. pgvector is useful when SQL integration and database operations fit the application, with explicit checks for retrieval quality, concurrency and recovery.","sources":[{"title":"pgvector repository and documentation","url":"https://github.com/pgvector/pgvector","note":"Official documentation for types, distance operators, HNSW, IVFFlat and filtering considerations."}],"updatedAt":"2026-10-10"}},{"id":"sentence-transformers","name":"Sentence-Transformers","category":"Embeddings","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Sentence-Transformers is a library for using and training embedding and related text-matching models. It supports representations for sentences and passages as well as cross-encoder scoring, making it useful for retrieval experiments where model choice, input formatting and task-specific evaluation matter more than a generic notion of semantic similarity.","type":"tool","editorial":{"definition":"A sentence-transformer model encodes text into a vector that can be reused for similarity search, clustering or other tasks. The library also exposes cross-encoders, which jointly process a pair and produce a score rather than independently reusable embeddings. Models differ in training objectives, languages, maximum input lengths and required query or document instructions. The library is therefore an implementation toolkit, not one fixed embedding model. A retrieval system typically pre-encodes documents, encodes queries at runtime and optionally uses a cross-encoder to reorder the retrieved candidate set.","practice":"The practitioner selects a model suitable for the language and task, checks its model card and documents preprocessing and normalization. Retrieval evaluation uses representative query–passage judgments; fine-tuning uses defensible pairs and negatives with a separate test set. Batching and device selection are measured for ingestion and query workloads. Useful artifacts include the encoding code, model version, evaluation results and saved training configuration. Changing models requires rebuilding document embeddings and checking score thresholds, even when the output vector dimension happens to remain the same.","example":"A multilingual help center tests several supported models on queries in the languages its users actually write. The team checks whether an informal question retrieves the right article and whether exact product codes are preserved. It then uses a cross-encoder for the best initial candidates and compares the full pipeline with embedding retrieval alone. A model that performs well on one language but loses relevance in another is not selected solely because its overall public benchmark result is high.","limits":"The library cannot guarantee relevance for every supported model or task. Truncation can remove the decisive sentence, training data may not cover specialist vocabulary and similarity scores are not calibrated confidence. Cross-encoders also add per-candidate computation. Good use requires model-specific documentation, representative relevance labels and operational measurement. Framework convenience should not hide which encoder, objective and input format produced the vectors or scores used by the application.","sources":[{"title":"Sentence Transformers usage","url":"https://www.sbert.net/docs/sentence_transformer/usage/usage.html","note":"Official guidance on model use, embeddings and similarity computation."},{"title":"Retrieve and rerank","url":"https://www.sbert.net/examples/sentence_transformer/applications/retrieve_rerank/README.html","note":"Explains bi-encoder retrieval and cross-encoder scoring as distinct library capabilities."}],"updatedAt":"2026-10-10"}},{"id":"graph-databases","name":"Graph Databases","category":"Knowledge Graphs & Graph Databases","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Graph databases store and query connected data with explicit relationships as a first-class part of the data model. The skill involves choosing a graph representation, writing bounded traversals and maintaining consistency, so an application can answer relationship-oriented questions without repeatedly reconstructing connections from unrelated records.","type":"concept","editorial":{"definition":"In a property graph, nodes and relationships carry labels, types and properties. Other graph systems use RDF statements and different query languages. Queries can find a pattern, follow paths or aggregate connected records. This differs from a knowledge graph, which adds domain semantics and often provenance to the represented relationships. It also differs from GraphRAG, an application architecture using graph-organized evidence for generation. A graph database may support indexes or vector features, but its defining role is storing and querying connections under its own transaction, query and operational model.","practice":"The practitioner selects a data model based on actual relationship queries and establishes identifiers, constraints and update rules. It tests traversal depth, cycle handling and query cardinality on representative graph shapes. Ingestion must preserve relationship direction and source identity. Useful artifacts include the schema, query library, performance measurements and recovery procedures. When a language model proposes queries, application code restricts operations and validates the query before execution. Read and write permissions are enforced through database and application controls rather than graph terminology alone.","example":"A logistics system tracks packages, containers, shipments and transfer events. A graph query follows a package through transfers to identify the last recorded container and supporting events. The team tests missing transfers and cycles created by erroneous imports, so a query neither invents continuity nor traverses indefinitely. A generative assistant explains the result with event references. If the last transfer is unknown, the graph records the gap instead of implying that the package is still at its earlier location.","limits":"Connected storage can make bad relationships easier to propagate. High-degree nodes or unbounded paths can also create expensive queries, and a graph model may complicate simple tabular reporting. Product capabilities vary, so selection should follow workload evidence rather than a claim that connected data always requires a graph database. Correctness depends on identity, relation semantics and update quality in addition to the database's ability to execute a traversal.","sources":[{"title":"Get started with Neo4j","url":"https://neo4j.com/docs/getting-started/","note":"Explains property graphs and graph queries through an official database implementation."},{"title":"RDF 1.1 Concepts and Abstract Syntax","url":"https://www.w3.org/TR/rdf11-concepts/","note":"Defines a distinct standard graph representation for comparison."}],"updatedAt":"2026-10-10"}},{"id":"azure-document-intelligence","name":"Azure Document Intelligence","category":"Document Indexing & Multimodal Chunking","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Azure Document Intelligence is a Microsoft service for extracting text, layout and structured information from documents. Using it well involves choosing supported models, connecting extracted fields to page evidence and validating results against the application's requirements, especially when document layouts or image quality differ from the configuration examples.","type":"tool","editorial":{"definition":"The service provides document analysis capabilities including OCR and layout extraction, along with models for supported document types and custom extraction scenarios. An analysis response can expose text, tables, fields and locations depending on the selected model and API. These are machine-generated interpretations of a document, not automatically verified business records. The service is a particular implementation of Document AI, whereas OCR, layout analysis and information extraction are broader capabilities. Model selection, supported input formats and API version affect what information is returned and how it should be interpreted.","practice":"The practitioner checks the current model and API documentation, prepares representative documents and maps responses into an application schema. Validation handles missing values, normalization and consistency rules rather than blindly copying every field. Source coordinates or spans allow review of ambiguous extractions. Useful artifacts include the analysis adapter, field mapping, annotated test documents and a review policy. Evaluation covers unfamiliar suppliers, rotated scans and complex tables, while operational work handles authentication, asynchronous results, errors and controlled retention of sensitive source documents.","example":"An accounting application sends invoices to an appropriate extraction model and maps line items, currency and totals into proposed records. The application checks that line totals agree with the invoice total and that the supplier matches an approved account. An ambiguous amount is shown with its source page region for review. A new supplier's invoice layout enters the evaluation collection before automated processing is expanded, so apparent success on one familiar template does not determine the whole rollout.","limits":"Supported models and response structures evolve, and a confidence value is not a universal probability of correctness. Handwriting, unusual layouts or low-resolution scans can cause recognition and field-association errors. A service response can be technically complete while a critical field is wrong. Application acceptance therefore depends on evidence-based validation and real document coverage, with an explicit path for manual review when extraction cannot support the required record.","sources":[{"title":"Azure Document Intelligence overview","url":"https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/overview","note":"Official service capabilities, model families and document analysis concepts."}],"updatedAt":"2026-10-10"}},{"id":"contextual-retrieval","name":"Contextual Retrieval","category":"Document Indexing & Multimodal Chunking","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Contextual retrieval adds explanatory context to individual chunks before indexing them so that isolated passages remain meaningful during search. A specific Anthropic approach uses generated chunk context for both embeddings and lexical indexing; the broader practice is useful only when the added context accurately preserves the source's identity and meaning.","type":"concept","editorial":{"definition":"A document chunk can contain an amount or pronoun without identifying the company, event or section it refers to. Contextual enrichment supplies a short description derived from the surrounding document, such as what entity and reporting period the chunk concerns. The enriched representation is then indexed, while the original passage remains available as evidence. This differs from query rewriting, which changes the search input, and from merely expanding context after retrieval. Implementations vary in how context is produced and whether it is used for dense, lexical or combined search.","practice":"The practitioner defines a context-generation procedure, checks sampled enrichments against original documents and compares retrieval with an unenriched baseline. Source identifiers and versions are retained so context can be refreshed when content changes. Evaluation includes short passages with missing antecedents and rare identifiers, where enrichment might help or accidentally mislead. Useful artifacts include the enrichment prompt or rules, indexed text format and relevance results. Generated context should be distinguishable from quoted source content in any downstream evidence view.","example":"A report chunk states that operating costs increased but does not repeat the business unit named earlier. The index adds a short contextual sentence identifying that unit and the reporting period. A query about the unit's costs can now match the passage more directly. Review confirms that the generated context names the correct unit and does not infer an increase percentage absent from the report. The answer system cites the original passage and surrounding section, rather than presenting the enrichment as an independent fact.","limits":"Generated context can introduce an incorrect entity, date or interpretation and make a wrong chunk easier to retrieve. It also adds preprocessing cost and update work. Improved retrieval in one reported experiment is not a guarantee across document types. A useful assessment compares relevance and downstream support under the actual collection, audits context accuracy and preserves the original source so enrichment never becomes an untraceable replacement for evidence.","sources":[{"title":"Contextual Retrieval","url":"https://www.anthropic.com/engineering/contextual-retrieval","note":"Describes generating chunk context and incorporating it into embedding and lexical retrieval representations."}],"updatedAt":"2026-10-10"}},{"id":"bm25","name":"BM25","category":"Retrieval Techniques","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"BM25 is a lexical relevance scoring method that ranks documents using query-term matches, term rarity and document-length normalization. It is a strong baseline for text retrieval and the lexical component of many hybrid systems, especially when exact identifiers or specialist terms matter more than broad semantic similarity.","type":"concept","editorial":{"definition":"BM25 belongs to the probabilistic information retrieval tradition. Its score gives more weight to terms that are informative across the collection, reduces the marginal contribution of repeated occurrences and adjusts for document length. Parameters control aspects of term-frequency saturation and length normalization. Text analysis also matters: tokenization, stemming and field handling determine which terms match before scoring. BM25 differs from dense retrieval because it primarily uses lexical overlap rather than learned vector proximity. Its numeric scores are ranking signals within a query and index configuration, not direct probabilities of relevance.","practice":"The practitioner configures text analysis and searchable fields, establishes relevance labels and tunes scoring only where evaluation justifies it. Tests include identifiers, abbreviations, spelling variants and queries whose relevant document uses different wording. Useful artifacts include the index mapping, query strategy and measured ranking baseline. Comparing BM25 with dense or hybrid search helps identify whether errors come from vocabulary mismatch or candidate ranking. Field weights and filters are documented so a result's position can be explained without attributing every effect to the BM25 formula.","example":"A technical catalog contains short product codes and long descriptions. A query with the exact code should strongly favor the matching item even if another description is topically similar. The team tests field weighting so the code field contributes appropriately and analyzes whether tokenization splits meaningful punctuation. A paraphrased symptom query may require dense or expanded retrieval as well. BM25 remains the reference baseline, making it possible to see what additional semantic machinery improves and what precision it loses.","limits":"Lexical matching can miss paraphrases, synonyms and cross-language relevance. Scores are also affected by corpus statistics and document preparation, so thresholds do not transfer automatically between indexes. Aggressive stemming can merge distinct identifiers, while repeated terms can still distort ranking under unsuitable configuration. Evaluation should include the actual query vocabulary and field structure. BM25's simplicity and usefulness do not make it a universal solution or justify skipping a retrieval quality test.","sources":[{"title":"Elasticsearch similarity configuration","url":"https://www.elastic.co/docs/reference/elasticsearch/mapping-reference/similarity","note":"Official documentation for BM25 scoring parameters and similarity configuration."},{"title":"The Probabilistic Relevance Framework: BM25 and Beyond","url":"https://www.staff.city.ac.uk/~sbrp622/papers/foundations_bm25_review.pdf","note":"Primary author account of BM25's probabilistic basis and scoring design."}],"updatedAt":"2026-10-10"}},{"id":"dense-retrieval","name":"Dense Retrieval","category":"Retrieval Techniques","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Dense retrieval searches by comparing learned vector representations of queries and documents. It can find relevant passages with different wording from the query, but its quality depends on the encoder, training objective and similarity function; nearby vectors are candidates for relevance rather than verified answers.","type":"concept","editorial":{"definition":"A dense retriever commonly uses a query encoder and a document encoder to produce vectors in a compatible space. Document vectors are computed during indexing, and a query vector is compared with them at search time. Training can use relevant query–passage pairs and negative examples to shape that space. Approximate nearest-neighbor indexes make searching large collections more efficient with a recall trade-off. Dense retrieval differs from a cross-encoder, which jointly processes each query–document pair, and from lexical retrieval, which ranks primarily through term matches. These methods can be combined rather than treated as exclusive choices.","practice":"The practitioner evaluates the encoder on representative relevance judgments, including languages, identifiers and difficult near matches. Preprocessing, truncation and query instructions are recorded with the model version. An exact vector search baseline separates embedding errors from approximate-index errors. Useful artifacts include the encoding pipeline, relevance benchmark and index parameters. Fine-tuning requires defensible positives and negatives with a held-out test. Changing encoders generally means rebuilding document vectors, because equal dimensions do not establish that two models produce comparable representations.","example":"A help center indexes passages about resetting access credentials. A user asks how to regain entry after losing a sign-in token, using wording absent from the article title. Dense retrieval may find the relevant passage through semantic similarity. Tests also include a question about physical access tokens, where a thematically similar credential passage would be wrong. A hybrid exact-term signal or metadata restriction can then help preserve the distinction that the dense model alone handles poorly.","limits":"Dense models can blur rare terms, numerical differences or negation, and long documents may be truncated before the relevant material is encoded. Similarity scores are not calibrated across every query. Public benchmark performance may not transfer to specialist collections. Quality should be assessed with lexical and exact-search baselines, source-level relevance judgments and end-to-end answer checks, rather than assuming semantic representation makes every retrieval result meaningfully relevant.","sources":[{"title":"Dense Passage Retrieval for Open-Domain Question Answering","url":"https://arxiv.org/abs/2004.04906","note":"Primary dual-encoder retrieval formulation and training setup."}],"updatedAt":"2026-10-10"}},{"id":"opensearch","name":"OpenSearch","category":"Retrieval Techniques","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"OpenSearch is a search and analytics engine that can support lexical, vector and hybrid retrieval in an application. The skill involves index design, query construction and operational management, with attention to how text analysis, vector configuration and filters jointly determine which records can be returned and how they are ranked.","type":"tool","editorial":{"definition":"OpenSearch indexes documents with mapped fields and provides query interfaces for text search, filtering and aggregation. Vector capabilities add nearest-neighbor retrieval over embeddings, while hybrid search can combine signals from multiple retrieval methods. These are engine features rather than a single retrieval model: applications still choose encoders, field analysis and relevance objectives. A search index is also distinct from the authoritative source store, so ingestion and update consistency need design. Distributed execution, shard layout and plugin or version choices influence available functionality and operational behavior.","practice":"The practitioner defines mappings before ingestion, validates analyzers and queries and evaluates ranking on labeled requests. Vector tests use the intended similarity, index method and filters. Operational plans cover capacity, shard choices, snapshots and reindexing when representations change. Useful artifacts include index templates, ingestion code, query definitions and relevance and load-test reports. An application should enforce authorization consistently for every query path, including hybrid or diagnostic searches, so new retrieval capabilities do not bypass the record restrictions applied to lexical search.","example":"A documentation portal indexes body text, product identifiers, dates and embeddings in OpenSearch. An exact product query uses lexical fields, while a symptom description uses a hybrid query. The team labels relevant passages and tests whether freshness and product filters remain correct under both paths. When the embedding model changes, a replacement index is built and compared before traffic switches. Snapshot and rollback procedures protect the portal from a failed reindex rather than relying on a model query to reconstruct lost records.","limits":"Default mappings or approximate-search settings may be unsuitable for a specific collection. Distributed operations add capacity and consistency considerations, and feature support differs by version and deployment. Search scores also do not prove answer support. Choosing OpenSearch should follow query and operational requirements, with testing of the actual index and workload. A shared engine can simplify integration, but it does not remove the need to evaluate each retrieval signal and its combination.","sources":[{"title":"OpenSearch vector search","url":"https://docs.opensearch.org/latest/vector-search/","note":"Official documentation for vector indexing and retrieval capabilities in the search engine."}],"updatedAt":"2026-10-10"}},{"id":"chroma","name":"Chroma","category":"Vector Search","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Chroma is a retrieval database and toolkit for storing embeddings, documents and metadata and querying related records. It can simplify application prototypes and deployed retrieval workflows, but useful search still depends on the selected embedding model, collection design, filters and explicit handling of source versions and access.","type":"tool","editorial":{"definition":"A Chroma collection contains records with identifiers and associated representations or content. An application can add, update, delete and query those records, with embeddings produced through configured functions or supplied by the application. Deployment modes and operational features vary by the current product interface. Chroma is a particular retrieval implementation, not an embedding model or a complete RAG application. Its returned distances and records become inputs to downstream selection or generation. The meaning of distance depends on the collection configuration and encoder, rather than the database name alone.","practice":"The practitioner fixes stable record identifiers, documents the embedding function and checks how persistence and deployment work in the selected environment. Query tests cover metadata restrictions, missing records and updates. Relevance evaluation uses realistic questions rather than simply checking that some result returns. Useful artifacts include collection initialization, ingestion and deletion procedures, an encoder version record and search measurements. Source evidence should remain available through reliable record links. Moving from a local prototype to a shared service requires renewed tests of concurrency and access handling.","example":"A small technical assistant indexes manual passages in Chroma with product and revision metadata. Queries restrict the collection to the requested product before selecting relevant passages. The team updates a corrected procedure and verifies that old records are removed or replaced, then checks that generation cites the updated source. A prototype that retrieves a passage successfully is followed by evaluation on ambiguous product names and empty-result cases, where broad semantic similarity could otherwise hide an incorrect match.","limits":"Convenient setup does not establish relevance or production suitability for every workload. Embedding changes can leave incompatible vectors, and metadata filters alone are not a complete authorization system. Operational behavior depends on deployment mode and version. Testing should cover persistence, updates and actual search quality alongside performance. Chroma's role is retrieval infrastructure; evidence interpretation, user permissions and reliable answer behavior remain responsibilities of the surrounding application.","sources":[{"title":"Chroma introduction","url":"https://docs.trychroma.com/docs/overview/introduction","note":"Official overview of collections, embedding workflows and retrieval capabilities."}],"updatedAt":"2026-10-10"}},{"id":"lancedb","name":"LanceDB","category":"Vector Search","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"LanceDB is a database for vector and multimodal retrieval built around columnar data storage. The skill combines table and schema design, embedding management and search configuration, particularly where vectors need to remain connected to structured fields or media references that an application can filter, inspect and update.","type":"tool","editorial":{"definition":"LanceDB stores records in tables with vector and other columns, using the Lance data format in its architecture. Applications can search embeddings and use additional retrieval or filtering features supported by the selected version and deployment. It differs from a standalone nearest-neighbor library by providing data and query abstractions around the vectors. It also differs from an embedding model, which determines the representations themselves. Local and managed deployment choices carry different operational responsibilities. The important application contract is how source records, vectors and metadata remain consistent as content is added or changed.","practice":"The practitioner defines table schemas and stable identifiers, records the encoder and chooses index configuration based on measured workload. Search quality is compared with an exact baseline where possible, including filtered queries and multimodal cases. Ingestion tests preserve links to original media or documents. Useful artifacts include schema definitions, index settings, source versioning rules and performance reports. Update and deletion procedures should be tested through query results, rather than assuming that a successful write necessarily invalidates every old representation used by the application.","example":"A media archive stores image references, captions, collection metadata and embeddings in a LanceDB table. A query combines a visual description with a date restriction, returning source items for inspection. The team tests both semantic relevance and whether filters retain the intended collection boundary. A revised image caption triggers a defined representation update. The application keeps the original media reference so reviewers can determine whether a retrieved match actually contains the feature described in the user's request.","limits":"A columnar foundation does not guarantee that every retrieval or update workload is fast. Approximate indexes, filtering and embedding quality can each affect results. Deployment capabilities also change, so a design must use current documentation rather than assume identical behavior across local and managed products. Evaluation needs the actual data shape and query mix. LanceDB can organize retrieval data, while source quality and downstream interpretation still need separate validation.","sources":[{"title":"LanceDB documentation","url":"https://docs.lancedb.com/","note":"Official overview of tables, storage architecture, vector search and deployment options."}],"updatedAt":"2026-10-10"}},{"id":"metadata-filtering","name":"Metadata Filtering","category":"Vector Search","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Metadata filtering restricts retrieval using structured fields such as product, date, tenant or access category. It helps search obey explicit constraints that embeddings may not preserve, but correct behavior depends on the filter semantics, where filtering occurs and whether the application enforces the underlying authorization policy.","type":"concept","editorial":{"definition":"Each indexed record can carry structured attributes in addition to its text or vectors. A filter expresses allowed values or conditions, such as a date range and product identifier. A search engine may apply filtering before candidate search, during index traversal or after candidates are produced. These choices affect efficiency and recall, particularly for approximate vector search with selective filters. Filtering differs from ranking: it determines eligibility rather than relative preference. A metadata field can encode an access rule, but trusted server-side logic must derive that rule rather than accepting an arbitrary user-provided tenant identifier.","practice":"The practitioner defines typed metadata and its source of truth, validates missing values and tests filter combinations. Retrieval evaluations include highly selective conditions and cases with no eligible result. Access tests attempt cross-tenant queries and inspect every search path, not only the main interface. Useful artifacts include the metadata schema, query builder and filter correctness tests. Update workflows must propagate permission or date changes promptly. The application also distinguishes an empty authorized result from a broad search that found material it must not reveal.","example":"A maintenance assistant retrieves procedures for one factory and a specific equipment revision. The server constructs a filter from the user's allowed factory list and selected revision, then performs vector search within eligible records. Tests include a relevant procedure from another factory and a nearly identical older revision. Neither may enter the generated answer. When the eligible set is small, the team measures approximate-search recall and adjusts the search strategy instead of widening the permission boundary to obtain more results.","limits":"Missing or stale metadata can exclude useful evidence or expose the wrong records. Post-filtering may return too few results even when eligible relevant documents exist. Some engines support different operators or null behavior, so filters need implementation-specific tests. Metadata similarity and ranking cannot replace authorization. The quality criterion combines correct eligibility with adequate retrieval recall, preserving explicit constraints even when relaxing them would produce an apparently better semantic match.","sources":[{"title":"Qdrant filtering","url":"https://qdrant.tech/documentation/search/filtering/","note":"Official explanation of payload conditions and their role in vector search filtering."}],"updatedAt":"2026-10-10"}},{"id":"milvus","name":"Milvus","category":"Vector Search","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Milvus is a vector database designed to store and search embeddings with structured metadata and scalable indexing infrastructure. Competence involves choosing a schema and index, managing data ingestion and lifecycle, and validating filtered retrieval under the actual workload rather than treating scale-oriented architecture as evidence of relevance.","type":"tool","editorial":{"definition":"A Milvus collection holds records with defined fields, including vectors and identifiers. Search compares query vectors with stored representations using a configured metric and index, while supported metadata expressions constrain eligible records. Deployment architectures and index options provide different operational trade-offs. Milvus does not create the semantic meaning of embeddings; the encoder and data preparation do that. It supplies storage and search capabilities that applications combine with source resolution, permissions and generation. Collection consistency and readiness also matter when newly written records must become available to queries.","practice":"The practitioner designs field types and identifiers, selects an index using relevance and load measurements and records the embedding model. Ingestion handles batches, retries and duplicate prevention. Tests cover inserts, updates or replacement records, deletion and selective filters. Useful artifacts include schema and index configuration, capacity measurements, retrieval recall and recovery procedures. Production planning considers the chosen deployment components and their failure behavior. A migration or model change should use a controlled rebuild and comparison rather than mix incompatible vectors in one searchable collection.","example":"A large support archive indexes passages with product, language and document revision fields. Milvus supplies filtered candidate search, and another store resolves identifiers to the original text. The team tests recall for both common and rare products, then measures ingestion and concurrent query behavior. A deleted confidential document must disappear from candidate results and source resolution. When a new encoder is introduced, a parallel collection is evaluated before the application changes its query routing.","limits":"Distributed search and approximate indexes introduce tuning and operational complexity. A collection may contain nearby but irrelevant vectors, and filters can affect recall or result availability. Current capabilities depend on version and deployment, so workload testing is more informative than scale claims alone. Milvus is appropriate when its retrieval and operational model fit the application, with separate evidence for search quality, permission enforcement and reliable data lifecycle handling.","sources":[{"title":"Milvus overview","url":"https://milvus.io/docs/overview.md","note":"Official architecture and vector database concepts for collections, search and deployment."}],"updatedAt":"2026-10-10"}},{"id":"pinecone","name":"Pinecone","category":"Vector Search","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Pinecone is a managed retrieval service for indexing and querying vector-based representations with associated metadata. The skill involves defining record and namespace organization, selecting supported search behavior and measuring quality, latency and lifecycle costs, while keeping application authorization and source correctness explicit outside the service abstraction.","type":"tool","editorial":{"definition":"An application writes records with identifiers, vectors or supported text representations and metadata, then queries an index for related items. Pinecone exposes managed index and search capabilities whose exact modes depend on the current product configuration. Namespaces can partition records, and filters can restrict eligible items, but the application must map them to its trusted access policy. Pinecone is a service implementation rather than an embedding concept or complete RAG architecture. Search returns candidates and scores; a downstream system still resolves sources, chooses evidence and validates generated claims.","practice":"The practitioner checks current index options and limits, plans namespaces and stable identifiers and records the encoder version. It tests ingestion, deletion, filtered queries and expected data visibility after writes. Relevance and resource measurements use the intended workload and request patterns. Useful artifacts include the index specification, namespace policy, ingestion adapter and a benchmark with source-level judgments. Backfill and model migrations require a controlled strategy. Managed infrastructure reduces some operational tasks but does not remove the need for error handling and recovery planning.","example":"A software documentation service assigns separate namespaces to independent customer collections. The server chooses the allowed namespace before querying and filters by product version. Pinecone returns passage identifiers that the application resolves to current source content. Tests attempt an unauthorized namespace, a deleted passage and a version with no matching document. The service configuration is accepted only when these cases behave correctly and annotated queries retrieve useful evidence under normal traffic conditions.","limits":"A managed service does not guarantee that a model's embeddings preserve the distinctions a task needs. Index behavior, limits and pricing can change, and data visibility or deletion semantics need current verification. Namespace choice supplied directly by a client can become an access flaw. Evaluation should include filtered relevance, lifecycle correctness and actual usage costs, rather than infer application quality from the absence of infrastructure maintenance work.","sources":[{"title":"Pinecone Database overview","url":"https://docs.pinecone.io/guides/get-started/overview","note":"Official description of managed indexes, records, search and database organization."}],"updatedAt":"2026-10-10"}},{"id":"qdrant","name":"Qdrant","category":"Vector Search","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Qdrant is a vector database that stores vector representations with structured payloads and provides similarity search and filtering. The skill includes configuring collections and indexes, designing payload fields and evaluating recall under selective queries, particularly where metadata and semantic search must work together without weakening explicit constraints.","type":"tool","editorial":{"definition":"A Qdrant point has an identifier, one or more supported vector representations and optional payload data. Collections define relevant vector configuration, while payload conditions constrain search. The service provides index and optimization features whose use depends on the workload and version. This distinguishes Qdrant from an encoder: it stores and searches representations but does not determine whether their geometry captures the task. It also differs from a complete RAG system, where evidence selection, source resolution and generation add further decisions. Filtering and indexing choices jointly influence retrieval behavior.","practice":"The practitioner specifies dimensions, distance metrics, payload types and stable identifiers before ingestion. Representative tests compare approximate results with an appropriate baseline and examine selective filters. Resource measurements cover index construction, updates and query concurrency. Useful artifacts include collection configuration, payload indexes, source mappings and relevance results. Authorization conditions are built by trusted application code and tested across query modes. When embeddings or documents change, controlled replacement or rebuilding keeps source records and their searchable representations consistent.","example":"A machine-parts assistant indexes descriptions with vectors and payloads for manufacturer, revision and allowed organization. A query must respect those payload conditions even if another organization's record is a stronger semantic match. The team tests both retrieval recall inside a small permitted set and deletion of a retired part. A result identifier resolves to the exact current record, so a stale source mapping cannot silently turn a valid vector match into an answer about an obsolete revision.","limits":"Vector proximity is not evidence that a part or passage is correct for a question. Approximate indexing, quantization and filtering can alter candidate recall, and operational configuration affects update visibility. Product features also evolve. Choosing Qdrant should follow measured relevance and lifecycle needs, with clear source and authorization contracts. Its payload capabilities are useful engineering mechanisms, while the surrounding application remains responsible for interpreting and validating the records it returns.","sources":[{"title":"Qdrant overview","url":"https://qdrant.tech/documentation/overview/","note":"Official vector database architecture and supported representation concepts."},{"title":"Qdrant filtering","url":"https://qdrant.tech/documentation/search/filtering/","note":"Explains payload conditions and filter semantics used during retrieval."}],"updatedAt":"2026-10-10"}},{"id":"vector-indexing","name":"Vector Indexing","category":"Vector Search","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Vector indexing organizes embeddings so similarity search can find candidates without comparing every stored vector on each query. Exact and approximate structures trade memory, build effort, update behavior and recall; the skill is selecting and tuning that trade-off with measurements tied to the application's relevance requirements.","type":"concept","editorial":{"definition":"An exact search computes similarity across the eligible collection and provides a useful reference. Approximate nearest-neighbor methods reduce work by organizing vectors into partitions, graphs or compressed representations. HNSW uses a navigable graph, while inverted-file approaches narrow the candidate region; compression can further reduce memory. Search parameters control how much of the structure is explored. Indexing differs from embedding: an index accelerates comparison of existing representations rather than learning their meaning. Missing a relevant item can therefore originate in the representation, the approximate search or both.","practice":"The practitioner benchmarks candidate indexes against exact neighbors on representative queries and measures recall, latency, memory and construction time. Tests include selective filters and changing data distributions, not only an unfiltered static collection. Parameters and training samples are recorded for reproducibility. Useful artifacts include a recall–latency comparison, index configuration and rebuild policy. End-to-end relevance is also checked, since retaining exact vector neighbors is helpful only when those neighbors are useful for the task. Update and deletion behavior belongs in index selection.","example":"A document collection outgrows comfortable exact-search latency. The team tests a graph index at several search-effort settings and compares returned candidates with exact search. A faster setting loses a passage needed for rare error codes, so a more thorough setting is selected for that query class. The report includes index memory and build time. When the collection's subject mix changes, the same benchmark is rerun rather than assuming the earlier recall measurement remains valid indefinitely.","limits":"Approximate recall is not the same as user relevance, and high average recall can hide failures on rare queries. Index parameters tuned on one scale or distribution may not transfer. Compression can also change ranking and score interpretation. Good indexing decisions keep an exact or defensible reference and inspect task errors, balancing resources against acceptable misses rather than claiming that one index structure is universally fastest or best.","sources":[{"title":"Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphs","url":"https://arxiv.org/abs/1603.09320","note":"Primary HNSW index design and approximate-search mechanism."},{"title":"FAISS repository","url":"https://github.com/facebookresearch/faiss","note":"Official implementation of multiple exact and approximate vector-index approaches."}],"updatedAt":"2026-10-10"}},{"id":"weaviate","name":"Weaviate","category":"Vector Search","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Weaviate is a database for vector-oriented and hybrid retrieval with structured objects and metadata. Using it requires deliberate schema, representation and query choices, along with testing of filtering, updates and source resolution; built-in integration features do not replace an application's relevance and access-control requirements.","type":"tool","editorial":{"definition":"A Weaviate collection stores objects and properties with configured vector representations. Applications can supply vectors or use supported integration modules, then query through vector, lexical or hybrid mechanisms available in the selected version. The database's object model and operational features surround similarity search with storage and query behavior. Weaviate is distinct from an embedding model, which determines the representation, and from a generative application, which interprets retrieved records. Configuration choices such as vectorization, distance and property indexing affect how an object becomes searchable and how explicit metadata conditions interact with retrieval.","practice":"The practitioner defines collections, properties, identifiers and vector configuration before loading data. It measures lexical, vector and hybrid relevance separately, then evaluates combined behavior. Filters and tenant organization are checked against the trusted access model. Useful artifacts include schema definitions, ingestion mappings, query contracts and relevance and load results. Updates and deletion need tests through both search and source lookup. A model migration requires controlled representation replacement, while deployment planning covers the operational features of the chosen self-hosted or managed environment.","example":"A policy library stores passages with department, policy version and source references. The application queries Weaviate for relevant passages using a hybrid search and restricts results to the user's allowed departments. Tests include an exact policy code and an informal question with different wording. When a policy is replaced, ingestion verifies that the active version is searchable and the obsolete passage is excluded. The answer system cites the original policy text rather than treating a database object or similarity score as sufficient evidence.","limits":"Feature availability and operational behavior depend on version and deployment. A convenient vectorizer can obscure model changes, and hybrid settings can weaken exact-term precision. Approximate search and filters also need relevance measurement. Product choice should follow the actual query and maintenance workload, not a generic claim that vector storage makes an application intelligent. Source integrity, authorization and generated-answer correctness remain separate parts of a reliable retrieval system.","sources":[{"title":"Weaviate Database documentation","url":"https://docs.weaviate.io/weaviate","note":"Official database concepts, object collections and retrieval configuration."}],"updatedAt":"2026-10-10"}},{"id":"cross-encoder-reranking","name":"Cross-Encoder Reranking","category":"Retrieval Techniques","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Cross-encoder reranking scores each query and candidate document together, allowing the model to inspect their interaction before reordering results. It is a second-stage retrieval technique that can distinguish subtle relevance differences, while trading per-candidate computation for a ranking that independent embedding similarity may not provide.","type":"concept","aliases":["Cross-Encoder Re-Ranking","CrossEncoder Reranking"],"editorial":{"definition":"A bi-encoder represents query and document separately, enabling reusable document vectors and fast candidate search. A cross-encoder instead processes a query–document pair as one model input and predicts a relevance or relationship score. Because the document representation depends on the query, its score cannot ordinarily be precomputed once for every future search. The approach is therefore commonly applied to a limited candidate set. It is one implementation of search reranking rather than a synonym for all reranking, and its score meaning follows the model's training objective and calibration.","practice":"The practitioner selects a model appropriate for the language and relevance objective, then evaluates ranked candidates against labeled queries. Candidate recall is measured first because reranking cannot repair a missing document. Input-length limits, batching and candidate count are tested for latency and quality. Useful artifacts include the scoring configuration, before-and-after rankings and errors involving negation or near-identical entities. A held-out test checks whether improvements transfer beyond tuning examples. Application constraints and access filtering remain explicit rather than being inferred from the pair score.","example":"A support query asks how to disable automatic updates without disabling security alerts. The first-stage retriever returns several passages mentioning both features. A cross-encoder inspects each passage with the full request and favors the one that preserves alerts while changing update behavior. Tests include a passage instructing users to disable both, which shares many words but violates the condition. The application then verifies that the top passage supports the final answer and measures the extra reranking time under realistic load.","limits":"Cross-encoders can misread a condition, favor familiar wording or truncate the decisive part of a long candidate. A high score is not factual verification, and scores may not be comparable across unrelated queries. More candidates increase opportunity and cost simultaneously. The technique needs task-specific ranking tests and an operational budget, with separate attention to candidate recall, model suitability and whether the reordered evidence actually improves supported answers.","sources":[{"title":"Cross-Encoder usage","url":"https://www.sbert.net/docs/cross_encoder/usage/usage.html","note":"Official explanation of joint pair encoding and predicted scores."}],"updatedAt":"2026-10-10"}},{"id":"multi-vector-retrieval","name":"Multi-Vector Retrieval","category":"Retrieval Techniques","subcategory":null,"section_id":"retrieval-augmented-generation-knowledge-systems","section_name":"Retrieval-Augmented Generation & Knowledge Systems","description":"Multi-vector retrieval represents a source item with several vectors and defines how their matches produce an item-level result. The vectors may represent chunks or derived views, or tokens and patches used in late interaction; the aggregation rule is central because multiple vectors alone do not define a retrieval method.","type":"concept","aliases":["Multi Vector Retrieval"],"editorial":{"definition":"A single vector compresses an item into one representation. Multiple vectors can retain separate facets, such as passages, summaries or visual regions. One system may retrieve these views and map hits back to a parent document, while another computes token-level interactions and aggregates their scores. ColBERT is a specific late-interaction approach that compares query-token vectors with document-token vectors. These designs share representational multiplicity but differ in scoring, indexing and storage requirements. Multi-vector retrieval is therefore an umbrella practice, not an automatic synonym for ColBERT or for splitting a document into independently returned chunks.","practice":"The practitioner states what each vector represents and how vector hits are deduplicated, combined or scored at source-item level. Evaluation compares with a single-vector baseline and checks whether items with more vectors receive an unintended advantage. Source mappings and update procedures must keep all representations synchronized. Useful artifacts include the representation schema, aggregation function, storage measurements and relevance results. For late interaction, token or patch handling and supported index mechanisms require explicit configuration. Latency and memory are assessed alongside quality gains.","example":"A technical manual is represented by passage vectors and a short overview vector, all linked to one manual identifier. Search may match a specific procedure or the overview; the application aggregates hits into a ranked manual result and retains the supporting passage. A separate experiment uses token-level late interaction for the same query set. The team compares these mechanisms rather than grouping their scores as if they were equivalent, and checks that long manuals do not win merely because they contain more indexed views.","limits":"More representations can increase storage, indexing and scoring cost without improving relevant retrieval. Poor aggregation can overcount duplicate evidence or bias ranking toward large documents. Generated views may also contain unsupported summaries. Quality checks need original source traceability and a clearly defined scoring rule. Any claimed improvement should identify the multi-vector design and baseline, since gains from one token-level method do not establish the value of every chunk or view aggregation strategy.","sources":[{"title":"ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERT","url":"https://arxiv.org/abs/2004.12832","note":"Primary token-level multi-vector late-interaction retrieval design."}],"updatedAt":"2026-10-10"}},{"id":"code-execution-agents","name":"Code Execution Agents","category":"Agent Applications","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"Code execution agents solve tasks by writing programs, running them in an execution environment and using the observed results to choose a next action. Their competence includes inspecting files, handling runtime errors and verifying artifacts, while keeping generated code within explicitly granted filesystem, network and resource permissions.","type":"concept","editorial":{"definition":"The agent alternates model generation with an interpreter, shell or other runtime. Execution supplies information that text prediction alone cannot provide: calculated values, test failures, rendered outputs and actual file changes. A controller passes these observations back to the model and retains relevant state between steps. Code may be a temporary tool for analysis or the deliverable itself. This differs from a coding assistant that only suggests a snippet: the agent can observe what the snippet does. The execution environment, rather than a prompt, determines which files, dependencies and external systems the program can reach.","practice":"A practitioner chooses the supported language, installed dependencies, persistence model and resource limits before exposing execution. Tool results should distinguish standard output, errors and generated artifacts so the agent can diagnose failures. File changes and external effects need separate authorization rules. A useful implementation records commands and execution results, limits retries and inspects outputs with checks appropriate to the task. Tests, schema validation or visual review provide evidence that the generated program produced the requested result.","example":"An analyst asks an agent to reconcile two exported inventory tables. The agent reads the schemas, writes a join that preserves unmatched identifiers and executes it in a restricted environment. A failed date conversion leads it to inspect the offending rows and revise the parser. It returns a reconciliation table with exception counts and the script used to create it. Verification checks totals and a sample of mismatches before anyone uses the output to update stock records.","limits":"Successful execution does not establish that a program implements the intended calculation. An agent may choose the wrong join, silently discard rows or accept misleading test coverage. Untrusted files and package installation can introduce additional risks. Code execution also needs limits on memory, runtime and network access. Quality requires both containment and result verification: a sandbox can constrain an incorrect program without making its output correct, while a correct-looking result can hide unauthorized side effects.","sources":[{"title":"E2B documentation","url":"https://docs.e2b.dev/","note":"Describes isolated environments for running agent-generated code, commands and file operations."}],"updatedAt":"2026-11-02"}},{"id":"computer-use-ai","name":"Computer Use AI","category":"Agent Applications","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"Computer Use AI operates software through its visible interface by observing screen or browser state and issuing actions such as clicks, typing and navigation. The practitioner connects perception, persistent application state and action execution so an agent can complete and verify tasks in interfaces designed for people.","type":"concept","editorial":{"definition":"A computer-use loop obtains an observation, selects an interface action, executes it and observes the resulting state. Depending on the integration, observations may include screenshots, accessibility information or browser structure; actions may be structured inputs or code using an automation library. The environment must preserve sessions, tabs and application state across model calls. Unlike a direct business API, a graphical interface exposes incidental layout and transient controls alongside task semantics. The model must recognize where it is and whether the expected transition occurred. A claimed completion is therefore separate from the actual state of the application.","practice":"The practitioner defines an isolated environment, supported surfaces, coordinate handling and a limited action vocabulary. Observations should be fresh enough to prevent actions against stale screens. Tasks need stopping conditions, cancellation and verification of important changes. Read-only navigation can proceed differently from purchases or destructive operations. A useful result includes an action trace and evidence of the final application state. Evaluation covers changed layouts, popups, slow responses and ambiguous controls, rather than only one successful navigation path.","example":"A team asks an agent to verify a registration flow in a staging website. It opens the form, enters a test address, submits it and inspects the confirmation page. When a validation message appears, it corrects the relevant field instead of clicking the old submit coordinates repeatedly. The final report includes the observed confirmation and any blocked step. The staging account and permitted origins keep the test separate from real customer registrations.","limits":"Visual actions can be brittle when layouts shift, controls overlap or the interface changes between observation and execution. Page text can contain instructions that must remain untrusted content. Login state does not grant permission for every available action. Reliable systems check application outcomes, enforce access boundaries outside the model and hand off unresolved situations. A screenshot proving that a button was clicked is weaker evidence than a confirmed saved record or completed transaction state.","sources":[{"title":"OpenAI computer use guide","url":"https://developers.openai.com/api/docs/guides/tools-computer-use","note":"Explains screenshot-and-action loops, environment persistence, coordinate mapping and application-side safety controls."}],"updatedAt":"2026-11-02"}},{"id":"deep-research-agents","name":"Deep Research Agents","category":"Agent Applications","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"Deep research agents investigate a question through repeated searching, source inspection and synthesis. They maintain a research objective across multiple steps, follow evidence gaps and assemble an answer whose claims can be traced to consulted sources, with explicit boundaries on scope, time and accessible information.","type":"concept","editorial":{"definition":"The architecture combines a planning or decision loop with tools for finding and reading information. Rather than retrieving one fixed batch of passages, the agent can compare sources, refine a query and investigate a contradiction before drafting. A research state may record subquestions, extracted evidence, provenance and unresolved claims. The label describes a task pattern, not a guarantee of exhaustive coverage or a particular model. It differs from ordinary retrieval-augmented answering in the duration and adaptability of evidence gathering. Research quality depends on source selection and faithful synthesis as well as the ability to navigate tools.","practice":"The practitioner specifies the question, time range, acceptable sources and expected deliverable before execution. Search results are leads; important claims require inspecting the underlying material. Evidence records should preserve URLs, dates and the passages supporting an interpretation. Coverage checks identify unanswered subquestions and competing explanations. A useful output is a referenced report with a clear distinction between established findings, inference and missing information. Resource budgets prevent an open-ended search from continuing merely because additional pages are available.","example":"A researcher asks which technical changes are required to move a service between two storage APIs. The agent examines each provider's official documentation, follows links to authentication and consistency details and builds a comparison organized around the service's operations. It revisits an ambiguous deletion behavior instead of assuming both APIs match. The report links each material difference to its source and flags the behavior that still needs an integration test.","limits":"Repeated search can amplify a poor initial framing, and multiple pages may repeat the same unsupported claim. Citations can be present while failing to support the adjacent sentence. Agents may mistake outdated documentation for current behavior or infer completeness from a long report. Quality checks therefore examine source authority, recency, claim support and coverage of the actual question. A research agent cannot establish facts hidden behind inaccessible evidence, and should identify that boundary rather than fabricate a conclusion.","sources":[{"title":"OpenAI deep research guide","url":"https://developers.openai.com/api/docs/guides/deep-research","note":"Documents a multi-step research interface, supported evidence tools and referenced research outputs."}],"updatedAt":"2026-11-02"}},{"id":"text-to-sql","name":"Text-to-SQL","category":"Agent Applications","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"Text-to-SQL translates a natural-language question into a database query using schema information and the meaning of the request. The practitioner must connect language interpretation to tables, joins, filters and aggregation, then verify that the query answers the intended question within the user's data permissions.","type":"concept","editorial":{"definition":"A system conditions a language model on relevant schema descriptions, relationships and sometimes example queries. It generates SQL directly or uses an agent loop to inspect tables, check syntax and revise errors. Execution feedback can resolve invalid identifiers but cannot by itself determine the correct business meaning. The phrase 'active customer', for example, may require a definition absent from column names. Text-to-SQL is different from summarizing a supplied table: it creates an executable selection over a larger database. The database engine evaluates the query, while the application remains responsible for authorization, workload limits and interpretation of the returned rows.","practice":"The practitioner curates schema context and business definitions, restricts the accessible database objects and validates the generated query before execution. Read-only credentials, statement restrictions and row or time limits reduce unintended effects. Evaluation uses questions with expected results, especially joins, date boundaries and ambiguous measures. A useful deliverable includes the query, relevant assumptions and an answer tied to the returned data. Clarification is preferable when two plausible business definitions would produce materially different results.","example":"A sales manager asks for revenue by customer region during the previous quarter. The system identifies invoices, customer locations and currency fields, then asks whether revenue means issued or paid invoices. After the choice, it generates an aggregation with explicit quarter boundaries and inspects the result. A reviewer checks that the join does not multiply invoice lines and that the totals reconcile with a known reporting query before enabling the question for routine use.","limits":"Syntactically valid SQL can produce plausible but incorrect numbers through duplicate joins, missing filters or mistaken date semantics. Schema changes can invalidate otherwise successful prompts. Passing a syntax checker does not establish safe access or correct meaning. Generated queries should be tested against representative business questions and inspected for expensive scans. The skill includes recognizing when the database lacks the requested information; a model should not invent a column or infer unavailable attributes from unrelated fields.","sources":[{"title":"Build a SQL agent with LangChain","url":"https://docs.langchain.com/oss/python/langchain/sql-agent","note":"Shows schema inspection, query checking and execution feedback, and notes the need to restrict database permissions."}],"updatedAt":"2026-11-02"}},{"id":"voice-agents","name":"Voice Agents","category":"Agent Applications","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"Voice agents conduct spoken interactions while coordinating speech processing, model decisions and tools. They may use an audio-native model or a speech-to-text, language-model and text-to-speech pipeline, but both designs require reliable turn-taking, interruption handling and confirmation of actions that users request by voice.","type":"concept","editorial":{"definition":"A voice interaction is a streaming conversation rather than a sequence of complete text messages. The system captures audio, identifies turns, interprets the request and produces speech while tracking tool activity and what the user has actually heard. Chained pipelines expose intermediate text and allow independent component choices; audio-native approaches can preserve more speech information within one session. These architectures have different latency and control tradeoffs. Voice activity detection estimates when someone is speaking, but conversational turn completion is a separate decision. State must also distinguish generated audio from delivered audio when a user interrupts a response.","practice":"The practitioner chooses an audio architecture, transport and turn-detection policy based on the application. They design interruption behavior, timeouts, tool-result announcements and escalation paths. Sensitive entities such as addresses need confirmation because speech recognition can be uncertain. Evaluation includes noisy environments, accents, overlapping speech and delayed tools. Useful outputs include conversation traces aligned with audio events and a tested policy for resuming after interruption. Perceived responsiveness must be measured together with task accuracy and whether spoken confirmations match committed actions.","example":"A caller asks a booking assistant to change an appointment to Thursday afternoon. The agent repeats the proposed date and time before submitting the update. While it describes an unavailable slot, the caller interrupts with a different preference; playback stops and the new turn is interpreted using the latest booking state. A test checks that the previously spoken alternative was never committed and that the final confirmation corresponds to the appointment returned by the booking tool.","limits":"Fast speech output can still deliver a wrong action or talk over the user. Transcription errors, uncertain names and tool latency can break an otherwise fluent conversation. A pipeline needs explicit handling for partial input and cancelled output, not just lower average response time. Quality includes intelligibility, interruption recovery, accurate entity capture and clear handoff when speech is insufficient. Voice interfaces also need accessible alternatives for people or environments where speaking and listening are impractical.","sources":[{"title":"OpenAI voice agents guide","url":"https://developers.openai.com/api/docs/guides/voice-agents","note":"Compares audio-native, continuous voice and chained architectures and their implications for agent workflows."}],"updatedAt":"2026-11-02"}},{"id":"ai-agent-design","name":"AI Agent Design","category":"Agent Architecture & Memory","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"AI agent design defines how a model observes a task, chooses actions, uses tools and decides when to stop. It turns a broad goal into an executable control structure with state, permissions and feedback, so autonomous decisions can be inspected and evaluated against the intended outcome.","type":"concept","editorial":{"definition":"An agent combines a decision-making component with an environment it can observe and affect. In a language-model agent, prompts and tool descriptions help select actions, while application code executes them and returns observations. Architectures range from a bounded tool loop to a graph with planning, execution and review stages. ReAct illustrates the interleaving of reasoning and environment interaction; other designs separate planning from execution. The defining issue is where decisions are delegated to the model and where deterministic rules control progression. A multi-step workflow does not require every step to be autonomous, and adding more agents is a separate architectural choice.","practice":"The practitioner starts with tasks and failure costs, identifies necessary tools and decides which transitions need explicit control. They specify state, completion criteria, error handling and limits on actions or resources. Tool contracts should expose meaningful operations rather than unnecessary implementation detail. A useful design includes a control diagram, permission boundaries and evaluation tasks that exercise recovery as well as success. Simpler deterministic steps can handle known sequences, leaving model decisions for ambiguity that actually benefits from flexible interpretation.","example":"A maintenance assistant must locate a relevant manual and draft an answer supported by the correct revision. Its design permits searching and reading documents, requires source references in the draft and routes missing evidence to an uncertainty response. It does not need authority to operate equipment. Test tasks deliberately include an obsolete manual and an ambiguous part number so the designer can inspect whether the agent requests clarification or stops before asserting an unsupported procedure.","limits":"A persuasive reasoning trace is not proof of successful work. Agents may repeat tools, drift from the original goal or accept external text as new instructions. Architecture should be judged by observable task behavior, recoverability and resource use. More elaborate loops can reduce predictability without improving outcomes. A strong design exposes enough state for diagnosis and makes consequential permissions enforceable outside the model, rather than relying on a general request to behave responsibly.","sources":[{"title":"ReAct: Synergizing Reasoning and Acting in Language Models","url":"https://arxiv.org/abs/2210.03629","note":"Introduces interleaved language-model reasoning and actions that obtain feedback from an environment."}],"updatedAt":"2026-11-02"}},{"id":"agent-state-management","name":"Agent State Management","category":"Agent Architecture & Memory","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"Agent state management keeps the information and execution status needed to continue an agent's work coherently. It covers task progress, messages, tool results, pending decisions and durable checkpoints, allowing a run to pause, recover or resume without losing context or repeating effects unintentionally.","type":"concept","editorial":{"definition":"State is the structured representation of a run at a particular point. It may contain the original goal, accumulated evidence, completed steps, current ownership and references to external artifacts. A transition reads that state and produces an update; a persistence layer may save a checkpoint for later recovery. This differs from long-term memory, which carries selected information across separate tasks or conversations. Conversation history is only one possible state component and often cannot express transactional status reliably. Durable state also needs identifiers that connect resumed execution with the right user, run and external operation.","practice":"The practitioner defines a state schema, transition rules and which fields may be updated concurrently. Checkpoints should be stored durably when recovery matters, with retention and access controls appropriate to the data. Tools with side effects need idempotency keys or reconciliation logic because a restarted step can run again. Useful artifacts include a transition model, checkpoint records and recovery tests. The system should expose whether it is executing, waiting for input, failed or complete, rather than deriving every status from model-generated prose.","example":"An invoice-review agent pauses after finding a disputed line item. Its checkpoint records the invoice identifier, extracted evidence, completed validations and the exact question awaiting review. After a restart, the reviewer supplies an answer and the agent resumes from that checkpoint. A test verifies that the already-created review ticket is linked instead of created twice, and that another user's invoice cannot be loaded by reusing a run identifier.","limits":"Persisting all messages indefinitely creates storage, privacy and context-management problems. A checkpoint can restore application state while the external world has changed, so resumed work may need fresh observations. Concurrent updates can overwrite each other without explicit merge semantics. Quality requires meaningful recovery behavior and consistent external effects, not merely successful serialization. State migrations also matter: a saved run from an earlier schema version must be interpreted or rejected deliberately when the application changes.","sources":[{"title":"LangGraph persistence","url":"https://docs.langchain.com/oss/python/langgraph/persistence","note":"Explains checkpoint persistence and the operational difference between in-memory and durable checkpoint storage."}],"updatedAt":"2026-11-02"}},{"id":"agentic-planning-task-decomposition","name":"Agentic Planning & Task Decomposition","category":"Agent Architecture & Memory","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"Agentic planning and task decomposition break a goal into actions or subgoals that an agent can execute and revise. The skill includes identifying dependencies, selecting the right level of detail and updating the plan when observations invalidate assumptions, while preserving a clear criterion for completion.","type":"concept","editorial":{"definition":"A planner represents how intermediate results could lead to the desired outcome. A language-model plan may be a sequence of instructions, a dependency graph or a hierarchy of tasks, while execution produces observations that can trigger replanning. Planner–executor separation makes the proposed steps explicit before another component performs them. Plan-and-Solve is a prompting example of decomposing before solving; formal planning systems may instead use specified actions and preconditions. These are related approaches with different guarantees. A verbal plan is a hypothesis about the task, and its feasibility depends on available tools, resources and the current environment.","practice":"The practitioner defines the goal and available actions, then chooses a planning representation suited to dependencies and uncertainty. Each subtask should have an observable result and a reason for being necessary. The execution policy needs rules for failed preconditions, missing information and plan revision. A useful deliverable is an inspectable plan linked to actual task results. Evaluation checks whether decomposition omits required work, creates unnecessary steps or prevents adaptation after discovering that the original route cannot succeed.","example":"An agent is asked to prepare a migration checklist for a service. It decomposes the task into inventorying dependencies, checking compatibility, identifying data-transfer requirements and defining rollback steps. When it discovers a dependency that cannot run on the target runtime, it adds a compatibility decision before deployment preparation. A reviewer inspects that dependency in the plan and verifies that subsequent tasks wait for the decision instead of treating the initial sequence as immutable.","limits":"A detailed plan can create false confidence when its assumptions remain untested. Over-decomposition wastes time, while broad subtasks hide important dependencies. Plans may also drift as intermediate outputs redefine the goal. Quality depends on executable steps, clear completion evidence and sensible replanning triggers. Formal guarantees available in a specified planning model do not automatically transfer to natural-language plans generated by an LLM, especially when tools expose uncertain or changing external behavior.","sources":[{"title":"Plan-and-Solve Prompting","url":"https://arxiv.org/abs/2305.04091","note":"Studies a two-stage prompting method that first decomposes a problem and then carries out the resulting plan."}],"updatedAt":"2026-11-02"}},{"id":"reflection-self-refinement","name":"Reflection & Self-Refinement","category":"Agent Architecture & Memory","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"Reflection and self-refinement use feedback on an initial attempt to guide a subsequent attempt. An agent may critique its answer, interpret test results or retain lessons from a failed action, but improvement must be established by checking the revised result against an independent task criterion.","type":"concept","editorial":{"definition":"A refinement loop produces an output, obtains feedback and uses that feedback to revise the output or a later decision. Self-Refine uses a model for generation, feedback and revision without updating its weights. Reflexion retains verbal feedback in episodic memory to influence subsequent attempts. Both operate through context and control flow, rather than necessarily training a new model. Feedback can come from an external test, a human or the model itself, and those sources have different reliability. Reflection is therefore a reusable inference-time pattern whose value depends on whether the feedback identifies an actionable defect.","practice":"The practitioner defines a critique rubric, feedback source, revision budget and stopping rule. Feedback should point to specific errors or unmet requirements, and revisions should preserve already-correct parts of the result. External checks are preferable when correctness can be measured directly. A useful trace links each revision to the defect it was intended to fix. Evaluation compares the initial and revised outputs, including cases where refinement degrades the answer or merely changes wording without resolving the underlying problem.","example":"A code agent writes a parser and runs a test containing a quoted delimiter. The failure becomes concrete feedback: its splitting rule ignores quoting. The agent revises the parser and reruns both the failing test and earlier cases. In a separate prose task, a critic checks whether each requested section is present before revision. The evaluator distinguishes a repaired defect from an answer that has simply become longer or more confident.","limits":"A model can share its own original misconception when acting as critic, or invent a defect in a correct answer. Repeated revisions may oscillate or consume resources without progress. Verbal reflection also does not prove that a lesson will transfer to new situations. Quality requires measurable correction, a bounded loop and careful retention of useful feedback. Calling the mechanism reinforcement learning can be misleading when the procedure changes context but leaves model weights unchanged.","sources":[{"title":"Self-Refine: Iterative Refinement with Self-Feedback","url":"https://arxiv.org/abs/2303.17651","note":"Defines generation, self-feedback and refinement without additional model training."},{"title":"Reflexion: Language Agents with Verbal Reinforcement Learning","url":"https://arxiv.org/abs/2303.11366","note":"Describes storing verbal feedback in episodic memory to influence later attempts rather than updating weights."}],"updatedAt":"2026-11-02"}},{"id":"self-improving-agents","name":"Self-Improving Agents","category":"Agent Architecture & Memory","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"Self-improving agents generate changes to components that govern their own future behavior, such as prompts, code or tool-selection policies. A separate evaluation and acceptance process decides whether a proposed change is useful, making improvement an experimentally tested system modification rather than an agent's claim about itself.","type":"concept","editorial":{"definition":"The system exposes some part of its implementation as a candidate for revision. An agent proposes a change, evaluates the candidate on specified tasks and selects or rejects it under a comparison procedure. The modified component may be an inference-time program, not the underlying model weights. This distinguishes self-improvement from ordinary self-refinement, which revises an answer within a task, and from model retraining, which updates learned parameters. In a coding-agent setting, the search process can edit the agent's scaffold while keeping the evaluation harness fixed. The scope of editable components determines what the process can actually improve.","practice":"The practitioner identifies editable components, freezes an evaluation protocol and keeps candidate versions recoverable. Evaluation should include held-out tasks, resource costs and behavior that the proposed change might break. Acceptance needs an external decision rule rather than allowing the candidate to redefine success. Useful artifacts include candidate diffs, comparison results and a rollback path. Restricting access to evaluator code and deployment credentials separates generating an improvement proposal from granting it authority over the system that judges or releases that proposal.","example":"A coding agent proposes replacing a broad file-reading step with targeted search in its own task scaffold. The candidate is evaluated on unfamiliar repositories alongside the existing scaffold. The comparison checks task completion, missed context and resource use. A change that works on the development tasks but fails on an unseen project is rejected. An accepted candidate remains versioned so later regressions can be traced to the modified search policy.","limits":"Optimizing a fixed evaluator can overfit its tasks or exploit weaknesses in its measurements. More successful attempts under a larger budget do not necessarily establish a better agent at equal cost. An agent should not be allowed to alter the acceptance criterion unnoticed. Quality requires preserved evaluation boundaries, reproducible comparisons and monitoring after adoption. The term does not imply unlimited recursive improvement or general progress; it describes a bounded search over changes that a particular system can generate and test.","sources":[{"title":"A Self-Improving Coding Agent","url":"https://arxiv.org/abs/2504.15228","note":"Studies an agent that modifies its own coding scaffold and evaluates candidate changes in a controlled task setting."}],"updatedAt":"2026-11-02"}},{"id":"ai-guardrails","name":"AI Guardrails","category":"Agent Control & Oversight","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"AI guardrails are controls that check or constrain model inputs, outputs and proposed actions against application rules. They can combine deterministic validation, classifiers and review steps, with a defined response to violations, so acceptable behavior is enforced at specific points in an AI workflow.","type":"concept","editorial":{"definition":"A guardrail evaluates a boundary condition such as an output schema, prohibited content category, tool permission or required evidence. Some checks operate before generation, others examine a completed response, and action checks can run before a tool executes. Deterministic rules are useful for explicit constraints; model-based checks handle less easily specified judgments but introduce uncertainty. A guardrail is separate from the model's general instructions and from the underlying authorization system. It can block, redact, request revision or escalate a result. The choice of intervention matters because detecting a violation after an external action cannot undo the action.","practice":"The practitioner converts requirements into named checks, identifies where each check runs and defines fail-open or fail-closed behavior deliberately. Test cases should include acceptable requests that resemble violations, not only obvious attacks. Action guardrails need to inspect actual tool arguments and user authority. A useful result is a policy map with tested interventions and observable decisions. Monitoring records false positives, missed violations and latency so a control can be adjusted without silently weakening the protected boundary.","example":"An assistant drafts customer-facing responses and can request a refund through a tool. One check validates that the draft contains no unsupported delivery promise; a separate check verifies the refund amount against the authenticated customer's order and approval policy. A blocked tool call is returned as a structured policy failure. Tests include a legitimate high-value order and a malicious request embedded in a quoted email, ensuring that content classification does not replace authorization.","limits":"Model-based guardrails can inherit the errors or susceptibility of the system they check. A broad refusal rule can prevent legitimate work, while a narrow phrase filter can be bypassed through paraphrase. Schema validity says little about truth or permission. Quality requires checks tied to concrete requirements, enforcement before consequential effects and a measured response to uncertainty. Guardrails reduce particular failure modes; they do not certify the entire application or replace careful tool design and access control.","sources":[{"title":"LangChain guardrails","url":"https://docs.langchain.com/oss/python/langchain/guardrails","note":"Describes deterministic and model-based controls around input, output and agent execution."}],"updatedAt":"2026-11-02"}},{"id":"agent-sandboxing","name":"Agent Sandboxing","category":"Agent Control & Oversight","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"Agent sandboxing isolates the environment in which an agent executes code or tools, limiting the resources and external systems it can affect. The practitioner configures filesystem, network, process and credential boundaries so untrusted actions have a contained execution scope and can be stopped or discarded.","type":"concept","editorial":{"definition":"A sandbox creates a restricted execution context using mechanisms such as containers, virtual machines, microVMs or system-call interception. These mechanisms differ in isolation strength, compatibility and startup cost. An agent sandbox may additionally restrict network destinations, mount selected files and inject only task-specific credentials. Its purpose is to enforce boundaries even when generated code or an external instruction is incorrect. This differs from output guardrails, which inspect content or proposed actions. Isolation controls what execution can reach; policy determines what it should be allowed to do. Both are needed when an agent can perform effects beyond producing text.","practice":"The practitioner identifies the assets exposed to execution, chooses an isolation mechanism and tests its actual restrictions. Limits on CPU, memory, disk and runtime contain resource abuse. Writable mounts and network access should match the task, and credentials should have narrow scope and short lifetimes where possible. Useful artifacts include an environment specification and containment tests for disallowed files, destinations and processes. Cleanup rules remove temporary state while preserving explicitly requested outputs and the logs needed to inspect a run.","example":"An analysis agent runs a script supplied through a document-processing task. The sandbox provides the uploaded files and a temporary output directory but no production database credentials. Outbound network access is disabled because the task needs only local computation. Tests attempt to read an unrelated host file, spawn excessive processes and write beyond the mount. The valid output is exported after inspection, while the environment is destroyed at the end of the run.","limits":"A container configuration alone does not establish strong isolation from every host vulnerability. Permitted credentials or network paths can still allow harmful actions inside the authorized boundary. Sandbox escapes, shared-resource leaks and configuration errors require attention to the chosen mechanism's threat model. Quality means verified restrictions and controlled artifact export, not simply calling an environment a sandbox. Isolation also does not make generated results trustworthy; task correctness needs separate validation after contained execution.","sources":[{"title":"What is gVisor?","url":"https://gvisor.dev/docs/","note":"Explains application-kernel isolation, its security purpose and compatibility tradeoffs relative to ordinary containers."}],"updatedAt":"2026-11-02"}},{"id":"human-in-the-loop-ai","name":"Human-in-the-Loop AI","category":"Agent Control & Oversight","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"Human-in-the-Loop AI places a person's judgment at a defined point in an AI process, such as approving an action, resolving ambiguity or correcting a result. The skill is designing an effective decision handoff with relevant evidence, clear authority and reliable continuation after the person responds.","type":"concept","editorial":{"definition":"The system pauses or routes work when a condition requires human input. It presents the state needed for a decision, receives an authorized response and resumes under a defined transition. The person may approve a proposed effect, supply missing information or revise an intermediate artifact. This differs from passive monitoring or an optional feedback button: human involvement changes the process at an operational point. Durable state is often needed because the response may arrive after the original worker stops. Responsibility remains explicit: the model prepares a proposal, while the human decides within the scope assigned to that role.","practice":"The practitioner determines which decisions require review and what reviewers must see to make them competently. A handoff should show the proposed action, affected object, relevant evidence and available alternatives. Timeouts and rejection behavior need explicit handling. Useful outputs include a review interface, decision record and tested resume path. Review workload should be measured so people are not overwhelmed with low-value approvals. Recovery tests check that an approved action happens once and that a rejected proposal cannot continue through another path.","example":"A procurement assistant prepares a purchase request and pauses before submission. The reviewer sees the supplier, quantity, price, comparison evidence and the exact request to be sent. They change the quantity and approve the revised proposal. The agent resumes with that decision recorded and submits the approved version. A test interrupts the process after approval but before acknowledgement, then verifies that recovery reconciles the existing request rather than submitting a duplicate.","limits":"Human review can become ceremonial when people lack time, context or authority to challenge the proposal. A confirmation requested after an irreversible effect provides little control. Reviewers can also accept confident but unsupported explanations. Quality requires a decision that is understandable, timely and enforceable, with the relevant evidence available. Human involvement should address a specific uncertainty or responsibility; adding approval prompts to every step can increase fatigue and reduce attention to consequential decisions.","sources":[{"title":"LangGraph interrupts","url":"https://docs.langchain.com/oss/python/langgraph/interrupts","note":"Documents durable pause-and-resume execution, approval payloads and replay considerations around human decisions."}],"updatedAt":"2026-11-02"}},{"id":"resource-aware-agent-optimization","name":"Resource-Aware Agent Optimization","category":"Agent Control & Oversight","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"Resource-aware agent optimization allocates model calls, tools and execution time according to task needs and operating constraints. It uses routing, budgets and stopping rules to control the cost and latency of agent behavior while checking that cheaper or shorter paths still meet the required quality.","type":"concept","editorial":{"definition":"An agent's resource use depends on its whole trajectory: model choice, context length, repeated searches, tool latency and revision loops. Resource-aware control chooses among these options using task difficulty, intermediate evidence or a remaining budget. A model cascade may try a less expensive system first and escalate when confidence or validation is insufficient. A controller can also stop unproductive retries or shorten redundant context. This is different from simply selecting the cheapest model. The optimization concerns expected task outcomes under constraints, and must account for the cost of failures, recovery and additional evaluation.","practice":"The practitioner measures end-to-end cost and latency on representative tasks, then identifies the decisions that consume resources without sufficient benefit. Routing criteria should be evaluated rather than inferred from model confidence alone. Budgets can limit calls, wall-clock time and expensive tools separately. A useful result includes a routing policy, termination rules and a matched comparison against a simpler baseline. Evaluation tracks task success together with resources, including the cases in which early escalation or a longer run is justified.","example":"A support agent routes straightforward status questions to a small model using a narrow lookup tool. Questions requiring reconciliation across several records use a larger model and a longer execution budget. If the first route fails schema or evidence checks, it escalates with the observations already gathered. Tests include deceptive simple-looking questions, ensuring that the cheap path does not produce unsupported answers merely to remain below its budget.","limits":"Difficulty estimates can be wrong, and savings on successful calls can be offset by retries or user correction. Confidence from the same model may not reliably identify errors. Hard limits can terminate useful work before completion, so the system needs a meaningful incomplete result or escalation. Quality depends on comparable task coverage and budgets, not just lower token counts. Energy claims additionally require measured hardware and utilization data; fewer API calls alone do not establish lower total energy use.","sources":[{"title":"FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performance","url":"https://arxiv.org/abs/2305.05176","note":"Studies cost-aware model cascades and the joint tradeoff between expenditure and task performance."}],"updatedAt":"2026-11-02"}},{"id":"langchain","name":"LangChain","category":"Agent Frameworks","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"LangChain is a framework for composing language-model applications from model interfaces, tools and an agent harness. Using it well means configuring the model loop and its surrounding behavior, connecting integrations and validating task outcomes, while understanding which execution and state facilities are supplied by the framework.","type":"tool","editorial":{"definition":"LangChain provides abstractions for interacting with models and tools across integrations, together with an agent construction interface and middleware for modifying execution. Its current agent layer is built on LangGraph, which supplies lower-level orchestration and persistence capabilities. The framework does not constitute a model or guarantee correct reasoning. It standardizes how components are connected so application code can focus on task behavior. This differs from LangGraph's more explicit control-graph programming. The relevant competence is choosing abstractions that fit an application and understanding the actual messages, tool calls and transitions those abstractions produce at runtime.","practice":"A practitioner binds a model and clearly specified tools, adds only the middleware required by the task and inspects the resulting execution trace. Provider differences still need testing, especially tool schemas, streaming and output formats. Dependencies and integration versions should be pinned. A useful implementation includes typed tool inputs, bounded execution and tests against realistic requests. Framework convenience should not obscure authorization or external side effects; those remain responsibilities of the application and the services behind the tools.","example":"A developer creates a document assistant with a retrieval tool and a citation-checking output step. LangChain supplies the model and tool interfaces, while the developer defines the permitted collection and what counts as an acceptable answer. Traces reveal that the agent calls retrieval twice for a vague request, leading to a clarification rule. The implementation is evaluated on missing documents and tool errors before replacing an existing fixed retrieval workflow.","limits":"An integration can expose different behavior after a library or provider upgrade, and a uniform interface does not remove those differences. Excessive abstraction makes debugging harder when messages or retries are hidden. Quality depends on observable task behavior, stable contracts and explicit state handling. Choosing LangChain does not automatically create a reliable agent; application-specific evaluation, tool restrictions and recovery behavior must still be implemented and maintained around the framework's primitives.","sources":[{"title":"LangChain overview","url":"https://docs.langchain.com/oss/python/langchain/overview","note":"Defines the configurable agent harness, standard model interfaces, middleware and relationship to LangGraph."}],"updatedAt":"2026-11-02"}},{"id":"langgraph","name":"LangGraph","category":"Agent Frameworks","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"LangGraph is an orchestration framework for stateful workflows and agents expressed through nodes, transitions and shared state. It lets a practitioner combine deterministic steps with model decisions, persist progress and interrupt execution for external input, making the control structure of a long-running task explicit.","type":"tool","editorial":{"definition":"A LangGraph application defines work units and how execution moves between them. Nodes read and update state; edges or commands select the next work. Cycles support repeated model-tool interaction, while persistence and interrupts enable recovery and human decisions. The framework is concerned with execution structure rather than prescribing a particular agent personality or prompting method. It can implement a single agent, multiple cooperating agents or a workflow with little autonomous behavior. This distinguishes it from a higher-level agent constructor. Understanding state updates and replay behavior is essential because durable continuation can revisit code around a saved transition.","practice":"The practitioner defines a state schema and control graph, chooses a checkpoint backend and makes termination conditions explicit. Parallel branches require careful handling of shared state and merge rules. Side-effecting steps should be idempotent or reconciled during recovery. Useful artifacts include the graph, transition traces and tests for interrupted runs. The developer evaluates the paths created by tool errors and missing evidence, not only the intended success path, and keeps operational status separate from a model's textual account of progress.","example":"A contract-review workflow extracts clauses, checks them against a policy and pauses on disputed findings. A LangGraph node stores the evidence and another node receives the reviewer decision before producing the final report. The graph records which documents and policy version were used. Recovery testing restarts the worker during the review pause and confirms that the decision resumes the same review without duplicating an external issue or losing previously completed checks.","limits":"A graph can make transitions visible while still containing unreliable model judgments. Checkpointing does not automatically provide transactional guarantees for external tools. Poorly designed cycles can continue indefinitely, and conflicting state updates can corrupt parallel work. Quality requires clear state semantics, bounded paths and tested recovery. LangGraph is useful when explicit control and durable state solve a real requirement; a simple single-call task may not benefit from the added orchestration machinery.","sources":[{"title":"LangGraph overview","url":"https://docs.langchain.com/oss/python/langgraph/overview","note":"Describes low-level orchestration, durable execution, state, streaming and human-in-the-loop capabilities."}],"updatedAt":"2026-11-02"}},{"id":"llamaindex","name":"LlamaIndex","category":"Agent Frameworks","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"LlamaIndex is a framework for connecting language-model applications to external data through ingestion, indexing, retrieval and agent workflows. The practitioner uses its data abstractions to preserve document context and build query or tool interfaces, then verifies that retrieved evidence supports the application's answers and actions.","type":"tool","aliases":["llama index"],"editorial":{"definition":"The framework organizes source data into representations that can be indexed and retrieved, with connectors, document processing and query components. Retrieval outputs can feed an answer generator or become tools available to an agent. Workflow facilities coordinate steps when data access is part of a larger process. LlamaIndex therefore spans both data-oriented language-model applications and agent execution, rather than being only a vector database or a model. An index determines how information can be located; an agent decides whether and how to use the exposed interfaces. The application must still define source permissions, provenance and what constitutes a correct response.","practice":"A practitioner chooses connectors and parsing rules, preserves metadata and selects indexing and retrieval methods suited to the documents. They inspect query results before relying on generated answers. If retrieval is exposed as a tool, its description and return format should communicate scope and source references. Useful deliverables include a versioned ingestion pipeline and evaluated query interface. Changes to parsing, chunking or embedding models require checking both retrieval behavior and downstream answers because framework defaults may not fit the source material.","example":"A team builds an assistant over equipment manuals and service bulletins. LlamaIndex loads the documents, carries revision metadata into indexed nodes and exposes a query tool. The assistant retrieves both a manual section and a later bulletin before answering a compatibility question. Evaluation includes obsolete revisions and tables whose meaning depends on nearby headings, allowing the team to inspect whether processing preserves the evidence needed for an accurate answer.","limits":"Connector availability does not guarantee clean data, and indexing does not establish that the right passage will be retrieved. Lost table structure or revision metadata can produce confidently outdated answers. Agent features also need limits and permissions independent of retrieval configuration. Quality depends on source fidelity, retrieval coverage and faithful use of evidence. Framework choice should not conceal the underlying data transformations: when an answer fails, the practitioner must be able to distinguish ingestion, retrieval and generation errors.","sources":[{"title":"LlamaIndex framework documentation","url":"https://developers.llamaindex.ai/python/framework/","note":"Covers data connectors, indexing, querying, agents and workflows for data-connected language-model applications."}],"updatedAt":"2026-11-02"}},{"id":"pydantic-ai","name":"Pydantic AI","category":"Agent Frameworks","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"Pydantic AI is an agent framework that connects model interaction with typed dependencies, tools and validated outputs. It helps a practitioner express data contracts in Python and handle validation feedback, while keeping semantic correctness, authorization and application behavior as separate responsibilities beyond satisfying a schema.","type":"tool","editorial":{"definition":"An agent is configured with a model, instructions, tools and an expected output type. Pydantic-based validation checks whether returned data conforms to the declared structure; tool signatures and dependency types help organize application integration. Validation feedback can be used in retries when a model returns an unacceptable shape. The framework also supplies execution and observability facilities around the interaction. This differs from a model merely being asked to emit JSON: the application has an explicit contract it can enforce. A valid object, however, can still contain a wrong fact or an action outside the user's authority.","practice":"The practitioner defines output models with meaningful constraints, provides dependencies through the execution context and keeps tool responsibilities narrow. Validation errors should be actionable, and retry budgets should prevent endless attempts at an impossible contract. Useful results include typed outputs, clear error handling and traces that connect validation to subsequent model behavior. Evaluation covers valid but incorrect objects as well as malformed outputs, checking that business rules and external permissions are enforced by ordinary application code where appropriate.","example":"A document agent extracts a delivery instruction into an object containing address, date and source reference. Pydantic validation rejects an invalid date representation, so the agent retries using the document evidence. A separate business check detects that the cited passage refers to an old order, even though the object is structurally valid. The task completes only after the extracted fields and source association are reviewed against the current order.","limits":"Strong typing reduces certain integration errors but does not make model judgments type-safe in a broader semantic sense. Overly permissive fields can admit meaningless content, while restrictive schemas can force uncertain information into an apparently complete object. Retry behavior must not conceal unresolved extraction uncertainty. Quality combines meaningful types, independent business checks and honest representation of missing values. Version changes can affect interfaces, so dependencies and provider-specific output behavior need testing in the actual application environment.","sources":[{"title":"Pydantic AI overview","url":"https://pydantic.dev/docs/ai/overview/","note":"Describes typed agent dependencies, tools, structured outputs and validation-oriented application integration."}],"updatedAt":"2026-11-02"}},{"id":"agent-memory-systems","name":"Agent Memory Systems","category":"Agent Architecture & Memory","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"Agent memory systems store and retrieve information that may be useful across steps, sessions or tasks. They select what to retain, associate it with the right person or context and supply relevant records later, helping continuity without treating every past statement as a permanent or authoritative fact.","type":"concept","editorial":{"definition":"Memory can include recent conversation state, selected facts, preferences, past events or summaries of prior work. A memory system has write, update, retrieval and deletion behavior, often using structured stores, embeddings or graph relationships. Some systems extract candidate facts from interactions before storing them. This differs from simply appending all messages to a context window and from checkpointing a run for recovery. Memory changes the information available to future decisions; it does not necessarily update model weights. The design must represent provenance, age and ownership because useful recollection and accidental persistence of a mistaken statement can look similar to a generator.","practice":"The practitioner defines retention criteria, user boundaries and how conflicting or obsolete records are handled. Retrieval should select relevant memory rather than injecting everything available. Explicit user corrections and deletion requests need reliable update paths. Useful artifacts include a memory schema, provenance records and tests for cross-user isolation and stale facts. Evaluation asks whether memory improves continuity on future tasks and whether incorrect retention causes failures. Storage and disclosure rules should match the purpose for which the information was collected.","example":"A travel-planning assistant remembers that a user prefers rail journeys after an explicit preference statement. On a later request, it retrieves that preference but still considers the destination and schedule. When the user says the preference applied only to a past trip, the memory is scoped or removed. Tests confirm that another user's recommendations do not inherit it and that deleting the record affects subsequent retrieval rather than merely hiding it in the interface.","limits":"Extracted memories can flatten qualifications, preserve temporary preferences or amplify an early error. Summaries may lose the evidence needed to resolve contradictions. More memory is not automatically more useful, and personalization can become intrusive if retention is not visible or controllable. Quality requires relevant retrieval, accurate updates, provenance and deletion behavior. Long-term memory should not be confused with current external truth: an old remembered schedule still needs verification before it supports a new decision.","sources":[{"title":"How Mem0 works","url":"https://docs.mem0.ai/core-concepts/how-it-works","note":"Explains extraction, storage and retrieval of selected memory records rather than replaying entire conversations."}],"updatedAt":"2026-11-02"}},{"id":"model-context-protocol","name":"Model Context Protocol","category":"Tool Use & Agent Protocols","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"Model Context Protocol is an open protocol for connecting AI applications to tools, resources and reusable prompts exposed by servers. It standardizes discovery and communication across integrations, while the host application remains responsible for deciding what the model may access and when an operation is authorized.","type":"concept","editorial":{"definition":"MCP separates a host application from clients that communicate with servers providing capabilities. Servers can advertise tools for actions, resources for contextual data and prompts for reusable interaction patterns. The protocol defines messages and lifecycle behavior so an integration can be reused by compatible hosts. This differs from function calling, which describes how a model requests a tool within a model interaction; an MCP-backed tool can be exposed through that mechanism. It also differs from agent-to-agent protocols concerned with delegating work to another agent. Protocol compatibility does not imply that every host supports every feature or that a discovered tool is safe to invoke.","practice":"The practitioner implements or selects a server, chooses a supported transport and verifies capability discovery and tool contracts. Authentication and authorization need to match the connected service and user. Tool descriptions should state scope and effects clearly. Useful outputs include an integration contract, permission mapping and tests for malformed requests, unavailable servers and cancellation. Returned resources and tool content remain data for the application to interpret; connecting a server should not allow its text to redefine the user's instructions or grant new authority.","example":"A company exposes a read-only documentation search service through an MCP server. A host discovers the search tool, invokes it with a query and receives passages with document identifiers and URLs. A separate write-capable issue tool is available only to authorized users and requires an application-side action policy. Integration tests check both discovery and denied operations, showing that sharing a protocol endpoint does not collapse the distinction between reading evidence and changing records.","limits":"MCP standardizes an interface, not the truth of results or reliability of the server. Tool schemas can be valid while descriptions are misleading or permissions are too broad. Hosts and servers may implement different protocol versions or optional features. Quality requires tested compatibility, explicit trust boundaries and observable authorization decisions. A large tool catalog can also complicate selection, so discovery should support meaningful scope without assuming that exposing more capabilities always improves agent behavior.","sources":[{"title":"Model Context Protocol architecture overview","url":"https://modelcontextprotocol.io/docs/learn/architecture","note":"Defines host, client and server responsibilities and the protocol's tools, resources, prompts and communication model."}],"updatedAt":"2026-11-02"}},{"id":"multi-agent-coordination-patterns","name":"Multi-Agent Coordination Patterns","category":"Multi-Agent Systems","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"Multi-agent coordination patterns define how several agents divide work, exchange information and transfer control. Common arrangements include a supervisor with workers, sequential handoffs, parallel specialists and reviewer roles. The practitioner selects a topology that matches task dependencies and makes ownership, shared state and final acceptance explicit.","type":"concept","editorial":{"definition":"A coordination pattern describes the relationships between participants rather than the capabilities of an individual model. In a supervisor pattern, one agent delegates and combines results; in a handoff, responsibility passes to another participant; in a parallel pattern, independent branches run before their results are merged. Voting or critic roles introduce different decision rules. These arrangements determine who sees which context, who can call tools and how disagreements are handled. The pattern is distinct from orchestration, which implements scheduling and lifecycle behavior. Labels such as swarm do not specify reliable coordination unless messages, authority and termination are defined.","practice":"The practitioner maps task dependencies and chooses roles only where separation provides a benefit. They define input and output contracts, context-sharing rules and a final decision owner. Parallel branches need a merge policy, while handoffs need a clear transfer of responsibility. A useful design includes a topology and test cases for conflicting or incomplete results. Comparison with a single-agent baseline checks whether the additional participants improve coverage or specialization enough to justify their communication overhead.","example":"A product-comparison task assigns independent specialists to storage, authentication and migration behavior. A coordinator supplies the same requirements to each and combines their findings only after checking source references. The authentication specialist identifies a dependency that changes the migration advice, so the coordinator routes a targeted follow-up. A test verifies that contradictory findings remain visible in the final review instead of being averaged into an unsupported consensus.","limits":"Extra agents can duplicate work, propagate one another's mistakes or create unclear ownership. Voting among closely related models does not provide independent evidence. A hierarchical manager may become a bottleneck, while unrestricted peer communication can be difficult to debug. Quality depends on task-appropriate separation, explicit contracts and an enforceable stopping rule. The number of roles is not a measure of sophistication; coordination is useful when it solves a concrete dependency or information-boundary problem.","sources":[{"title":"LangChain multi-agent patterns","url":"https://docs.langchain.com/oss/python/langchain/multi-agent","note":"Compares subagents, handoffs and routing, including their control and context-sharing arrangements."}],"updatedAt":"2026-11-02"}},{"id":"multi-agent-debate","name":"Multi-Agent Debate","category":"Multi-Agent Systems","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"Multi-agent debate asks several model participants to propose answers, examine one another's arguments and revise their positions before a final decision. It is an inference-time technique for exposing alternative reasoning, with value assessed by correctness and evidence quality rather than the participants' eventual agreement.","type":"concept","editorial":{"definition":"A debate protocol specifies initial proposals, who can inspect which responses, the number of discussion rounds and how the final answer is selected. Participants may critique assumptions, identify missing steps or offer competing interpretations. Some implementations use the same model with different contexts, while others vary models or assigned roles. This differs from simple majority voting, which aggregates answers without an exchange, and from independent review against an external test. Debate changes the context available to each participant; it does not inherently add new factual evidence or update the models' parameters.","practice":"The practitioner chooses problems where disagreement can reveal a meaningful defect and defines a bounded exchange protocol. Initial responses should remain independent when diversity is important. Critiques need to address specific evidence or reasoning steps. A useful experiment compares debate with matched-budget independent sampling and a single-model baseline. Traces retain the original positions and revisions so evaluators can detect persuasion without correction. Final selection can use external verification when the task offers a checkable answer.","example":"Three agents analyze a scheduling puzzle independently, then inspect the constraints omitted by other participants. One identifies that two events must occupy different days, invalidating an early proposal. After one revision round, a deterministic constraint checker evaluates the candidate schedule. If all agents converge on an invalid arrangement, the checker rejects it. The example tests whether discussion repairs reasoning, rather than treating unanimous prose as sufficient proof.","limits":"Participants can share a misconception or be persuaded by confident but incorrect arguments. More rounds may homogenize answers and increase cost without improving accuracy. Role prompts do not necessarily create independent expertise. Quality requires evaluation of final correctness, informative disagreement and the cost of the exchange. Debate is poorly suited to resolving facts that require unavailable evidence; argument alone cannot replace a source lookup, calculation or experiment needed to establish the disputed claim.","sources":[{"title":"Improving Factuality and Reasoning in Language Models through Multiagent Debate","url":"https://arxiv.org/abs/2305.14325","note":"Introduces multi-round exchanges among language-model instances and evaluates their effect on reasoning and factual tasks."}],"updatedAt":"2026-11-02"}},{"id":"multi-agent-orchestration","name":"Multi-Agent Orchestration","category":"Multi-Agent Systems","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"Multi-agent orchestration implements the execution of tasks involving several agents: dispatching work, tracking dependencies, managing messages and handling completion or failure. It makes coordination operational through durable state, scheduling and conflict policies, so the system can recover and produce a coherent result when participants behave asynchronously.","type":"concept","editorial":{"definition":"An orchestrator manages the lifecycle around agent decisions. It creates tasks, assigns owners, routes results and decides when downstream work may start. It can use deterministic rules, an agent supervisor or a combination. Coordination patterns describe the topology; orchestration supplies the running machinery, including timeouts, retries, cancellation and shared-state handling. A disagreement between outputs is also distinct from a write conflict in shared data, and each needs its own policy. The system must know whether a participant has completed useful work, needs input or merely stopped generating text.","practice":"The practitioner defines task contracts, dependency conditions and ownership of mutable artifacts. Independent tasks can run concurrently, but dependent work waits for accepted results. Durable status and idempotent dispatch prevent restarts from duplicating external effects. A useful implementation includes a task graph, event history and recovery tests. Failure policy should specify whether a missing worker triggers retry, alternative assignment or an incomplete deliverable. The final assembly step checks consistency and evidence rather than simply concatenating participant responses.","example":"A release-preparation system assigns documentation review, dependency inspection and test execution to separate agents. The release summary waits for all required results, and a dependency finding triggers another test task. If the test worker disconnects, the orchestrator resumes the task using its stored identifier. A simulated conflict in an edited file is routed to the designated owner, while conflicting recommendations are kept as review decisions with supporting evidence.","limits":"An orchestrator cannot turn a flawed worker result into a correct one merely by tracking completion. Concurrent agents can race on files or overload shared services. Automatic retries may repeat expensive or consequential actions. Quality includes explicit ownership, bounded retries and tested behavior after partial failure. Complex scheduling is justified by actual task dependencies; an elaborate execution graph can otherwise create operational failure modes that a simpler coordinated sequence would avoid.","sources":[{"title":"LangChain subagents","url":"https://docs.langchain.com/oss/python/langchain/multi-agent/subagents","note":"Documents delegation, isolated subagent context and centralized result handling in a supervisor arrangement."}],"updatedAt":"2026-11-02"}},{"id":"a2a-protocol","name":"A2A Protocol","category":"Tool Use & Agent Protocols","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"A2A Protocol standardizes communication between an agent client and an agent service that can perform work. It provides capability discovery, messages, task lifecycle and artifact exchange, allowing separately implemented agents to interact while preserving their own execution logic, authentication requirements and internal state.","type":"tool","editorial":{"definition":"An A2A service publishes an Agent Card describing its identity, endpoint, capabilities and access requirements. A client sends messages and may receive an immediate reply or a task that continues over time. Task state, streamed updates and artifacts distinguish progress from the final deliverable. The protocol is concerned with requesting work from another agent, whereas MCP primarily exposes tools and context to an AI application. Neither protocol supplies task-specific competence or a universal trust model. A client still needs to decide whether a remote agent is appropriate and whether returned outputs satisfy the requested contract.","practice":"The practitioner defines the agent's advertised capabilities, task inputs and artifact formats, then selects supported interaction mechanisms. Long-running tasks require handling cancellation, reconnection and status changes. Authentication should be verified separately from assertions in capability descriptions. Useful outputs include a tested client-server contract and lifecycle traces. Evaluation checks duplicate requests, lost connections and failures after partial work, ensuring that the client can distinguish an incomplete task from a completed answer and recover the associated artifacts.","example":"A planning assistant delegates document conversion to a separately hosted agent. It discovers the conversion capability, authenticates and submits a document reference with the expected output format. The service returns a task identifier, reports processing status and later publishes the converted artifact. The client checks that the artifact corresponds to the input version. A reconnection test retrieves the existing task rather than starting a second conversion after a dropped connection.","limits":"Protocol conformance does not prove competence, privacy protection or faithful completion. Advertised skills may be too broad, and task states can be misused unless both sides agree on their meaning. Implementations can differ in optional features and protocol versions. Quality requires compatible lifecycle handling, verified access and inspection of actual outputs. Exchanging a task with another agent also crosses a trust boundary; returned text cannot grant additional authority or silently redefine the client's objective.","sources":[{"title":"A2A Protocol core concepts","url":"https://a2a-protocol.org/latest/topics/key-concepts/","note":"Defines Agent Cards, messages, tasks, artifacts and polling, streaming and notification interaction mechanisms."}],"updatedAt":"2026-11-02"}},{"id":"llm-function-calling","name":"LLM Function Calling","category":"Tool Use & Agent Protocols","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"LLM function calling lets a model request an application-defined operation by producing a tool name and arguments. The application validates and executes the request, returns a result and continues the interaction, connecting model interpretation to controlled access to data or actions outside the model itself.","type":"concept","editorial":{"definition":"The application supplies tool descriptions and argument schemas. During generation, the model can emit a request instead of or alongside a user-facing answer. The runtime then decides whether to execute it and returns the operation's result for subsequent generation. Structured arguments make the interface inspectable, but the model does not execute the business operation merely by naming it. This differs from free-text instructions interpreted by ad hoc parsing and from MCP, which standardizes a wider client-server integration. A function-call schema constrains representation; authorization and the meaning of the requested action remain application responsibilities.","practice":"The practitioner defines tools with narrow, predictable responsibilities and schemas that exclude invalid combinations. Context already known by the application should not need to be regenerated as arguments. Input validation, permission checks and idempotency belong before external effects. Useful outputs include tested tool contracts and traces linking requests to results. Evaluation covers wrong tool selection, missing arguments and failed tools, including whether the model reports an unsuccessful action accurately instead of claiming completion from the existence of a call.","example":"A delivery assistant has a tool to look up shipment status and another to request an address change. A status question triggers only the read operation. An address-change request produces structured arguments, but the application checks identity and whether the shipment remains editable before execution. A rejected change returns a clear error. The final response is tested against that result, ensuring the assistant does not tell the user that the address was updated when the service refused it.","limits":"Schema-conforming arguments can still refer to the wrong record or contain an incorrect interpretation. Parallel calls may conflict, and retries can duplicate effects without idempotent handling. Ambiguous tool descriptions increase selection errors. Quality requires correct operation choice, valid authorized arguments and truthful reporting of results. Function calling is a control interface, not a guarantee that the model understands business rules; operations should enforce those rules even when the generated request appears confident.","sources":[{"title":"OpenAI function calling guide","url":"https://developers.openai.com/api/docs/guides/function-calling","note":"Explains the tool request-execution-result cycle, argument schemas and application-defined function contracts."}],"updatedAt":"2026-11-02"}},{"id":"conversational-ai","name":"Conversational AI","category":"Agent Applications","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"Conversational AI supports interaction through a sequence of user and system turns, retaining enough context to interpret follow-up requests and complete useful tasks. The practitioner designs responses, clarification, state and handoff behavior so the conversation remains coherent and connected to actual application outcomes.","type":"concept","editorial":{"definition":"A conversational system combines language interpretation, dialogue management and response production. It can use intent classifiers, generative models or a hybrid, with tools providing external data and actions. Context links a turn such as 'change it to Friday' to the correct earlier object, while dialogue policy determines whether to clarify, act or hand off. This is broader than an LLM chat interface and different from speech infrastructure, which adds audio transport and turn-taking concerns. The essential competence is managing a continuing interaction in which users can revise goals, omit details and depart from the expected path.","practice":"The practitioner identifies supported tasks and designs conversations around the information needed to complete them. Clarification and confirmation should be proportional to ambiguity and consequences. Session state must track user corrections and tool outcomes. A useful deliverable includes representative dialogues, fallback behavior and a human handoff carrying the relevant context. Evaluation tests multi-turn success, interruptions, topic changes and unsupported requests, checking whether the assistant preserves the user's goal rather than optimizing individual responses in isolation.","example":"A support assistant helps a user identify a delayed order. The user first gives a date, then corrects the address and asks whether the package can be redirected. The system updates the relevant state, checks shipment rules and explains the available option. When the issue requires a person, it transfers the verified order identifier and conversation summary. Tests inspect that the handoff contains the correction and that no outdated address is used for an action.","limits":"Fluent replies can hide lost context, incorrect assumptions or a failure to complete the task. A long conversation history does not guarantee accurate state tracking. Generic fallback responses can trap users in loops, and excessive clarification makes simple tasks burdensome. Quality is measured over complete interactions, including recovery and handoff. The assistant should state the scope it can handle and recognize unsupported requests instead of maintaining conversational smoothness by inventing facts or capabilities.","sources":[{"title":"Dialogflow CX agents","url":"https://docs.cloud.google.com/dialogflow/cx/docs/concept/agent","note":"Explains conversational agents as systems translating user text or audio into structured application interactions."}],"updatedAt":"2026-11-02"}},{"id":"dialogflow","name":"Dialogflow","category":"Agent Applications","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"Dialogflow is Google's managed platform for building conversational interfaces using language understanding and dialogue configuration. Its ES and CX services have distinct agent models and APIs. Practitioners design supported conversations, connect fulfillment services and test the dialogue behavior appropriate to the selected service and channel.","type":"tool","editorial":{"definition":"Dialogflow translates user text or audio into structured information and chooses responses or transitions according to the configured agent. ES and CX are separate services, rather than interchangeable editions of one runtime contract. CX uses explicit conversation structures such as flows and pages to represent progression and parameter collection. Backend fulfillment supplies data or performs application operations. Generative capabilities can extend some designs, but task-specific control and data access still need configuration. The skill combines dialogue modeling with managed-service integration, including how session information, recognized parameters and backend responses affect the next turn.","practice":"The practitioner selects the service based on conversation complexity and checks its actual feature and channel requirements. They define intents or routing behavior, collect required parameters and connect fulfillment with validated contracts. Useful artifacts include a dialogue model, backend integration and regression conversations. Testing covers corrections, unrecognized requests and service errors, as well as expected paths. Deployment configuration should preserve environment-specific endpoints and credentials so a tested conversation does not accidentally execute against the wrong business system.","example":"A booking flow collects a location, date and party size before checking availability through a webhook. In CX, pages represent the information-gathering and confirmation stages. If the user changes the date after an availability response, the flow reruns the lookup rather than reusing stale options. A regression conversation verifies the corrected date, backend request and final confirmation together, showing that the configured transitions match the desired booking behavior.","limits":"Language recognition and a visual flow editor do not ensure a correct conversation. Similar intents, incomplete parameter handling and unexpected user corrections can send execution down the wrong path. Service editions, channels and generative features have different capabilities that require current documentation checks. Quality includes backend correctness, recovery and test coverage across dialogue paths. The managed platform handles infrastructure components, but the application still owns business policy, external access and the accuracy of fulfillment results.","sources":[{"title":"Dialogflow services overview","url":"https://docs.cloud.google.com/dialogflow/docs","note":"Distinguishes ES and CX services and describes text and audio conversational interfaces."},{"title":"Dialogflow CX pages","url":"https://docs.cloud.google.com/dialogflow/cx/docs/concept/page","note":"Documents page state, parameter collection and transition behavior in CX conversations."}],"updatedAt":"2026-11-02"}},{"id":"dialogue-systems","name":"Dialogue Systems","category":"Agent Applications","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"Dialogue systems model how an interactive conversation progresses toward a task or communicative goal. The skill covers interpreting user acts, tracking dialogue state and choosing the next system action, including intent-and-slot architectures and hybrids that combine explicit conversation policy with generative language models.","type":"concept","editorial":{"definition":"A task-oriented dialogue system often identifies an intent, extracts slot values and updates a representation of what is known or still required. A dialogue manager selects an action such as asking for a missing value, confirming a decision or invoking a service. Response generation then expresses that action to the user. Modern systems may use an LLM for understanding or wording while retaining explicit policy and state. This differs from conversational AI as a broad application category: dialogue-system design focuses on the mechanics of interaction and progression. An individual utterance is interpreted in relation to previous turns, not only as an isolated sentence.","practice":"The practitioner defines the tasks, dialogue acts, state fields and transitions needed to complete interactions. They decide how corrections override earlier values and when ambiguity requires clarification. A useful result is a policy or flow specification with example conversations and observable state updates. Evaluation includes out-of-order information, topic switching and requests to undo a prior step. Separating language understanding from policy helps diagnose whether a failure came from misinterpreting the user or choosing an inappropriate next action.","example":"A transit assistant needs origin, destination and departure time. A user provides a destination first, then says 'from the airport, tomorrow morning' and later changes the destination. The state tracker fills and revises the relevant slots, while the policy requests an exact time only when needed for the lookup. A test inspects each state transition and verifies that the resulting service call uses the revised destination instead of the first mentioned place.","limits":"Rigid state machines can fail when users deviate from an anticipated sequence, while unconstrained generation can lose task policy. Intent overlap and implicit references complicate state tracking. Quality requires accurate interpretation, appropriate transitions and a recoverable path when understanding fails. Dialogue state should not be reduced to a transcript: the transcript records utterances, whereas state represents their current operational meaning, including which values were corrected, confirmed or superseded.","sources":[{"title":"Dialogflow CX pages","url":"https://docs.cloud.google.com/dialogflow/cx/docs/concept/page","note":"Illustrates explicit dialogue state, information collection and transitions in a task-oriented system."},{"title":"Rasa CALM concepts","url":"https://rasa.com/docs/learn/concepts/calm","note":"Describes separating contextual language understanding from task execution through flows."}],"updatedAt":"2026-11-02"}},{"id":"livekit","name":"LiveKit","category":"Agent Applications","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"LiveKit provides realtime communication infrastructure and an agent framework for audio and video interactions. In voice applications, a practitioner connects users and agent workers through sessions, integrates speech and model components and controls turn-taking, interruption and tool behavior across a streaming conversation.","type":"tool","editorial":{"definition":"LiveKit's communication layer manages realtime media sessions, while its Agents framework supplies components for building conversational workers. An agent can join a room with a user and process audio through a speech pipeline or supported realtime model integration. The framework handles aspects of streaming, turn detection and interruptions, with integrations connecting model and speech providers. This distinguishes transport infrastructure from the agent's business logic: reliable audio delivery does not decide what the assistant should do. Tool execution and external state must remain consistent with the conversation, including when a user interrupts audio already being generated.","practice":"The practitioner configures session access, agent dispatch and the chosen speech architecture. They test microphone capture, playback cancellation, reconnection and delayed tool responses in the target channels. Useful artifacts include a deployed worker configuration and traces aligned with media and conversation events. The agent needs a policy for clarifying uncertain entities and announcing external actions. Operational testing should include concurrent sessions and worker failures, ensuring that communication recovery does not accidentally repeat a committed business operation.","example":"A hotel information assistant joins a realtime room and answers a guest's spoken question. When the guest interrupts to ask for checkout time, the worker cancels playback and handles the new request using the current session context. A later request to book transport invokes a backend tool with confirmation. Tests disconnect the client during the tool call and inspect whether the resumed conversation reports the actual booking state rather than submitting the request twice.","limits":"Media infrastructure cannot eliminate recognition errors, poor dialogue policy or unreliable tools. Network conditions and component latency affect the experience even when the model is capable. Provider integrations may have different streaming and cancellation semantics. Quality includes intelligible audio, coherent interruption recovery and accurate correspondence between spoken responses and external effects. LiveKit solves communication and execution components of a voice system; the application still needs task-specific evaluation, access policy and fallback behavior.","sources":[{"title":"LiveKit Agents introduction","url":"https://docs.livekit.io/agents/","note":"Explains room-based realtime agents, WebRTC communication, speech pipelines, turn detection and interruptions."}],"updatedAt":"2026-11-02"}},{"id":"rasa","name":"Rasa","category":"Agent Applications","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"Rasa is a conversational AI framework for designing task-oriented assistants with explicit dialogue behavior and integrations. Its CALM approach uses language models to interpret conversation while flows govern task execution, allowing practitioners to combine flexible understanding with inspectable business steps and controlled external actions.","type":"tool","editorial":{"definition":"Traditional Rasa designs combine natural-language understanding, dialogue state and policies with custom actions. CALM separates LLM-based understanding from execution: the model interprets user input in context and produces commands, while flows represent the task logic. This is different from placing the entire business process inside a model prompt. The separation makes a misunderstood request distinguishable from an incorrect flow or action. Rasa is a framework and product ecosystem rather than one model, and capabilities depend on the selected components and version. The core competence is defining conversation behavior that remains usable when users correct details or change direction.","practice":"The practitioner models tasks as flows or other supported dialogue structures, defines state and connects backend actions through validated interfaces. They build conversations covering missing information, corrections and topic changes. Useful outputs include flow definitions, action contracts and regression dialogues. Traces should reveal both interpretation and execution decisions so failures can be localized. External permissions and business rules belong in the action layer as well as the dialogue design, particularly when a model-derived command can trigger a consequential operation.","example":"An account assistant collects the information needed to update a mailing address. The user changes topics briefly, then corrects the postcode. CALM interprets those turns while the address-change flow retains the required steps and confirmation point. The backend validates the address and returns the saved record. A test checks that the updated postcode reaches the action and that a failed validation returns the conversation to correction without claiming the change succeeded.","limits":"Explicit flows can still contain incorrect policy, and model interpretation can route to an unsuitable task. Separating understanding and execution improves inspectability without guaranteeing accuracy. Complex conversation coverage requires realistic regression tests, especially interactions between flows. Quality means correct state changes and external outcomes, alongside understandable recovery. Claims that a framework removes all conversational failure are inappropriate; the selected language model, business logic, integrations and deployment conditions all affect the resulting assistant.","sources":[{"title":"Rasa CALM concepts","url":"https://rasa.com/docs/learn/concepts/calm","note":"Explains contextual LLM understanding separated from flow-based task execution and command generation."}],"updatedAt":"2026-11-02"}},{"id":"agent-frameworks","name":"Agent Frameworks","category":"Agent Frameworks","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"Agent frameworks provide reusable software components for model calls, tools, state and execution control. The practitioner selects and configures these components to fit a task, understanding how the framework runs loops, handles failure and exposes observations, while retaining responsibility for application permissions and task quality.","type":"concept","editorial":{"definition":"A framework supplies abstractions around the model rather than replacing the model itself. Typical components include agent definitions, tool registration, message handling, typed outputs, tracing and workflow execution. Some frameworks emphasize a minimal tool loop, while others emphasize graphs, role-based teams or data integration. These differences affect where developers can control state and transitions. The category is distinct from an agent architecture, which is the design realized using those components, and from a hosted agent product. Framework choice should be based on required execution behavior and integration contracts, not merely the ability to construct a demo assistant.","practice":"The practitioner identifies requirements for persistence, streaming, human decisions, tool control and observability before comparing frameworks. A small representative implementation should exercise failure and recovery, not only a successful call. Dependencies, provider behavior and migration costs need review. Useful outputs include an integration prototype and a documented execution contract. The developer should inspect the actual requests and state transitions so automatic retries, hidden prompts or default permissions do not become unexamined parts of application behavior.","example":"A team compares two frameworks for an assistant that pauses before updating a record. Each prototype must preserve the proposed change, resume after a worker restart and avoid duplicate writes. One framework provides the necessary durable control directly; another requires additional application machinery. The team chooses based on that tested requirement and traces, while running the same task cases and model configuration to avoid confusing framework convenience with model capability.","limits":"A framework can reduce integration work while introducing abstractions and version dependencies that complicate debugging. Feature lists do not establish reliable semantics under concurrency or partial failure. Provider portability can be incomplete for tools and structured outputs. Quality requires tested behavior at the application's boundaries and a maintainable path for upgrades. Framework adoption does not remove the need for ordinary software engineering, external authorization, evaluation or a clear decision about how much autonomy the task requires.","sources":[{"title":"Microsoft Agent Framework overview","url":"https://learn.microsoft.com/en-us/agent-framework/overview/","note":"Illustrates framework components for agents, workflows, state, middleware and telemetry."}],"updatedAt":"2026-11-02"}},{"id":"crewai","name":"CrewAI","category":"Agent Frameworks","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"CrewAI is a framework for organizing agents around roles, tasks and a coordinated process. Practitioners define the expected work, available tools and how results pass between participants, then inspect whether the crew completes the task coherently within its execution and resource limits.","type":"tool","editorial":{"definition":"A crew groups agents and tasks under a process configuration. Tasks specify the work and expected outputs, while agents carry instructions and tools appropriate to their roles. Sequential execution passes through an ordered task list; hierarchical arrangements use a manager to coordinate work. These are implementation choices for multi-agent behavior, not guarantees that role descriptions create distinct expertise. CrewAI also provides workflow-related facilities, but a crew remains different from an arbitrary deterministic pipeline. Understanding its execution contract means knowing who delegates, how context reaches a task and how completion is determined.","practice":"The practitioner writes task contracts with inspectable outputs and binds only the tools each role needs. They choose a process based on dependencies rather than defaulting to a manager for every task. Useful results include crew configuration, tool policies and traces that show actual delegation and outputs. Evaluation covers incomplete task results, conflicting findings and repeated actions. A single-agent comparison helps determine whether role separation supplies useful specialization or merely adds calls and context exchange around the same underlying reasoning.","example":"A crew prepares a supplier comparison. One task gathers official specification evidence, another checks compatibility requirements and a final task assembles the comparison. The researcher returns source references in a structured record rather than only narrative prose. A compatibility finding invalidates one supplier's inclusion, so the final task preserves that reason. A test includes a missing specification and checks that the crew reports the gap instead of producing a complete-looking table with invented values.","limits":"Roles and backstories do not establish expertise, independence or correctness. Context handoffs can omit qualifications, and manager decisions may hide disagreement. Automatic delegation also needs bounded resource use and restricted side effects. Quality depends on task outputs, evidence fidelity and coherent final acceptance. The framework's current process options and interfaces should be checked before implementation; examples from older releases may use contracts that differ from the installed version.","sources":[{"title":"CrewAI crews documentation","url":"https://docs.crewai.com/en/concepts/crews","note":"Defines agents, tasks, process configuration and sequential versus hierarchical crew execution."}],"updatedAt":"2026-11-02"}},{"id":"google-adk","name":"Google ADK","category":"Agent Frameworks","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"Google ADK is a development kit for implementing agents, tools and coordinated workflows in application code. It supplies execution, session and evaluation components so practitioners can build and inspect agent behavior, choosing between model-directed decisions and explicit workflow control for the task at hand.","type":"tool","editorial":{"definition":"ADK organizes agent definitions and tool integration around a runtime that manages interactions and execution events. Its documented workflow facilities include sequential, parallel and loop arrangements, alongside model-driven routing and graph-based control. Session information and artifacts support continuing work beyond one model call. Although developed by Google, the toolkit's documented integrations span multiple model and deployment options; an implementation still needs to check the supported path for its language and version. The kit is distinct from a hosted model endpoint or a deployed agent service. It supplies components whose actual behavior must be combined into an application architecture.","practice":"The practitioner defines agents with narrow responsibilities, tools with clear contracts and the state required across turns. Workflow control should enforce known dependencies and stopping conditions. Useful outputs include agent code, session handling and evaluation cases that inspect tool choice as well as final answers. Deployment tests verify credentials, artifact access and the selected runtime's recovery behavior. Version-specific documentation matters because language implementations and newer workflow facilities may not expose identical interfaces or feature coverage.","example":"A technical-support agent uses a read-only diagnostic lookup tool and an explicit workflow for collecting missing device details. A separate agent drafts the explanation after the diagnostic result is available. ADK execution events expose the selected tools and session updates. Tests include an unsupported device and a failed lookup, checking that the workflow requests clarification or reports the failure instead of moving directly to an unsupported repair recommendation.","limits":"Toolkit support for workflows and evaluation does not establish reliable model decisions. Session storage, deployment facilities and integrations require application-specific configuration. Broad tool access can undermine an otherwise careful agent definition. Quality includes understandable execution traces, bounded loops and verified handling of unavailable information. ADK examples should be treated as starting points, with the supported language, current runtime contract and production requirements confirmed before relying on a capability described elsewhere in the ecosystem.","sources":[{"title":"Google Agent Development Kit documentation","url":"https://adk.dev/","note":"Documents agents, tools, workflows, session runtime, evaluation and deployment integrations."}],"updatedAt":"2026-11-02"}},{"id":"microsoft-autogen-agent-framework","name":"Microsoft AutoGen / Agent Framework","category":"Agent Frameworks","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"Microsoft AutoGen and its successor, Microsoft Agent Framework, support applications built from agents and coordinated execution. The skill includes understanding AutoGen's conversational agent abstractions and the successor's explicit workflows and state facilities, while checking migration differences instead of treating the two libraries as interchangeable APIs.","type":"tool","editorial":{"definition":"AutoGen developed abstractions for agents that communicate through messages and cooperate on tasks, with layers for agent applications and event-driven infrastructure. Microsoft Agent Framework combines ideas from AutoGen and Semantic Kernel and adds workflow-oriented orchestration and state management. The Atlas label covers this related lineage, not one unchanging package. Multi-agent conversation and an explicit workflow can realize similar tasks but differ in control semantics. A practitioner must identify which library and version an example uses, how tools execute and where state lives. The successor relationship does not imply that an existing AutoGen application can change imports without architectural review.","practice":"The practitioner chooses the relevant framework for new development or inventories an existing AutoGen application's messages, tools and coordination behavior before migration. They map state, human decisions and termination conditions to the target interfaces. Useful outputs include a versioned implementation and regression tasks comparing observable behavior. Tests should cover tool failures, handoffs and interrupted runs. The framework's telemetry can aid inspection, but acceptance still depends on task results and correct external effects rather than the number of agent messages exchanged.","example":"A team migrates a research-and-review pair from AutoGen to Agent Framework. It identifies the old stopping rule, context transfer and tool execution policy, then implements equivalent boundaries using the successor's supported agent and workflow components. A test pauses for human review and restarts execution. The migration is accepted only when both versions preserve source references, respect the same tool permissions and report incomplete work consistently on the regression tasks.","limits":"Older tutorials may describe APIs or execution models that differ from the current successor. Agent conversations can grow without progress, while explicit workflows can still encode flawed decisions. Migration should preserve behavior intentionally rather than assuming conceptual continuity provides compatibility. Quality requires pinned versions, inspected traces and tested state recovery. Neither framework makes multiple agents inherently more reliable; their value depends on the coordination, task contracts and application controls built with them.","sources":[{"title":"AutoGen documentation","url":"https://microsoft.github.io/autogen/stable/","note":"Describes AutoGen's agent application and multi-agent communication components."},{"title":"Microsoft Agent Framework overview","url":"https://learn.microsoft.com/en-us/agent-framework/overview/","note":"Identifies Agent Framework as the successor combining AutoGen and Semantic Kernel concepts with explicit workflows and state management."}],"updatedAt":"2026-11-02"}},{"id":"semantic-kernel","name":"Semantic Kernel","category":"Agent Frameworks","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"Semantic Kernel is Microsoft's SDK for integrating models and callable application functions into software. Practitioners use its kernel, plugins and model connectors to compose AI functionality with existing services, keeping invocation policy, state and business rules explicit around the model interaction.","type":"tool","editorial":{"definition":"The kernel connects configured services and functions so application code can invoke model capabilities and expose native or prompt-based operations. Plugins group callable functionality, with descriptions and contracts that may support model-driven function selection. The SDK has implementations and features across supported languages, whose coverage should be checked for the application. Semantic Kernel is distinct from a model and from a hosted assistant. Microsoft Agent Framework is its documented successor for newer agent development, but existing Semantic Kernel integrations still require understanding their own execution contracts. The skill concerns controlled composition of AI calls with ordinary software components.","practice":"The practitioner registers the needed model services and plugins, defines function inputs clearly and controls which functions can be selected. Existing application context should be passed through validated dependencies rather than reconstructed by the model. Useful deliverables include an integration layer, function-call traces and regression tests for business actions. Version and language-specific behavior need verification, especially during migration. Backend functions enforce authorization and invariants independently of whether the model selected an appropriate-looking operation.","example":"An enterprise application exposes a product lookup and a quotation calculator as plugins. The assistant interprets a request, retrieves the relevant product and invokes the calculator with validated parameters. The calculator supplies the actual price and eligibility rules; the model explains the result. Tests include an invalid product and unavailable pricing data, ensuring that the response reflects service errors and that no price is invented to fill a structurally complete answer.","limits":"Plugin availability does not establish safe use, and generated arguments can satisfy a signature while violating business meaning. Framework feature coverage and orchestration APIs can differ across language versions. Quality requires narrow functions, observable invocation and independent business validation. Existing integrations should be evaluated before moving to a successor framework, because changes in state or calling semantics may alter application behavior even when the same model and nominal plugin functions remain in use.","sources":[{"title":"Introduction to Semantic Kernel","url":"https://learn.microsoft.com/en-us/semantic-kernel/overview/","note":"Defines the SDK, kernel, model integrations and plugins for embedding AI in applications."}],"updatedAt":"2026-11-02"}},{"id":"langflow","name":"Langflow","category":"Low-Code AI Automation","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"Langflow is a visual environment for composing and testing AI application flows from connected components. Practitioners configure models, data access, prompts and tools, inspect intermediate outputs and expose the resulting flow through supported interfaces, while retaining responsibility for credentials, access and production behavior.","type":"tool","editorial":{"definition":"A flow represents operations as components connected by input and output relationships. Components can include model calls, prompts, stores, agents and custom logic, with parameters set in the editor or through runtime configuration. Langflow's playground supports interactive testing, and flows can be invoked through an API. This makes it both a prototyping environment and a possible application component, depending on deployment choices. Visual connections express data movement; they do not automatically establish type correctness, authorization or reliable error recovery. The competence includes understanding the runtime operation behind each block, not only arranging the diagram.","practice":"The practitioner selects components with compatible data contracts, configures credentials securely and tests individual steps before the combined flow. Intermediate inspection should show source references and model outputs where they matter. Useful outputs include an exported flow, deployment configuration and a representative test set. Runtime parameter overrides need controlled scope. Before serving a flow, the developer verifies access controls, error behavior and dependency versions so an editor demonstration becomes an inspectable, repeatable application path.","example":"A developer prototypes a handbook assistant with a document store, retriever, prompt and model component. The playground reveals that retrieval returns a policy excerpt without its revision date, so the flow is adjusted to carry that metadata into the answer step. The exported configuration is invoked through the API on the same regression questions. Tests include an empty retrieval result and confirm that the flow reports missing evidence rather than generating a policy from general knowledge.","limits":"Visual simplicity can conceal expensive calls, implicit conversions or broad permissions. A working playground interaction does not prove concurrency or production reliability. Custom components add code and dependency responsibilities even in a visual project. Quality requires visible data contracts, tested errors and controlled deployment settings. Langflow can shorten composition and inspection work, but the model's factual behavior and the security of connected services remain concerns that a diagram alone cannot resolve.","sources":[{"title":"What is Langflow?","url":"https://docs.langflow.org/","note":"Explains visual components, playground testing, API execution, custom components and agent integrations."}],"updatedAt":"2026-11-02"}},{"id":"low-code-ai-automation","name":"Low-Code AI Automation","category":"Low-Code AI Automation","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"Low-Code AI Automation connects model operations with triggers, data transformations and service actions through visual or configuration-driven workflows. The practitioner designs the surrounding process so uncertain model outputs become validated inputs to controlled business steps, with explicit error handling and observable execution.","type":"concept","editorial":{"definition":"A low-code workflow typically begins with an event or schedule, passes data between nodes and invokes external services. AI components may classify content, extract fields, draft text or choose tools, while deterministic nodes handle known branching and transformations. This differs from a fully autonomous agent: many useful automations have a fixed sequence with one bounded model decision. Low-code describes the construction interface, not a relaxation of software requirements. The workflow still has data contracts, credentials, runtime state and side effects that need careful design, particularly when one failed node can leave earlier actions committed.","practice":"The practitioner maps the process, isolates the AI judgment and validates its output before subsequent actions. Credentials should be scoped to the workflow's actual operations. Retry and error paths need to account for partial completion. Useful artifacts include the workflow configuration, execution logs and sample inputs with expected outcomes. Tests should include malformed model output, duplicate triggers and service timeouts. A human review step can handle uncertain cases when deterministic validation cannot establish that an action is appropriate.","example":"A workflow reads incoming maintenance requests, extracts equipment identifiers and proposes a category. A schema check validates the extraction, and uncertain identifiers enter a review queue. Only accepted records create a work order through an API. A duplicate-event test verifies that the workflow reuses the existing order rather than creating another. The model's role remains interpretation of the request, while explicit workflow steps control validation and the business effect.","limits":"Low-code tools can hide data conversions, retry defaults or permissions behind convenient nodes. A model classification error can propagate directly into a business system if validation is omitted. Long flows also become difficult to maintain without versioned contracts and tests. Quality includes correct handling of partial failure and idempotent effects, not just a successful demonstration. The appropriate boundary between visual configuration and custom code depends on the complexity and assurance required by the process.","sources":[{"title":"n8n workflow concepts","url":"https://docs.n8n.io/workflows/","note":"Defines connected-node automation, triggers, credentials and execution inspection."},{"title":"n8n error handling","url":"https://docs.n8n.io/flow-logic/error-handling/","note":"Documents failure workflows and the execution context available for recovery and diagnosis."}],"updatedAt":"2026-11-02"}},{"id":"microsoft-copilot-studio","name":"Microsoft Copilot Studio","category":"Low-Code AI Automation","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"Microsoft Copilot Studio is a platform for building agents that combine instructions, organizational knowledge and business actions. Practitioners select a supported agent approach, configure integrations and conversation behavior and test how the agent uses data and permissions in the channels where it will be delivered.","type":"tool","editorial":{"definition":"Copilot Studio supplies authoring and deployment facilities for agents, with different harnesses providing different execution approaches. The documented standard harness emphasizes authored topics and structured conversations, while other approaches support more model-directed work or extensions to Microsoft Copilot Chat. Agents can connect knowledge and actions through workflows, connectors and other supported interfaces. The platform is distinct from the underlying model and from a simple prompt customization. A working agent depends on which harness, integrations and access settings are selected; capabilities should therefore be verified for the concrete configuration rather than inferred from the product name alone.","practice":"The practitioner defines supported tasks, chooses the appropriate harness and configures knowledge sources and actions with clear boundaries. They test whether answers preserve source context and whether actions use the correct authenticated authority. Useful outputs include agent configuration, regression conversations and deployment settings for the intended channels. Environment and connector policies require review before release. Topic behavior and model-directed tool selection should be inspected separately so a failure can be traced to authored logic, information retrieval or the model's decision.","example":"An internal policy assistant retrieves approved handbook content and can open a support request. The maker configures the source collection, drafts instructions and defines the ticket action's required fields. A test user asks about an outdated policy and then requests help; the agent must use the current source and pass only the accepted issue details to the action. Tests in the delivery channel verify that source permissions and the user's identity remain effective.","limits":"Platform integration does not ensure accurate answers or appropriate actions. Features and billing differ by harness, and connector access can expose more data than the task needs. Generative behavior requires evaluation beyond a few authored examples. Quality includes source fidelity, correct permission handling and recovery after failed actions. A maker should verify current capabilities and deployment constraints for the selected configuration, because product-wide descriptions can include features unavailable in a particular agent or environment.","sources":[{"title":"Microsoft Copilot Studio agents overview","url":"https://learn.microsoft.com/en-us/microsoft-copilot-studio/agents-overview","note":"Explains agent harnesses, organizational knowledge, business integrations and channel deployment, including differences by harness."}],"updatedAt":"2026-11-02"}},{"id":"n8n","name":"n8n","category":"Low-Code AI Automation","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"n8n is a workflow automation platform that connects triggers, transformations and service operations as nodes. Its AI integrations allow bounded model calls and agent tool use within those workflows. Practitioners configure data flow, credentials and execution recovery so automated effects remain inspectable and repeatable.","type":"tool","editorial":{"definition":"A workflow receives an event or other input and moves data through connected nodes. Some nodes perform deterministic transformations or service calls; AI nodes can invoke models or run agents with connected tools. The workflow and the agent loop are separate control layers: a fixed flow can contain an agent whose internal tool choices are model-directed. n8n records executions for inspection and supports error workflows for failed runs. It is neither a model nor a guarantee of reliable business automation. Understanding the platform means knowing how items are passed, how credentials are applied and what happens when an execution fails after earlier effects.","practice":"The practitioner configures trigger behavior, maps node data explicitly and validates AI output before downstream actions. Agent tools should have narrow access, and retries should use idempotent operations where possible. Useful deliverables include a versioned workflow, execution records and an error path with relevant diagnostic context. Tests cover duplicate inputs, missing fields and service failures. The developer should inspect item handling and branching with representative data rather than assuming a single successful sample captures batch behavior.","example":"A workflow processes supplier emails, extracts purchase-order references and queries an order service. Accepted matches create a review task, while ambiguous extraction goes to a separate queue. An AI agent can request only the lookup tool, with task creation controlled by the outer workflow after validation. A service-timeout test checks the recorded failure and retry path, ensuring that an already-created review task is reconciled instead of duplicated.","limits":"Visual node connections can obscure item multiplication, missing values and inherited retry behavior. An agent embedded in a workflow still needs limits and tool policies. Error workflows provide information but do not automatically undo earlier external changes. Quality requires correct data mapping, secure credential scope and tested partial-failure behavior. Platform updates and node versions can change contracts, so an automation should retain configuration history and regression inputs alongside its graphical definition.","sources":[{"title":"n8n workflows","url":"https://docs.n8n.io/workflows/","note":"Describes workflow nodes, connections, credentials and execution inspection."},{"title":"n8n AI Agent node","url":"https://docs.n8n.io/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.agent/","note":"Explains the AI agent node and connected tools within a workflow."}],"updatedAt":"2026-11-02"}},{"id":"multi-agent-systems","name":"Multi-Agent Systems","category":"Multi-Agent Systems","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"Multi-agent systems contain multiple decision-making participants that interact within a shared task or environment. The skill includes defining roles, information exchange and incentives or authority, then evaluating the behavior of the whole system, including cooperation, conflict and failures that arise from interactions between otherwise capable agents.","type":"concept","editorial":{"definition":"An agent has its own observations, decisions and actions; a multi-agent system connects several such participants. They can cooperate toward one goal, pursue different objectives or compete for resources. In language-model applications, participants often exchange messages, delegate work and share tools or artifacts. This is broader than one coordination pattern and does not require every agent to use an LLM. System behavior depends on the communication and action rules as well as individual competence. A pipeline with several model calls is not necessarily multi-agent unless the components have distinct decision responsibilities and meaningful interaction.","practice":"The practitioner specifies each participant's information, tools, objectives and authority, then defines communication and conflict handling. Shared resources require ownership and concurrency rules. Useful outputs include a system model, interaction traces and tasks that exercise conflicting assumptions or partial failure. Evaluation should inspect joint outcomes and costs rather than only each agent's isolated answer quality. Comparisons with centralized designs help determine whether distributed decision-making supplies useful specialization, privacy boundaries or parallelism for the application.","example":"A document-analysis system gives separate agents responsibility for technical requirements and contractual constraints. Each sees the documents relevant to its role and returns evidence-backed findings. A coordinator identifies a conflict between a required delivery date and a technical prerequisite, then requests focused clarification. The final result preserves the unresolved dependency for review. Tests check that no participant assumes another has verified a requirement merely because it appeared in a shared message.","limits":"Interactions can introduce duplicated work, cascading errors and coordination failures absent from isolated evaluations. Agents may agree because they share a model or context, not because independent evidence supports the conclusion. Distributed ownership can also make responsibility unclear. Quality requires effective communication, explicit authority and coherent system-level acceptance. More participants are useful only when their interaction improves a real task requirement; agent count itself establishes neither intelligence nor reliability.","sources":[{"title":"AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation","url":"https://arxiv.org/abs/2308.08155","note":"Presents configurable conversational agents and their interactions as an approach to cooperative language-model applications."}],"updatedAt":"2026-11-02"}},{"id":"llm-api-gateway","name":"LLM API Gateway","category":"API Gateways & Routing","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"An LLM API gateway sits between applications and model providers to apply common access, routing and operational policies. It can manage credentials, budgets, rate limits and fallback paths, giving practitioners a controlled entry point while preserving the provider-specific behavior needed by each application.","type":"concept","editorial":{"definition":"The gateway receives a model request, authenticates the caller, applies policy and forwards it to an eligible endpoint. It may normalize request formats and return usage information for accounting. Routing can distribute traffic among deployments or choose alternatives after failures. This differs from an inference engine, which executes the model, and from an SDK, which runs inside the application. A common interface does not make every provider semantically equivalent: tool calling, streaming, structured output and safety behavior may differ. The gateway must expose or constrain those differences deliberately rather than silently promising portability.","practice":"The practitioner defines application identities, allowed models, rate limits and routing rules. Fallbacks need tests against required capabilities and data-location policies. Useful outputs include gateway configuration, request traces and per-application usage records. Failure handling should distinguish authentication errors, provider throttling and retryable service failures. The system must avoid logging sensitive request content unnecessarily and should measure the added latency. Capacity tests cover concurrent clients and a failed upstream to verify that centralization does not create an unexamined bottleneck.","example":"Two applications share a gateway but have different model permissions and budgets. A summarization service can fall back to a compatible endpoint, while an extraction service requires validated structured output and has a narrower route. A provider outage test checks both behaviors and the resulting usage attribution. The extraction service receives an explicit unavailable error when no eligible endpoint remains, instead of being silently routed to a model that cannot meet its contract.","limits":"A gateway can become a single point of failure or hide the real cause of provider errors. Aggressive retries can amplify throttling and cost. Interface compatibility does not prove output equivalence, and cached pricing data may misstate expenditure. Quality includes tested routing, correct authorization and transparent operational status. Central policy helps manage access, but application-level correctness and the suitability of a fallback model still need evaluation on the actual tasks.","sources":[{"title":"LiteLLM gateway request architecture","url":"https://docs.litellm.ai/docs/proxy/architecture","note":"Explains authentication, request processing, routing and accounting in an LLM gateway."}],"updatedAt":"2026-11-02"}},{"id":"litellm","name":"LiteLLM","category":"API Gateways & Routing","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"LiteLLM provides a Python interface and proxy gateway for calling models across providers through a common application contract. Practitioners configure model aliases, credentials, routing and budgets, then test the features their applications depend on instead of assuming that a normalized API makes every model interchangeable.","type":"tool","editorial":{"definition":"The SDK translates supported requests into provider-specific calls, while the proxy provides a separately operated endpoint with access and routing controls. Model aliases can represent deployments, and router policies can balance traffic or select fallback paths. Usage and spend tracking support shared infrastructure management. LiteLLM is distinct from a model host or inference runtime: it sends work to those services. Its normalization simplifies integration, but capabilities such as multimodal inputs, tools and streaming still depend on the upstream provider and supported adapter. The relevant skill is understanding both the shared interface and the remaining differences.","practice":"The practitioner configures model routes and narrowly scoped application credentials, chooses timeouts and retries and verifies usage reporting. Fallback tests should check output contracts and permitted destinations, not only successful HTTP responses. Useful artifacts include versioned proxy configuration and provider regression requests. SDK or proxy upgrades require checking adapters used by the application. Operational traces should preserve upstream identity and error details so a normalized response does not conceal which deployment actually handled a request.","example":"A team exposes one model alias backed by two eligible deployments. LiteLLM routes requests using the configured strategy and tracks usage by application key. An integration test deliberately throttles one deployment and inspects the fallback path, streaming response and reported token usage. A separate structured-extraction request is denied access to an incompatible route. The resulting configuration is accepted only after the application's contract holds across the routes it can actually use.","limits":"Supported adapters and provider features evolve, and a familiar API shape does not establish matching semantics. Misconfigured aliases can route sensitive data to an unintended destination. Retry behavior may increase cost or duplicate work. Quality requires pinned versions, explicit route eligibility and verified accounting. LiteLLM can simplify provider integration and gateway operation, but it cannot certify model quality or eliminate application tests for the particular tools, output formats and failure behavior in use.","sources":[{"title":"LiteLLM proxy quick start","url":"https://docs.litellm.ai/docs/proxy/quick_start","note":"Documents proxy configuration, model aliases, common interfaces and access and spend controls."},{"title":"LiteLLM router","url":"https://docs.litellm.ai/docs/routing","note":"Explains load balancing, routing strategies and fallback behavior across deployments."}],"updatedAt":"2026-11-02"}},{"id":"ci-cd","name":"CI/CD","category":"CI/CD & Automation","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"CI/CD automates the integration, validation and delivery of software changes through repeatable pipelines. For AI applications, it connects code and configuration changes to appropriate checks and controlled releases, producing a traceable deployable artifact and a deliberate decision about when that artifact reaches an environment.","type":"concept","editorial":{"definition":"Continuous integration builds and tests changes frequently so defects are detected before they accumulate. Continuous delivery keeps validated artifacts ready for release, while continuous deployment automatically promotes changes that pass the defined gates. Pipelines may run unit checks, security scans, integration tests and application evaluations. In AI systems, prompts and model configuration can be versioned inputs alongside code. This entry concerns the general software delivery discipline; ML CI/CD adds data, training and model-validation workflows. A pipeline's reliability depends on the relevance of its gates and the identity of the artifact released, not merely the presence of automation.","practice":"The practitioner defines triggers, isolated build environments and checks proportional to the change. Artifacts should be versioned and promoted consistently between environments. Credentials need narrow permissions, and release gates should have clear ownership. Useful outputs include pipeline configuration, check results and deployment records tied to a revision. Rollback must be workable for the deployed state. AI-specific regression cases can detect prompt or model changes that preserve software interfaces while altering user-visible behavior.","example":"A pull request changes a tool schema in an assistant. CI runs schema and integration checks, then evaluates representative requests against a controlled test service. The pipeline builds an immutable release artifact and records the results. A staging deployment exercises the actual tool path before promotion. If the production release causes failures, the team restores the previous artifact and configuration together instead of rebuilding an older commit under changed dependencies.","limits":"Green checks cannot prove behaviors the pipeline never tests. Flaky evaluations can obscure regressions, and a different build at deployment time breaks traceability. Automated deployment also needs a strategy for state changes that rollback cannot simply reverse. Quality requires meaningful gates, controlled secrets and verified artifact identity. CI/CD improves delivery discipline, but it does not substitute for a sound evaluation set or a release decision appropriate to the application's consequences.","sources":[{"title":"GitHub Actions continuous integration","url":"https://docs.github.com/en/actions/get-started/continuous-integration","note":"Defines automated build and test integration for software changes."},{"title":"GitHub deployment review","url":"https://docs.github.com/en/actions/how-tos/deploy/configure-and-manage-deployments/review-deployments","note":"Documents environment approval and deployment protection gates."}],"updatedAt":"2026-11-02"}},{"id":"ml-ci-cd","name":"ML CI/CD","category":"CI/CD & Automation","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"ML CI/CD extends software delivery pipelines to data processing, training and model validation. It versions the inputs and artifacts needed to produce a model, checks candidate behavior and promotes an accepted version through controlled deployment, so a data-driven update has traceable evidence and a recovery path.","type":"concept","editorial":{"definition":"A machine-learning release depends on code, data, feature definitions, configuration and trained parameters. ML CI/CD coordinates these artifacts and their checks, rather than treating a model file as an ordinary code build. Continuous training may create candidates when new data or another trigger arrives, but it remains distinct from automatically deploying them. Data validation checks whether training should proceed; model validation checks whether the candidate satisfies performance and compatibility requirements. General CI/CD delivers software changes, while ML CI/CD additionally manages the lineage and behavior of learned artifacts whose outcomes depend on changing input distributions.","practice":"The practitioner builds modular pipeline components, pins data and environment references and records artifact lineage. Gates should test data quality, leakage, relevant subgroups and the serving contract. A useful deliverable includes pipeline definitions, candidate evaluation records and a registered model version. Promotion should preserve the exact accepted artifact. Online rollout and monitoring complement offline checks, while rollback includes preprocessing and feature dependencies so the restored model receives inputs consistent with its training and validation.","example":"A forecasting pipeline receives a refreshed dataset and trains a candidate model. Schema checks catch a changed unit before training; after correction, the candidate is evaluated on time-separated data and critical product groups. The accepted artifact is deployed to a small traffic slice with its preprocessing version. A failed serving-compatibility check blocks promotion even if the forecast error improves, demonstrating that delivery gates cover the whole prediction service.","limits":"Automated retraining can reproduce bad data or silently promote a regression if the gates are weak. Aggregate metrics may conceal failures in important segments. Feature-store or preprocessing changes can break a model without changing its weights. Quality requires lineage, task-relevant validation and controlled promotion. A scheduled pipeline is not continuous improvement by itself: each candidate must earn acceptance under a stable comparison, and the system must handle cases where no new model should be released.","sources":[{"title":"MLOps continuous delivery and automation pipelines","url":"https://docs.cloud.google.com/architecture/mlops-continuous-delivery-and-automation-pipelines-in-machine-learning","note":"Describes CI, CD and continuous training with data validation, model validation, metadata and controlled rollout."}],"updatedAt":"2026-11-02"}},{"id":"docker","name":"Docker","category":"Deployment, Containers & Orchestration","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"Docker packages software and its runtime dependencies into container images and runs them as isolated processes. In AI work, practitioners use it to create repeatable training or serving environments, manage filesystem and network configuration and make the exact application package identifiable across development and deployment.","type":"tool","editorial":{"definition":"An image is a layered package describing the filesystem and execution defaults; a container is a running instance with configured resources, mounts and networking. A Dockerfile defines how the image is built. Containers share the host kernel, distinguishing them from full virtual machines. For AI workloads, model files may be included in the image or supplied separately, and accelerator access depends on host drivers and runtime configuration. Docker therefore standardizes important parts of packaging without making every host equivalent. The image, model artifact and deployment settings together determine the running application.","practice":"The practitioner chooses a suitable base image, pins dependencies and builds a minimal package with explicit startup behavior. Large models and data need a deliberate storage strategy rather than accidental duplication in image layers. Useful outputs include the Dockerfile, image digest and deployment configuration. Tests run the actual image with representative inputs, resource limits and expected mounts. Secrets should be supplied through runtime facilities rather than baked into layers, and host-specific GPU requirements need checking separately from ordinary application dependencies.","example":"A prediction service is packaged with its tokenizer and preprocessing code, while the versioned model weights are mounted read-only at startup. The container exposes a health check that confirms successful model loading. A staging test uses the release image digest, verifies missing-model failure and checks a sample prediction. The same image is promoted to production with explicit accelerator and memory settings, making differences in deployment configuration visible.","limits":"An image tag can move, and a repeatable package can still produce different results across hardware or drivers. Containers do not provide every isolation guarantee of a virtual machine. Oversized images increase transfer and startup time, especially for scaling inference services. Quality requires identifiable builds, controlled mounts and tested runtime behavior. Docker supports reproducible environments, but data versions, model artifacts, hardware and nondeterministic computation still need separate management for reproducible AI results.","sources":[{"title":"Docker overview","url":"https://docs.docker.com/get-started/docker-overview/","note":"Defines images, containers, build files, registries and the container execution model."}],"updatedAt":"2026-11-02"}},{"id":"ai-cost-optimization","name":"AI Cost Optimization","category":"Cost & FinOps","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"AI cost optimization changes architecture or execution choices to reduce the resources needed for an acceptable task outcome. It considers model selection, context, caching, batching and unnecessary calls together, measuring savings against quality and latency so a cheaper request does not create more expensive failure or rework.","type":"concept","editorial":{"definition":"Cost is driven by more than the price of one model call. An application may pay for input and output tokens, tool requests, retrieval, infrastructure and repeated attempts. Optimization can shorten redundant context, avoid generation when deterministic computation suffices, use cheaper models for suitable tasks or reuse valid work. Batch execution and caching have different tradeoffs from interactive serving. This differs from AI FinOps, which establishes financial visibility and organizational accountability. Cost optimization implements particular changes, and its target should be a meaningful unit such as an accepted answer or completed workflow rather than tokens alone.","practice":"The practitioner measures the full request path on representative traffic, including failures and retries. They identify major cost drivers and change one controllable factor with a quality comparison. Useful artifacts include a cost breakdown, evaluated alternative and a rollout check. Current provider pricing and infrastructure use should be measured rather than assumed. Savings need to survive the workload's actual input lengths and concurrency, and a model change should be tested on difficult cases that may trigger escalation or user correction.","example":"A document service repeatedly sends unchanged policy text with each classification request. The team evaluates a shorter task-specific context and a cheaper model against the same labeled examples. It also separates overnight batch processing from interactive requests. The chosen design is judged by accepted classifications, latency requirements and total resource use. A reduction in token consumption is rejected if it causes missing evidence and repeated manual corrections.","limits":"Lower unit prices can hide larger outputs, extra calls or degraded results. Caching may be inappropriate for fresh or personalized answers, and batching can violate interactive latency requirements. Quality requires matched comparisons and the complete cost of a useful outcome. Optimization should not remove evidence or validation merely because they consume resources. Provider prices and workload patterns change, so a sound result is tied to the measured configuration and should be rechecked when those conditions materially change.","sources":[{"title":"OpenAI cost optimization guide","url":"https://developers.openai.com/api/docs/guides/cost-optimization","note":"Describes request, token, model and execution choices that affect language-model application costs."}],"updatedAt":"2026-11-02"}},{"id":"ai-finops","name":"AI FinOps","category":"Cost & FinOps","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"AI FinOps applies financial-management practices to AI consumption so teams can understand spending, assign ownership and connect resources to useful outcomes. It combines usage attribution, forecasting and optimization decisions across engineering, finance and product, accounting for both variable model consumption and the infrastructure supporting AI workloads.","type":"concept","editorial":{"definition":"AI workloads introduce cost drivers such as tokens, accelerator time, training runs, retrieval services and model-related subscriptions. FinOps organizes how these costs are collected, allocated, forecast and evaluated against value. Unit economics connects spending to a business or workload unit, while budgeting and policies establish responsibility. This is broader than choosing a cheaper model and distinct from infrastructure monitoring alone. The same token count can serve very different task outcomes, so financial interpretation requires context. Shared gateways and platforms may also need allocation rules when their costs cannot be directly assigned to one request.","practice":"The practitioner reconciles usage records with bills, maps costs to applications or owners and defines useful units such as completed tasks. Forecasts account for input length, concurrency and expected adoption without treating uncertain demand as a precise fact. Useful outputs include allocation rules, budgets and a cost-and-value dashboard. Engineering and finance review anomalies together, then prioritize changes based on quality, reliability and savings. Optimization decisions should preserve the task requirements and make tradeoffs visible to the people accountable for them.","example":"A company operates several assistants behind a shared gateway. The FinOps process attributes provider usage to applications and separately allocates shared retrieval and hosting costs. A support assistant's cost per resolved request rises despite stable traffic, prompting investigation of longer agent loops. The team traces the change to a routing update and evaluates a correction. The decision uses completed-request quality and full operating cost, rather than comparing token bills without context.","limits":"Incomplete telemetry and inconsistent pricing references can produce misleading allocation. Per-token metrics can reward shorter but less useful interactions. Forecasting is uncertain when workloads or provider terms change rapidly. Quality requires reconciled costs, clear ownership and units tied to actual value. Financial visibility does not establish causal business benefit; claims about value need separate evidence. AI FinOps supports informed resource decisions while preserving the distinction between accounting, engineering optimization and outcome evaluation.","sources":[{"title":"FinOps for AI overview","url":"https://www.finops.org/wg/finops-for-ai-overview/","note":"Discusses AI cost drivers, allocation, forecasting, stakeholder responsibilities and token-aware unit economics."}],"updatedAt":"2026-11-02"}},{"id":"semantic-caching","name":"Semantic Caching","category":"Cost & FinOps","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"Semantic caching reuses a stored model response when a new request is judged meaningfully equivalent to a previous one. It typically retrieves candidate requests through embeddings and applies a similarity rule, allowing reuse beyond exact text matches while requiring safeguards for freshness, context and user-specific information.","type":"concept","editorial":{"definition":"The cache stores a request representation and its response. For a new request, an embedding search finds nearby records; a similarity evaluator decides whether a candidate is suitable for reuse. This differs from exact-key response caching and from prompt or prefix caching, which reuses intermediate computation while still generating a response. Semantic proximity is only a proxy for equivalent answer requirements. Two requests can share vocabulary but differ in date, authorization or a crucial condition. Cache identity must therefore include relevant application context, and invalidation must reflect source or policy changes.","practice":"The practitioner defines eligible request classes, partitions records by relevant user and application context and evaluates matching thresholds. Freshness and invalidation rules should be explicit. Useful outputs include a cache policy and a labeled set of valid and invalid reuse pairs. Testing inspects false hits as well as missed opportunities, and measures embedding and lookup overhead. Dynamic or action-bearing requests may need bypass rules. Stored responses should retain enough provenance to determine whether the evidence and conditions that supported them remain applicable.","example":"A public handbook assistant receives differently worded questions about the same stable leave policy. The cache retrieves a prior request and reuses its answer only when the policy version and employee category match. A question about a different country's policy is a deliberately similar negative test. After the handbook changes, the old records are invalidated. The test checks that semantic closeness does not override the category or version requirements.","limits":"False matches can return an answer that is fluent but wrong for the current user or condition. Time-sensitive information and hidden context make reuse difficult. Similarity thresholds vary by embedding model and workload, so a generic value is unreliable. Quality requires strict context boundaries, tested negative pairs and effective invalidation. A high hit rate alone is not success: the cache must preserve correctness and avoid disclosing another user's data while producing a net resource benefit.","sources":[{"title":"GPTCache documentation","url":"https://gptcache.readthedocs.io/en/latest/","note":"Describes embedding retrieval, cached response storage and similarity evaluation for semantic response reuse."}],"updatedAt":"2026-11-02"}},{"id":"serverless-ai","name":"Serverless AI","category":"Deployment, Containers & Orchestration","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"Serverless AI runs model-related work on infrastructure whose worker lifecycle and scaling are managed by a platform. Practitioners package the workload, select resources and tune initialization and concurrency so variable demand can be served without manually operating a fixed fleet, while accounting for startup delay and platform limits.","type":"concept","editorial":{"definition":"A serverless platform starts workers or containers to execute configured functions or services and adjusts capacity according to demand and policy. Some workloads can scale to zero when idle; others retain warm capacity. AI initialization may include downloading weights, importing libraries and loading models onto accelerators, making cold starts significant. Serverless describes an operational model, not the absence of servers or unlimited capacity. It differs from an always-on serving fleet, though both can use similar containers and inference engines. Resource availability, execution duration and persistence semantics depend on the selected platform and deployment configuration.","practice":"The practitioner chooses CPU or accelerator resources, packages dependencies and separates initialization from per-request work. They configure concurrency, idle retention and warm capacity based on workload requirements. Useful artifacts include deployment configuration and measurements of cold and warm request behavior. Tests cover bursts, resource unavailability and model-loading failures. Storage and cache design should avoid reloading large assets unnecessarily while respecting the platform's lifecycle. Cost comparisons include warm capacity and startup overhead, not only active inference time.","example":"An image-analysis service receives occasional bursts from batch uploads. Its serverless worker loads the model once per container and processes several requests before becoming idle. The team tests a request after a long quiet period and a burst while workers are already warm. It adjusts retained capacity for an interactive path and lets the overnight batch path tolerate startup delay, verifying each path against its own completion requirements.","limits":"Cold starts, capacity shortages and platform limits can undermine interactive service even when warm inference is fast. Scaling can also overload downstream storage or databases. Ephemeral local state should not be treated as durable. Quality requires measured lifecycle behavior, explicit concurrency and a plan for failed or delayed execution. Serverless may suit variable demand, but steady high-utilization workloads can justify other operating models; cost and reliability depend on the actual traffic and resource configuration.","sources":[{"title":"Modal cold start performance","url":"https://modal.com/docs/guide/cold-start","note":"Explains worker startup, initialization and controls for keeping resources warm in serverless execution."}],"updatedAt":"2026-11-02"}},{"id":"mlflow","name":"MLflow","category":"Experiment Tracking & Registry","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"MLflow is a platform for recording experiments and managing model-related artifacts and lifecycle information. Practitioners log configurations, metrics and outputs, identify candidate versions and connect evaluation to release decisions, making experimental results discoverable and traceable without assuming that tracking alone makes a model suitable for deployment.","type":"tool","editorial":{"definition":"MLflow Tracking organizes runs containing parameters, measurements and artifacts, while other platform components support model packaging, registration and newer AI application workflows. A run is an execution record; a model artifact is a deliverable whose lineage can be connected to that record. This separates experimenting from selecting and deploying a model. The platform can support multiple frameworks, but integration details and storage responsibilities still matter. MLflow does not define the scientific comparison or business acceptance criterion. The practitioner must choose meaningful measurements and preserve the inputs needed to interpret them alongside the logged output.","practice":"The practitioner configures a tracking backend and artifact storage, logs relevant code, data references and environment information and uses consistent metric definitions. Useful deliverables include searchable runs, versioned model artifacts and an evaluation record for promotion. Access and retention policies should fit the stored data. Before relying on automatic logging, the developer checks what it captures and what remains absent. A model selected from a dashboard still needs deployment compatibility tests and task-specific validation independent of how conveniently its metrics are displayed.","example":"A team compares forecasting configurations and records each run's data snapshot, feature settings and time-separated validation metrics. MLflow stores the model artifact with its run identifier. The team selects a candidate after checking important product segments, then tests its packaged prediction interface. When a later result differs, the earlier run record identifies the preprocessing and dataset versions needed to investigate the difference rather than relying on a notebook filename.","limits":"A tracking system can faithfully store an invalid experiment. Missing data versions, inconsistent metric definitions or test-set tuning still undermine comparisons. Artifact storage and metadata can diverge if cleanup or access rules are poorly managed. Quality requires complete lineage and meaningful evaluation, not simply many logged runs. Features and interfaces evolve, so the installed MLflow version and integration path should be verified before relying on lifecycle behavior described in a different release's documentation.","sources":[{"title":"MLflow platform documentation","url":"https://mlflow.org/docs/latest/ml/","note":"Introduces the platform's model and AI lifecycle components."},{"title":"MLflow experiment tracking","url":"https://mlflow.org/docs/latest/ml/tracking/","note":"Defines runs, parameters, metrics and artifacts recorded during experiments."}],"updatedAt":"2026-11-02"}},{"id":"weights-biases","name":"Weights & Biases","category":"Experiment Tracking & Registry","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"Weights & Biases is a platform for recording and comparing machine-learning experiments and their related artifacts. Practitioners instrument runs, inspect measurements and preserve configuration and data references, making collaborative analysis easier while ensuring that the tracked evidence is sufficient to interpret or reproduce a result.","type":"tool","editorial":{"definition":"A run records an execution with its configuration, logged measurements and associated outputs. The W&B client sends these records to a project where charts and comparisons support inspection. Artifact and workflow features can connect experiments to datasets and model versions, while the broader ecosystem includes tools for language-model applications. Tracking is distinct from training: the platform observes and organizes an experiment but does not decide whether its design is valid. Automatic integrations capture some information, yet the practitioner must still identify missing lineage, meaningful metric definitions and the conditions under which runs can be compared.","practice":"The practitioner initializes runs with consistent configuration, logs measurements at meaningful steps and links the artifacts needed to investigate the outcome. Useful outputs include a run record, comparison view and identified candidate artifact. Teams agree on metric names and evaluation splits to avoid comparing incompatible numbers. Access and retention settings need to match the stored information. A reproduction attempt should use the recorded code, data and environment references rather than treating a dashboard's visible parameters as a complete execution specification.","example":"A team trains several classifiers and logs configuration, learning curves and validation results through W&B. One run has a better aggregate metric but performs worse on a critical category, which a subgroup table reveals. The team inspects the corresponding predictions and data version before selecting a candidate. Later, a repeated run differs; the preserved configuration and artifact links help locate a preprocessing change that a metric chart alone would not explain.","limits":"Tracking can make a flawed comparison look orderly. Missing seeds, data snapshots or preprocessing information prevent reproduction even when model metrics are logged. Sensitive examples may be exposed through artifacts or tables if access is misconfigured. Quality requires complete relevant lineage and task-appropriate analysis. The product's interfaces and integrations evolve, so the installed client and hosting configuration must be checked when relying on automatic capture, synchronization or lifecycle behavior.","sources":[{"title":"Weights & Biases official client repository","url":"https://github.com/wandb/wandb","note":"Documents run initialization, configuration and metric logging and points to the platform's experiment and artifact integrations."}],"updatedAt":"2026-11-02"}},{"id":"gpu-kernel-programming","name":"GPU Kernel Programming","category":"GPU & Kernels","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"GPU kernel programming implements numerical operations as parallel work executed on a graphics processor. Practitioners choose thread and memory layouts, combine operations and handle numerical and shape constraints, aiming to reduce actual execution time while preserving the required computation across representative inputs and hardware.","type":"concept","editorial":{"definition":"A kernel describes work executed by many parallel processing units. Performance depends on how data is loaded, reused and synchronized, as well as arithmetic throughput. GPU memory hierarchies make unnecessary transfers expensive; fusion can keep intermediate values on-chip instead of writing them between operations. Languages and toolchains such as CUDA and Triton expose different levels of control. This differs from merely moving a tensor operation to a GPU through a framework. Kernel programming changes the operation's implementation, requiring attention to bounds, reductions, synchronization and numerical behavior as well as the algorithm's mathematical expression.","practice":"The practitioner profiles the workload to locate a meaningful bottleneck, implements a reference-equivalent kernel and tests shapes, strides and edge cases. Tiling and launch parameters are tuned on the actual target hardware. Useful outputs include the kernel, correctness checks and a benchmark that accounts for asynchronous execution and warmup. End-to-end measurements determine whether a local improvement matters to the application. A maintainable fallback is useful when a custom kernel cannot support all required shapes or devices.","example":"A preprocessing step computes row-wise normalization through several framework operations. A developer writes a fused kernel that loads each row, computes a stable reduction and writes the normalized values without materializing every intermediate tensor. Tests include irregular row lengths, empty handling and extreme values. Benchmarks compare the fused and reference implementations across the service's real shapes, and an application test checks whether preprocessing was significant enough for the change to affect request latency.","limits":"A fast kernel for one shape can be slower or incorrect for another. Register pressure, shared-memory use and synchronization can defeat expected gains from fusion. Reduced precision and approximate functions require explicit tolerances. Quality includes validated numerical behavior and realistic measurements, not theoretical operation counts alone. Custom kernels add hardware and compiler dependencies, so the maintenance cost should be justified by a demonstrated bottleneck that existing optimized libraries cannot adequately address.","sources":[{"title":"Triton fused softmax tutorial","url":"https://triton-lang.org/main/getting-started/tutorials/02-fused-softmax.html","note":"Demonstrates fusion, on-chip reuse, masked memory access, numerical checks and shape-dependent GPU benchmarking."}],"updatedAt":"2026-11-02"}},{"id":"inference-optimization","name":"Inference Optimization","category":"Inference Optimization","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"Inference optimization reduces the time or resources required to run a trained model while preserving acceptable output behavior. It combines workload measurement with choices such as batching, precision, kernels and memory management, balancing throughput and request latency under the actual input lengths and concurrency of the application.","type":"concept","editorial":{"definition":"Inference includes preparation, model execution and result delivery, with different bottlenecks across workloads. Language-model serving separates prompt processing from iterative token generation; both interact with memory capacity and scheduling. Optimizations may change implementation while preserving computation, or approximate it through quantization and other methods that require quality checks. This is broader than selecting an inference engine and distinct from training optimization. A throughput improvement can worsen waiting time for individual requests, so the objective must specify whether the application values capacity, interactive latency, cost or a combination.","practice":"The practitioner profiles the complete path and records hardware, model, precision and workload conditions. They change the dominant bottleneck and compare against a stable baseline. Useful outputs include an optimization configuration and measurements of throughput, latency distribution and quality. Load tests should reflect varied prompt and output lengths, including cancellation and overload. A matched comparison prevents gains from being attributed to a serving technique when the actual difference is a smaller model, shorter outputs or more hardware.","example":"A summarization service is slow under concurrent long-document requests. Profiling shows that prompt processing delays token generation for other users. The team evaluates chunked scheduling and batch settings, then checks completion latency and output quality on the same document set. A setting that increases total generated tokens per second but causes unacceptable waiting for short interactive requests is rejected. The accepted configuration reflects the mixed workload's requirements rather than one peak-throughput test.","limits":"Optimizations interact, and a result on one GPU or request distribution may not transfer. Quantization can alter task accuracy, while aggressive batching increases queue delay. Cache benefits depend on reuse and memory pressure. Quality requires application-level performance and behavior checks under representative load. An engine's advertised speed is not sufficient evidence for the deployment; the practitioner must preserve comparable conditions and account for preprocessing, networking and other components outside model execution.","sources":[{"title":"vLLM optimization and tuning","url":"https://docs.vllm.ai/en/latest/configuration/optimization/","note":"Explains workload-sensitive memory, scheduling, batching and parallelism tradeoffs in language-model inference."}],"updatedAt":"2026-11-02"}},{"id":"kv-cache-optimization","name":"KV Cache Optimization","category":"Inference Optimization","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"KV cache optimization manages the attention keys and values retained during autoregressive generation. It reduces memory waste or storage requirements and controls reuse across eligible prefixes, allowing a server to handle context and concurrency efficiently while checking whether any compression changes model output quality.","type":"concept","editorial":{"definition":"During decoding, a transformer can reuse previously computed attention keys and values instead of recomputing them for every new token. The cache grows with sequence length, layers, attention heads and representation size. Paged allocation stores blocks flexibly rather than requiring a large contiguous reservation, while prefix sharing can reuse valid identical context. Quantization or eviction changes storage differently and may introduce approximation. KV caching is distinct from caching final answers: generation still occurs. Optimization therefore includes allocation, lifecycle and precision decisions, and must preserve correct association between each request and its cached context.","practice":"The practitioner measures cache memory under representative context lengths and concurrency, then selects allocation and precision policies supported by the engine. Prefix reuse must match tokens and relevant model configuration exactly. Useful outputs include a memory budget, cache configuration and tests for varied sequence lengths. Quantized or compressed caches need task-quality comparison, especially long-context cases. Monitoring should reveal eviction, preemption and allocation failures so a memory-saving choice does not quietly produce repeated recomputation or unstable latency. In a multi-replica deployment, compare cache-aware routing with a load-only baseline. Balance reusable prefix length against active work, track evictions and stale cache information, and measure latency and goodput rather than maximizing cache-hit rate alone.","example":"A serving team runs many conversations with a shared initial instruction and different user histories. It enables eligible prefix reuse and evaluates lower-precision KV storage separately. Tests compare memory use, latency and answers on long retrieval tasks. A deliberately changed system instruction must miss the prefix cache. The team rejects a compression setting that loses relevant long-range evidence, even if it permits more simultaneous sequences to fit in memory.","limits":"Paged allocation reduces fragmentation but does not remove the cache's underlying growth. Prefix reuse benefits depend on actual repeated token sequences. Quantization and eviction can change accuracy, unlike exact allocation changes. Quality requires correct cache identity, realistic memory accounting and behavior checks for approximations. Confusing weight memory with KV memory can misdiagnose capacity problems, and a cache setting suitable for short requests may fail when long conversations occupy the same serving instance.","sources":[{"title":"PagedAttention paper","url":"https://arxiv.org/abs/2309.06180","note":"Explains block-based KV memory management and sharing to reduce waste in language-model serving."},{"title":"vLLM quantized KV cache","url":"https://docs.vllm.ai/en/latest/features/quantization/quantized_kvcache/","note":"Documents lower-precision KV storage and its implementation-specific configuration and accuracy considerations."},{"title":"Preble: Distributed Prompt Scheduling","url":"https://arxiv.org/abs/2407.00023","note":"Evidence for the added evaluation or serving practice."}],"updatedAt":"2026-11-02"}},{"id":"speculative-decoding","name":"Speculative Decoding","category":"Inference Optimization","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"Speculative decoding accelerates autoregressive generation by proposing several tokens with a cheaper draft process and checking them with the target model. A verification procedure accepts valid proposals and corrects rejected ones, reducing sequential target-model work when the draft agrees often enough to justify its overhead.","type":"concept","editorial":{"definition":"A draft model or another proposal mechanism produces candidate continuation tokens. The target model evaluates that continuation in parallel, and an acceptance-and-correction rule determines how much can be retained. Exact speculative sampling methods preserve the target distribution under their assumptions rather than simply accepting any fluent draft. This differs from using a smaller model as the final generator and from ordinary parallel request batching. Performance depends on proposal cost, agreement and the target model's execution characteristics. The algorithm changes the schedule of generation work, while the verification rule is what preserves the intended output distribution.","practice":"The practitioner selects a compatible proposal mechanism, configures draft length and measures acceptance behavior on real tasks. Benchmarks keep target model, sampling policy and hardware comparable. Useful outputs include decoding configuration and latency comparisons that account for the draft's resources. Testing covers prompts with low draft agreement, long outputs and concurrent requests. The implementation's exactness claims should be checked against the chosen verification and sampling options, especially when a runtime uses an approximate variant or additional heuristics.","example":"A service generates repetitive structured descriptions using a large target model. A smaller draft model proposes short token blocks, and the target verifies them. The team compares the same request set with and without speculation, including unusual terminology where acceptance is lower. It inspects whether the extra draft work still helps under concurrent load. A faster result on the easy subset does not justify enabling the method until the broader latency and output contract are checked.","limits":"Poor agreement can make drafting overhead outweigh saved target steps. Extra memory and compute may reduce serving capacity. Exactness belongs to a specified algorithm and implementation, not every feature called speculative decoding. Quality requires both distribution-preservation checks where claimed and realistic performance measurements. A technique that improves single-request decoding may behave differently under heavy batching, so throughput and interactive latency should be evaluated together for the deployment's workload.","sources":[{"title":"Fast Inference from Transformers via Speculative Decoding","url":"https://arxiv.org/abs/2211.17192","note":"Defines draft generation, target verification and sampling correction that preserve the target distribution under the method's assumptions."}],"updatedAt":"2026-11-02"}},{"id":"ollama","name":"Ollama","category":"Local Runtimes & Model Portability","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"Ollama provides a model-running service and interfaces for using supported language models, commonly on local hardware. Practitioners select and manage model artifacts, configure context and memory behavior and connect applications through its API, verifying whether the selected execution path is local and suitable for the available resources.","type":"tool","editorial":{"definition":"Ollama manages supported model packages and exposes generation and conversation interfaces through a local service, with documented additional cloud features. Model configuration includes prompting and runtime options, while hardware support determines how work is placed on CPU and accelerators. The tool is distinct from the model weights and from lower-level inference libraries. Installing Ollama does not imply that every model fits the machine or that every configured request remains local. A practitioner needs to understand the chosen model, context settings, server exposure and actual processor placement rather than infer those properties from a successful response.","practice":"The practitioner chooses a supported model and artifact version, checks resource requirements and inspects loading and processor information. They configure context length, retention and concurrency for the application. Useful outputs include a repeatable local setup and tested API requests. Network exposure and cloud-enabled paths need deliberate settings. Evaluation checks task quality alongside cold and warm latency, especially on machines where partial CPU execution changes performance. Logs help diagnose loading failures and distinguish resource constraints from application integration errors.","example":"A developer prototypes a handbook assistant on a workstation. Ollama serves a selected model through the local API, while the application supplies retrieved passages. The developer checks whether the model fits accelerator memory and tests a long question against the configured context. A repeated request compares warm behavior with initial loading. Before using sensitive documents, the setup is inspected for local-only execution and the service is kept within the intended network access boundary.","limits":"Local execution can still produce incorrect answers and can expose data if the service is opened broadly. Available memory, context length and concurrency interact. A convenient model name may refer to a changed artifact unless identity is preserved. Quality requires verified runtime configuration and task evaluation. Cloud features and external application integrations can alter data flow, so privacy claims should be based on the selected execution path rather than assuming all use of the product is inherently local.","sources":[{"title":"Ollama documentation","url":"https://docs.ollama.com/","note":"Introduces model-running interfaces and supported application integration paths."},{"title":"Ollama FAQ","url":"https://docs.ollama.com/faq","note":"Documents context settings, hardware placement, server configuration and the distinction between local and cloud execution."}],"updatedAt":"2026-11-02"}},{"id":"llama-cpp","name":"llama.cpp","category":"Local Runtimes & Model Portability","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"llama.cpp is a C/C++ inference project for running supported language models across CPUs and accelerator backends. Practitioners prepare compatible model artifacts, choose quantization and hardware placement and test generation settings, balancing memory footprint and speed against the quality required by the application.","type":"tool","editorial":{"definition":"The project implements model execution and provides tools and server interfaces around it. GGUF is a supported model container format that carries weights and metadata, while quantized representations reduce storage and computation requirements differently. Backend support enables execution on multiple hardware types, and some configurations split work between CPU and GPU. This differs from a hosted model API or a higher-level model manager. The engine's compatibility with a model architecture, tokenizer and artifact must be checked together. Lower precision can make a model practical on constrained hardware, but it can also change behavior compared with the original weights.","practice":"The practitioner obtains or converts a compatible artifact, records its identity and selects a supported backend. They tune context and offload settings within the machine's memory limits. Useful deliverables include a build configuration, artifact reference and benchmark with realistic prompts and output lengths. Quality comparisons inspect quantization effects on the actual task. Server integration tests cover request handling and concurrency, while deployment settings control access rather than treating a local inference endpoint as automatically safe for network exposure.","example":"A team needs an offline classifier on a laptop. It evaluates two GGUF quantizations of the same supported model, using llama.cpp with the laptop's available backend. Tests include long inputs and uncommon categories, checking both output accuracy and memory pressure. The selected configuration records context and offload settings. A smaller artifact is rejected if it changes decisions on important cases, even when its startup and generation appear more convenient.","limits":"Not every model architecture or hardware feature is supported by every build. Quantization labels alone do not predict application quality. CPU and GPU splitting can introduce transfer costs, and large contexts increase memory demand beyond the weights. Quality requires artifact compatibility, reproducible configuration and matched benchmarks. Results from one machine or build should not be generalized to all supported backends, because kernels, compiler choices and resource constraints affect both performance and available features.","sources":[{"title":"llama.cpp official repository","url":"https://github.com/ggml-org/llama.cpp","note":"Documents C/C++ inference, GGUF artifacts, quantization, hardware backends and command-line and server tools."}],"updatedAt":"2026-11-02"}},{"id":"kubernetes","name":"Kubernetes","category":"Deployment, Containers & Orchestration","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"Kubernetes orchestrates containerized workloads through declarative resources and controllers that maintain desired state. For AI systems, practitioners configure scheduling, resource requests, service access and lifecycle behavior so training or inference containers run reliably within cluster capacity, including accelerator and model-loading constraints.","type":"tool","editorial":{"definition":"Users declare resources such as Pods, Deployments, Jobs and Services, and controllers reconcile actual cluster state with those declarations. The scheduler places workloads on eligible nodes according to resource and policy constraints. Kubernetes manages the application lifecycle, not the model's numerical execution. Accelerator workloads require drivers and device integration, while persistent model storage and networking require additional configuration. This differs from Docker's packaging and local container execution. A container that starts successfully may still be unready to serve because model loading or a dependency is incomplete, so lifecycle probes must represent actual service state.","practice":"The practitioner specifies resource requests and limits, node eligibility and the appropriate workload controller. Readiness checks should reflect model availability, and graceful termination should account for active requests. Useful outputs include deployment manifests, scaling policy and operational runbooks. Tests cover node loss, startup failure and overload. GPU scheduling, storage transfer and initialization time need realistic capacity planning. Autoscaling signals should match the service's bottleneck rather than assuming CPU use is sufficient for an accelerator-bound model.","example":"An inference service runs on GPU nodes with model weights supplied from versioned storage. Its readiness probe remains false until the model and tokenizer are loaded. A rolling update creates new replicas before withdrawing old ones, with termination handling for active streams. A test removes a node and inspects whether replacement capacity becomes ready within the service's requirements. The team also checks that a burst does not schedule more replicas than eligible accelerators can support.","limits":"Kubernetes cannot create unavailable accelerator capacity or guarantee model quality. Poor probe settings can cause restart loops during slow initialization, and autoscaling can lag behind bursts. Cluster abstraction does not remove driver and hardware differences. Quality requires tested lifecycle and capacity behavior, controlled access and observability. Kubernetes adds operational complexity, so its use should solve concrete scheduling or reliability needs rather than be treated as a prerequisite for every model deployment.","sources":[{"title":"Kubernetes overview","url":"https://kubernetes.io/docs/concepts/overview/","note":"Explains declarative container orchestration, desired state and cluster workload management."},{"title":"Kubernetes GPU scheduling","url":"https://kubernetes.io/docs/tasks/manage-gpus/scheduling-gpus/","note":"Documents device-plugin and resource requirements for scheduling accelerator workloads."}],"updatedAt":"2026-11-02"}},{"id":"kubeflow","name":"Kubeflow","category":"Deployment, Containers & Orchestration","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"Kubeflow is a Kubernetes-oriented ecosystem for machine-learning development and workflows. Practitioners use its components to organize experiments, training and pipeline execution on a cluster, preserving artifacts and dependencies while managing the operational requirements inherited from Kubernetes and the selected ML components.","type":"tool","editorial":{"definition":"Kubeflow brings together components for activities such as interactive development, pipeline orchestration, training and optimization. A pipeline represents tasks and artifact dependencies, while cluster execution supplies resources and scheduling. The ecosystem is modular: an installation does not necessarily include every component, and a component's version determines its actual interfaces. Kubeflow is distinct from a model training framework and from Kubernetes itself. It organizes ML work above the container-orchestration layer, but the practitioner still needs to define data lineage, validation and serving decisions. Packaging a workflow as pipeline steps makes dependencies visible without establishing that the underlying experiment is scientifically valid.","practice":"The practitioner selects components required by the team's workflow and builds reusable steps with explicit inputs, outputs and resource needs. Data and model artifacts should be versioned, and execution metadata should preserve lineage. Useful results include a pipeline definition, run records and a cluster configuration appropriate to training demands. Tests cover failed components and resume behavior. Operational responsibilities include access, storage, accelerator availability and upgrades; these should be considered alongside the convenience of an integrated development environment.","example":"A team constructs a forecasting pipeline with data validation, feature preparation, training and candidate evaluation. Each step produces an artifact consumed by the next, and the model is not promoted when validation fails. A training job requests suitable cluster resources while the evaluation step uses a smaller allocation. The team inspects a failed run, reruns the corrected component and verifies that the final candidate still links to the intended data snapshot and configuration.","limits":"A platform installation can be operationally demanding, and components may have different upgrade and compatibility requirements. Pipeline completion does not establish model suitability or eliminate leakage. Shared clusters require clear resource and access policies. Quality depends on explicit artifacts, meaningful validation and tested failure recovery. Kubeflow is useful where cluster-based ML workflows justify the platform; smaller tasks may be easier to maintain with fewer components and a simpler execution environment.","sources":[{"title":"Kubeflow introduction","url":"https://www.kubeflow.org/docs/started/introduction/","note":"Describes the modular ML ecosystem and its workflow, training and development components on Kubernetes."}],"updatedAt":"2026-11-02"}},{"id":"bentoml","name":"BentoML","category":"Serving Runtimes","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"BentoML is a Python framework for building model inference services and packaging their dependencies for deployment. Practitioners define API contracts, initialize models and configure serving resources or batching, turning an inference script into an operational service whose inputs, outputs and lifecycle can be tested.","type":"tool","editorial":{"definition":"A BentoML service wraps model execution and application logic behind callable APIs. Packaging facilities record dependencies and deployment requirements, while serving features can support batching and multi-model composition. The model's inference runtime may remain a separate library inside the service. BentoML is therefore distinct from an engine such as vLLM or TensorRT and from TorchServe, which has its own server and handler contracts. The skill concerns composing a predictable service around model execution: when initialization happens, how requests are validated and how resource settings interact with the model's memory and concurrency requirements.","practice":"The practitioner defines typed API inputs and outputs, loads model artifacts deliberately and chooses resource settings based on measured execution. Batchable operations need correct grouping and result alignment. Useful deliverables include service code, a packaged deployment artifact and integration tests. Tests use the packaged environment and cover initialization failure, invalid input and concurrent requests. Deployment monitoring should separate queueing, preprocessing and model execution so performance problems can be addressed at the right service boundary.","example":"A sentiment model starts as a notebook function. A developer creates a BentoML service that validates text input, initializes the model once and returns labels with the relevant model version. Batch tests send differently sized request groups and verify output order. The packaged service is exercised in a staging container with a missing model artifact and constrained memory. Those tests establish operational behavior beyond the fact that the original function returned a label locally.","limits":"Service packaging cannot guarantee prediction quality or that chosen resources fit peak load. Dynamic batching can improve utilization while increasing waiting time, and multi-model services can contend for memory. Framework and deployment-platform interfaces evolve, so versioned configuration is necessary. Quality requires a stable API contract, repeatable artifact and tested lifecycle. BentoML can simplify service construction, but authorization, model validation and the suitability of the underlying inference runtime remain application-specific concerns.","sources":[{"title":"BentoML documentation","url":"https://docs.bentoml.com/en/latest/","note":"Introduces service APIs, model packaging and deployment facilities."},{"title":"BentoML official repository","url":"https://github.com/bentoml/BentoML","note":"Provides service examples and describes batching, resource use and multi-model inference composition."}],"updatedAt":"2026-11-02"}},{"id":"kserve","name":"KServe","category":"Serving Runtimes","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"KServe is a Kubernetes-based platform for deploying predictive and generative model inference services. Practitioners declare model resources and serving runtimes, configure scaling and networking and choose supported rollout behavior, giving model endpoints a managed lifecycle while keeping model quality and application access policy separate.","type":"tool","editorial":{"definition":"KServe supplies Kubernetes resources and controllers that connect model artifacts with runtime implementations. Its control plane manages desired serving state, while the data plane handles prediction requests. Serving runtimes, model storage and optional inference graphs support different deployment arrangements. This differs from the numerical engine that actually runs a model. KServe can wrap such an engine within a managed service. Features depend on deployment mode: the documented canary traffic mechanism requires serverless mode. A practitioner must therefore understand the chosen runtime and mode rather than assume that every installation supports identical autoscaling, rollout or networking behavior.","practice":"The practitioner defines the model artifact, runtime, resource allocation and deployment mode, then checks endpoint readiness and access. Rollout plans specify which observations permit promotion or rollback. Useful artifacts include serving manifests, runtime configuration and a release record. Integration tests inspect preprocessing, prediction and response contracts. Load and failure tests cover startup, unavailable storage and exhausted accelerator capacity. A small traffic slice can expose operational regressions, but its observations must be interpreted alongside task-quality evaluation rather than treating readiness as model acceptance.","example":"A team deploys a classifier using an InferenceService and a supported runtime. A candidate revision receives a limited traffic share in a mode supporting canary rollout. The team compares errors and task outcomes before promotion, while preserving the previous model artifact and preprocessing configuration. A test makes the candidate fail readiness and verifies that traffic remains on the healthy revision. Another checks rollback after a behavior regression that infrastructure health checks do not detect.","limits":"Declarative serving does not eliminate model-loading delays, cluster constraints or prediction errors. Rollout and scaling features have mode-specific requirements. A healthy endpoint can return semantically wrong outputs, and a canary may miss rare important failures. Quality requires verified runtime compatibility, application evaluation and a tested recovery route. KServe adds a control layer around serving; its value depends on operational requirements that justify maintaining the underlying Kubernetes and selected supporting components.","sources":[{"title":"KServe overview","url":"https://kserve.github.io/website/","note":"Defines the control and data planes, InferenceService resources and model-serving runtime role."},{"title":"KServe canary rollout strategy","url":"https://kserve.github.io/website/docs/model-serving/predictive-inference/rollout-strategies/canary","note":"Documents revision traffic splitting, rollback and the serverless-mode restriction for the described canary mechanism."}],"updatedAt":"2026-11-02"}},{"id":"llm-inference-serving","name":"LLM Inference Serving","category":"Serving Runtimes","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"LLM inference serving operates language models as services that accept requests and generate outputs under concurrent demand. It combines model execution with tokenization, scheduling, streaming and resource management, allowing practitioners to meet latency and capacity requirements while maintaining a stable request contract and controlled access.","type":"concept","editorial":{"definition":"A serving system loads model artifacts and prepares each request before executing prompt processing and iterative generation. It schedules multiple sequences, manages attention state and returns outputs or streams tokens. Engines differ in supported architectures, precision, batching and distributed execution. The service surrounding the engine also handles authentication, limits, cancellation and errors. This distinguishes serving from offline inference on a local script and from an API gateway that forwards requests to another server. End-to-end behavior depends on both layers: an efficient engine can still sit behind a slow or overloaded request path.","practice":"The practitioner chooses an engine compatible with the model and hardware, sets context and generation limits and tests the external API contract. Workload measurement includes prompt lengths, output lengths and arrival patterns. Useful outputs include a serving configuration, capacity test and operational dashboard. Streaming and cancellation should release resources correctly. Quality evaluation uses the deployed precision and decoding settings, while load tests examine latency distribution, error behavior and admission control under demand exceeding available capacity. Report request goodput alongside raw throughput: count completed requests meeting explicitly stated first-token and output-token latency targets per unit time. Preserve rejected and failed-request counts, and compare configurations under the same arrival and length distributions.","example":"A team serves a model for short chat replies and long document summaries. It configures request limits and scheduling, then runs a mixed load test rather than benchmarking one prompt repeatedly. The test checks time to first token, completion time and cancelled requests. A long request that fills the context must fail with an understandable error or be handled by an explicit application policy, without destabilizing unrelated conversations sharing the engine.","limits":"Peak throughput does not establish acceptable interactive latency or reliability. Model memory, KV state and runtime overhead all constrain capacity. API compatibility may cover only a subset of another provider's behavior. Quality requires representative load, tested errors and evaluation of the actual deployed model configuration. Serving infrastructure cannot correct missing knowledge or invalid tool reasoning, and operational scaling should not be confused with improvement in the model's task competence.","sources":[{"title":"vLLM online serving API","url":"https://docs.vllm.ai/en/latest/serving/online_serving/openai_compatible_server/","note":"Documents the request and generation interface exposed by an LLM serving engine and its compatibility limits."},{"title":"Ray Serve LLM architecture","url":"https://docs.ray.io/en/latest/serve/llm/architecture/overview.html","note":"Explains ingress, engine instances and distributed request handling around model execution."},{"title":"DistServe","url":"https://arxiv.org/abs/2401.09670","note":"Evidence for the added evaluation or serving practice."}],"updatedAt":"2026-11-02"}},{"id":"ray-serve","name":"Ray Serve","category":"Serving Runtimes","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"Ray Serve is a distributed serving framework for composing and operating model-backed services. Its LLM facilities place inference engines within scalable deployments and expose supported APIs, helping practitioners manage replicas, routing and multi-node execution while preserving engine-specific configuration and application behavior.","type":"tool","editorial":{"definition":"Ray Serve represents service components as deployments with replicas and connects them through handles and request ingress. The LLM layer uses an engine deployment to manage model execution and an ingress layer for the external API. The framework adds distributed placement, scaling and routing around the engine rather than replacing its numerical implementation. This differs from vLLM, which can execute the model inside a Ray Serve deployment. Understanding that separation helps locate bottlenecks: ingress CPU, replica availability and engine memory can constrain different parts of one request. Model and runtime compatibility still depend on the selected integration and version.","practice":"The practitioner defines deployments, resource and placement requirements and the appropriate scaling policy. They inspect ingress and engine capacity separately and check streaming, cancellation and error propagation. Useful outputs include a versioned application configuration and multi-node load tests. Model loading and replica initialization must fit rollout requirements. Failure tests remove a replica or node and verify what clients observe. Application authentication and data policy are configured deliberately around the serving path rather than inferred from the presence of an API-compatible ingress.","example":"A service has a lightweight preprocessing deployment and an LLM engine deployment requiring several accelerators. Ray Serve connects them and routes requests to eligible replicas. Under load, ingress becomes busy while engine utilization remains moderate, so the team evaluates ingress scaling separately. A node-loss test checks replica replacement and streaming errors. The resulting capacity plan distinguishes distributed service overhead from the engine's generation throughput instead of adjusting only model batch settings.","limits":"Distributed serving introduces coordination, startup and network failure modes. Autoscaling cannot immediately supply scarce accelerators, and an unbalanced ingress-to-engine configuration can waste capacity. A compatible API does not imply identical model behavior. Quality requires measured component bottlenecks, explicit resource placement and tested failure handling. Ray Serve is useful when composition or distributed operation solves a real deployment need; additional infrastructure does not automatically improve a small single-instance service.","sources":[{"title":"Ray Serve LLM documentation","url":"https://docs.ray.io/en/latest/serve/llm/index.html","note":"Introduces distributed LLM deployments, scaling, routing and the supported API layer."},{"title":"Ray Serve LLM architecture","url":"https://docs.ray.io/en/latest/serve/llm/architecture/overview.html","note":"Defines ingress and LLMServer roles, engine integration and component-specific scaling considerations."}],"updatedAt":"2026-11-02"}},{"id":"sglang","name":"SGLang","category":"Serving Runtimes","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"SGLang is a serving and execution framework for language and multimodal models, with techniques for reusing prefixes and managing structured generation. Practitioners configure the supported model runtime, memory and scheduling behavior and verify API and output requirements under the application's actual workload.","type":"tool","editorial":{"definition":"SGLang's published design combines a language-model programming interface with a runtime optimized for repeated and structured model calls. RadixAttention organizes reusable prefix state so shared portions can avoid repeated computation, while structured decoding constrains eligible continuations. Current serving documentation also describes distributed execution and API integrations. The framework is distinct from final-response semantic caching: prefix reuse still generates a response for the current request. It also differs from an orchestration framework concerned primarily with business-task state. The serving runtime determines how model requests use compute and memory, while the application determines whether the generated result is useful and authorized.","practice":"The practitioner checks model and hardware support, selects runtime settings and verifies the exact interface needed by clients. Cache and scheduling choices should be tested using real prefix reuse and varied lengths. Useful outputs include a serving configuration and workload-specific benchmark. Structured-output tests include difficult schemas and semantically invalid values, since syntax constraints do not establish truth. Quality checks use the deployed model, precision and decoding options, and cancellation tests verify that abandoned requests release serving resources.","example":"An extraction service uses a repeated instruction and schema across many documents. SGLang can reuse eligible prefix computation while generating document-specific fields. The team tests requests with and without shared prefixes and checks output against a labeled sample. A schema-compliant result that assigns a date to the wrong event remains an extraction error. The benchmark also includes uncommon long documents, preventing cache-friendly examples from being treated as representative of all service traffic.","limits":"Prefix benefits depend on matching context and available cache capacity. Supported models, backends and structured-output interfaces vary by version. Constrained generation can produce a valid structure with false contents. Quality requires realistic workload measurements and independent task checks. A runtime's optimization techniques should not be translated into guaranteed speedups for every deployment, because cache reuse, concurrency, hardware and model architecture determine whether the expected benefit appears in the application.","sources":[{"title":"SGLang documentation","url":"https://docs.sglang.io/","note":"Describes the serving framework, prefix caching, parallel execution and supported integration categories."},{"title":"SGLang: Efficient Execution of Structured Language Model Programs","url":"https://arxiv.org/abs/2312.07104","note":"Explains RadixAttention KV reuse and runtime support for structured language-model programs."}],"updatedAt":"2026-11-02"}},{"id":"vllm","name":"vLLM","category":"Serving Runtimes","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"vLLM is an inference and serving engine for supported language models, designed to manage concurrent generation and model memory efficiently. Practitioners configure model loading, scheduling, precision and API behavior, then test performance and output quality using the input lengths and request patterns expected in deployment.","type":"tool","editorial":{"definition":"The engine schedules generation across requests and manages attention state, with PagedAttention as a foundational approach to block-based KV cache allocation. Its current runtime offers multiple inference and serving features, whose support depends on the model, backend and version. A compatible HTTP interface can make client integration easier, but it does not reproduce every feature or semantic detail of another service. vLLM is distinct from a distributed application framework such as Ray Serve and from a gateway that routes requests without executing weights. Those systems can operate around it, while the engine remains responsible for the model's actual inference path.","practice":"The practitioner checks architecture and hardware compatibility, records model and tokenizer identity and sets context, precision and resource options. They benchmark realistic request mixtures and inspect memory pressure, preemption and latency distribution. Useful outputs include a serving configuration and validated client requests. Tool-use and structured-output support require model-specific testing. The application also needs authentication, request limits and reliable cancellation. Quality comparisons must use the deployed settings, particularly when quantization or alternative kernels change numerical behavior.","example":"A team hosts a model with vLLM and exposes a chat endpoint to an internal application. Tests include short conversations, long retrieved contexts and simultaneous requests. The team tunes scheduling to keep short tasks responsive without exhausting KV capacity. It inspects tool-call formatting against the client's expected schema and compares answers using the chosen precision. A load test confirms that rejected or cancelled requests are handled predictably instead of leaving the engine overloaded.","limits":"Paged memory allocation reduces waste but does not provide unlimited context or concurrency. Model and backend support evolve, and a successful startup does not establish every API feature. Performance depends on workload, hardware and resource configuration. Quality requires tested compatibility, realistic load and task evaluation. vLLM improves execution machinery; it does not make the underlying model factually reliable or supply the surrounding access and business-policy controls needed by an application.","sources":[{"title":"vLLM documentation","url":"https://docs.vllm.ai/en/latest/","note":"Documents model inference, runtime configuration, serving interfaces and supported feature categories."},{"title":"PagedAttention paper","url":"https://arxiv.org/abs/2309.06180","note":"Provides the foundational block-based KV cache mechanism associated with vLLM serving."}],"updatedAt":"2026-11-02"}},{"id":"model-retraining","name":"Model Retraining","category":"CI/CD & Automation","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"Model retraining updates learned parameters using a new or revised training dataset and procedure. It creates a candidate model whose usefulness must be compared with the deployed version, considering data quality, task changes and regressions before promotion, rather than assuming that fresher data automatically produces a better service.","type":"concept","editorial":{"definition":"Retraining can restart training from an initial state or continue from existing parameters, depending on the model and objective. Triggers include new labels, a scheduled refresh, changed requirements or evidence that deployed performance has deteriorated. Distribution change is a reason to investigate, not sufficient proof that retraining will fix the issue. This differs from changing inference settings, updating retrieval documents or revising prompts. Those interventions may solve a problem without altering weights. The retraining process must preserve the relationship among data, feature definitions, training code and the candidate artifact so comparisons and rollback remain meaningful.","practice":"The practitioner diagnoses the failure, validates new data and defines an evaluation that reflects the current task without leaking future information. Candidate comparisons include important subgroups and the serving contract. Useful outputs include a retraining run, artifact lineage and an acceptance decision. Deployment is a separate step with controlled rollout and monitoring. A failed candidate should leave the existing service intact. Retaining a suitable baseline helps distinguish benefits from data refresh, algorithm changes and random variation.","example":"A demand model begins making poor predictions after a product range changes. Investigation finds that new categories are missing from training and feature preparation. The team updates the data and pipeline, trains a candidate and evaluates it on a time-separated period containing those categories. The candidate is compared with the current model on existing categories as well. It is promoted only if the intended improvement survives those checks and its input contract is compatible with serving.","limits":"Retraining on flawed or delayed labels can make performance worse. A recent dataset may be too small or unrepresentative, and a trigger based on feature drift can miss the real cause of error. Quality requires diagnosis, appropriate validation and a controlled release. Retraining is not a substitute for repairing broken preprocessing or service behavior. An automated schedule should be able to produce no release when the candidate fails acceptance, rather than making deployment an inevitable consequence of completing training.","sources":[{"title":"TFX Evaluator component","url":"https://www.tensorflow.org/tfx/guide/evaluator","note":"Documents comparing candidate and baseline models against validation thresholds before downstream model release."},{"title":"MLOps automation pipelines","url":"https://docs.cloud.google.com/architecture/mlops-continuous-delivery-and-automation-pipelines-in-machine-learning","note":"Places retraining triggers, data checks and model validation within a controlled continuous-training pipeline."}],"updatedAt":"2026-11-02"}},{"id":"reproducibility","name":"Reproducibility","category":"CI/CD & Automation","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"Reproducibility makes a result repeatable or independently checkable by preserving the inputs, environment and procedure that produced it. In AI work, the practitioner versions data and code, records model and hardware conditions and controls randomness, while stating the tolerance or behavioral equivalence expected from a repeat execution.","type":"concept","editorial":{"definition":"A result depends on datasets, preprocessing, parameters, libraries, model artifacts and execution conditions. Random sampling and nondeterministic operations add variation. Reproducibility can require exact output equality in a controlled environment or comparable findings within a stated tolerance across environments. These are different claims. Setting a seed controls selected randomness but does not pin data, libraries or every parallel operation. The skill is distinct from experiment tracking, which records information, and from containerization, which packages part of the environment. Both help, but completeness and an actual repetition are what establish the claimed scope.","practice":"The practitioner captures immutable input references, dependency versions and the commands or pipeline needed to rerun the work. Seeds and deterministic options are recorded where relevant, including their performance tradeoffs. Useful artifacts include an execution manifest and a successful reproduction record. Comparisons define acceptable numerical or task-level variation in advance. Independent repetition should start from the preserved materials rather than hidden notebook state. For API models, recording the available model identifier and request configuration helps establish what can and cannot be recreated later.","example":"A team reports an improved classifier and asks a colleague to repeat the experiment from a clean environment. The package contains the data snapshot, split logic, preprocessing, environment specification and training configuration. The colleague obtains comparable validation behavior but slightly different floating-point values on another GPU. The report distinguishes that result from bitwise identity and preserves the hardware difference, avoiding a stronger reproducibility claim than the actual repetition supports.","limits":"Exact equality may be unavailable across hardware, library releases or remote model services. A seed alone can create false assurance, while undeclared data changes defeat repetition. Quality requires a stated scope, complete relevant materials and observed rerun behavior. Reproducibility does not prove that the original experiment is valid: a leaked dataset or biased metric can be reproduced faithfully. It enables scrutiny of a result but does not replace sound experimental design or task-appropriate evaluation.","sources":[{"title":"PyTorch reproducibility notes","url":"https://docs.pytorch.org/docs/main/notes/randomness.html","note":"Explains sources of randomness, deterministic-operation controls and limitations across platforms and releases."}],"updatedAt":"2026-11-02"}},{"id":"model-deployment","name":"Model Deployment","category":"Deployment, Containers & Orchestration","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"Model deployment makes an accepted model artifact available for operational use through a defined interface and environment. It combines packaging, configuration and rollout with readiness, monitoring and rollback, ensuring that the released prediction behavior corresponds to the model and preprocessing that were actually validated.","type":"concept","editorial":{"definition":"Deployment connects a model artifact with runtime dependencies, input transformation, serving code and infrastructure. The result may be an online endpoint, batch job or embedded application. A release can replace traffic immediately, run alongside an existing version or receive a limited share before promotion. This differs from training and from merely copying a model file to a server. Operational correctness requires the whole prediction path to match evaluation conditions. Versioning includes tokenizers, features and preprocessing as well as weights, because a correct artifact can behave differently when paired with incompatible surrounding components.","practice":"The practitioner defines the serving contract, packages immutable artifacts and validates the actual deployment environment. Readiness should confirm model availability, while rollout observations cover errors and task outcomes. Useful outputs include a release manifest, deployment record and tested rollback procedure. Access controls and request limits belong in the endpoint. Load tests establish capacity before full traffic. Monitoring should distinguish infrastructure failure from changed prediction quality, and promotion criteria should be specified before a candidate is exposed to users.","example":"A classifier is released with a new normalization step. The deployment manifest identifies both model and preprocessing versions, and staging checks compare endpoint outputs with the evaluated pipeline. A canary receives limited traffic before promotion. When a regression appears for a known input class, rollback restores the earlier pair together. The exercise verifies that restoring old weights with new preprocessing would not be considered a complete recovery.","limits":"An endpoint can be healthy while returning incorrect predictions. Canary traffic may miss rare cases, and schema compatibility does not establish semantic equivalence. Rollback can be difficult when surrounding data or state has changed. Quality requires artifact identity, tested contracts and observable rollout decisions. Model deployment is complete only when the intended operational path works under its requirements, not when a container starts or a model object loads successfully in a development notebook.","sources":[{"title":"Kubernetes Deployments","url":"https://kubernetes.io/docs/concepts/workloads/controllers/deployment/","note":"Documents controlled application revisions, rollout status and rollback for containerized serving deployments."},{"title":"KServe canary rollout strategy","url":"https://kserve.github.io/website/docs/model-serving/predictive-inference/rollout-strategies/canary","note":"Illustrates model-service revision traffic control and recovery in a supported deployment mode."}],"updatedAt":"2026-11-02"}},{"id":"experiment-tracking","name":"Experiment Tracking","category":"Experiment Tracking & Registry","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"Experiment tracking records how an experiment was configured, what it produced and how its results were measured. It links runs to data, code and artifacts so practitioners can compare alternatives, locate a selected model and investigate differences, turning scattered execution outputs into interpretable experimental records.","type":"concept","editorial":{"definition":"A tracking record typically includes parameters, metrics over time, artifacts and identifiers for the execution's inputs. Grouping related runs supports comparisons, while lineage links a saved model to the procedure that created it. This differs from production monitoring, which observes a running service, and from reproducibility, which establishes that a result can be repeated. Tracking supplies evidence for both but does not guarantee either. Metric definitions, evaluation splits and environment conditions determine whether two runs are comparable. A dashboard can organize incompatible measurements just as easily as valid experiments.","practice":"The practitioner chooses the information required to interpret the experiment and instruments logging at meaningful points. Dataset and code references should be immutable or otherwise identifiable. Useful outputs include searchable run records and a comparison tied to a specific candidate artifact. Teams use consistent measurement definitions and record failed runs instead of preserving only favorable outcomes. Before selecting a model, they inspect subgroup results and the evaluation protocol so a visible metric improvement is not mistaken for an equivalent comparison.","example":"A team varies an embedding model and retrieval cutoff while keeping its question set fixed. Each run records index version, query configuration, relevance metrics and example results. The comparison reveals that one apparent improvement used a newer corpus, so it is rerun under matched conditions. The selected configuration remains linked to the resulting index artifact. Later investigation can retrieve the exact run rather than infer its settings from an informal filename.","limits":"Missing inputs or inconsistent metric names make records difficult to interpret. Automatic logging can omit custom preprocessing and hidden state. Recording every artifact indiscriminately can increase storage and expose sensitive examples. Quality requires sufficient relevant metadata, clear comparison conditions and durable artifact links. Tracking should support decisions and scrutiny; the number of logged runs is not evidence of a rigorous experiment, and a well-recorded result can still be affected by leakage or inappropriate evaluation.","sources":[{"title":"MLflow experiment tracking","url":"https://mlflow.org/docs/latest/ml/tracking/","note":"Defines runs and the parameters, metrics, artifacts and backend storage used to organize experiment records."}],"updatedAt":"2026-11-02"}},{"id":"cuda","name":"CUDA","category":"GPU & Kernels","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"CUDA is NVIDIA's parallel-computing platform and programming environment for executing work on supported GPUs. Practitioners use its memory, kernel and execution model directly or through libraries, understanding compatibility and synchronization so accelerated AI operations are both correct and effective within the application's performance constraints.","type":"tool","editorial":{"definition":"CUDA exposes a host-device programming model in which CPU code coordinates GPU kernels. Threads are organized into blocks and grids, and the memory hierarchy provides different scopes and performance characteristics. Runtime and library facilities manage transfers, execution and optimized numerical operations. This differs from GPU acceleration as a general concept: CUDA is a particular platform with NVIDIA hardware and software requirements. Most framework users interact indirectly through tensor libraries, but deployment still depends on compatible drivers and builds. The skill includes recognizing asynchronous execution and the difference between a launched operation and completed device work.","practice":"The practitioner verifies hardware, driver and library compatibility, then profiles the actual workload before changing execution. Direct CUDA development requires careful memory access, synchronization and error checking. Useful outputs include a working environment specification and measured accelerated path. Benchmarks must account for device synchronization and data-transfer costs. Existing optimized libraries are preferable when they satisfy the operation; custom kernels are justified by a demonstrated gap. Resource monitoring helps distinguish compute limitations from memory pressure or a CPU-side bottleneck.","example":"An inference service uses a framework build requiring a compatible CUDA environment. A staging test checks model loading, device placement and predictions, then profiles preprocessing, transfer and execution separately. The developer discovers that repeated host-device copying dominates a small model's work and keeps intermediate tensors on the device. The change is measured end to end with synchronized timing, rather than reporting only the apparent duration of an asynchronous launch.","limits":"CUDA availability does not mean a workload is GPU-bound or that acceleration will improve latency. Unsupported versions, insufficient device memory and asynchronous errors can complicate diagnosis. Custom parallel code can introduce races or out-of-bounds access. Quality requires compatibility, numerical correctness and meaningful timing. CUDA is one accelerator ecosystem; claims about all GPUs or every training stack should not be inferred from its role in a particular NVIDIA-based deployment.","sources":[{"title":"CUDA programming model","url":"https://docs.nvidia.com/cuda/cuda-programming-guide/01-introduction/programming-model.html","note":"Defines host-device execution, kernels, threads, blocks and the CUDA memory and parallel-programming model."}],"updatedAt":"2026-11-02"}},{"id":"gpu-acceleration","name":"GPU Acceleration","category":"GPU & Kernels","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"GPU acceleration moves suitable computation onto a graphics processor to exploit parallel execution and high memory bandwidth. Practitioners identify work that can benefit, manage data placement and precision and measure the whole application, ensuring that transfer and scheduling overhead do not outweigh faster numerical operations.","type":"concept","editorial":{"definition":"GPUs execute many lightweight threads and are effective when an operation exposes substantial parallelism. AI frameworks can use optimized device kernels for matrix operations, convolutions and other tensor computations. Acceleration may require batching or restructuring the workload so enough work reaches the device. This differs from GPU kernel programming, which implements the operations directly, and from CUDA, one particular programming platform. Device memory, host-device transfers and synchronization constrain performance alongside arithmetic capacity. A model's weights fitting in memory does not imply that activations, attention state and concurrent requests will also fit under realistic execution.","practice":"The practitioner profiles the application, selects a compatible device path and verifies correct data and model placement. They adjust batching and precision only with numerical or task-quality checks. Useful outputs include a resource configuration and end-to-end benchmark with synchronized timing. Data should remain on the device across related operations where appropriate. Measurements separate preprocessing, transfer and execution to identify the real bottleneck. Capacity tests include the largest expected inputs and concurrency so accelerator use does not fail only after deployment.","example":"An image classifier runs slowly in a batch-processing service. Profiling shows that resizing and repeated copies consume much of the time. The team batches compatible images, keeps tensors on the device through inference and checks reduced-precision outputs against the reference. It measures total job time, including loading and transfer. An isolated fast matrix benchmark is not used as evidence that the complete image-processing pipeline improved.","limits":"Small or serial workloads may gain little from a GPU, and transfer overhead can dominate. Higher device utilization is not always better if latency requirements are violated. Reduced precision can change results, while memory exhaustion can occur only at peak input sizes. Quality requires measured application benefit and preserved correctness. Acceleration also depends on hardware and software compatibility; results from one device and workload should not be generalized to every GPU or AI operation.","sources":[{"title":"CUDA best practices guide","url":"https://docs.nvidia.com/cuda/cuda-c-best-practices-guide/","note":"Explains workload assessment, parallelism, data-transfer costs, memory placement and realistic acceleration profiling."}],"updatedAt":"2026-11-02"}},{"id":"flashattention","name":"FlashAttention","category":"Inference Optimization","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"FlashAttention is an exact attention implementation that reduces transfers between GPU memory levels through tiling and fused computation. It computes attention without materializing the full intermediate attention matrix in high-bandwidth memory, improving the execution and memory profile where the supported shapes and hardware benefit from that strategy.","type":"tool","editorial":{"definition":"Standard attention forms query-key scores, normalizes them and combines values, often writing large intermediate matrices to device memory. FlashAttention partitions the computation into tiles and maintains the information needed to combine partial results, reducing expensive reads and writes. The original method computes the same attention operation rather than replacing it with an approximate attention pattern. Exact here concerns the algorithm, not guaranteed bitwise equality across floating-point implementations. This differs from reducing attention's mathematical interaction count through sparse or linear approximations. For dense attention, IO efficiency does not remove its underlying quadratic arithmetic growth with sequence length.","practice":"The practitioner checks whether the framework or serving engine uses a supported FlashAttention path for the model, dtype and hardware. They compare correctness with appropriate numerical tolerances and benchmark relevant sequence lengths and batch sizes. Useful outputs include a verified execution configuration and memory and latency measurements. Profiling confirms that the optimized kernel is actually selected. End-to-end tests establish whether attention is a meaningful bottleneck; enabling a kernel option alone does not demonstrate improvement in an application dominated by other work.","example":"A transformer training job struggles with long-sequence memory usage. The team enables a supported FlashAttention implementation and compares outputs and gradients with the reference attention path on representative samples. It then measures peak memory and complete training-step time across the planned sequence lengths. A configuration with unsupported masking must fall back or fail explicitly. The accepted result preserves the required attention semantics and records the hardware and precision used in the comparison.","limits":"Benefits depend on shapes, dtype, hardware and surrounding execution. Unsupported masks or features may require another path, and different floating-point ordering can change small numerical details. Quality requires confirming kernel selection and measuring the full workload. FlashAttention does not supply unlimited context or alter the model's learned capability by itself. Describing it as universally faster or as eliminating all quadratic attention cost confuses an IO-aware implementation with a different attention algorithm.","sources":[{"title":"FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness","url":"https://arxiv.org/abs/2205.14135","note":"Defines tiled exact attention and analyzes reduced memory traffic between HBM and on-chip storage."}],"updatedAt":"2026-11-02"}},{"id":"openvino","name":"OpenVINO","category":"Inference Optimization","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"OpenVINO is a toolkit for converting, optimizing and running model inference on supported devices, including Intel CPU, GPU and NPU paths. Practitioners prepare compatible representations, select runtime devices and performance settings and validate predictions, managing the differences between conversion success, device support and useful application performance.","type":"tool","editorial":{"definition":"OpenVINO connects model conversion and optimization with a runtime that compiles models for selected device implementations. A converted representation expresses the model's graph and parameters, while device plugins determine how supported operations execute. Performance settings can emphasize latency or throughput, and quantization or compression may change precision. The toolkit is distinct from a model format such as ONNX and from a complete request-serving platform. It supplies execution components that an application can embed. Support depends on the device, model operations and release, so the same converted model may have different capabilities or efficiency across available targets.","practice":"The practitioner verifies conversion and device compatibility, preserves preprocessing and compares outputs with the source model. They choose device and runtime options based on the deployment's latency and concurrency needs. Useful artifacts include the converted model, environment specification and evaluated inference configuration. Optimization using lower precision needs representative calibration or other appropriate inputs and task-quality checks. Benchmarks use actual input sizes and include application overhead. Device availability and fallback behavior should be explicit instead of silently changing the intended execution target.","example":"A visual-inspection model is deployed on an industrial computer with a supported Intel accelerator. The developer converts the model, integrates the same normalization and compares predictions against the training framework on representative images. Latency and throughput settings are measured separately because the service handles individual frames and occasional batches. A test removes the intended device and checks that the application reports or follows its configured fallback policy without disguising the change as equivalent performance.","limits":"Conversion can succeed while a particular device lacks required operation or precision support. Quantization may reduce important prediction quality, and mixed-device execution can add overhead. Quality requires matched preprocessing, device-specific validation and measurements of the real application. Toolkit support should be checked against current documentation for the exact hardware and model. OpenVINO can improve deployment efficiency, but it does not guarantee that any trained model will run faster or retain acceptable behavior under every optimization.","sources":[{"title":"OpenVINO documentation","url":"https://docs.openvino.ai/","note":"Documents model conversion, runtime compilation, device plugins and inference optimization across supported hardware."}],"updatedAt":"2026-11-02"}},{"id":"tensorrt","name":"TensorRT","category":"Inference Optimization","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"TensorRT is NVIDIA's inference SDK for turning supported trained models into optimized GPU execution engines and running those engines. Practitioners define shape and precision requirements, build and validate the artifact and integrate the runtime, checking hardware compatibility and output quality before treating compilation as a successful deployment.","type":"tool","editorial":{"definition":"The builder transforms a model representation into an engine using supported operations and implementation choices suited to the target. The runtime loads that engine and executes predictions. ONNX is a common import path, though other integrations exist. Shape profiles, precision and supported plugins influence the compiled artifact. TensorRT is distinct from TensorRT-LLM's language-model-specific runtime facilities and from Triton Inference Server's request-serving layer. Engine portability has defined limits across hardware and software configurations. Optimization can preserve the intended graph while numerical representations or operation implementations still require comparison with the original model.","practice":"The practitioner verifies operator coverage, specifies expected shapes and precision and builds the engine in a recorded environment. They compare outputs using representative cases and meaningful tolerances. Useful deliverables include an identifiable engine, build configuration and integrated inference test. Performance measurements include the target's real batch sizes and data transfers. Unsupported operations need a deliberate plugin, alternative path or model change. Deployment tests confirm that the actual target can load the engine and allocate its execution resources before promotion.","example":"A segmentation model is exported to ONNX and converted into a TensorRT engine for a production GPU. The build includes profiles for the image sizes the service accepts. Validation compares segmentation outputs on representative scenes, including small objects sensitive to precision. A request outside the supported shape range is rejected clearly. The release stores the engine and build details so a GPU or runtime upgrade can be checked before reusing the artifact.","limits":"A compiled engine can be incompatible with another target or miss an input shape needed in production. Lower precision may alter task behavior, and custom plugins create maintenance obligations. Quality requires operator and shape coverage, verified loading and task-level comparison. Compilation success does not establish speed or accuracy. TensorRT's benefits depend on model, precision and hardware, so actual deployment measurements should replace universal claims based on a different network or benchmark configuration.","sources":[{"title":"TensorRT quick start guide","url":"https://docs.nvidia.com/deeplearning/tensorrt/latest/getting-started/quick-start-guide.html","note":"Defines the builder and runtime, optimized engines, ONNX conversion and hardware-dependent performance and compatibility."}],"updatedAt":"2026-11-02"}},{"id":"onnx","name":"ONNX","category":"Local Runtimes & Model Portability","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"ONNX is an open representation for machine-learning models that describes computation as a graph of typed operations and parameters. Practitioners export and inspect models in this format to move them between compatible tools, preserving input semantics and checking operator versions rather than assuming export guarantees portable behavior.","type":"tool","editorial":{"definition":"An ONNX model contains a graph, inputs and outputs, initializers and metadata, with operator semantics determined by imported domains and opset versions. The format separates the model representation from the framework that trained it and from the runtime that executes it. A runtime must support the relevant operators and types to evaluate the graph. This distinguishes ONNX from ONNX Runtime, one execution implementation, and from an optimized engine artifact built for specific hardware. Export translates framework behavior into the supported representation; dynamic shapes, custom operations and preprocessing can complicate that translation.","practice":"The practitioner chooses an export path and opset compatible with the target, declares input shapes and inspects the resulting graph. Structural validation should be followed by output comparison on representative inputs. Useful artifacts include the exported model, an input contract and parity checks against the source implementation. Preprocessing and tokenizer behavior need separate preservation if they are outside the graph. Deployment tests verify the target runtime's actual coverage instead of relying only on successful export in the training environment.","example":"A classifier trained in one framework must run in a different deployment stack. The team exports it to ONNX, records the opset and compares logits on the same normalized inputs. It discovers that preprocessing was previously performed outside the model and adds that contract to the deployment package. Tests include different permitted batch sizes and a malformed input, ensuring that portability covers the intended interface rather than one fixed example tensor.","limits":"A valid graph may use operators unsupported by the chosen runtime or execution provider. Export can change behavior through shape assumptions or missing external processing. Opset upgrades alter semantics and require compatibility checks. Quality requires structural validity, numerical parity and a complete input contract. ONNX facilitates interchange but does not guarantee identical performance, hardware support or task quality across every tool that can read the file.","sources":[{"title":"ONNX concepts","url":"https://onnx.ai/onnx/intro/concepts.html","note":"Explains graph structure, tensor values, operator domains and opset version semantics in ONNX models."}],"updatedAt":"2026-11-02"}},{"id":"onnx-runtime","name":"ONNX Runtime","category":"Local Runtimes & Model Portability","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"ONNX Runtime executes supported model graphs using CPU and accelerator implementations selected through execution providers. Practitioners load the model, configure providers and session behavior and inspect actual operation placement, validating that the deployed execution preserves predictions and meets performance requirements on the target hardware.","type":"tool","editorial":{"definition":"The runtime parses a model, applies supported graph optimizations and delegates eligible graph portions to execution providers. A provider connects operations to a hardware or library backend, with remaining work handled according to configured fallback behavior. This is distinct from ONNX, the representation of the computation, and from a standalone serving platform. Provider availability does not mean every model operation will execute on that device. Partitioning, input shapes and memory movement influence performance. The application also needs to preserve preprocessing and handle the session's actual input and output contract, which is not necessarily identical to the original training interface.","practice":"The practitioner checks model and provider compatibility, configures provider order and session settings and compares outputs against the source model. Useful artifacts include a runtime configuration, parity results and a profile showing operation placement. Data-transfer and thread settings are measured under representative load. Tests cover unsupported operations and missing providers so fallback behavior is intentional. Quantization or other graph changes require a new quality comparison, rather than assuming that executing a valid graph establishes equivalence.","example":"An application loads an exported classifier with a GPU provider and a CPU fallback. Profiling reveals that one unsupported operation runs on CPU, introducing transfers between graph partitions. The team evaluates a compatible graph revision and compares output parity and latency before accepting it. A test on a machine without the GPU provider verifies the configured fallback and performance reporting, preventing silent CPU execution from being mistaken for the validated accelerator configuration.","limits":"Provider support and performance vary across versions, devices and operations. A model can run successfully while falling back in ways that defeat expected speed. Optimizations and precision changes can affect output behavior. Quality requires inspected placement, compatible dependencies and task-level validation. ONNX Runtime helps execute portable representations, but neither the format nor the engine removes the need to test the complete model interface and performance on the actual deployment target.","sources":[{"title":"ONNX Runtime documentation","url":"https://onnxruntime.ai/docs/","note":"Introduces model execution, optimization and integration facilities."},{"title":"ONNX Runtime execution providers","url":"https://onnxruntime.ai/docs/execution-providers/","note":"Explains provider-based operation execution and the supported hardware and library integration model."}],"updatedAt":"2026-11-02"}},{"id":"nvidia-triton-inference-server","name":"NVIDIA Triton Inference Server","category":"Serving Runtimes","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"NVIDIA Triton Inference Server operates model endpoints through configurable backends, scheduling and version management. Practitioners define input and output contracts, batching and instance placement, connecting inference runtimes to a server that can handle concurrent requests and expose operational behavior across different model types.","type":"tool","editorial":{"definition":"Triton loads models from a configured repository and delegates execution to backends such as TensorRT or ONNX Runtime. Model configuration specifies names, shapes, types, batch support and scheduling. Dynamic batching can combine compatible stateless requests, while other schedulers address different model semantics. Ensembles connect model steps within a server-managed pipeline. This differs from Triton the GPU kernel language, despite the shared name, and from TensorRT, which builds and executes optimized engines. The server layer coordinates requests and model lifecycle; the backend implements numerical execution, and both influence the resulting service.","practice":"The practitioner creates a model repository and explicit configuration, then tests input validation, output alignment and backend compatibility. Batching settings should balance utilization with waiting time. Useful outputs include model configuration, a deployment package and realistic load tests. Instance placement and memory use need checking when several models share devices. Version policy and readiness should reflect the intended release process. Client tests include errors, timeouts and variable permitted shapes instead of assuming one successful request establishes a usable endpoint.","example":"A service hosts an image model and a text classifier on the same GPU. Triton configuration declares their separate contracts and instance groups. The team evaluates dynamic batching for image requests and checks that results are returned to the correct callers. A mixed load test reveals contention that was absent in separate benchmarks. The deployment is adjusted and retested, with both models' latency and memory behavior recorded before enabling the shared service.","limits":"A backend's supported model does not automatically satisfy every server contract or scheduler. Batching can increase latency, and shared devices can create contention. Configuration errors may be masked by automatic completion in simple cases but appear with varied inputs. Quality requires explicit contracts, correct scheduling and measured mixed-load behavior. Triton manages serving infrastructure; it does not establish prediction accuracy or eliminate the need for access control and application-specific release criteria.","sources":[{"title":"Triton Inference Server model configuration","url":"https://docs.nvidia.com/deeplearning/triton-inference-server/user-guide/docs/user_guide/model_configuration.html","note":"Documents model repositories and contracts, batch limits, schedulers, backend selection and instance configuration."}],"updatedAt":"2026-11-02"}},{"id":"tensorrt-llm","name":"TensorRT-LLM","category":"Serving Runtimes","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"TensorRT-LLM is NVIDIA's library and runtime ecosystem for optimized language-model inference on supported GPUs. Practitioners configure model execution, attention memory, batching and parallelism, using the documented backend for their version and validating both output quality and workload performance rather than treating the product name as a fixed compilation workflow.","type":"tool","editorial":{"definition":"TensorRT-LLM supplies language-model-specific execution components, optimized kernels and runtime control around autoregressive generation. Its current documentation describes a PyTorch-native architecture and a high-level LLM API, alongside a history of TensorRT engine-based workflows. Available paths and features depend on release and model support. This distinguishes it from general TensorRT model compilation and from Triton Inference Server's endpoint layer. Techniques such as in-flight request scheduling, KV management and multi-GPU parallelism address the changing sequence workloads of LLM serving. The practitioner must identify the actual backend and configuration used because older examples may describe a different execution path.","practice":"The practitioner verifies supported models, hardware and dependencies, then selects the documented runtime path and precision. They measure prompt processing, generation and memory behavior under representative concurrency. Useful artifacts include model configuration, deployment settings and matched performance and quality comparisons. Distributed setups need resource placement and failure tests. Application integration should verify streaming and request contracts separately from model execution. A benchmark should record backend and decoding settings so results are not compared as if all releases or workflows were equivalent.","example":"A team serves a large model across supported NVIDIA GPUs using TensorRT-LLM's selected runtime. It configures parallelism and request scheduling, then evaluates long prompts alongside short chat traffic. The test checks KV capacity, latency distribution and answers using the chosen precision. During an upgrade, the team identifies a changed runtime configuration instead of reusing an old engine-building tutorial unchanged. The release is accepted after both execution and client behavior pass the same regression workload.","limits":"Hardware, model and backend support constrain available techniques. Numerical and scheduling choices can affect quality or latency, and distributed execution introduces coordination costs. Quality requires current version-specific documentation and measured application behavior. TensorRT-LLM should not be described as universally requiring one compilation route or delivering a guaranteed speedup. Its optimized runtime addresses execution efficiency; task accuracy and the surrounding service's permissions, resilience and business logic still need independent validation.","sources":[{"title":"TensorRT-LLM overview","url":"https://nvidia.github.io/TensorRT-LLM/overview.html","note":"Describes the current PyTorch-native architecture, LLM API, optimized execution features and single- or distributed-GPU integration."}],"updatedAt":"2026-11-02"}},{"id":"torchserve","name":"TorchServe","category":"Serving Runtimes","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"TorchServe is a model server for PyTorch models with packaging, handlers, workers and request-serving configuration. The skill remains relevant to maintaining existing deployments and understanding their contracts. Its official documentation states that the project is no longer actively maintained and has no planned fixes or security patches.","type":"tool","editorial":{"definition":"A TorchServe model package associates model artifacts with a handler that initializes execution and transforms requests and responses. Server configuration manages workers, model versions, batching and endpoints, with metrics supporting operational inspection. This is different from the PyTorch training framework and from a generic container around an inference script. The handler is part of the prediction contract, so preprocessing and result interpretation must be versioned with weights. Maintenance status is also an operational property: existing releases remain available, but the official notice says new features, bug fixes and security patches are not planned. That changes how practitioners assess continued use or migration.","practice":"For an existing service, the practitioner inventories model packages, handler behavior, dependencies and server settings before making changes. They verify request contracts, worker lifecycle and batching with regression inputs. Useful outputs include a deployment record and, where needed, a migration plan preserving model and handler behavior. Operational review considers dependency support and exposure of management interfaces. A replacement server should be tested against the same inputs, outputs and performance requirements, rather than assuming that moving the weight file preserves the old service's semantics.","example":"A team maintains a TorchServe image classifier with a custom resizing and label-mapping handler. It records the package and server configuration, then builds a replacement endpoint using an actively supported stack. Regression tests compare preprocessing, labels, invalid-input behavior and batch result ordering. The migration is reviewed separately from retraining: the goal is to preserve the accepted model behavior while changing the serving machinery and reducing reliance on the unmaintained component.","limits":"The official maintenance notice means vulnerabilities and bugs may remain unresolved. Existing package and handler behavior can still be misunderstood, especially when custom preprocessing is undocumented. Quality requires verified contracts, controlled exposure and a considered support strategy. The Atlas entry should not present TorchServe as interchangeable with BentoML or as a currently maintained default. Its historical and operational relevance does not remove the need to evaluate dependency risks and supported alternatives for a particular deployment.","sources":[{"title":"TorchServe documentation","url":"https://docs.pytorch.org/serve/","note":"Documents model serving and explicitly states the project's limited-maintenance status and lack of planned fixes or security patches."},{"title":"TorchServe official repository","url":"https://github.com/pytorch/serve","note":"Provides model packaging, handlers, configuration and deployment material for existing TorchServe applications."}],"updatedAt":"2026-11-02"}},{"id":"real-time-inference","name":"Real-Time Inference","category":"Serving Runtimes","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"Real-Time Inference delivers model outputs within the response constraints of an interactive or time-sensitive application. Practitioners budget queueing, preprocessing, execution and delivery together, controlling load and failure behavior so the service meets its stated latency requirement while preserving prediction quality under concurrent demand.","type":"concept","aliases":["Realtime Inference","Real Time Inference"],"editorial":{"definition":"An inference request passes through multiple stages before an output is usable. Real-time requirements specify a deadline or latency objective for that path, rather than merely fast average model execution. Interactive language generation may distinguish time to first token from completion time, while a control application may need the entire prediction before a deadline. These are different contracts. The term does not automatically imply hard deterministic guarantees. This differs from throughput optimization, which emphasizes total work completed, and from batch inference, where delayed completion may be acceptable. Queue growth and overload handling often determine whether a service can satisfy its objective reliably.","practice":"The practitioner defines the latency objective and acceptable failure behavior, measures each stage and uses admission control, concurrency limits or scaling where appropriate. Useful outputs include a latency budget, load-test results and an overload policy. Tests should reflect arrival bursts and varied input sizes, reporting the distribution rather than one average. Model or precision changes need quality checks. Streaming can improve perceived responsiveness but does not shorten every task's completion requirement, so the measurement must match what the user or downstream system actually needs.","example":"A checkout service needs a complete risk prediction before continuing the purchase flow. The team measures feature retrieval, queue time and model execution under peak concurrent traffic. It sets a timeout and a defined fallback business path, then tests a slow dependency and unavailable worker. A separate chat service measures first-token and completion latency because its interaction differs. Neither service claims success from a fast unloaded model benchmark that excludes the surrounding request path.","limits":"High average speed can conceal unacceptable tail latency. Larger batches may improve throughput while increasing waiting, and autoscaling may respond too slowly to bursts. Unbounded queues turn overload into delayed failure. Quality requires a clearly stated objective, realistic load and tested degradation behavior. Hard deadlines need an architecture and evidence appropriate to that claim; ordinary best-effort serving should not be presented as deterministic real-time execution simply because typical responses feel quick.","sources":[{"title":"Ray Serve performance tuning","url":"https://docs.ray.io/en/latest/serve/advanced-guides/performance.html","note":"Discusses latency, throughput, concurrency and bottleneck measurement across the request-serving path."}],"updatedAt":"2026-11-02"}},{"id":"benchmark-analysis","name":"Benchmark Analysis","category":"Benchmarking","subcategory":null,"section_id":"ai-evaluation-observability","section_name":"AI Evaluation & Observability","description":"Benchmark analysis examines what an evaluation result actually measures and how far it can support a decision. It considers task coverage, data construction, scoring, uncertainty and comparison conditions, preventing a leaderboard number from being mistaken for a general account of model quality or suitability for an application.","type":"concept","editorial":{"definition":"A benchmark combines a task distribution, inputs, an execution protocol and a scoring rule. Its result is conditional on those choices. Analysis asks whether the tasks resemble the intended use, whether the model had access to similar test material and whether compared systems used equivalent tools or inference budgets. It also examines subgroup results and uncertainty hidden by an aggregate score. This differs from running a benchmark: execution produces measurements, while analysis interprets their meaning and limits. A strong result on knowledge questions may say little about reliable tool use or interactive assistance.","practice":"The practitioner reads the benchmark specification, checks the exact model and protocol and inspects sample tasks and failure cases. Comparisons record prompting, sampling, tools and resource budgets. Where possible, repeated trials or uncertainty estimates distinguish a meaningful change from noise. Useful artifacts include a benchmark interpretation note, coverage map and matched comparison table. The analysis identifies which application requirements remain untested and proposes additional task-specific evaluation. Public scores can guide investigation, but release criteria should connect to the behavior the product actually requires.","example":"A team considers a model with a higher score on a multiple-choice knowledge benchmark for a maintenance assistant. Analysis finds that the benchmark tests factual selection but not finding the correct manual revision, citing evidence or avoiding unsupported procedures. The team treats the score as one capability signal and runs a separate evaluation on those workflows. It also checks whether the competing model used additional inference effort, so the apparent improvement is not assumed to apply at the same latency budget.","limits":"Benchmark data can be contaminated, narrow or insufficiently representative, and scoring may reward behavior users do not value. Aggregates conceal severe failures on small but important groups. Even a well-designed benchmark does not certify every deployment setting. Good analysis states the supported conclusion and remaining unknowns, preserving the evaluation's actual scope rather than turning one number into a universal ranking of intelligence or reliability.","sources":[{"title":"Holistic Evaluation of Language Models","url":"https://arxiv.org/abs/2211.09110","note":"Defines a multi-scenario, multi-metric framework and explains the need to interpret language-model evaluations beyond one score."}],"updatedAt":"2026-11-02"}},{"id":"llm-benchmarking","name":"LLM Benchmarking","category":"Benchmarking","subcategory":null,"section_id":"ai-evaluation-observability","section_name":"AI Evaluation & Observability","description":"LLM benchmarking runs a documented set of tasks to compare language models under a defined protocol. It requires consistent inputs, settings and scoring, with separate attention to knowledge, reasoning, code or interaction capabilities; a benchmark score is evidence about that protocol rather than a universal measure of usefulness.","type":"concept","editorial":{"definition":"A benchmark supplies questions or tasks and a rule for judging responses. Multiple-choice tests can use answer accuracy, code tasks can execute tests, and open-ended tasks may use human or model-based judgments. MMLU and HumanEval illustrate different task and scoring designs. Models may be prompted directly or allowed additional samples, tools or reasoning effort, so the execution protocol materially affects comparison. Benchmarking differs from application evaluation because the benchmark's distribution may be broader, narrower or simply different from the product's users. Both can be valuable when their purposes are stated clearly.","practice":"The practitioner pins the benchmark version, model identifier, prompt template and decoding configuration. An evaluation harness records raw outputs, scoring failures and resource use so results are auditable. Repeated trials are considered for stochastic tasks, and per-task results expose weaknesses hidden in averages. Useful artifacts include the harness configuration, output records and comparison report. Where extra candidates or tools are allowed, their cost and selection rule are included. A fair comparison avoids silently giving one model a different opportunity to solve the task.","example":"A team evaluates two models on knowledge questions and code completion. For knowledge, both receive the same questions and answer format. For code, generated programs run against the same isolated tests, with a documented number of attempts. The report keeps these results separate and records time and usage. A model that improves code test success but loses accuracy on domain questions is then tested on the application's actual workload instead of being called the overall winner from a convenient combined average.","limits":"Training overlap, test leakage and protocol variation can distort comparisons. Executable tests may be incomplete, while model judges have their own biases. Scores can also shift across versions or prompt formats. Benchmarking should preserve raw evidence and clearly state the tested capability and budget. Public results help identify candidates, but selecting a deployment model still requires realistic task evaluation and an assessment of operational constraints.","sources":[{"title":"Measuring Massive Multitask Language Understanding","url":"https://arxiv.org/abs/2009.03300","note":"Primary description of MMLU task construction and knowledge evaluation."},{"title":"Evaluating Large Language Models Trained on Code","url":"https://arxiv.org/abs/2107.03374","note":"Introduces HumanEval and execution-based code evaluation."}],"updatedAt":"2026-11-02"}},{"id":"stochastic-system-debugging","name":"Stochastic System Debugging","category":"Observability, Tracing & Diagnostics","subcategory":null,"section_id":"ai-evaluation-observability","section_name":"AI Evaluation & Observability","description":"Stochastic system debugging investigates failures in applications whose outputs or execution paths can vary between runs. It combines reproducible configuration, detailed traces and repeated controlled experiments, so a developer can distinguish a systematic defect from sampling variation, nondeterministic infrastructure or an external dependency that changed.","type":"concept","editorial":{"definition":"A language-model workflow can vary because of token sampling, model service behavior, concurrent tool execution or unstable external data. Other machine-learning components may include random initialization or nondeterministic kernels. Debugging therefore needs more than replaying one input and expecting identical text. The developer identifies the stage at which behavior diverges and records the conditions of each run. A seed can control some random processes, but it does not universally synchronize hardware, service versions or asynchronous events. The target is an explainable failure mechanism and a measurable correction, not necessarily bit-for-bit equality everywhere.","practice":"The practitioner captures model settings, prompt and data versions, tool inputs, results and timing with appropriate redaction. It first isolates deterministic components, then repeats relevant cases under controlled conditions. Comparing traces reveals whether retrieval, argument generation or execution changed. Useful artifacts include a minimal failing case, a run distribution and a hypothesis tested by one controlled change. Regression checks should measure failure frequency or outcome classes where exact output matching is inappropriate, while deterministic contracts such as schema validation still use strict assertions.","example":"An assistant sometimes books the wrong service slot in a test environment. Repeated traces show that the model selects the right date but a concurrent availability check occasionally returns stale data. The team reproduces that timing condition and adds a server-side reservation check. A separate set of runs still reveals occasional argument errors, which receive their own fix. Treating both as one vague model problem would obscure the deterministic race and make the proposed prompt changes difficult to evaluate.","limits":"A single successful replay does not establish that an intermittent defect is gone. Seeds control only supported sources of randomness, and excessive retries can hide or worsen the underlying problem. Logging everything also creates privacy and storage risks. Good debugging preserves the minimum evidence needed to localize variation, measures the outcome over repeated relevant trials and verifies deterministic boundaries separately from probabilistic model behavior.","sources":[{"title":"PyTorch reproducibility","url":"https://docs.pytorch.org/docs/2.14/notes/randomness.html","note":"Explains controlled randomness and limits of deterministic behavior across platforms and releases."},{"title":"OpenTelemetry observability primer","url":"https://opentelemetry.io/docs/concepts/observability-primer/","note":"Establishes traces, metrics and logs as evidence for investigating system behavior."}],"updatedAt":"2026-11-02"}},{"id":"agent-evaluation","name":"Agent Evaluation","category":"Evaluation Design & Testing","subcategory":null,"section_id":"ai-evaluation-observability","section_name":"AI Evaluation & Observability","description":"Agent evaluation measures whether an agent completes tasks correctly while using tools, state and permissions appropriately across an execution trajectory. It goes beyond scoring a final sentence: the evaluator may need to inspect actions, intermediate evidence, environment changes and whether the result actually satisfies the user's goal.","type":"concept","editorial":{"definition":"An agent interacts with an environment through several decisions and actions. Its final answer can sound successful even when no requested change occurred or an unauthorized action was taken. Evaluation therefore combines outcome checks with trajectory or policy checks. Benchmarks such as WebArena and τ-bench provide specific environments and task protocols, rather than one universal agent metric. A trajectory can be assessed for tool argument correctness, recovery behavior or unnecessary actions, while outcome evaluation inspects the resulting state. Equivalent valid paths should be allowed where the task does not prescribe one exact sequence.","practice":"The practitioner defines success in observable environment terms and separates it from permission and efficiency constraints. Test environments reset state and avoid unintended external effects. Repeated trials capture stochastic reliability, and traces retain tool calls and results for review. Useful artifacts include task fixtures, outcome validators, policy checks and trajectory annotations. A failure taxonomy distinguishes planning errors, wrong tool use, missing evidence and execution failures. Evaluation also checks whether the agent stops and reports uncertainty when the allowed environment cannot support completion. Distinguish pass@k, success on at least one of k attempts, from pass^k, success on every one of k attempts. Report k, resets, sampling settings and the success rule. Repeated trials must start from equivalent states; a single successful demonstration does not establish consistent tool behavior.","example":"A support agent must update a customer's delivery preference after confirming the relevant account. The test verifies the stored preference, the account used and the absence of unrelated changes. Another case denies the update permission and expects an appropriate escalation. A final message saying the update is complete earns no success credit if the database state is unchanged. Conversely, a shorter valid action sequence is accepted when it achieves the same authorized outcome without following the evaluator's preferred wording.","limits":"Outcome checks can be incomplete, simulated environments may miss real constraints and model-based trajectory judges can misclassify actions. Repeated tasks can also leak into agent tuning. Quality reports should state the environment, success validator and allowed budget. Reliable behavior on one benchmark does not establish broad autonomy. Evaluation needs realistic permissions, interruptions and failure paths as well as successful tasks, with state inspection independent of the agent's own account of its work.","sources":[{"title":"WebArena: A Realistic Web Environment for Building Autonomous Agents","url":"https://arxiv.org/abs/2307.13854","note":"Provides an environment-based benchmark with tasks and outcome evaluation."},{"title":"τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domains","url":"https://arxiv.org/abs/2406.12045","note":"Examines tool use, policy adherence and repeated agent reliability in interactive tasks."}],"updatedAt":"2026-11-02"}},{"id":"llm-evaluation-design","name":"LLM Evaluation Design","category":"Evaluation Design & Testing","subcategory":null,"section_id":"ai-evaluation-observability","section_name":"AI Evaluation & Observability","description":"LLM evaluation design defines what acceptable behavior means and how to measure it on representative cases. It connects application goals to test data, scoring and release decisions, with explicit coverage of uncertainty, edge cases and the difference between a correct-looking response and a result supported by independent evidence.","type":"concept","editorial":{"definition":"An evaluation combines a task distribution, inputs, expected behavior and a scoring procedure. Some checks are deterministic, such as matching an identifier or executing code; others need human judgment or a calibrated model judge. The design must specify what each metric measures and how cases are selected. This differs from choosing an evaluation framework, which supplies execution infrastructure. A good design also distinguishes model capability from failures introduced by retrieval, prompts or tools. Evaluation data should represent the deployment setting while keeping a held-out portion outside repeated development and optimization.","practice":"The practitioner starts from user outcomes and enumerates failure modes that matter. It creates labeled examples, clear rubrics and slices for important languages, task types or difficulty levels. Scoring is validated against expert review, and repeated trials are used where output variability matters. Useful artifacts include the dataset specification, annotation guide, evaluator tests and release criteria. Cost and latency may be measured alongside quality but should not obscure unacceptable errors. As production evidence reveals new failures, the test collection is expanded without silently redefining historical results.","example":"A document assistant must answer questions using supplied manuals. The evaluation separately scores answer relevance, source support and correct handling of missing evidence. Cases include contradictory revisions and questions whose answers are absent. Reviewers label supported claims and agree on how to score uncertainty. A new prompt improves fluent phrasing but invents more unsupported details, so it fails the release criterion despite a higher overall preference score. The design makes that trade-off visible before the change reaches users.","limits":"A small convenient dataset can create false confidence, and a single aggregate can hide severe errors. Model-based judges can reward style or share the generator's blind spots. Repeated optimization can also overfit evaluation examples. Quality depends on defensible sampling, clear labels and independently checked scoring. The evaluation should state its scope and uncertainty, avoiding claims of general reliability beyond the cases and conditions it actually examined.","sources":[{"title":"Evaluation best practices","url":"https://developers.openai.com/api/docs/guides/evaluation-best-practices","note":"Official guidance on task-specific datasets, scoring, iteration and evaluation failure modes."},{"title":"Holistic Evaluation of Language Models","url":"https://arxiv.org/abs/2211.09110","note":"Provides a multi-scenario perspective on choosing evaluation dimensions and coverage."}],"updatedAt":"2026-11-02"}},{"id":"llm-as-judge","name":"LLM-as-Judge","category":"Evaluation Design & Testing","subcategory":null,"section_id":"ai-evaluation-observability","section_name":"AI Evaluation & Observability","description":"LLM-as-judge uses a language model to score, classify or compare another output according to an evaluation rubric. It can scale some review tasks, but the judge is itself a probabilistic system whose agreement with expert judgments, sensitivity to presentation and susceptibility to misleading content must be measured.","type":"concept","editorial":{"definition":"A judge receives a task, candidate response and criteria, sometimes with reference material or a competing response. It may assign a score, identify unsupported claims or select a preferred answer. Pointwise and pairwise designs have different biases and aggregation needs. The result reflects the judge model and prompt, rather than an objective measurement simply because it is automated. Position, verbosity, self-preference and rubric ambiguity can influence judgments. A model judge differs from executable validation, which can directly test a property such as code behavior or a schema constraint.","practice":"The practitioner writes a concrete rubric with examples, validates it on expert-labeled cases and checks disagreement by category. Pairwise comparisons can swap candidate order to expose position effects. The judge configuration, raw rationale or labels and aggregation rule are versioned. Useful artifacts include calibration results, bias probes and an escalation policy for uncertain judgments. Where evidence is available, the judge receives it explicitly. Deterministic checks remain separate, and the evaluator treats candidate text as data rather than instructions for how it should score itself.","example":"A team evaluates whether support replies answer the question and avoid unsupported promises. A judge sees the question, allowed policy evidence and candidate reply. Experts score a sample first, including verbose but evasive replies and concise complete replies. The team checks whether the judge favors length or misses invented refund promises. It then uses the judge to screen a larger collection, while reviewers inspect disagreement cases. Automated scores are accepted only for the criteria where calibration supports their use.","limits":"Judges can reproduce biases, fail on subtle factual errors or be manipulated by text embedded in the candidate answer. Agreement on one dataset does not establish validity in another domain. A fluent explanation of a score can also be wrong. Reports should identify the model, rubric and validation process, with independent review for critical cases. Model judging is a useful measurement component when calibrated, rather than a substitute for defining quality or establishing ground truth.","sources":[{"title":"Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena","url":"https://arxiv.org/abs/2306.05685","note":"Primary evaluation of model judges, human agreement and judge biases."}],"updatedAt":"2026-11-02"}},{"id":"deepeval","name":"DeepEval","category":"Evaluation Frameworks","subcategory":null,"section_id":"ai-evaluation-observability","section_name":"AI Evaluation & Observability","description":"DeepEval is a framework for evaluating language-model applications with test cases, configurable metrics and execution workflows. It helps teams automate checks and inspect results, while leaving the meaning of quality, the relevance of test data and the validity of model-based scoring to the evaluation design.","type":"tool","editorial":{"definition":"A DeepEval test case supplies inputs and outputs plus context or expected information required by the chosen metric. Evaluators may use deterministic checks, a judge model or other scoring logic depending on the metric. The framework organizes test execution and results so evaluations can become part of a development workflow. It is a particular tool rather than a universal measurement standard. A metric's name does not by itself establish what it actually checks; its inputs, prompts, aggregation and thresholds need inspection. Framework versions and judge configurations can also change measured scores.","practice":"The practitioner selects metrics that correspond to actual requirements, prepares representative cases and validates evaluator behavior on known successes and failures. It records the framework and model versions, parameters and acceptance thresholds. CI checks can run a focused suite, while broader evaluation examines distributions and failure categories. Useful artifacts include the test collection, metric configuration and reviewed score examples. Judge calls consume time and cost, so execution budgets belong in planning. Sensitive test inputs and outputs need controlled handling in stored results or connected services.","example":"A RAG assistant is tested on relevant answers, unsupported claims and questions with no usable context. The team configures appropriate DeepEval metrics and manually inspects whether their scores distinguish these cases. A release check then compares the new pipeline with the previous one on the same collection. An evaluator that rewards a polished unsupported answer is revised or replaced. The framework makes execution repeatable, but reviewers still decide whether the score corresponds to the behavior users require.","limits":"A framework cannot compensate for weak labels or a judge that shares the generator's mistakes. Thresholds copied from examples may be unsuitable for a domain, and metric implementation changes can invalidate comparisons. Evaluation results should preserve enough configuration to reproduce the measurement. DeepEval is valuable as infrastructure when its chosen checks have been validated, with separate evidence for task coverage, score interpretation and the application's acceptable failure rate.","sources":[{"title":"DeepEval quickstart","url":"https://deepeval.com/docs/getting-started","note":"Official framework setup, test cases and evaluation workflow."}],"updatedAt":"2026-11-02"}},{"id":"llm-evaluation-frameworks","name":"LLM Evaluation Frameworks","category":"Evaluation Frameworks","subcategory":null,"section_id":"ai-evaluation-observability","section_name":"AI Evaluation & Observability","description":"LLM evaluation frameworks provide software for organizing test datasets, running systems and evaluators, and comparing results across changes. They make measurement easier to repeat, but they do not determine what quality means; selecting cases, validating metrics and interpreting failures remain central parts of evaluation work.","type":"concept","editorial":{"definition":"A framework can execute application calls over a dataset, apply scoring functions and store outputs with their configuration. Some focus on RAG metrics, others on tracing, regression tests or human review. Scoring may involve reference answers, source context, executable checks or model judges. These mechanisms measure different properties and should not be combined merely because they produce numbers on a similar scale. A framework is distinct from a benchmark, which defines tasks and protocol, and from evaluation design, which establishes the requirements and sampling logic the framework should implement.","practice":"The practitioner chooses tooling based on the necessary data, scoring and integration contracts. It verifies that raw outputs, evaluator settings and error states remain inspectable. A small labeled collection checks whether the framework's selected metrics behave as intended before a large run. Useful artifacts include evaluator adapters, versioned datasets and comparison reports. Teams also test execution failures and missing scores so these are not silently treated as successful outputs. Access, retention and cost handling matter when evaluation sends examples to external judge services.","example":"A company compares two retrieval pipelines. The framework runs both on the same questions, records retrieved passages and applies separate checks for relevance, support and answer completeness. Human reviewers inspect a sample and all important disagreements. The report shows those dimensions individually and includes evaluator failures. A single convenient overall score is avoided when one pipeline improves retrieval but worsens unsupported claims. The tooling provides the evidence needed to make a decision without supplying the decision's priorities automatically.","limits":"Prepackaged metrics can carry hidden assumptions about references, context and language. Model judges introduce variability and bias, while framework upgrades can change results even if the application stays constant. Comparisons require stable or explicitly migrated configuration. Good framework use preserves measurement provenance and validates the evaluators against real requirements. It supports disciplined evaluation rather than turning automated execution or a dashboard into proof of system quality.","sources":[{"title":"Ragas: Automated Evaluation of Retrieval Augmented Generation","url":"https://arxiv.org/abs/2309.15217","note":"Primary example of a framework organizing several distinct RAG evaluation dimensions."},{"title":"LangSmith evaluation","url":"https://docs.langchain.com/langsmith/evaluation","note":"Official example of datasets, evaluators and experiment comparison infrastructure."}],"updatedAt":"2026-11-02"}},{"id":"llm-testing","name":"LLM Testing","category":"Evaluation Design & Testing","subcategory":null,"section_id":"ai-evaluation-observability","section_name":"AI Evaluation & Observability","description":"LLM testing checks that a model-powered application meets its functional contracts and handles known failure cases. It combines deterministic software tests with task-level evaluation of probabilistic outputs, so schema correctness, tool behavior, regression risks and answer quality are examined through methods appropriate to each property.","type":"concept","editorial":{"definition":"Some application behavior is deterministic: a parser must reject invalid records, a tool must enforce access and a retry policy must not duplicate a write. Other behavior depends on model generation and needs repeated or rubric-based assessment. Testing therefore spans unit checks for components, integration checks for data flow and evaluation cases for output quality. It differs from general benchmarking because it targets a particular application contract. Exact text equality is often unsuitable for valid paraphrases, while a vague semantic judgment is insufficient for identifiers, permissions or executable effects that can be checked directly.","practice":"The practitioner maps requirements to tests and keeps model-independent checks fast and strict. Representative evaluation cases cover expected behavior, insufficient evidence and difficult edge cases. Tests record model and prompt versions, with repeated trials where variation matters. Useful artifacts include component tests, integration fixtures and a regression collection tied to past failures. Mocked responses help exercise client code but do not validate the actual model. Release reports distinguish software checks from probabilistic quality measurements and state which failures block deployment.","example":"A scheduling assistant generates a structured booking proposal. Unit tests verify date parsing and authorization, integration tests verify the tool call lifecycle, and model tests check whether varied user requests yield the correct proposed time. An ambiguous timezone case should request clarification. A response with the correct schema but the wrong date fails the task test. A perfectly worded answer that bypasses the booking permission fails the application contract regardless of a model judge's preference.","limits":"A passing mocked suite can hide model failures, while a small output sample can hide intermittent regressions. Snapshot tests may also overconstrain harmless wording changes. Tests need clear property definitions and representative cases, including failures introduced by external services. LLM testing is most useful when each layer uses the strongest available check and when final task outcomes remain visible rather than being inferred from successful API calls or valid formatting.","sources":[{"title":"Evaluation best practices","url":"https://developers.openai.com/api/docs/guides/evaluation-best-practices","note":"Supports application-specific cases, regression evaluation and explicit scoring criteria."},{"title":"LangSmith evaluation","url":"https://docs.langchain.com/langsmith/evaluation","note":"Documents executing and comparing application evaluations over datasets."}],"updatedAt":"2026-11-02"}},{"id":"data-drift","name":"Data Drift","category":"Monitoring & Drift","subcategory":null,"section_id":"ai-evaluation-observability","section_name":"AI Evaluation & Observability","description":"Data drift is a change in the distribution of data observed by a system compared with a reference period or dataset. It can signal that deployment inputs no longer resemble development data, but a detected change does not by itself prove model degradation or explain whether retraining is the right response.","type":"concept","editorial":{"definition":"Drift can concern features, missingness, categories, text characteristics or predictions, depending on what is compared. Statistical tests, distances or discriminators can detect different forms of change. The reference and current windows define the comparison, while sample size and threshold affect sensitivity. Data drift differs from concept drift, where the relationship between inputs and the target changes. An input distribution can shift without harming a model, and target relationships can change even when simple feature summaries look stable. The distinction prevents treating every distribution alert as direct evidence of accuracy loss.","practice":"The practitioner selects meaningful reference and current windows, validates data types and monitors missing or newly introduced values separately where needed. It chooses tests suitable for the variable and checks false alarms under expected seasonal variation. Useful artifacts include drift reports, thresholds and an investigation procedure linked to quality or outcome measurements. Alerts should identify affected features and populations. Before retraining, the team checks for pipeline defects, changes in users or genuine behavior shifts, then assesses whether these changes affect the task the model performs.","example":"A demand model begins receiving more records from a new region. Monitoring detects a changed distribution in region and order size. The team checks whether the ingestion pipeline is correct and examines forecast errors for the new population once outcomes arrive. If quality remains acceptable, retraining may be unnecessary. If missing values increased because a source field was renamed, fixing the pipeline is more appropriate than teaching the model to accommodate corrupted input.","limits":"Large samples can flag small harmless differences, while small samples may miss important shifts. Marginal feature tests can also miss changed joint relationships. Alert thresholds require context and cannot be copied as universal standards. Drift should be investigated with data quality and task performance, avoiding automatic retraining based on one statistic. Its value lies in identifying a change worth examining, with explicit uncertainty about the effect on model behavior.","sources":[{"title":"Evidently data drift explainer","url":"https://docs.evidentlyai.com/metrics/explainer_drift","note":"Defines reference/current distribution comparisons and documents test-selection and missingness considerations."}],"updatedAt":"2026-11-02"}},{"id":"ml-monitoring","name":"ML Monitoring","category":"Monitoring & Drift","subcategory":null,"section_id":"ai-evaluation-observability","section_name":"AI Evaluation & Observability","description":"ML monitoring observes a deployed model and its data pipeline over time to detect operational failures, distribution changes and deterioration in task outcomes. It connects measurements to investigation and response, distinguishing a service that is available from a model that still produces useful predictions for the populations it serves.","type":"concept","editorial":{"definition":"Monitoring spans several layers. Service metrics track errors, latency and capacity; data checks track missing values, schema changes and distribution shifts; prediction and outcome metrics assess model behavior when labels or feedback become available. These signals answer different questions. Drift indicates changed data, whereas degradation requires evidence about task performance. For generative systems, timing or token measurements can complement output-quality sampling. Monitoring differs from offline evaluation because it observes real deployment conditions, but it still needs a reference, interpretable metrics and a policy for deciding which changes warrant action.","practice":"The practitioner defines service and quality objectives, instruments the inference pipeline and creates dashboards or reports segmented by relevant populations. Delayed labels require a planned join between predictions and outcomes. Alert thresholds are tested for useful sensitivity and manageable noise. Useful artifacts include metric definitions, alert owners and a response playbook. Investigation checks ingestion and infrastructure before retraining. Rollback, fallback and data repair should be operationally available so an alert can lead to a concrete response rather than only another notification.","example":"A delivery-time model maintains low inference latency but becomes inaccurate for a newly opened region. Monitoring by region reveals the error increase once actual delivery times arrive, while aggregate accuracy hides it. The team compares feature distributions and checks missing route information. If the source data is incomplete, it repairs ingestion; if the population genuinely differs, it evaluates an adapted model. The monitoring system preserves both operational and outcome evidence, showing why the service's health signal alone was insufficient.","limits":"Labels may arrive late or be biased toward users who provide feedback. Aggregated metrics can conceal subgroup harm, while many alerts can overwhelm operators. A monitoring dashboard does not determine causality or automatically justify retraining. Good practice defines the meaning and limitations of each signal and validates response procedures. Monitoring maintains evidence about deployed behavior, complementing rather than replacing pre-release evaluation and controlled model changes.","sources":[{"title":"Evidently documentation","url":"https://docs.evidentlyai.com/introduction","note":"Official framework overview for evaluating and monitoring data and AI systems."},{"title":"Evidently data drift explainer","url":"https://docs.evidentlyai.com/metrics/explainer_drift","note":"Defines distribution-change measurements as one monitoring component, separate from direct quality evidence."}],"updatedAt":"2026-11-02"}},{"id":"llm-observability","name":"LLM Observability","category":"Observability, Tracing & Diagnostics","subcategory":null,"section_id":"ai-evaluation-observability","section_name":"AI Evaluation & Observability","description":"LLM observability makes the behavior of a language-model application inspectable through traces, metrics and related records. It links prompts, retrieval, model calls and tool execution to a request outcome, helping teams investigate failures and resource use without assuming that a trace alone establishes the quality or truth of an answer.","type":"concept","editorial":{"definition":"An LLM request may contain several nested operations: retrieving passages, calling a model, executing a tool and verifying an output. Distributed traces connect these steps through spans and timing, while metrics summarize patterns such as errors, latency and usage. Application annotations can attach evaluation scores or feedback. Observability differs from evaluation: a trace shows what happened, while an evaluator assesses it against a requirement. Generative AI semantic conventions can improve consistency across instrumentation, but their versions and supported attributes need attention. Capturing content is optional and carries different privacy implications from recording operational metadata.","practice":"The practitioner instruments meaningful boundaries and propagates request context across asynchronous calls and tools. It records model and prompt versions, errors and usage in a consistent schema. Sampling, redaction and retention are planned before storing inputs or outputs. Useful artifacts include trace examples, dashboards and an incident investigation path. Evaluation labels are linked to traces so a poor answer can be inspected for missing evidence or wrong actions. Instrumentation overhead and gaps are measured, especially when streaming or retries split one user request into several calls.","example":"A document assistant becomes slower after a release. Traces show that retrieval time is stable but an added verification step doubles model calls. A separate quality review finds unsupported answers linked to empty retrieval results. The team can address the latency and evidence failures independently because the trace preserves step boundaries and configurations. A dashboard of average response time alone would not reveal either mechanism or distinguish a successful answer from a fast incomplete response.","limits":"Telemetry can be incomplete, sampled or misleading if spans lack consistent boundaries. Token counts and costs also depend on provider reporting. Logging full content can expose sensitive information without improving diagnosis. Observability should preserve enough evidence to investigate behavior under explicit access and retention rules. A well-instrumented system is easier to understand, but factual correctness, task success and permission compliance still require their own checks.","sources":[{"title":"OpenTelemetry observability primer","url":"https://opentelemetry.io/docs/concepts/observability-primer/","note":"Explains traces, metrics and logs as complementary operational signals."},{"title":"OpenTelemetry GenAI semantic conventions","url":"https://github.com/open-telemetry/semantic-conventions-genai","note":"Official conventions repository for generative AI instrumentation and evolving attribute definitions."}],"updatedAt":"2026-11-02"}},{"id":"langfuse","name":"Langfuse","category":"Observability, Tracing & Diagnostics","subcategory":null,"section_id":"ai-evaluation-observability","section_name":"AI Evaluation & Observability","description":"Langfuse is a platform and toolkit for observing and evaluating language-model applications, with features for tracing and prompt management. The skill involves instrumenting meaningful application steps, connecting runs to their configuration and designing useful evaluation or review workflows, while controlling which sensitive content enters stored telemetry.","type":"tool","editorial":{"definition":"Langfuse records application traces and nested observations such as model generations and tool-related work. These records can carry timing, usage, prompt references and evaluation or feedback information. Prompt management supplies versioned templates and deployment references, while evaluation features help compare behavior. The platform does not determine quality by itself: a stored score depends on the selected evaluator and data. Langfuse is a particular implementation of observability and evaluation infrastructure rather than a standard requiring every application to log all inputs. Available SDK and deployment behavior depends on the current version.","practice":"The practitioner chooses span boundaries, propagates trace context and links generations to the exact prompt and model configuration. Content logging uses an explicit redaction and retention policy. Evaluators are tested on labeled cases before their scores become release criteria. Useful artifacts include instrumentation code, a prompt-version mapping, reviewed traces and dashboards tied to operational or quality questions. Sampling should retain enough failure evidence without indiscriminate collection. SDK changes are checked for instrumentation compatibility so a migration does not silently break trace relationships or usage reporting.","example":"A support assistant logs retrieval, answer generation and output validation as separate observations in one trace. A user's report of an invented warranty promise can then be inspected with the prompt version and retrieved policy passages. The team adds an evaluator for unsupported promises and validates it against expert-reviewed cases. The trace helps locate the failure, while the evaluator measures the property. Customer identifiers and unnecessary message content are removed before telemetry leaves the application boundary.","limits":"A complete-looking trace can still omit a tool result or capture the wrong context, and evaluation scores can inherit judge bias. Telemetry volume and sensitive-content retention also require operational planning. Product features evolve, so implementation should follow current SDK documentation. Langfuse is useful when its records answer concrete debugging or quality questions, with separate validation of instrumentation accuracy, evaluator meaning and the access rules governing stored data.","sources":[{"title":"Langfuse observability overview","url":"https://langfuse.com/docs/observability/overview","note":"Official trace and observation concepts for application instrumentation."},{"title":"Langfuse prompt management","url":"https://langfuse.com/docs/prompt-management/overview","note":"Documents prompt versioning and links between prompts and runtime traces."}],"updatedAt":"2026-11-02"}},{"id":"ai-output-verification","name":"AI Output Verification","category":"RAG, Grounding & Output Verification","subcategory":null,"section_id":"ai-evaluation-observability","section_name":"AI Evaluation & Observability","description":"AI output verification checks a generated result against evidence, rules or observable behavior before relying on it. It distinguishes plausible language from supported claims and correct actions, choosing a stronger check when available rather than treating model confidence or a second fluent response as sufficient proof.","type":"concept","editorial":{"definition":"Generated outputs can be wrong in different ways: a claim may lack evidence, a calculation may use the wrong units, code may fail tests or an action may never have occurred. Verification chooses a test suited to the property. Source comparison assesses factual support, executable checks assess code or arithmetic behavior, and state inspection assesses actions. A second model can help review content, but it remains another fallible evaluator. Verification differs from editing for clarity or preference: a polished result may still fail the independent check needed to establish that it is usable.","practice":"The practitioner decomposes the result into claims or required properties and identifies an appropriate evidence source or validator for each. It checks cited passages, identifiers, calculations and externally visible effects as relevant. Useful artifacts include a verification checklist tied to task requirements, validators and a record of unresolved uncertainty. Automatic checks can screen common failures, while expert review handles cases without reliable automation. The verification method itself is tested with deliberately incorrect outputs so a passing result has an interpretable meaning.","example":"An assistant produces a maintenance summary stating that a component was replaced and a test passed. Verification checks the service note for the replacement evidence and the test log for the actual result. A mentioned component that was only inspected does not satisfy the replacement claim. If the assistant also generated a cost total, an independent calculation checks the line items. The final summary retains supported statements and identifies missing evidence instead of relying on how confident the generated paragraph sounds.","limits":"Verification can fail when sources are wrong, validators are incomplete or reviewers share the original assumption. A model's self-assessment is not independent ground truth. Checking every claim can also be expensive, so effort should follow the consequence and available evidence. The important distinction is between a tested property and a broader guarantee: passing schema, citation or code checks establishes only what those checks actually examine, with remaining uncertainty stated clearly.","sources":[{"title":"Enabling Large Language Models to Generate Text with Citations","url":"https://arxiv.org/abs/2305.14627","note":"Examines whether generated claims are supported by cited evidence."},{"title":"OpenAI Model Spec","url":"https://model-spec.openai.com/2025-12-18.html","note":"Provides an explicit provider account of truthfulness, uncertainty and execution-error risks."}],"updatedAt":"2026-11-02"}},{"id":"rag-evaluation","name":"RAG Evaluation","category":"RAG, Grounding & Output Verification","subcategory":null,"section_id":"ai-evaluation-observability","section_name":"AI Evaluation & Observability","description":"RAG evaluation measures how retrieval and generation jointly produce answers from an evidence collection. It separates whether relevant material was found, whether the answer used that material faithfully and whether it addressed the question, so a single polished response or overall score does not hide the stage that failed.","type":"concept","editorial":{"definition":"A RAG pipeline can retrieve irrelevant context, omit a necessary passage or generate claims unsupported by good context. Evaluation therefore needs several dimensions. Retrieval metrics compare ranked candidates with relevance judgments or known supporting passages. Answer checks examine completeness, relevance and contextual support; references or expert labels may also establish correctness. Faithfulness to retrieved context is distinct from real-world truth because a source can itself be wrong. Model-based evaluators can estimate some dimensions, but their prompts and validation matter. The unit of evaluation is the configured pipeline, including data preparation and context selection.","practice":"The practitioner builds questions with supporting evidence and expected behavior, including unanswerable and conflicting-source cases. It retains retrieved passages and source versions during runs. Separate scores and error categories identify retrieval misses, unused evidence and unsupported claims. Useful artifacts include relevance labels, claim–source annotations and a baseline comparison. Evaluators are checked against human judgments, and cost and latency are recorded alongside quality. Changing chunking, embeddings or generation settings is tested end to end because a local metric gain can worsen the final answer.","example":"A policy assistant answers carry-over questions using a policy library. Evaluation finds that the relevant exception appears among candidates but is removed by context selection, leading to an incomplete answer. Another case retrieves an old policy and produces a perfectly faithful but outdated answer. These failures need different corrections. The report preserves retrieval coverage, source version correctness and answer support separately, allowing the team to improve selection or ingestion rather than simply replacing the generator.","limits":"Automated scores can disagree with expert review and may overlook subtle qualifiers. Reference answers can be incomplete, while evaluation questions generated from the same source may be unrealistically easy. Strong faithfulness does not establish source accuracy or answer completeness. Quality reports should name the dimensions, labels and pipeline version, and retain evidence for inspection. RAG evaluation is useful when it diagnoses concrete failure mechanisms instead of collapsing all behavior into one reassuring number.","sources":[{"title":"Ragas: Automated Evaluation of Retrieval Augmented Generation","url":"https://arxiv.org/abs/2309.15217","note":"Defines distinct dimensions for retrieval context and generated-answer evaluation."},{"title":"Ragas faithfulness metric","url":"https://docs.ragas.io/en/stable/concepts/metrics/available_metrics/faithfulness/","note":"Documents claim support as a context-dependent property rather than universal factual correctness."}],"updatedAt":"2026-11-02"}},{"id":"ragas","name":"Ragas","category":"RAG, Grounding & Output Verification","subcategory":null,"section_id":"ai-evaluation-observability","section_name":"AI Evaluation & Observability","description":"Ragas is a framework for evaluating retrieval-augmented generation and related language-model workflows through configurable metrics and test data. It offers ways to assess context and answers, but using its scores responsibly requires inspecting metric definitions, supplying the required evidence and validating automated judgments against the application's real quality criteria.","type":"tool","editorial":{"definition":"A Ragas evaluation receives records containing fields required by the selected metric, such as a question, response, retrieved context or reference information. Different metrics assess different properties; some use a language model to decompose or judge content, while others use additional models or calculations. The original Ragas paper focuses on reference-light evaluation of RAG dimensions, and the implementation has broader capabilities that depend on version. Ragas is therefore a tooling choice, not a standard definition of correct answers. Scores inherit the assumptions and limits of their evaluator and input construction.","practice":"The practitioner selects metrics that correspond to concrete failure modes and checks their required fields. It validates scores on manually reviewed examples, including unsupported but fluent answers and correct answers with different wording. Metric, judge and model versions are recorded with the dataset. Useful artifacts include evaluation configuration, score distributions and examined disagreement cases. Cost and evaluator failures are included in the run report. Generated test sets should be reviewed for realism and kept separate from repeated prompt or pipeline optimization where an independent final measurement is needed.","example":"A documentation assistant is assessed for retrieval relevance and answer support. The team supplies the actual retrieved passages and compares Ragas scores with reviewers' labels. A response that accurately quotes an outdated manual may receive strong contextual support but still fail the application's current-version requirement. The team adds a separate version check instead of interpreting the faithfulness score as total correctness. Pipeline revisions are compared on the same dataset and evaluator configuration to keep changes interpretable.","limits":"Model judges can miss contradictions or share the generator's assumptions, and metric behavior can change across releases. Reference-light scoring does not remove the need for reliable evidence and calibration. A numerical threshold copied from a tutorial is not an application quality standard. Ragas is useful for organized measurement when its selected metrics have been validated, with separate checks for source accuracy, required coverage and operational failures outside the metric's scope.","sources":[{"title":"Ragas: Automated Evaluation of Retrieval Augmented Generation","url":"https://arxiv.org/abs/2309.15217","note":"Primary account of the framework's RAG evaluation approach."},{"title":"Ragas documentation","url":"https://docs.ragas.io/en/stable/","note":"Official metric definitions and implementation guidance."}],"updatedAt":"2026-11-02"}},{"id":"hallucination-detection","name":"Hallucination Detection","category":"RAG, Grounding & Output Verification","subcategory":null,"section_id":"ai-evaluation-observability","section_name":"AI Evaluation & Observability","description":"Hallucination detection identifies generated claims that are unsupported, contradicted or otherwise unreliable under a specified evidence standard. It can use source comparison, consistency checks or trained evaluators, but the detector's scope must be explicit because contextual support, real-world factuality and repeated model agreement are different properties.","type":"concept","editorial":{"definition":"The term hallucination is used for several failures, including fabricated facts and claims unsupported by supplied context. A detector first needs an operational definition. Evidence-based approaches compare claims with source passages; consistency approaches compare multiple generations; specialized classifiers or model judges estimate support or contradiction. SelfCheckGPT is a particular sampling-based method motivated by inconsistent generations. These mechanisms do not all test the same thing. A claim repeated consistently can still be false, while a correct claim absent from the allowed context may fail a contextual-support criterion. Evaluation labels must reflect that distinction.","practice":"The practitioner decomposes outputs into checkable claims and specifies allowed evidence and the handling of uncertainty. It tests the detector on supported statements, contradictions, missing evidence and subtle qualifier changes. Precision and recall or equivalent error analysis matter because false alerts and missed errors have different consequences. Useful artifacts include claim annotations, detector configuration and a policy for review or correction. Detection should connect to an action, such as removing a claim or requesting more evidence, without assuming that a low-risk score verifies the entire response.","example":"An assistant describes a component's operating limits. The detector checks each limit against the supplied manual and finds that one temperature value has no supporting passage. The application retrieves further evidence or marks it unknown. In another case, repeated model samples agree on an obsolete value, illustrating why consistency alone is insufficient. Evaluation includes both cases so the team understands which errors the selected detector can catch and which require source version checks or expert review.","limits":"Detectors can fail when evidence is incomplete or a contradiction is subtle. Model-based checks may be vulnerable to misleading text and share the generator's blind spots. Sampling adds cost without producing independent facts. Claims of detection accuracy should name the hallucination definition, evidence setting and test distribution. No detector eliminates the need for source quality, calibrated uncertainty and application controls when a generated claim has significant consequences.","sources":[{"title":"SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Models","url":"https://arxiv.org/abs/2303.08896","note":"Primary sampling-based detection method and its specific evaluation assumptions."},{"title":"Ragas faithfulness metric","url":"https://docs.ragas.io/en/stable/concepts/metrics/available_metrics/faithfulness/","note":"Example of detecting unsupported claims through retrieved-context support."}],"updatedAt":"2026-11-02"}},{"id":"bertscore","name":"BERTScore","category":"Benchmarking","subcategory":null,"section_id":"ai-evaluation-observability","section_name":"AI Evaluation & Observability","description":"BERTScore evaluates generated text by matching contextual token representations with those of reference text. It can recognize semantic similarity beyond exact word overlap, but it measures a relationship to the supplied references rather than directly proving factual correctness, completeness or suitability for a particular user task.","type":"concept","editorial":{"definition":"A contextual encoder represents tokens in candidate and reference text. BERTScore matches tokens through embedding similarity and aggregates the matches into precision, recall and an F-style score, with optional weighting or rescaling depending on configuration. This differs from BLEU or ROUGE variants based primarily on lexical overlap. The encoder, layer, tokenization and reference handling influence the result. BERTScore is a reference-based generation metric, not a retrieval index or a general hallucination detector. Semantically related wording can score well even when a critical number, name or negation makes the candidate wrong.","practice":"The practitioner selects and records the implementation and encoder configuration, then checks metric behavior on task-specific examples with human labels. References need sufficient coverage of valid answers, and multiple-reference handling should be documented. Useful artifacts include metric settings, score distributions and error examples where semantic similarity hides a decisive difference. BERTScore can complement deterministic entity or value checks and other quality measures. Cross-system comparisons keep configuration constant, while release decisions examine whether score changes correspond to improvements users or experts actually recognize.","example":"A summarization team compares two generated summaries against reference summaries. One uses different wording but preserves the main meaning, so BERTScore provides information missed by exact n-gram overlap. Another changes a delivery date while leaving most language intact. The team checks dates separately and inspects that case rather than assuming the semantic score detects every factual error. The final comparison reports semantic similarity alongside content coverage and factual review, preserving the distinct role of each measure.","limits":"The encoder may poorly represent specialist language, and similar token embeddings can obscure contradiction or entity errors. Reference incompleteness can penalize a valid answer or reward copying an incomplete one. Scores are also not directly comparable across configurations or tasks. BERTScore is useful as one evaluation signal after calibration, with independent checks for facts and requirements that contextual similarity alone cannot reliably establish.","sources":[{"title":"BERTScore: Evaluating Text Generation with BERT","url":"https://arxiv.org/abs/1904.09675","note":"Primary contextual token matching metric, aggregation and experimental scope."}],"updatedAt":"2026-11-02"}},{"id":"bleu","name":"BLEU","category":"Benchmarking","subcategory":null,"section_id":"ai-evaluation-observability","section_name":"AI Evaluation & Observability","description":"BLEU is a reference-based text generation metric built from modified n-gram precision and a penalty for overly short candidates. It originated in machine translation evaluation and remains a useful reproducible baseline, while its dependence on lexical overlap limits what it can say about open-ended answers, factuality or user usefulness.","type":"concept","editorial":{"definition":"BLEU counts candidate n-grams that appear in reference translations, clipping matches so repetition cannot receive unlimited credit. It combines precision across n-gram lengths and applies a brevity penalty when candidate output is too short relative to references. Corpus-level aggregation is central to its original use; sentence-level values depend strongly on smoothing and implementation. BLEU differs from ROUGE measures that emphasize overlap recall and from embedding-based semantic metrics. Tokenization, casing, reference selection and score scaling affect comparisons, so a reported number needs a clear calculation protocol rather than just the metric name.","practice":"The practitioner uses a documented implementation and records tokenization, smoothing, reference handling and whether scoring is sentence or corpus based. It checks examples where valid paraphrases receive low overlap and where lexical similarity hides a meaning error. Useful artifacts include the scoring configuration, comparable system outputs and human-reviewed samples. For translation, BLEU can complement expert adequacy and fluency review. For open-ended generation, task-specific factual and completeness checks are needed. Comparisons should not mix numbers produced by different preprocessing conventions or reference collections.","example":"A translation team evaluates two systems on the same held-out source texts and reference translations. BLEU provides a consistent corpus-level overlap baseline. Reviewers then inspect a sentence where one system changes a negation but retains most words, and another expresses the correct meaning with different phrasing. The metric alone cannot resolve that quality difference. The report uses human judgments and targeted error analysis alongside BLEU, rather than turning a small score change into a claim that every translation improved.","limits":"Valid wording can differ from a limited reference set, and high overlap can coexist with a critical factual or grammatical error. Short outputs make sentence scores unstable, while tokenization differences can distort comparisons. BLEU should be interpreted within its reference and calculation setting. It is a measurement of lexical overlap designed for a particular evaluation tradition, not a general correctness score for language-model answers or a replacement for task-relevant human assessment.","sources":[{"title":"BLEU: a Method for Automatic Evaluation of Machine Translation","url":"https://aclanthology.org/P02-1040/","note":"Original definition of modified n-gram precision, brevity penalty and translation evaluation setting."}],"updatedAt":"2026-11-02"}},{"id":"rouge","name":"ROUGE","category":"Benchmarking","subcategory":null,"section_id":"ai-evaluation-observability","section_name":"AI Evaluation & Observability","description":"ROUGE is a family of reference-based metrics that compare generated text with reference summaries using lexical or sequence overlap. It provides reproducible signals about content overlap, commonly emphasizing recall, but different variants measure different relationships and none alone establishes factual consistency or the overall quality of a summary.","type":"concept","editorial":{"definition":"ROUGE-N compares n-gram overlap, while ROUGE-L uses a longest-common-subsequence relationship; other variants introduce additional matching choices. Implementations may report recall, precision and F-style scores with different tokenization or stemming. The family originated in summarization evaluation, where overlap with human references can indicate coverage of expected content. ROUGE differs from a semantic encoder-based metric because many common variants depend on shared words or sequences. It also differs from a factuality check: an output can reuse the right vocabulary while assigning an action to the wrong person or reversing a relationship.","practice":"The practitioner selects the variant and implementation, records preprocessing and reference handling and validates the score against representative summaries. References should cover the content priorities of the task. Useful artifacts include metric settings, system comparisons and reviewed examples of high-scoring errors or low-scoring valid paraphrases. Factual consistency and required-field coverage are checked separately. When a summary length changes, the effects on recall and precision are examined instead of interpreting one number without context. Comparisons keep the same source and reference collection.","example":"A meeting-summary system is evaluated against summaries listing decisions, owners and open questions. ROUGE helps show whether generated text overlaps with expected content. A candidate repeats the right names and project terms but attributes a decision to the wrong owner. That error fails a separate source-grounded check even if overlap is strong. Another concise candidate uses different wording and receives expert review. The team combines these observations to decide whether the system improves useful coverage rather than merely reference phrasing.","limits":"Reference summaries are not unique, and lexical overlap can penalize valid paraphrases or reward copying. Recall-heavy settings can favor longer outputs, while a high score can hide factual errors and missing critical qualifiers. Scores depend on variant and preprocessing, so reports should state them explicitly. ROUGE is useful as a baseline when interpreted alongside factual and task-specific checks, rather than presented as a universal measure of summarization or language-model quality.","sources":[{"title":"ROUGE: A Package for Automatic Evaluation of Summaries","url":"https://aclanthology.org/W04-1013/","note":"Original metric family and summarization evaluation formulation."}],"updatedAt":"2026-11-02"}},{"id":"trulens","name":"TruLens","category":"Evaluation Frameworks","subcategory":null,"section_id":"ai-evaluation-observability","section_name":"AI Evaluation & Observability","description":"TruLens is a toolkit for instrumenting and evaluating language-model applications through recorded executions and feedback functions. It can connect evaluation scores to the application steps and evidence that produced an answer, while leaving the developer responsible for selecting meaningful checks and validating their interpretation.","type":"tool","editorial":{"definition":"A feedback function evaluates selected parts of a recorded application execution, such as a question, retrieved context or answer. TruLens organizes these evaluations alongside traces or records. Its RAG triad distinguishes context relevance, groundedness and answer relevance, which are related but different properties. Feedback may use model-based judgments or other functions, depending on the configuration. TruLens is an implementation framework rather than proof that these scores are objective or sufficient. The input selectors and evaluator definitions matter because a score computed over the wrong context can be misleading even when execution succeeds.","practice":"The practitioner instruments the relevant application stages and verifies that feedback functions receive the intended inputs. It checks scores on labeled examples and records provider, prompt and aggregation settings. Useful artifacts include instrumentation code, selector tests, feedback configuration and examined execution records. Evaluations should preserve failures and missing values rather than quietly aggregate them away. Privacy planning controls stored content, and operational measurement includes evaluator cost. The resulting traces help connect a quality issue to retrieval or generation, but the metric still needs independent calibration.","example":"A RAG service records the question, selected passages and final answer. TruLens feedback checks whether the passages concern the question, whether claims are supported and whether the answer responds to the request. A test intentionally supplies irrelevant context with a plausible answer, checking that the feedback dimensions diverge as expected. Reviewers inspect each low score with its record. When a selector accidentally uses all retrieved candidates rather than the passages actually sent to the model, the instrumentation is corrected before comparisons continue.","limits":"Model-based feedback can be biased or miss subtle contradictions. Instrumentation gaps and incorrect selectors can also make scores describe a different interaction from the user's actual experience. High groundedness does not establish source truth or answer completeness. TruLens is useful when records and feedback provide interpretable evidence, with explicit validation of the recorded data, evaluator behavior and the quality dimensions the application needs.","sources":[{"title":"TruLens getting started","url":"https://www.trulens.org/getting_started/","note":"Official overview of application recording, feedback functions and evaluation workflows."}],"updatedAt":"2026-11-02"}},{"id":"evidently","name":"Evidently","category":"Monitoring & Drift","subcategory":null,"section_id":"ai-evaluation-observability","section_name":"AI Evaluation & Observability","description":"Evidently is a framework for evaluating and monitoring data and AI systems through configurable metrics, tests and reports. It can help examine data quality, drift and model behavior, but the practitioner must choose reference data, thresholds and response rules that make the measurements meaningful for the deployed task.","type":"tool","editorial":{"definition":"Evidently's library computes reports or evaluations from supplied data, and its broader platform provides related monitoring and evaluation infrastructure. A drift comparison can assess current data against a reference, while quality metrics require appropriate predictions, targets or annotations. These are distinct checks with different input needs. The tool is a particular implementation of monitoring and evaluation rather than a universal definition of healthy models. Defaults can provide a starting point, but the selected metric, dataset windows and version determine what a report actually means and whether its alerts are interpretable.","practice":"The practitioner defines a data schema and meaningful reference period, chooses metrics and validates thresholds on expected variation and known failures. Missingness, schema errors and performance are monitored separately from distribution shifts. Useful artifacts include report configuration, labeled validation cases and an alert response playbook. Results are segmented where aggregate behavior hides important populations. Version changes are checked before historical comparisons are continued, and sensitive row-level data is handled under explicit access and retention rules. Monitoring should connect reports to investigation rather than automatic retraining by default.","example":"A demand model receives data from a new sales channel. An Evidently report identifies changed category frequencies and an increased share of missing product attributes. The team checks the source pipeline and later joins predictions with actual demand to measure error. If a renamed field caused missing values, it repairs ingestion. If the channel is genuinely different, it evaluates an adapted model. The report contributes evidence, while the response depends on whether the observed change affects task performance and data integrity.","limits":"Drift tests can be sensitive to sample size and may detect harmless change or miss a harmful joint shift. Missing or delayed outcomes also limit direct quality measurement. A dashboard does not explain causality, and library defaults are not domain acceptance criteria. Evidently is useful when its selected metrics and thresholds have been validated, with explicit distinctions between data change, data defects and actual degradation of model outcomes.","sources":[{"title":"Evidently introduction","url":"https://docs.evidentlyai.com/introduction","note":"Official description of the library and platform for evaluation and monitoring."},{"title":"Evidently data drift explainer","url":"https://docs.evidentlyai.com/metrics/explainer_drift","note":"Documents reference comparisons, test selection and drift interpretation details."}],"updatedAt":"2026-11-02"}},{"id":"langsmith","name":"LangSmith","category":"Observability, Tracing & Diagnostics","subcategory":null,"section_id":"ai-evaluation-observability","section_name":"AI Evaluation & Observability","description":"LangSmith provides tracing, datasets and evaluation workflows for language-model applications. The skill is connecting application executions to their inputs, configuration and quality checks, so developers can compare changes and investigate failures while retaining clear boundaries around sensitive content and the assumptions of each evaluator.","type":"tool","editorial":{"definition":"A LangSmith trace records nested application work such as model calls, retrieval and tools. Datasets hold evaluation examples, and experiments run a configured system and evaluators over those examples. Evaluation can use deterministic code, model-based judges or human review. These mechanisms complement one another but do not measure identical properties. LangSmith is a particular observability and evaluation platform, separate from the LangChain framework used to build an application. The platform's usefulness depends on accurate instrumentation and meaningful datasets, not simply on whether a trace or score appears in its interface.","practice":"The practitioner verifies trace boundaries and records prompt, model and relevant data versions. It builds representative datasets and validates evaluators against known outputs. Useful artifacts include instrumentation configuration, evaluator code, dataset definitions and experiment comparison reports. Sensitive inputs can be redacted or excluded according to the application's policy. Run failures and missing scores remain visible. A controlled comparison holds the dataset and scoring configuration constant, then inspects disagreements and important slices instead of accepting a higher aggregate number without reviewing what changed.","example":"A team changes a retrieval policy and runs old and new versions on a policy-question dataset in LangSmith. The experiment stores selected passages and answers, while separate evaluators check relevance and contextual support. Reviewers inspect cases where the versions disagree and trace an unsupported answer to an omitted exception passage. The team can then revise context selection specifically. A faster run is not accepted solely for latency when the trace and labels show that it drops required evidence.","limits":"Incomplete instrumentation can hide decisive steps, and a model evaluator can reward style rather than correctness. Dataset reuse can also lead to overfitting. Platform features and SDK behavior evolve, so versioned configuration is needed for reliable historical comparisons. LangSmith supports evidence gathering and repeatable evaluation; source truth, permission compliance and application success still require explicit validators and review appropriate to their consequences.","sources":[{"title":"LangSmith evaluation","url":"https://docs.langchain.com/langsmith/evaluation","note":"Official dataset, experiment and evaluator concepts."},{"title":"LangSmith observability","url":"https://docs.langchain.com/langsmith/observability","note":"Official tracing and application inspection guidance."}],"updatedAt":"2026-11-02"}},{"id":"opentelemetry","name":"OpenTelemetry","category":"Observability, Tracing & Diagnostics","subcategory":null,"section_id":"ai-evaluation-observability","section_name":"AI Evaluation & Observability","description":"OpenTelemetry is a vendor-neutral set of APIs, SDKs and conventions for collecting telemetry such as traces, metrics and logs. For AI applications, it helps connect model and tool calls to the surrounding system, while semantic conventions and content-capture policies require explicit versioning and attention to data sensitivity.","type":"tool","editorial":{"definition":"A trace links operations through spans and propagated context, metrics summarize measurements and logs capture events. OpenTelemetry provides instrumentation and export mechanisms so data can be sent to an observability backend without requiring one vendor-specific application interface. Generative AI conventions describe attributes and operations for model or agent interactions, but this area evolves separately and its stability should be checked. OpenTelemetry is not itself a storage or visualization backend, nor an evaluator of answer quality. It defines and transports operational evidence that other systems can inspect or combine with evaluation labels.","practice":"The practitioner instruments meaningful operations, propagates context through asynchronous calls and configures an exporter and collector where appropriate. It chooses attributes that support diagnosis without unnecessary content capture. Sampling, redaction and retention are planned with the backend and application owners. Useful artifacts include span examples, telemetry schema and pipeline configuration. Tests verify that one user request can be followed across retrieval, inference and tools. SDK and convention versions are recorded so dashboard changes do not silently mix differently named or interpreted fields.","example":"A document assistant uses one backend for retrieval and another for model inference. OpenTelemetry trace context connects both operations to the user's request, showing where time was spent and whether a tool failed. Operational attributes identify the model and usage where supported, while document text is excluded from routine telemetry. A separate evaluation labels an answer unsupported and links that label to the trace. The combined evidence helps locate the failure without treating trace completeness as proof that the answer was correct.","limits":"Telemetry can be sampled, incomplete or inconsistent across libraries. Export failures and instrumentation overhead also need monitoring. Generative AI conventions may change, and capturing prompts or tool results can expose sensitive data. OpenTelemetry improves interoperability when correctly configured, but it does not automatically provide useful dashboards or quality judgments. Good implementation verifies data accuracy and controls content collection, preserving the distinction between observed execution and evaluated task success.","sources":[{"title":"OpenTelemetry observability primer","url":"https://opentelemetry.io/docs/concepts/observability-primer/","note":"Official explanation of traces, metrics and logs and their complementary roles."},{"title":"OpenTelemetry GenAI semantic conventions","url":"https://github.com/open-telemetry/semantic-conventions-genai","note":"Current official repository for generative AI instrumentation conventions."}],"updatedAt":"2026-11-02"}},{"id":"rag-faithfulness-evaluation","name":"RAG Faithfulness Evaluation","category":"RAG, Grounding & Output Verification","subcategory":null,"section_id":"ai-evaluation-observability","section_name":"AI Evaluation & Observability","description":"RAG faithfulness evaluation checks whether claims in a generated answer are supported by the retrieved context supplied to the model. It isolates contextual support from answer relevance and real-world truth, requiring explicit rules for claim decomposition, evidence matching and aggregation so the resulting score has a defensible interpretation.","type":"concept","editorial":{"definition":"An evaluator divides an answer into statements and assesses whether the available context supports each one, often using an entailment model or language-model judge. A score may aggregate supported statements, but details such as compound claims, uncertainty and denominator selection affect the result. The supplied context is the reference, not every fact the evaluator happens to know. A faithful answer can still be wrong if the context is outdated or false, and an unfaithful claim can happen to be true but absent from the permitted evidence. These distinctions make faithfulness one dimension of RAG quality rather than overall correctness.","practice":"The practitioner defines atomic claim rules, allowed evidence and how partial or ambiguous support is labeled. They validate decomposition and support judgments against expert annotations, including numerical differences and missing qualifiers. Useful artifacts include claim–passage pairs, judge configuration, aggregation rules and error analysis. The evaluator receives the context actually used during generation, not a broader candidate set that could retroactively support the answer. Separate checks assess source reliability, answer completeness and relevance. Changes in the judge or decomposition prompt require renewed calibration before scores are compared.","example":"A manual states that a device supports outdoor use when protected from direct rain. An answer says it is suitable outdoors without qualification. Faithfulness evaluation should detect the omitted condition rather than mark the broad sentence supported because the manual contains outdoor use. Another answer faithfully repeats a limit from an obsolete manual; it passes contextual support but fails a separate version check. Testing both cases clarifies why a high faithfulness score is useful evidence about attribution, not a guarantee of a safe or correct instruction.","limits":"A judge can overlook subtle contradictions, split claims inconsistently or reward answers with fewer substantive statements. Aggregation can conceal one critical unsupported claim among many easy supported ones. Missing evidence is also different from explicit contradiction. Quality reports should preserve claim-level judgments and state how uncertainty is handled. Faithfulness is most useful when calibrated and combined with independent checks of source validity and task coverage, without pretending that contextual agreement establishes universal truth.","sources":[{"title":"Ragas faithfulness metric","url":"https://docs.ragas.io/en/stable/concepts/metrics/available_metrics/faithfulness/","note":"Official claim decomposition, support checking and metric aggregation procedure."},{"title":"Enabling Large Language Models to Generate Text with Citations","url":"https://arxiv.org/abs/2305.14627","note":"Primary discussion of support between generated statements and cited evidence."}],"updatedAt":"2026-11-02"}},{"id":"secure-rag","name":"Secure RAG","category":"AI & LLM Application Security","subcategory":null,"section_id":"ai-safety-security-governance-ethics","section_name":"AI Safety, Security, Governance & Ethics","description":"Secure RAG is the practice of making retrieval-augmented generation respect information boundaries throughout ingestion, retrieval and answer delivery. It combines document authorization, trusted identity handling and adversarial testing so that an assistant can use relevant evidence without exposing material its user is not allowed to read.","type":"concept","editorial":{"definition":"A retrieval system creates additional copies of source information: chunks, embeddings, metadata, cached results and generated answers. Secure RAG preserves the source permission model across those copies and applies authorization before material enters the model context. Authentication establishes who is asking; authorization establishes which records that identity may access. Retrieved text remains untrusted data even when access is legitimate, because a document can contain malicious instructions. Security therefore includes both controlling which evidence is retrieved and constraining what the application can do with it. Encryption alone does not provide these application-level boundaries.","practice":"A practitioner maps source permissions to indexed records, derives query filters from a trusted identity service and verifies that every retrieval path applies them. They decide how revocation propagates to chunks and caches, and separate tenant data where isolation requires it. Useful artifacts include a permission propagation diagram, denial tests and a policy for logging sensitive context. Tests should cover direct queries, citations, summaries and follow-up questions, because a restriction that works only in the first search can fail later in a conversation.","example":"An employee assistant searches both general policies and restricted compensation documents. A user asks why a colleague received a salary adjustment. The retriever excludes the restricted records before constructing context, while the assistant can still explain the public compensation policy. A regression test repeats the request through paraphrases and cached conversations, then removes a user's access and confirms that previously retrieved compensation chunks cannot reappear in a new answer.","limits":"A refusal instruction is not an access-control system, and hiding a citation does not remove information already supplied to the model. Permission metadata can become stale, shared caches can cross user boundaries and overly broad service accounts can defeat careful query filtering. A strong test checks what context and side effects were possible, not only whether the final response looked harmless. Secure retrieval also does not make the retrieved facts accurate.","sources":[{"title":"Microsoft Learn: document-level access control","url":"https://learn.microsoft.com/en-us/azure/search/search-document-level-access-overview","note":"Supports preserving document permissions and enforcing them at retrieval; the example is illustrative."},{"title":"OWASP: prompt injection","url":"https://genai.owasp.org/llmrisk/llm01-prompt-injection/","note":"Supports direct and indirect prompt-injection threats and layered mitigations."}],"updatedAt":"2026-11-02"}},{"id":"ai-data-security","name":"AI Data Security","category":"AI & LLM Application Security","subcategory":null,"section_id":"ai-safety-security-governance-ethics","section_name":"AI Safety, Security, Governance & Ethics","description":"AI data security protects the confidentiality and integrity of information as it moves through datasets, model services, retrieval systems and agents. The skill focuses on preventing unauthorized access, disclosure or modification, including exposures introduced by prompts, generated outputs, tool calls and operational logs.","type":"concept","editorial":{"definition":"AI applications often move the same information through several representations and services. A record may appear in a training file, an embedding index, a prompt trace and an answer cache, each with different access controls and retention behavior. Data security treats these as parts of one information flow rather than assuming the model endpoint is the only boundary. Confidentiality concerns who can learn the information; integrity concerns whether it can be altered without authorization. Privacy adds questions about people and permitted processing, while security also covers credentials, commercial secrets and other protected assets.","practice":"The practitioner inventories sensitive data and traces its paths through preprocessing, inference, retrieval and monitoring. They configure least-privilege identities, protect secrets outside prompts, restrict outbound destinations and decide which fields should be removed before external processing. A data-flow review should produce an access matrix, retention settings and tests for disclosure through errors, logs and tool responses. When a model provider is involved, the team verifies the actual service configuration and contractual data handling rather than inferring them from the word enterprise.","example":"A support assistant summarizes customer tickets using an external model. The engineer discovers that full ticket bodies also enter debug traces and a shared analytics store. They remove unnecessary identifiers before inference, restrict trace access and disable content logging where it is not needed. A seeded test ticket contains a fictitious secret, allowing the team to check every downstream store and outbound request without exposing real customer information during the review.","limits":"Redaction detectors miss unusual identifiers, and encryption does not help when an authorized application sends decrypted secrets to the wrong destination. Access policies must cover derived data and backups as well as originals. Security reviews should distinguish prevented disclosure from merely undetected disclosure, and verify negative paths. A clean sample of model answers does not prove that training membership, cached context or agent tools cannot reveal protected information.","sources":[{"title":"OWASP: sensitive information disclosure","url":"https://genai.owasp.org/llmrisk/llm022025-sensitive-information-disclosure/","note":"Supports disclosure threats, least privilege and data sanitization; operational tradeoffs are explained independently."}],"updatedAt":"2026-11-02"}},{"id":"agent-identity-access-management","name":"Agent Identity & Access Management","category":"AI & LLM Application Security","subcategory":null,"section_id":"ai-safety-security-governance-ethics","section_name":"AI Safety, Security, Governance & Ethics","type":"concept","description":"Agent identity and access management establishes which agent is acting, on whose behalf, and which resources it may use. The competence separates authentication of incoming requests from authorization of downstream tool calls, so delegated work stays within explicit, auditable permission boundaries.","editorial":{"definition":"An agent may act as a workload with its own identity or perform a narrowly delegated task for a user. Those identities are related but are not interchangeable. Inbound authentication establishes who may invoke the runtime; outbound authorization controls access to tools and services. A sound design binds credentials to their intended issuer, audience and scope and keeps secrets outside model-visible prompts. The execution layer must enforce the policy even when the model requests a forbidden operation.","practice":"Define a matrix of callers, agent workloads, tools and permitted actions. Select appropriate OAuth or workload credentials, validate incoming tokens, and obtain downstream credentials through a controlled broker. Apply resource and tenant boundaries as well as operation-level scopes. Document expiration, revocation and credential rotation. Demonstrate the design with positive and negative tests: valid delegation, wrong audience, expired credentials, cross-tenant access, missing scope and an attempted privilege increase. Preserve an audit trail that links the initiating user, agent and executed operation without logging secrets.","example":"An illustrative scheduling agent may read a user calendar and propose a meeting while a separate authorized operation performs the write. Its workload identity does not automatically grant access to every employee calendar. Tests verify that another user calendar is denied, a revoked grant stops subsequent access, and changing a tool argument cannot bypass the resource check. A successful model response is not counted as evidence that authorization was enforced; inspect the service decision and resulting state.","limits":"Authentication alone does not authorize an action. Shared static keys obscure attribution and can give every agent the same excessive authority. A human confirmation is not a substitute for token validation or resource policy, and valid credentials do not make an untrusted instruction safe. Revocation behavior depends on token lifetime and the resource server. This skill focuses on identity and delegated access; sandboxing, prompt-injection defense and data retention remain complementary controls.","sources":[{"title":"Amazon Bedrock AgentCore: Inbound and Outbound Auth","url":"https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/runtime-oauth.html","note":"Separation of runtime invocation from access to third-party resources."},{"title":"RFC 9700: Best Current Practice for OAuth 2.0 Security","url":"https://www.rfc-editor.org/rfc/rfc9700","note":"OAuth threat model, audience restrictions and protection of credentials."}],"updatedAt":"2026-11-02"}},{"id":"ai-rate-limiting","name":"AI Rate Limiting","category":"AI & LLM Application Security","subcategory":null,"section_id":"ai-safety-security-governance-ethics","section_name":"AI Safety, Security, Governance & Ethics","description":"AI rate limiting controls how quickly users, tenants or processes consume model and agent resources. It protects availability and budgets by enforcing request, token, concurrency or work limits, especially where a small input can trigger expensive generation, retrieval or repeated tool execution.","type":"concept","editorial":{"definition":"Traditional request counting is often insufficient for AI workloads because requests vary greatly in cost. A brief question and a long multimodal task can consume different amounts of compute, while an agent may expand one request into many model calls. Rate limiting therefore combines admission rules with budgets for the work actually performed. Token buckets can permit short bursts while enforcing sustained limits; concurrency caps bound simultaneous activity; task budgets bound an agent's total steps or elapsed time. These controls address resource use, whereas authorization decides whether the operation is permitted at all.","practice":"A practitioner identifies scarce resources and selects limits that match them: requests for endpoint protection, tokens for generation, concurrency for worker capacity and spending ceilings for paid services. They assign limits to trusted tenant identities, define retry behavior and instrument rejected or interrupted work. The design should account for queues, streaming cancellation and distributed counters. A useful artifact is a capacity policy that explains which users get priority during saturation and how completed work is charged when a client disconnects.","example":"A document-analysis service accepts batches of pages. One tenant submits many large PDFs, occupying all inference workers even though its request count is low. The team introduces page and token budgets, a tenant concurrency cap and a fair queue. When an analysis exceeds its budget, the response reports partial progress and a resumable task identifier. Load tests confirm that smaller interactive requests remain responsive during the batch workload.","limits":"A rate limit can reject legitimate bursts or encourage retries that worsen overload. Per-IP limits are weak tenant boundaries, and estimated token costs may differ from actual consumption. Limits should be tested with long outputs, recursive agents and abandoned streams, not just small HTTP requests. Rate limiting does not fix inefficient model selection or unbounded internal loops unless those operations participate in the same accounting system.","sources":[{"title":"OWASP: unbounded consumption","url":"https://genai.owasp.org/llmrisk/llm102025-unbounded-consumption/","note":"Supports AI resource-exhaustion risks and consumption controls."}],"updatedAt":"2026-11-02"}},{"id":"ai-supply-chain-security","name":"AI Supply Chain Security","category":"AI & LLM Application Security","subcategory":null,"section_id":"ai-safety-security-governance-ethics","section_name":"AI Safety, Security, Governance & Ethics","description":"AI supply chain security addresses threats introduced through third-party models, datasets, libraries, containers and deployment components. It asks whether an AI artifact has trustworthy provenance, can be verified before use and remains protected from tampering as it moves from development into production.","type":"concept","editorial":{"definition":"An AI dependency can carry executable code, altered model behavior or poisoned data, so dependency risk extends beyond conventional package vulnerabilities. Model loading may execute custom code, training datasets may contain targeted examples and a familiar model name may refer to changing files. Supply chain security connects provenance, integrity and execution boundaries: knowing where an artifact came from, checking that its bytes match the approved version and limiting what it can do. A cryptographic hash confirms identity against a trusted reference, but does not establish that the referenced artifact is safe or suitable.","practice":"The practitioner records model and dataset versions, licenses, dependency trees and build inputs. They review remote-code requirements, isolate untrusted loading steps and use approved artifact registries rather than downloading mutable assets at startup. Release checks should connect the evaluated model to the deployed files, with integrity verification and a rollback path. The resulting inventory helps answer which systems are affected when a package, dataset source or model repository is later found to be compromised, and who can approve a replacement.","example":"A team adopts a community model that requires a custom Python loader. Instead of running the loader inside a production service with storage credentials, an engineer inspects it in an isolated environment and produces a pinned, approved artifact. The deployment references that artifact's immutable identity. When the upstream repository changes, the update enters review and evaluation rather than silently changing the application's behavior on its next restart.","limits":"Provenance and signatures cannot establish model quality, eliminate backdoors or prove that training data was lawfully obtained. Vulnerability scanners mainly inspect recognizable software components; they may miss harmful learned behavior. A strong review combines conventional dependency controls with behavioral evaluation and restricted execution. The trust decision must identify its evidence and residual uncertainty, especially when upstream training data or build procedures are unavailable for inspection.","sources":[{"title":"OWASP: supply chain","url":"https://genai.owasp.org/llmrisk/llm032025-supply-chain/","note":"Supports risks in dependencies, model provenance and third-party AI components."}],"updatedAt":"2026-11-02"}},{"id":"ai-toxicity-analysis","name":"AI Toxicity Analysis","category":"Guardrails, Content Safety & Privacy","subcategory":null,"section_id":"ai-safety-security-governance-ethics","section_name":"AI Safety, Security, Governance & Ethics","description":"AI toxicity analysis evaluates whether model inputs or outputs contain language that is abusive, hateful, threatening or otherwise harmful under a defined content policy. It combines automated detection with contextual review to measure harmful generation and choose moderation actions without treating every sensitive discussion as abuse.","type":"concept","editorial":{"definition":"Toxicity is a policy-dependent assessment of language and its likely effects, not a single objective property of a string. Detectors learn from annotated examples and output scores that require interpretation in context. A quoted slur in a historical explanation, reclaimed language and a targeted insult can contain similar words while serving different purposes. Analysis can concern user submissions, training material or generated responses, with different consequences for false positives and false negatives. This content-safety meaning differs from toxic-flow security analysis, which studies dangerous combinations of data access and agent capabilities rather than offensive language.","practice":"A practitioner defines harmful categories and annotation guidance, then evaluates detector and model behavior across languages, identity references and conversation contexts. They select thresholds for review, warning or blocking according to the action's cost. A useful evaluation report separates harmful generations from detector errors and includes ordinary discussion of sensitive topics. Human adjudication is especially valuable for disagreements and targeted abuse. Monitoring should track policy changes and population shifts, because a threshold that works on one dataset may suppress legitimate speech elsewhere.","example":"A community assistant drafts replies to difficult discussions. The evaluation set includes direct harassment, news quotations and supportive discussion of discrimination. Reviewers label the purpose and target of each passage, then compare those judgments with detector scores. The team routes uncertain cases for review and measures how often the assistant escalates abuse when replying. A simple keyword ban would fail because it cannot distinguish condemning an insult from directing it at someone.","limits":"A toxicity score is neither a universal measure of safety nor evidence that a statement is factually wrong. Detectors can overflag identity terms and underdetect coded or contextual abuse. Evaluation should report subgroup performance and reviewer disagreement rather than only one aggregate number. Low toxicity also says little about manipulation, dangerous advice, privacy disclosure or prompt injection; those risks require their own definitions and tests.","sources":[{"title":"RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Models","url":"https://arxiv.org/abs/2009.11462","note":"Primary evaluation study on toxic language generation, prompt distributions and limits of mitigation methods."}],"updatedAt":"2026-11-02"}},{"id":"ai-ethics","name":"AI Ethics","category":"Governance, Regulation & Ethics","subcategory":null,"section_id":"ai-safety-security-governance-ethics","section_name":"AI Safety, Security, Governance & Ethics","description":"AI ethics examines how AI systems affect people, institutions and the distribution of benefits and harms. It guides choices about purpose, data, oversight and deployment by making values and tradeoffs explicit, including questions that legal compliance or predictive performance alone cannot answer.","type":"concept","editorial":{"definition":"Ethical analysis starts with the activity an AI system participates in, not simply the model's output. It considers whose interests are represented, who can contest decisions and who bears errors or surveillance costs. Principles such as autonomy, fairness, privacy and accountability can conflict in a particular setting, so naming them is only the beginning. The skill involves translating those principles into defensible choices about the system and its surrounding process. It differs from regulatory compliance because a permitted use can still be harmful, and from content moderation because many ethical questions concern institutional decisions rather than offensive text.","practice":"A practitioner maps affected groups, documents intended benefits and plausible harms, and consults people who understand the deployment context. They challenge whether the chosen target and data represent the actual goal, then propose alternatives such as reduced automation or stronger appeal rights. Useful outputs include an impact assessment and a decision record that explains tradeoffs, dissent and responsibility. Ethical review should occur early enough to change the design and continue after deployment when real effects become visible, rather than functioning only as a launch sign-off.","example":"A service proposes automatically ranking applicants for training opportunities. An ethical review finds that historical participation reflects unequal access, so predicting prior participation would reproduce that pattern. The team changes the objective, involves potential applicants in reviewing the process and keeps a route to challenge an exclusion. The decision record explains why these changes matter even if the original classifier had performed well against its historical labels.","limits":"A principles checklist can hide disagreement or become a substitute for investigating actual consequences. Ethical judgments need context, evidence and accountable decision-makers; an engineer cannot settle every conflict by choosing a different model metric. Consultation also fails if affected people lack influence over the outcome. The test of the work is whether it changes a meaningful decision, exposes an unresolved tradeoff or creates a credible way to remedy harm.","sources":[{"title":"UNESCO: Recommendation on the Ethics of Artificial Intelligence","url":"https://www.unesco.org/en/artificial-intelligence/recommendation-ethics","note":"Supports a human-rights-centered approach to AI ethics, oversight and stakeholder impacts."}],"updatedAt":"2026-11-02"}},{"id":"ai-fairness","name":"AI Fairness","category":"Explainability & Fairness","subcategory":null,"section_id":"ai-safety-security-governance-ethics","section_name":"AI Safety, Security, Governance & Ethics","description":"AI fairness is the practice of identifying and reducing unjust differences in an AI system's treatment or effects across people and groups. It connects statistical assessment to the deployment context, because equal aggregate accuracy does not establish that errors, opportunities or service quality are distributed fairly.","type":"concept","editorial":{"definition":"Fairness concerns the full decision process: problem framing, labels, features, model behavior and actions taken from predictions. Group metrics summarize different questions. Demographic parity compares selection rates; equalized odds compares error behavior conditional on outcomes; calibration concerns the meaning of scores. These criteria need not be simultaneously achievable, especially when data distributions differ. The appropriate comparison therefore depends on the harm and decision being assessed. Individual and procedural fairness add further questions that group averages cannot settle. Removing a sensitive attribute is insufficient when other features act as proxies or historical labels encode unequal treatment.","practice":"The practitioner identifies relevant groups and harms, checks label validity and builds disaggregated evaluation with uncertainty estimates. They compare interventions in data, thresholds, training and downstream procedures, documenting the tradeoffs rather than advertising a model as unbiased. Evaluation should include intersections where sample size permits and consider who is missing from the data entirely. The main artifact is a context-specific assessment connecting measured disparities to an action: redesigning a target, collecting better evidence, changing allocation rules or adding a route for human review.","example":"A speech service has strong average transcription accuracy but performs poorly for callers with a particular accent. The team evaluates word errors by accent and recording conditions, reviews the affected conversations and expands training coverage. It also changes the interface so callers can correct uncertain transcriptions before a transaction proceeds. The improvement is assessed through both recognition errors and successful task completion, rather than a single overall benchmark.","limits":"Fairness metrics do not determine which differences are unjust, and noisy or biased labels can make an apparently favorable metric misleading. Small groups require careful uncertainty reporting. A mitigation can improve one criterion while worsening another or changing who receives an opportunity. Fairness should be reassessed when populations, policies or system uses change; passing a historical dataset does not certify equitable effects in a new deployment.","sources":[{"title":"Fairlearn: fairness in machine learning","url":"https://fairlearn.org/main/user_guide/fairness_in_machine_learning.html","note":"Supports harm-based fairness assessment and distinctions between group fairness criteria."}],"updatedAt":"2026-11-02"}},{"id":"explainable-ai","name":"Explainable AI","category":"Explainability & Fairness","subcategory":null,"section_id":"ai-safety-security-governance-ethics","section_name":"AI Safety, Security, Governance & Ethics","description":"Explainable AI produces information that helps people understand an AI system's behavior for a particular purpose. It includes interpretable models and post-hoc explanations, with attention to what an explanation actually supports, who needs it and whether it faithfully reflects the system rather than merely sounding plausible.","type":"concept","editorial":{"definition":"Different audiences need different explanations. A developer may need to diagnose a failure, an operator may need to decide when to defer and an affected person may need to understand or contest a decision. Global explanations describe broad behavior; local explanations describe a particular output. Feature attributions, examples and counterfactuals answer different questions and depend on assumptions about the data and model. For generative AI, a fluent rationale is especially easy to mistake for evidence of internal reasoning. Explanation quality therefore includes fidelity to the relevant process, usefulness to the audience and explicit recognition of what remains unknown.","practice":"A practitioner chooses an explanation method from the decision it must support and verifies its behavior on controlled cases. They document the reference population, perturbation assumptions and whether the method describes association or a causal intervention. User testing can establish whether the explanation improves a real judgment without encouraging overconfidence. Artifacts may include model behavior summaries, local explanation views and failure examples. The practitioner also checks that explanations do not expose confidential features or suggest actionable changes that the model would not actually respond to.","example":"A loan-support tool displays reasons for a model's recommendation. The engineer compares a local attribution plot with known feature changes and identifies that a missing-value indicator, rather than reported income itself, drives several rejections. The explanation supports a data-quality fix and a clearer review route. A generated paragraph saying income was too low would have sounded understandable while concealing the real behavior of the deployed classifier.","limits":"Interpretability does not establish fairness, correctness or causal validity. Local surrogates can be unstable and feature attributions depend on a baseline or treatment of correlated inputs. An explanation can be accurate yet unusable for its audience, or persuasive yet inaccurate. Quality checks should ask what decision the explanation improves and whether that improvement survives realistic cases, including errors and situations outside the model's supported domain.","sources":[{"title":"NIST: Four Principles of Explainable Artificial Intelligence","url":"https://www.nist.gov/publications/four-principles-explainable-artificial-intelligence","note":"Supports meaningful, accurate explanations and awareness of knowledge limits."}],"updatedAt":"2026-11-02"}},{"id":"mechanistic-interpretability","name":"Mechanistic Interpretability","category":"Explainability & Fairness","subcategory":null,"section_id":"ai-safety-security-governance-ethics","section_name":"AI Safety, Security, Governance & Ethics","description":"Mechanistic interpretability investigates how a neural network's internal components produce particular behaviors. It studies activations, learned features and computational circuits, using interventions to test hypotheses about mechanisms rather than relying only on input-output correlations or a model's verbal explanation of itself.","type":"concept","editorial":{"definition":"A neural network distributes information across parameters and intermediate activations, often representing multiple concepts in overlapping directions. Mechanistic methods seek useful units of analysis such as attention heads, activation directions or features learned by sparse autoencoders. Researchers then examine which inputs activate these units and how modifying them changes outputs. Activation patching can replace an internal state from one run with a state from another to test a proposed causal contribution. Naming an interpretable feature is therefore a hypothesis about a representation; establishing a mechanism requires evidence that the relevant computation influences behavior under the tested conditions.","practice":"The practitioner starts with a narrowly defined behavior and a set of contrasting examples. They instrument model activations, identify candidate components and run interventions or ablations with suitable controls. A useful research artifact records the model version, input distribution, intervention location and measured output changes. Experiments should compare alternative explanations and check whether the proposed circuit generalizes beyond the discovery examples. Sparse features can help organize inspection, but reconstruction error and omitted computations must remain visible in the interpretation rather than disappearing behind convenient human labels.","example":"A researcher studies why a small language model completes a repeated name incorrectly. They compare correct and corrupted prompts, patch selected attention outputs between runs and measure changes in the next-token distribution. A candidate circuit is retained only when targeted interventions reproduce the predicted effect on new prompts. Visualizing attention alone would provide a clue, but would not establish that the highlighted connection causes the observed completion.","limits":"Current methods explain limited behaviors and model regions, not a complete account of a large model. Intervention choices can introduce artifacts, and apparently clean features may combine multiple meanings. A discovered mechanism can coexist with other paths that produce the same behavior. Mechanistic evidence should specify its scope and uncertainty; it is not, by itself, a certificate that a model is honest, aligned or safe in deployment.","sources":[{"title":"Anthropic: Towards Monosemanticity","url":"https://www.anthropic.com/research/towards-monosemanticity-decomposing-language-models-with-dictionary-learning","note":"Primary research on dictionary learning for interpretable model features; it does not establish complete model understanding."},{"title":"Towards Best Practices of Activation Patching in Language Models: Metrics and Methods","url":"https://arxiv.org/abs/2309.16042","note":"Primary study of activation-patching methods, measurement choices and interpretation limits."}],"updatedAt":"2026-11-02"}},{"id":"ai-auditability","name":"AI Auditability","category":"Governance, Regulation & Ethics","subcategory":null,"section_id":"ai-safety-security-governance-ethics","section_name":"AI Safety, Security, Governance & Ethics","description":"AI auditability is the ability to reconstruct and examine how an AI system was built, evaluated and used. It connects decisions to evidence through documentation, versioning and appropriately governed records, so reviewers can assess a specific system rather than relying on general claims about its model family.","type":"concept","editorial":{"definition":"An audit needs to identify the object being reviewed and the evidence behind relevant claims. For AI, that object includes data transformations, model versions, prompts, retrieval settings, decision thresholds and the human workflow. Auditability links these components to evaluation results and deployment events while preserving their provenance. Documentation states intent and limitations; operational records show what actually happened. The distinction matters because a model card can describe a different configuration from the one serving users. Auditability also includes access to evidence and clear responsibilities for maintaining it, not simply collecting large volumes of logs.","practice":"The practitioner defines which questions a review must answer, then selects records that support those questions without unnecessarily retaining personal data. They tie releases to immutable artifacts, preserve evaluation protocols and record approvals, exceptions and material changes. Useful outputs include a system inventory, evidence index and reproducible evaluation report. For individual decisions, the team may need traceable inputs and review actions; for broader assessments, aggregate records may suffice. Access, retention and integrity protections are designed alongside collection so audit evidence does not become an uncontrolled disclosure channel.","example":"After a summarization service changes behavior, an investigator needs to distinguish a model update from a retrieval change. The release record identifies the exact model, prompt and index snapshot, while evaluation reports preserve results for both configurations. The team reconstructs the regression on a permitted test dataset and documents a rollback. Without those links, a screenshot of the bad answer would demonstrate a problem but reveal little about its cause.","limits":"More logging does not automatically create better evidence. Missing version identifiers, mutable datasets and inaccessible proprietary components can prevent reconstruction, while excessive content logging creates privacy and security costs. An audit trail also records a decision without proving that it was justified. Good auditability makes the limits of reconstruction explicit and lets a reviewer distinguish observed facts, declared intentions and assumptions that could not be verified.","sources":[{"title":"Model Cards for Model Reporting","url":"https://arxiv.org/abs/1810.03993","note":"Primary proposal for documenting intended use, evaluation conditions and model limitations."}],"updatedAt":"2026-11-02"}},{"id":"iso-42001","name":"ISO 42001","category":"Governance, Regulation & Ethics","subcategory":null,"section_id":"ai-safety-security-governance-ethics","section_name":"AI Safety, Security, Governance & Ethics","description":"ISO/IEC 42001 is a standard for establishing, maintaining and improving an organizational AI management system. Competence in it means translating AI governance responsibilities into repeatable processes and evidence, including how the organization evaluates risks, manages lifecycle changes and checks whether its controls work.","type":"tool","editorial":{"definition":"A management system specifies how an organization sets objectives, assigns responsibility, operates controls and learns from findings. ISO/IEC 42001 applies that approach to AI-related activities within a defined scope. It is not a technical specification for one model architecture or a benchmark of prediction quality. The management-system view connects policies and accountability to development, procurement, deployment and monitoring practices. Organizations must determine how the standard applies to their own roles and activities; a team using a third-party model has different operational responsibilities from a team developing and distributing models, even when both participate in an AI system.","practice":"A practitioner works with governance and assurance specialists to define scope, inventory AI activities and map existing processes to management-system requirements. They identify owners, evidence gaps and mechanisms for risk assessment, change control and improvement. Practical artifacts include process descriptions, a responsibility matrix and records showing that reviews and corrective actions actually occurred. The work should use the licensed standard for detailed requirements, because public summaries do not contain the full normative text. Engineering teams contribute system evidence while qualified reviewers assess how it fits the organization's wider management processes.","example":"An organization operates several AI assistants purchased from different vendors. It introduces one process for registering each system's purpose, reviewing material changes and assigning an owner for incidents. A periodic internal review finds that one assistant lacks evidence of its evaluation after a model update. The responsible team reruns the evaluation and changes the release procedure so future updates cannot bypass that step without a documented exception.","limits":"Adopting the standard or obtaining certification does not prove that every AI output is correct, fair or legally compliant. Scope matters: a certificate or management-system claim may cover only certain activities. Documentation without operational evidence is weak assurance, and a mature process can still make a poor risk decision. The skill requires distinguishing organizational controls from product properties and checking which claims the available evidence actually supports.","sources":[{"title":"ISO/IEC 42001: AI management systems","url":"https://www.iso.org/standard/42001","note":"Official overview of the management-system standard; this entry does not reproduce the paid standard or claim certification."}],"updatedAt":"2026-11-02"}},{"id":"nemo-guardrails","name":"NeMo Guardrails","category":"Guardrails, Content Safety & Privacy","subcategory":null,"section_id":"ai-safety-security-governance-ethics","section_name":"AI Safety, Security, Governance & Ethics","description":"NeMo Guardrails is NVIDIA's open-source toolkit for adding programmable behavioral controls to LLM applications. The skill involves configuring and evaluating checks around conversation flows, inputs and outputs, so application policies become testable behavior with explicit handling for rejected, redirected or modified responses.","type":"concept","editorial":{"definition":"A guardrail is an application control placed around model interaction rather than a guarantee supplied by the model itself. NeMo Guardrails supports configurable rails and conversational logic, including integrations with checks that assess content or constrain allowed behavior. These controls may inspect a request before generation, guide a conversation or inspect a response afterward. Their position affects what they can prevent: an output filter can block a displayed answer but cannot undo a tool action already executed. Using the toolkit therefore requires understanding both its configuration and the surrounding application's trust boundaries, latency requirements and error handling.","practice":"A practitioner defines concrete policies, selects appropriate checks and configures how the application responds when a rail triggers or fails. They test ordinary requests alongside adversarial variants, measuring false rejections and missed violations. Configuration files, custom actions and evaluation cases should be versioned with the application. A deployment review also examines which model calls the rails introduce, how unavailable dependencies are handled and whether alternative code paths bypass enforcement. Tool permissions and data authorization remain enforced by the backend even when conversation rails guide the assistant's wording.","example":"A customer assistant may answer product questions but must not execute account changes through chat. The team configures conversation flows and content checks, then keeps account-changing operations outside the assistant's tool permissions. Tests include normal refund questions and attempts to turn policy text into instructions. The evaluation records whether a request is answered, redirected or rejected, allowing the team to improve the user experience without weakening the actual operation boundary.","limits":"A configured rail can miss indirect attacks, overblock harmless content or add latency and cost. Model-based checks inherit their own errors, and sequential checks can interact in unexpected ways. A successful demonstration is not evidence of complete coverage. The strongest implementation combines guardrail evaluation with backend authorization and controlled side effects, and explains what happens when a check times out rather than silently assuming that unexamined content is acceptable.","sources":[{"title":"NVIDIA: NeMo Guardrails library","url":"https://docs.nvidia.com/nemo/guardrails/latest/home","note":"Official description of configurable application guardrails and input/output checks."},{"title":"OWASP: prompt injection","url":"https://genai.owasp.org/llmrisk/llm01-prompt-injection/","note":"Supports direct and indirect prompt-injection threats and layered mitigations."}],"updatedAt":"2026-11-02"}},{"id":"prompt-injection-defense","name":"Prompt Injection Defense","category":"AI & LLM Application Security","subcategory":null,"section_id":"ai-safety-security-governance-ethics","section_name":"AI Safety, Security, Governance & Ethics","description":"Prompt injection defense protects an LLM application when untrusted content tries to redirect its behavior. It focuses on preserving the boundary between instructions and data, while limiting the information and actions an attacker could obtain even if the model follows a malicious instruction.","type":"concept","editorial":{"definition":"An LLM can encounter instructions inside a user's request or indirectly inside documents, web pages and tool results. The attacker attempts to make those instructions override the application's intended task. Unlike a conventional parser, the model does not reliably enforce a formal separation between executable instructions and ordinary language. Defense therefore combines contextual guidance with controls outside the model: trusted identity, restricted tools, validated arguments and constrained destinations. The relevant threat is an unauthorized effect, such as disclosure or a transaction, rather than merely unusual wording in an answer. Retrieval does not make third-party instructions trustworthy.","practice":"A practitioner maps every untrusted input and identifies what the model can read, send or change after consuming it. They constrain tools to narrow operations, enforce authorization in application code and require appropriate review for consequential actions. Tests should place attacks in realistic retrieved material, metadata and tool responses, including multistep conversations. A useful artifact connects each attack path to an enforceable boundary and a regression case. Input detectors can add coverage, but their failure must not grant the model new privileges or unrestricted network access.","example":"An assistant reads a supplier document that tells it to upload the current customer list to a diagnostic website. The application treats the document as evidence, not authorization. Its upload tool accepts only approved destinations and permitted data, so the requested transfer fails even if the model attempts it. The team records the attempt and adds the document variant to tests covering both tool calls and generated answers.","limits":"No prompt wording or injection classifier guarantees that the model will ignore every attack. Overly aggressive filters can block legitimate quoted instructions, while attackers can exploit encodings or longer contexts. A defense should be evaluated through prevented disclosure and actions, alongside false rejections. Separating roles in the prompt helps communication, but genuine security boundaries come from the application's identity, permission and execution controls.","sources":[{"title":"OWASP: prompt injection","url":"https://genai.owasp.org/llmrisk/llm01-prompt-injection/","note":"Supports direct and indirect prompt-injection threats and layered mitigations."}],"updatedAt":"2026-11-02"}},{"id":"presidio","name":"Presidio","category":"Guardrails, Content Safety & Privacy","subcategory":null,"section_id":"ai-safety-security-governance-ethics","section_name":"AI Safety, Security, Governance & Ethics","description":"Presidio is an open-source toolkit, originally developed at Microsoft, for detecting and transforming personally identifiable information. Its analyzer locates candidate entities in text, and its anonymizer applies selected operations to those spans, enabling configurable privacy preprocessing while leaving detection quality and residual disclosure risk for the application to evaluate.","type":"tool","editorial":{"definition":"Presidio separates detection from transformation. Recognizers may combine patterns, checksums, context and named-entity models to identify spans such as phone numbers or personal names. The analyzer returns entity types, offsets and confidence information; anonymization operators then redact, replace, hash or otherwise transform the detected spans. This separation lets an application choose different treatment for different identifiers and extend recognition for its domain. The toolkit's use of the term anonymizer does not establish legal anonymization: some transformations are reversible, and indirect attributes can still identify a person even when explicit identifiers are removed. The project is transitioning to independent community governance under Data Privacy Stack, whose documentation and release channels should be used when checking current deployment instructions.","practice":"The practitioner selects recognizers and supported language resources, adds domain-specific patterns and evaluates them on representative labeled text. They define per-entity thresholds and transformation policies, then verify that offsets remain correct through text processing. Useful artifacts include detection precision and recall by entity type, a transformation specification and tests for overlapping spans. Reversible mappings or encryption keys need separate protection. The implementation should also examine what happens to raw text in logs, error responses and temporary files rather than checking only the returned sanitized string.","example":"A team prepares support conversations for an evaluation dataset. Presidio detects common email addresses and phone numbers, while a custom recognizer finds the organization's customer identifiers. The pipeline replaces these with consistent placeholders so dialogue references remain understandable. Reviewers inspect sampled failures and challenge the pipeline with unusual formatting. Raw conversations stay restricted, and only the reviewed transformed dataset enters the broader evaluation workflow.","limits":"Recognizers can miss rare names, images, misspellings or contextual identifiers and can remove ordinary words by mistake. Hashing predictable identifiers may still permit linkage, while replacement does not remove identifying combinations of attributes. Presidio is a component in a privacy workflow, not evidence of compliance by itself. Evaluate residual information and downstream usefulness together, and document entity types or languages the configured detector does not reliably cover.","sources":[{"title":"Presidio: text anonymization","url":"https://presidio.dataprivacystack.org/text_anonymization/","note":"Supports recognizer-based entity detection and separate anonymization operators."},{"title":"Presidio: project transition update","url":"https://presidio.dataprivacystack.org/project_transition/","note":"Explains the transition to community governance under Data Privacy Stack and the current release channels."}],"updatedAt":"2026-11-02"}},{"id":"ai-watermarking","name":"AI Watermarking","category":"Guardrails, Content Safety & Privacy","subcategory":null,"section_id":"ai-safety-security-governance-ethics","section_name":"AI Safety, Security, Governance & Ethics","description":"AI watermarking embeds a detectable signal in generated content so an authorized detector can assess whether a particular generation process likely produced it. The signal may be statistical or encoded in media; its usefulness depends on detection accuracy, content length and robustness to editing or transformation.","type":"concept","editorial":{"definition":"Text watermarking can subtly bias token selection toward a secret or defined pattern without inserting an obvious visible marker. A detector then tests whether the observed sequence contains stronger evidence of that pattern than expected by chance. Image and audio methods use different signal representations, but share the need to balance detectability against output quality. Watermarking differs from metadata-based provenance, which records origin information alongside an asset, and from generic AI-content classification, which guesses origin from surface characteristics. A detected watermark supports a claim about a supported generator and detection protocol, not a complete account of ownership or authorship.","practice":"A practitioner chooses a watermark scheme suitable for the medium and deployment, then evaluates false positives, false negatives and quality changes. Tests include short samples, paraphrasing, cropping or recompression as appropriate. Detector thresholds and key management become part of the system specification. A useful report states which transformations were tested and what a positive or negative result means. If origin evidence will influence moderation or attribution, the team also defines an appeal process and considers complementary provenance records instead of treating a detector score as definitive proof.","example":"A publisher experiments with watermarking machine-generated summaries. The team compares detector results on original summaries, human revisions and unrelated articles. Short edited summaries frequently become inconclusive, so the workflow reports uncertainty and retains generation records as additional evidence. It does not accuse an author of undisclosed AI use merely because a generic classifier assigns a high score, since that classifier is a different method with different assumptions.","limits":"Watermarks can be weakened or removed, and their absence does not prove human authorship. Statistical detection needs an appropriate null model and enough content, while false positives can have serious consequences. A watermark also does not establish copyright ownership, permission to reuse training data or legal compliance. Claims should remain specific to the scheme, detector and conditions actually evaluated rather than implying universal detection of AI-generated content.","sources":[{"title":"A Watermark for Large Language Models","url":"https://arxiv.org/abs/2301.10226","note":"Primary research on statistical text watermarks and detection; licensing conclusions are not implied."}],"updatedAt":"2026-11-02"}},{"id":"ai-red-teaming","name":"AI Red Teaming","category":"Red Teaming & Security Frameworks","subcategory":null,"section_id":"ai-safety-security-governance-ethics","section_name":"AI Safety, Security, Governance & Ethics","description":"AI red teaming is an organized attempt to discover harmful or exploitable behavior before it affects real users. It uses adversarial scenarios, realistic attacker goals and careful evidence collection to challenge the system's assumptions, then turns findings into fixes, risk decisions and repeatable regression tests.","type":"concept","editorial":{"definition":"Red teaming examines an AI system from the perspective of someone trying to cause a failure, including misuse, disclosure or unsafe actions. It can test the model directly or the full application with retrieval, memory and tools. Human investigation allows adaptation and creative attack chains; automated generation expands the search for candidate failures. A successful attack is defined against a concrete objective and threat model, not simply by eliciting an unconventional response. This exploratory process differs from routine benchmark evaluation: it actively searches for unknown weaknesses rather than only measuring performance on an established set of cases.","practice":"A practitioner defines scope, attacker capabilities, permitted testing environments and the evidence needed to demonstrate impact. They explore hypotheses, minimize successful cases and classify failures by the boundary that broke. Findings should include reproduction steps, affected configuration and a practical remediation owner. Sensitive tests use controlled data and isolated side effects. After fixes, discovered attacks become regression cases, while a fresh exploratory phase looks for alternative paths. The final report distinguishes confirmed failures, plausible risks and attempted attacks that did not achieve their objective.","example":"A red team assesses a travel-booking agent in a sandbox. A retrieved hotel description contains instructions to change the payment destination. Investigators test whether the agent attempts the change, whether backend checks stop it and whether the UI asks for meaningful confirmation. The report identifies a vulnerable tool path and its impact. The fix is verified against the original attack and related descriptions with different wording.","limits":"An unsuccessful campaign does not prove safety, and attack success rates depend strongly on the scenarios and scoring rules. Automated attacks can produce large numbers of uninformative cases, while evaluator models may misjudge impact. Good red teaming preserves evidence, coverage boundaries and unresolved questions. It complements structured adversarial testing and operational monitoring; it does not replace authorization, secure implementation or responsible decisions about whether a risky feature should exist.","sources":[{"title":"Red Teaming Language Models with Language Models","url":"https://arxiv.org/abs/2202.03286","note":"Primary research on automated discovery of harmful model behavior and the need for broader evaluation."}],"updatedAt":"2026-11-02"}},{"id":"adversarial-ai-testing","name":"Adversarial AI Testing","category":"Red Teaming & Security Frameworks","subcategory":null,"section_id":"ai-safety-security-governance-ethics","section_name":"AI Safety, Security, Governance & Ethics","description":"Adversarial AI testing measures how an AI system behaves under deliberately challenging inputs or attack conditions. It converts specified threats into repeatable experiments, such as evasion, poisoning or prompt injection, so teams can compare defenses and detect regressions against a known attacker model.","type":"concept","editorial":{"definition":"The test design specifies what the attacker knows, can modify and wants to achieve. For a classifier, an evasion test might alter an input while preserving its real label; for a language-model application, it might introduce hostile instructions through a tool response. Poisoning changes training or adaptation data rather than only inference input. These are distinct experiments with different controls and success criteria. Adversarial testing differs from open-ended red teaming by emphasizing reproducible measurement of defined attack classes, although red-team discoveries often become test cases. Ordinary difficult examples are not automatically adversarial unless an attack objective and allowed manipulation are specified.","practice":"The practitioner builds a test matrix across attack surfaces, attacker access and defensive configurations. They preserve original inputs, transformations, random seeds where applicable and evidence of achieved impact. Evaluation should include benign controls and adaptive attacks that know the defense rather than only attacks designed for an undefended system. A useful report compares attack success, task degradation and operational cost. Test infrastructure must isolate destructive effects and prevent deliberately poisoned artifacts from entering normal training, deployment or shared evaluation data by accident.","example":"A document classifier is tested against small image perturbations and altered scan quality. The team distinguishes label-preserving adversarial changes from changes that genuinely make the document unreadable. It compares a proposed defense on both attack cases and ordinary scans, discovering that improved resistance comes with more false rejections of legitimate documents. That tradeoff is recorded before the defense is considered for production use.","limits":"Robustness against one attack algorithm rarely establishes robustness against an adaptive attacker. A defense can obscure gradients or exploit a weak evaluator without fixing the underlying weakness. Results must state the allowed perturbations, attacker knowledge and budget. Clean task performance also matters: a system that rejects everything can look resistant while being unusable. The experiment supports a bounded claim about tested conditions, not universal security.","sources":[{"title":"NIST: adversarial machine learning taxonomy","url":"https://nvlpubs.nist.gov/nistpubs/ai/NIST.AI.100-2e2025.pdf","note":"Official taxonomy of adversarial attack objectives, capabilities and mitigations."}],"updatedAt":"2026-11-02"}},{"id":"eu-ai-act-compliance","name":"EU AI Act Compliance","category":"Governance, Regulation & Ethics","subcategory":null,"section_id":"ai-safety-security-governance-ethics","section_name":"AI Safety, Security, Governance & Ethics","description":"EU AI Act compliance is the practice of identifying which obligations apply to an AI activity and producing evidence that the responsible organization meets them. It connects intended use, operator roles, risk classification and lifecycle controls to the applicable legal text rather than treating a technical checklist as compliance.","type":"concept","editorial":{"definition":"The EU AI Act distinguishes AI systems, general-purpose AI models and several operator roles, with obligations depending on the relevant category and context. A provider and a deployer can have different responsibilities, and the same underlying model can participate in applications with different intended purposes. Classification therefore requires examining the actual use and the organization's role, not assigning a legal category from a model name. Compliance work links that assessment to documentation, oversight, evaluation and other applicable requirements. The current text, amendments, guidance and application provisions must be checked for the specific case; this skill is not a substitute for qualified legal interpretation.","practice":"A practitioner inventories AI uses and records purpose, users, affected people, providers and deployment arrangements. With legal and governance specialists, they map applicable provisions to concrete controls and evidence owners. Artifacts include a classification rationale, documentation register and change-review process. Engineering evidence can describe data handling, testing, oversight mechanisms and monitoring, but it must correspond to the actual system configuration. Changes in purpose, operator responsibilities or technical capability trigger reassessment. The team also checks other relevant law rather than assuming the AI Act displaces privacy, employment or product requirements.","example":"An organization adds an assistant to a hiring workflow. Before launch, it documents whether the assistant merely answers general questions or influences applicant evaluation. That purpose assessment changes the compliance analysis and the evidence requested from the provider. The team records human responsibilities, evaluates the actual workflow and routes the classification decision through its legal review. Purchasing a model service with safety features does not settle the application's obligations.","limits":"Neither a guardrail library, an ISO certificate nor a good benchmark proves AI Act compliance. Public summaries can omit exceptions, role-specific duties and amended provisions. The skill requires tracing a claim to the applicable legal requirement and to maintained system evidence. A generic risk label is particularly weak when intended use is unclear. Legal conclusions and timing should be confirmed against authoritative, current sources for the particular activity.","sources":[{"title":"EUR-Lex: Artificial Intelligence Act, consolidated text","url":"https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:02024R1689-20260727","note":"Official consolidated text consulted for operator roles, risk categories and requirements; authentic acts and applicable dates require case-specific review."}],"updatedAt":"2026-11-02"}},{"id":"nist-ai-rmf","name":"NIST AI RMF","category":"Governance, Regulation & Ethics","subcategory":null,"section_id":"ai-safety-security-governance-ethics","section_name":"AI Safety, Security, Governance & Ethics","description":"The NIST AI Risk Management Framework is a voluntary framework for managing risks associated with AI throughout its lifecycle. Competence in it means using its Govern, Map, Measure and Manage functions to connect organizational responsibilities, deployment context, evidence and risk treatment in a repeatable process.","type":"tool","editorial":{"definition":"The framework organizes work around four complementary functions rather than a fixed sequence of technical tests. Govern establishes responsibilities and policies; Map identifies context and potential impacts; Measure evaluates relevant risks and system characteristics; Manage prioritizes and responds to the findings. Governance supports the other activities throughout the lifecycle. The framework's trustworthiness considerations help teams ask broader questions than accuracy alone, but they do not prescribe one universal score or acceptable risk threshold. NIST's companion Playbook offers implementation suggestions that organizations adapt to their use cases; it is not a checklist that must be completed in full.","practice":"A practitioner selects a defined AI use case, identifies relevant framework outcomes and maps them to existing organizational processes. They assign owners and collect evidence for context, evaluation, risk decisions and ongoing review. Practical outputs include a risk register, measurement plan and recorded response to residual risks. The team should preserve unresolved uncertainties and distinguish a planned control from a working one. NIST periodically updates framework resources, so implementation work also verifies which version and guidance the organization's mapping uses before presenting it as current.","example":"A team applies the framework to an internal summarization assistant. Mapping identifies confidential documents and decisions that users might base on summaries. Measurement evaluates omissions, disclosure and overreliance in the intended workflow. Management restricts certain uses and adds review for consequential summaries, while governance assigns responsibility for updates and incidents. The resulting record explains why those controls address the identified risks instead of simply stating that the system follows NIST.","limits":"Framework alignment is not certification and does not establish compliance with every law or standard. A completed mapping can conceal weak measurements or unimplemented controls. The test is whether risks are understood, evidence informs decisions and responsibilities remain effective after deployment. An organization must choose context-appropriate priorities and acceptable risk levels; the framework does not make those judgments automatically or guarantee that a system is trustworthy.","sources":[{"title":"NIST AI Risk Management Framework 1.0","url":"https://nvlpubs.nist.gov/nistpubs/ai/NIST.AI.100-1.pdf","note":"Supports the voluntary Govern, Map, Measure and Manage functions."},{"title":"NIST AI RMF Playbook","url":"https://airc.nist.gov/airmf-resources/playbook/","note":"Official implementation suggestions; NIST explicitly describes them as voluntary rather than a complete checklist."}],"updatedAt":"2026-11-02"}},{"id":"agent-threat-modeling-maestro","name":"Agent Threat Modeling (MAESTRO)","category":"Red Teaming & Security Frameworks","subcategory":null,"section_id":"ai-safety-security-governance-ethics","section_name":"AI Safety, Security, Governance & Ethics","description":"Agent threat modeling with MAESTRO analyzes how an AI agent's models, data, frameworks and integrations can be exploited together. The Cloud Security Alliance framework provides a layered way to identify attack paths, especially where memory, delegated actions and multiple agents create risks beyond an isolated model request.","type":"concept","editorial":{"definition":"An agent combines reasoning with access to information and tools, so risk can emerge across components rather than inside one vulnerable function. Untrusted input may influence a plan, persist in memory and later cause a privileged tool action. MAESTRO organizes investigation around layers of the agent architecture and their interactions. The practitioner examines assets, trust boundaries and attacker capabilities at each relevant layer, then traces cross-layer paths to concrete outcomes. This is a threat-modeling framework, not an automatic vulnerability detector or a runtime enforcement mechanism; its value depends on how accurately the actual agent architecture is represented.","practice":"The practitioner diagrams the agent's model calls, memory stores, tool registry, identities and external integrations. They apply MAESTRO's layered perspective to identify threats and record plausible sequences from entry point to impact. Useful artifacts include an attack-path register and controls assigned to the component that can enforce them. Reviews should examine delegated credentials, changes to tools and persistent memory, not only prompts. The resulting threats inform tests and release criteria, and the model is updated when new integrations alter what the agent can access or execute.","example":"A procurement agent reads supplier messages, stores preferences and drafts purchase orders. Threat modeling identifies a path where a supplier message poisons persistent memory and influences a later order. The team adds provenance to stored memory, restricts who can write approved preferences and validates order details independently of the agent's reasoning. Tests simulate the attack across multiple sessions, because a single-turn evaluation would miss the persistence mechanism.","limits":"A layer diagram can create a false sense of completeness if it omits real permissions or operational dependencies. MAESTRO identifies and organizes threats; it does not prove their exploitability or eliminate them. Teams should prioritize concrete assets and outcomes rather than maximizing the number of categories filled. Controls need implementation evidence and adversarial tests, particularly for paths where apparently safe individual actions combine into an unsafe sequence.","sources":[{"title":"Cloud Security Alliance: MAESTRO","url":"https://labs.cloudsecurityalliance.org/maestro/","note":"Official framework introduction supporting layered, agent-specific threat modeling."}],"updatedAt":"2026-11-02"}},{"id":"owasp-top-10-for-llm-applications","name":"OWASP Top 10 for LLM Applications","category":"Red Teaming & Security Frameworks","subcategory":null,"section_id":"ai-safety-security-governance-ethics","section_name":"AI Safety, Security, Governance & Ethics","description":"The OWASP Top 10 for LLM Applications is a community-maintained taxonomy of major security risks in language-model applications. The skill uses that taxonomy to structure design reviews and testing, while translating broad risk categories into specific attack paths, controls and evidence for the system being built.","type":"concept","editorial":{"definition":"The list addresses risks such as prompt injection, information disclosure, supply chain weaknesses and excessive agency across an LLM application's lifecycle. It focuses attention on failure patterns that conventional web security reviews may not fully capture. Each category describes a family of problems, not a single vulnerability with one mandatory fix. Categories can overlap in an attack: a poisoned document may inject instructions that exploit broad tool permissions and disclose data. Versions of the list change as the field develops, so a review must identify the version it uses and consider additional threats specific to its architecture.","practice":"A practitioner maps the system's components and capabilities to relevant OWASP categories, then writes concrete abuse cases and mitigation checks. A useful review records where each risk can arise, which boundary prevents impact and how that boundary is tested. Teams should link findings to owners and deployment decisions rather than merely marking categories as considered. The taxonomy complements conventional controls for authentication, authorization and dependency security. It also helps communicate findings across model, application and security teams using a shared vocabulary without assuming that every category applies equally.","example":"A team reviews an assistant with database access and email tools. Prompt-injection analysis identifies hostile text entering through search results; excessive-agency analysis examines unnecessary write permissions; disclosure analysis examines outbound messages. The review leads to read-only queries, restricted destinations and regression tests for combined attacks. One attack spans several categories, so the team documents the complete path rather than counting it as three unrelated checklist findings.","limits":"Covering the Top 10 does not prove security or exhaust all possible threats. A checklist can overlook deployment-specific trust boundaries, and category names cannot replace reproducible evidence. The list also addresses application security rather than every ethical or legal concern about AI. Good use prioritizes risks according to actual capabilities and impact, while recording the version, assumptions and areas the review did not examine.","sources":[{"title":"OWASP Top 10 for LLM Applications","url":"https://genai.owasp.org/llm-top-10/","note":"Official risk taxonomy for LLM applications; the list is a review aid rather than a security guarantee."}],"updatedAt":"2026-11-02"}},{"id":"saif","name":"SAIF","category":"Red Teaming & Security Frameworks","subcategory":null,"section_id":"ai-safety-security-governance-ethics","section_name":"AI Safety, Security, Governance & Ethics","description":"SAIF, Google's Secure AI Framework, helps organizations connect AI-specific security risks to lifecycle components and controls. Competence in it means adapting a security framework to models, data, infrastructure and applications, then checking that the chosen controls address the organization's actual attack surfaces.","type":"tool","editorial":{"definition":"AI security depends on conventional foundations such as access control and software integrity, but also on risks introduced by learned behavior and model interaction. SAIF describes a security perspective across the AI development and deployment process, connecting risks such as poisoning, prompt injection and model exfiltration to relevant components and mitigations. Its maps help a practitioner reason about where a control belongs and which roles can implement it. The framework is guidance rather than a product that secures a system automatically, and it must be interpreted alongside the organization's architecture, responsibility boundaries and existing security practices.","practice":"The practitioner inventories AI assets and maps their flow from development inputs to deployed applications. They use SAIF's risk and control descriptions to identify missing protections and assign implementation responsibility. A useful artifact links each selected control to an asset, threat and verification method, including model or data integrity checks and restricted production access where relevant. The review should involve teams operating infrastructure as well as those building model features. Controls are reassessed when the organization adds external models, changes data sources or grants agents new capabilities.","example":"A company moves from calling a hosted model to serving a downloaded model itself. A SAIF-based review identifies additional responsibilities for protecting model artifacts, build dependencies and deployment configuration. The team pins approved artifacts, restricts registry writes and tests how a compromised deployment component could affect outputs. The application still needs prompt-injection controls; stronger artifact security does not remove the risks created by untrusted runtime inputs.","limits":"A framework mapping is only as accurate as the asset inventory and architecture behind it. Broad statements such as secure AI can conceal untested assumptions about vendors or operational access. SAIF does not certify a model's behavior or settle legal compliance. The practitioner should distinguish recommended controls from implemented ones and verify effectiveness against concrete threats, while retaining evidence of gaps the organization has chosen to accept.","sources":[{"title":"Google: Secure AI Framework","url":"https://www.saif.google/secure-ai-framework","note":"Official framework connecting AI lifecycle components, risks and security controls."}],"updatedAt":"2026-11-02"}},{"id":"lime","name":"LIME","category":"Explainability & Fairness","subcategory":null,"section_id":"ai-safety-security-governance-ethics","section_name":"AI Safety, Security, Governance & Ethics","description":"LIME explains an individual model prediction by fitting a simpler surrogate around that input. It perturbs interpretable parts of the example, observes the original model's outputs and learns which local changes matter, producing an explanation whose meaning depends on the chosen neighborhood and representation.","type":"tool","editorial":{"definition":"LIME, short for Local Interpretable Model-agnostic Explanations, separates the model being explained from an interpretable surrogate such as a sparse linear model. Nearby perturbed samples are weighted by similarity to the target example, and the surrogate is fitted to approximate predictions in that neighborhood. For text, interpretable features may indicate whether words are present; for images, they may represent regions. The method can work without access to model internals because it queries predictions. Its coefficients describe the fitted local approximation, not necessarily the original model's global structure or a causal relationship between real-world features and outcomes.","practice":"The practitioner selects an interpretable representation, perturbation strategy and locality weighting that make sense for the data. They inspect surrogate fidelity near the target and repeat explanations to assess stability. Useful artifacts include the explanation, neighborhood settings and examples where the approximation is weak. Perturbations should avoid impossible or misleading inputs where feasible, particularly with correlated tabular features. The explanation is used for a specific question such as debugging a prediction, with the reference conditions stated clearly so users do not mistake local coefficients for universal importance values.","example":"An image classifier labels a scene as a particular animal. LIME removes different image regions and fits a local explanation, showing that the background strongly influences the prediction. The developer verifies the clue using other backgrounds and targeted tests before changing the training set. The highlighted regions suggest a failure hypothesis; they do not by themselves establish that the classifier recognizes no meaningful animal features.","limits":"Explanations can change with random sampling, kernel width or feature representation. Unrealistic perturbations can produce a convincing surrogate for behavior outside the data distribution. LIME also does not resolve confounding or establish causation. A good explanation reports its local fidelity and remains narrow in scope, especially when the model is nonlinear nearby or features interact in ways a simple surrogate cannot represent well.","sources":[{"title":"Why Should I Trust You? Explaining the Predictions of Any Classifier","url":"https://arxiv.org/abs/1602.04938","note":"Primary LIME paper supporting local surrogate explanations and locality-dependent interpretation."}],"updatedAt":"2026-11-02"}},{"id":"shap","name":"SHAP","category":"Explainability & Fairness","subcategory":null,"section_id":"ai-safety-security-governance-ethics","section_name":"AI Safety, Security, Governance & Ethics","description":"SHAP explains model predictions through additive feature attributions based on Shapley-value ideas. It allocates the difference between a prediction and a reference value across input features, providing a common explanation form whose interpretation depends on the background data and how missing features are modeled.","type":"tool","editorial":{"definition":"Shapley values originate in cooperative game theory, where contributions are allocated by considering a participant's marginal effect across possible coalitions. SHAP applies this idea to model explanations, treating features as participants and defining a value function for subsets of available features. Attributions sum to the difference from the chosen baseline under the method's assumptions. Different SHAP algorithms exploit model structure or approximate the computation, and their handling of feature dependence can differ. The resulting contribution describes the explanation's defined prediction game; it is not automatically a causal effect or an intrinsic property of a feature independent of the reference population.","practice":"The practitioner chooses an algorithm appropriate to the model and an explicit background dataset. They inspect local attributions and aggregate them carefully for broader analysis, preserving the distinction between signed effects and absolute magnitude. Useful artifacts include the baseline definition, explanation settings and checks on representative cases. Correlated features require attention because credit can shift depending on assumptions about feature absence. The team verifies whether explanations answer the intended question and whether changes in background data alter conclusions that stakeholders might otherwise treat as stable facts.","example":"A churn model assigns a high score to one account. SHAP shows contributions from recent activity and support history relative to a defined customer baseline. The analyst compares that explanation with accounts in the same segment and finds that a missing activity field influences the result. They investigate the data pipeline before proposing a retention action. The attribution identifies model dependence, rather than proving that creating more activity would cause the customer to stay.","limits":"A precise-looking attribution can hide strong assumptions about the baseline and correlated inputs. Some computation methods are approximate, and aggregate importance can obscure subgroup behavior or interactions. SHAP does not establish fairness, causal validity or factual accuracy. Quality checks should state the explanation variant and reference data, compare plausible alternatives and avoid turning a model association into a recommendation for real-world intervention without further evidence.","sources":[{"title":"A Unified Approach to Interpreting Model Predictions","url":"https://arxiv.org/abs/1705.07874","note":"Primary SHAP paper supporting additive feature attribution and Shapley-based explanation properties."}],"updatedAt":"2026-11-02"}},{"id":"data-mesh","name":"Data Mesh","category":"Data Architecture, Storage & Lakehouses","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"Data mesh is an organizational and architectural approach in which domain teams own data products for other teams to consume. It combines distributed ownership with shared infrastructure and federated governance, addressing the coordination problem of supplying trustworthy analytical data across a large organization.","type":"concept","editorial":{"definition":"A data mesh moves responsibility for data closer to the domain that understands its meaning and production. A domain publishes a data product with discoverable interfaces, documented semantics and quality expectations instead of merely sending raw tables to a central team. Shared infrastructure reduces the operational burden, while federated governance establishes rules that let products work together. These principles are interdependent: distributing storage without product ownership or common standards does not create a mesh. The approach concerns operating responsibilities and interfaces as much as technology, and can use warehouses, lakehouses or other platforms underneath.","practice":"A practitioner identifies domains and consumer needs, defines ownership and builds publication standards for data products. They establish contracts for schema, meaning, access and reliability, along with a platform that makes those responsibilities feasible for domain teams. Useful artifacts include a product catalog, ownership matrix and shared governance rules. The implementation should test whether consumers can find, understand and use a product without reconstructing the producer's internal systems. Success is measured through dependable consumption and clear responsibility, not the number of decentralized databases created.","example":"A retailer separates order, inventory and delivery domains. The order team publishes a product with stable order identifiers and documented cancellation semantics, while delivery publishes shipment events using compatible identifiers. Analysts combine them to measure fulfillment without asking a central team to reinterpret every field. A shared platform handles access and publication checks, and the domain owners remain responsible for explaining changes and resolving quality incidents.","limits":"Data mesh can increase coordination costs when domains lack engineering capacity or shared standards. Renaming existing tables as products does not improve usability, and decentralized ownership can fragment definitions. The approach is most useful when ownership and cross-domain demand justify its overhead. A review should examine actual consumer experience and incident responsibility; a platform diagram alone cannot establish that a functioning data-product operating model exists.","sources":[{"title":"Zhamak Dehghani: Data Mesh Principles and Logical Architecture","url":"https://martinfowler.com/articles/data-mesh-principles.html","note":"Primary exposition of domain ownership, data products, self-service infrastructure and federated governance."}],"updatedAt":"2026-10-10"}},{"id":"databricks-unity-catalog","name":"Databricks Unity Catalog","category":"Data Governance, Quality & Contracts","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"Databricks Unity Catalog is a governance layer for organizing and controlling access to data and AI assets in Databricks. The skill involves configuring its object hierarchy, privileges and evidence of asset use so shared analytics and model workflows operate under an explicit permission model.","type":"tool","editorial":{"definition":"Unity Catalog represents governed assets as securable objects, with many data and AI objects organized in a catalog, schema and object namespace. Users, groups and service identities receive privileges over these objects, and governed operations can produce lineage and audit information. Managed and external assets differ in responsibility for underlying storage lifecycle. These distinctions matter because permission to use a catalog object is not necessarily the same as direct access to its storage location. Unity Catalog is a platform governance component rather than a complete organizational data policy, and actual enforcement depends on supported compute, integrations and configuration.","practice":"The practitioner designs catalog and schema boundaries around ownership, environment and access needs. They configure service identities, privileges and external storage access, then test ordinary and denied operations through the supported interfaces. Useful artifacts include a privilege matrix and a mapping from registered assets to underlying storage responsibilities. Lineage and audit records help investigate use, but coverage must be checked for the actual workload. The team also reviews broad inherited privileges and separates deployment automation from human access so routine operations do not require unnecessary administrative rights.","example":"A shared lakehouse contains general product data and restricted account information. The engineer places them in governed structures with different group privileges and gives a training job access only to the approved feature view. Tests confirm that the job can train from that view but cannot read raw restricted columns through another supported path. Lineage records then help identify which model artifacts depend on the approved dataset.","limits":"Catalog registration does not automatically eliminate direct-storage access or protect every external copy. Misconfigured identities and broad grants can defeat intended separation, while lineage may omit unsupported paths. The practitioner should verify enforcement with the deployed compute and interfaces rather than infer it from an asset's presence in the catalog. Governance metadata also does not establish data accuracy, lawful processing or an appropriate business purpose.","sources":[{"title":"Databricks: What is Unity Catalog?","url":"https://docs.databricks.com/aws/en/data-governance/unity-catalog/","note":"Official object model and governance capabilities; configuration and coverage remain deployment-specific."}],"updatedAt":"2026-10-10"}},{"id":"data-contracts","name":"Data Contracts","category":"Data Governance, Quality & Contracts","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"Data contracts specify what a producer promises about data and what consumers can rely on. They make schema, semantics, ownership, quality and change expectations explicit, allowing pipelines and teams to detect incompatible changes before those changes silently alter analysis, model inputs or operational decisions.","type":"concept","editorial":{"definition":"A contract describes an interface between data producers and consumers. Its schema defines fields and types, but a useful contract also explains meaning, identifiers, units and conditions such as freshness or completeness. Validation can check machine-readable parts, while human agreement establishes responsibilities and the handling of exceptions. Contracts differ from a catalog description because they express expectations whose violations have consequences, and from an API schema because they can cover batch datasets or event streams as well. Versioning and compatibility rules connect the contract to change management rather than freezing all data evolution indefinitely.","practice":"A practitioner works with producers and consumers to identify essential guarantees and represent them in a versioned specification. They add checks at publication or consumption boundaries, assign an owner and define notification or migration procedures for breaking changes. Artifacts include the contract, compatibility tests and an exception process. Quality thresholds should reflect real needs rather than arbitrary perfection, and definitions should specify how they are measured. The implementation also decides whether a violation blocks delivery, quarantines records or raises an alert, because these responses have different operational costs.","example":"A billing event contract defines amounts in minor currency units and requires a currency code. A producer proposes switching to decimal major units without renaming the field. Contract tests reject the incompatible release before a downstream revenue dashboard and forecasting model multiply values incorrectly. The teams publish a new version and migrate consumers deliberately, preserving the old interface until the agreed transition is complete.","limits":"A contract can be syntactically valid while its data is semantically wrong. Vague promises such as high quality are difficult to test, and strict checks can stop legitimate changes if no migration path exists. Contracts work only when owners maintain them and consumers understand their scope. They cannot guarantee the correctness of every downstream model, especially when a consumer relies on assumptions the agreement never documented.","sources":[{"title":"Open Data Contract Standard","url":"https://github.com/bitol-io/open-data-contract-standard","note":"Official specification covering data definitions, ownership, quality and service-level commitments."}],"updatedAt":"2026-10-10"}},{"id":"document-parsing","name":"Document Parsing","category":"Data Ingestion","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"Document parsing converts files such as PDFs, HTML and office documents into structured content that downstream systems can use. It preserves meaningful elements and provenance, including headings, tables and page locations, rather than treating every document as a single undifferentiated text string.","type":"concept","editorial":{"definition":"A document combines content with a representation: text runs, layout, images, tables and metadata. Parsing reads that representation and extracts elements in an order suitable for the intended task. Born-digital files may expose text directly, while scanned pages require OCR before much content can be recovered. Layout interpretation is distinct from character recognition, and table extraction requires preserving relationships between cells rather than just their words. The resulting structure supports search, retrieval and analysis, but the parser must retain enough source context to identify extraction errors and connect downstream claims to the original file.","practice":"The practitioner chooses format-specific parsers and tests them against the actual document families. They define an element schema, preserve page or section provenance and normalize encoding without destroying meaning. Useful artifacts include parsing fixtures with expected tables and reading order, plus a failure queue for unsupported or corrupted files. Evaluation should inspect structure as well as text coverage. The pipeline also handles duplicate files, updated versions and malicious or unexpectedly large documents, since successful extraction should not grant file content authority over the processing application.","example":"A policy-search system ingests PDFs with two-column pages and embedded tables. A basic text extractor interleaves the columns and detaches table values from their headings. The engineer changes the parsing strategy, retains element coordinates and checks representative pages manually. Retrieved passages now preserve the relevant heading and table context, while citations identify the source page so users can inspect a questionable extraction.","limits":"A parser can produce plausible text while losing reading order, footnotes or table structure. OCR errors and complex layouts can propagate into confident downstream answers. Evaluation must include documents outside the easiest template and preserve unresolved extraction uncertainty. Parsing also does not establish that a file's claims are true, current or authorized for use; those judgments belong to separate content, governance and security processes.","sources":[{"title":"Unstructured: partitioning","url":"https://docs.unstructured.io/open-source/core-functionality/partitioning","note":"Official document partitioning documentation describing format-specific extraction and structured elements."}],"updatedAt":"2026-10-10"}},{"id":"web-scraping","name":"Web Scraping","category":"Data Ingestion","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"Web scraping extracts structured information from web pages through repeatable collection and parsing. The skill combines discovery, fetching, page interpretation and data validation so changing web content can become a traceable dataset without confusing presentation artifacts, duplicate pages or incomplete loads with reliable source records.","type":"concept","editorial":{"definition":"A scraper turns a site's representations into records by requesting pages, identifying relevant elements and normalizing their values. Crawling discovers which pages to visit; scraping extracts content from them; browser rendering may be needed when JavaScript creates the relevant page state. These activities differ from using a supported API, whose data interface may be more stable and explicit. A robust collection process records source URLs and capture times, understands pagination and avoids assuming that a successful HTTP response means the requested content was actually delivered. Templates, redirects and access barriers can all change the interpretation.","practice":"The practitioner defines a collection scope, checks permitted access and selects a request or rendering approach. They create resilient selectors, control concurrency and retries, and preserve raw evidence or suitable provenance for debugging. Useful artifacts include extraction tests across page variants and a record schema with validation rules. Duplicate detection and pagination checks help establish coverage. The implementation should identify blocked or empty pages distinctly from genuine missing values, and respond conservatively to source changes rather than silently filling fields with unrelated navigation text.","example":"A team collects public product specifications from a manufacturer. The crawler discovers product pages while the extractor separates technical tables from promotional content. One template omits a specification until an accordion is opened, so the team adds a rendered extraction path for that variant. Each record retains its source page and capture date, and a validation check flags unexpected unit changes for review before the data reaches analysis.","limits":"Sites change structure, access rules and content, so extraction requires maintenance. A scraper can mistake consent pages or error messages for data and can impose excessive load if concurrency is uncontrolled. Public visibility alone does not settle reuse rights or privacy obligations. The quality test combines record correctness, coverage and provenance; a large file of extracted rows is not evidence that the intended source population was collected accurately.","sources":[{"title":"Scrapy: architecture overview","url":"https://docs.scrapy.org/en/latest/topics/architecture.html","note":"Official crawling architecture describing scheduling, downloading, spiders and item pipelines."}],"updatedAt":"2026-10-10"}},{"id":"data-modeling","name":"Data Modeling","category":"Data Architecture, Storage & Lakehouses","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"Data modeling designs how entities, relationships and measurements are represented in stored data. It connects domain meaning to schemas, keys and constraints, helping applications and analytical systems preserve valid relationships while choosing storage structures that support their expected queries and changes.","type":"concept","editorial":{"definition":"A conceptual model identifies domain entities and relationships; a logical model defines attributes and identifiers; a physical model maps them to storage structures and indexes. These views answer different questions and should not be collapsed into one table diagram. Keys establish identity, constraints encode valid states and the grain states what one record represents. Analytical models may deliberately denormalize data for consumption, while transactional models often emphasize integrity and update behavior. The central mechanism is making assumptions about identity, cardinality and time explicit so joins and updates preserve meaning rather than merely producing syntactically valid results.","practice":"The practitioner starts from business events and query needs, defines record grain and agrees on identifiers and relationship cardinalities. They choose types, constraints and temporal representation, then test representative inserts, updates and joins. Useful artifacts include an entity model, field definitions and migration plans. Design reviews examine how history is retained and how missing or changing identities are handled. Physical optimization follows those semantics: an index or partition can speed a query, but cannot repair a model that double-counts events or conflates distinct entities.","example":"An order system initially stores one row per order, then adds multiple shipments. Joining shipment rows directly to order totals duplicates revenue. The modeler defines shipment grain separately and documents the relationship, while an analytical model aggregates shipments before joining order-level measures. Tests include partially shipped and canceled orders, ensuring the schema and queries reflect real lifecycle states rather than only the simplest completed order.","limits":"A technically valid schema can still encode the wrong domain assumptions. Excessive normalization can complicate consumption, while denormalization can create inconsistent copies or obscure update rules. Flexible schemas do not remove the need for shared semantics. Quality checks should test the meaning of joins, history and aggregation, especially where entities merge or change over time. Performance is one design constraint, not a substitute for correct identity and grain.","sources":[{"title":"PostgreSQL: data definition","url":"https://www.postgresql.org/docs/current/ddl.html","note":"Official relational schema, key and constraint documentation; broader modeling choices are explained independently."}],"updatedAt":"2026-10-10"}},{"id":"pii-management","name":"PII Management","category":"Data Governance, Quality & Contracts","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"PII management governs personal information across collection, storage, use, sharing and deletion. It combines data inventory, purpose and access decisions with technical controls, recognizing that privacy risks extend beyond obvious identifiers to combinations of attributes, derived records and copies created by analytics or AI systems.","type":"concept","editorial":{"definition":"Personally identifiable information is an operational term whose relationship to legal definitions depends on jurisdiction and context. Direct identifiers such as names and account numbers are only part of the problem; indirect attributes and linkable records can also identify people. Management therefore tracks why data is needed, where it goes and who can use it throughout its lifecycle. Redaction transforms content, pseudonymization separates identity from a record and anonymization makes a stronger claim about re-identification risk. These are different operations and should not be treated as interchangeable simply because a field has been replaced or hashed.","practice":"A practitioner creates an inventory of personal data and its derived copies, coordinates purpose and retention decisions with qualified specialists and implements appropriate access controls. They define handling rules for exports, model prompts, logs and evaluation datasets, then test deletion and restriction paths. Useful artifacts include a data-flow map, retention schedule and documented transformation policy. Reviews assess whether the system collects more than its task needs and whether information can be reconstructed by combining outputs. Technical evidence supports governance decisions but does not settle legal obligations independently.","example":"A service keeps customer support messages for operational follow-up and later proposes using them for model evaluation. The team reviews the new purpose, removes unnecessary identifiers and restricts the original messages. It also finds copies in an analytics export and updates their retention handling. A deletion test follows one synthetic customer through the relevant stores, revealing whether the operational process covers more than the primary database.","limits":"Removing names does not guarantee anonymity, and hashing predictable identifiers can preserve linkage. Retention rules fail when derived datasets, backups or vendor systems are omitted. Privacy decisions require the applicable legal and organizational context, not only a detector score. Good management demonstrates where data is used and how controls operate, while making unresolved re-identification and deletion limitations visible to the people responsible for accepting them.","sources":[{"title":"EUR-Lex: General Data Protection Regulation","url":"https://eur-lex.europa.eu/eli/reg/2016/679/oj/eng","note":"Official law supporting distinctions around personal data, minimization and accountability; the entry avoids case-specific legal advice."}],"updatedAt":"2026-10-10"}},{"id":"data-quality-management","name":"Data Quality Management","category":"Data Governance, Quality & Contracts","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"Data quality management defines and maintains the properties data needs for a particular use. It turns expectations about correctness, completeness, consistency and timeliness into checks and remediation processes, so problems are investigated at their source rather than repeatedly patched in downstream analysis or model training.","type":"concept","editorial":{"definition":"Quality is fitness for purpose rather than a universal property of a dataset. A missing value may be valid in one workflow and a serious error in another; a fresh table may still contain incorrect measurements. Quality management connects explicit expectations to measurement, ownership and action. Schema and range checks detect certain errors, relationship checks examine consistency and source comparisons can reveal discrepancies. Governance provides responsibility for definitions and remediation. This differs from observability, which supplies evidence about changing pipeline behavior, and from cleaning, which performs specific corrections on data that already violates the required conditions.","practice":"The practitioner identifies critical data elements and agrees on checks with producers and consumers. They prioritize issues by downstream impact, define thresholds and implement validation at meaningful boundaries. Useful artifacts include an expectation suite, incident ownership and a remediation record. A failed check should explain affected records and consequences, not only produce a red indicator. The team evaluates whether blocking, quarantining or alerting is appropriate and measures recurring failures so process improvements address their causes rather than normalizing permanent manual repair.","example":"A forecasting dataset includes store opening hours. A validation suite detects negative durations and inconsistent time zones, while a source comparison finds stores whose hours were never updated. The team routes malformed records for correction and marks stale stores separately. Forecast evaluation then distinguishes model error from unreliable input coverage. A generic non-null check would have passed many of the problematic records and hidden their business impact.","limits":"Checks only detect the problems they encode, and passing a suite cannot prove every record correct. Rules can become obsolete when the domain changes or can reject legitimate exceptions. Overly broad alerts waste attention, while aggressive repairs may erase useful signals. Quality management should retain issue provenance and assess downstream effects. The strongest evidence is a maintained process that resolves meaningful defects and updates expectations as use cases evolve.","sources":[{"title":"Great Expectations: GX Core introduction","url":"https://docs.greatexpectations.io/docs/core/introduction/","note":"Official introduction to explicit data expectations and validation workflows."}],"updatedAt":"2026-10-10"}},{"id":"data-observability","name":"Data Observability","category":"Data Governance, Quality & Contracts","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"Data observability uses metadata, measurements and lineage to understand the health of data pipelines and their outputs. It helps detect unexpected changes in freshness, volume, schema or distributions and trace their downstream effects, shortening the path from an unreliable result to an actionable explanation.","type":"concept","editorial":{"definition":"A data pipeline can finish successfully while delivering stale, incomplete or semantically changed data. Observability supplements job status with signals about the produced datasets and their relationships. Freshness measures timing, volume reveals missing or duplicated delivery, distribution checks identify shifts and lineage connects an output to upstream runs. These signals support investigation but require interpretation: an anomaly may represent a real business event rather than a defect. Observability differs from explicit quality validation, although the two share measurements. Its central purpose is to provide enough context to explain what changed, where it originated and who may be affected.","practice":"The practitioner instruments dataset production and records job, run and dependency metadata. They choose health indicators tied to consumer needs, establish expected behavior and route alerts to responsible owners. Useful artifacts include lineage views and incident timelines that connect anomalous outputs to upstream changes. Alert thresholds should account for known seasonality and maintenance rather than treating all variation as failure. The team tests whether an investigator can trace a problem across boundaries, and verifies coverage for manual exports or external jobs that automatic lineage collection may miss.","example":"A model's daily scores suddenly become nearly constant even though its inference job succeeds. Dataset monitoring shows that an upstream feature column stopped varying after a schema change. Lineage connects the feature table to a transformed source, allowing the owner to isolate the faulty mapping and rebuild affected partitions. The incident record identifies which scoring runs used the defective data so consumers can avoid acting on those results.","limits":"Anomaly detection can generate noise or miss gradual changes, and lineage metadata may be incomplete. Observability does not establish data meaning or automatically repair a defect. A dashboard is useful only if its signals support investigation and action. Teams should evaluate detection delay, coverage and remediation usefulness, while distinguishing a detected anomaly from a confirmed data-quality failure and retaining the uncertainty behind automated alerts.","sources":[{"title":"OpenLineage: overview","url":"https://openlineage.io/docs/","note":"Official dataset, job and run model for collecting lineage metadata; lineage is one observability input."}],"updatedAt":"2026-10-10"}},{"id":"entity-resolution","name":"Entity Resolution","category":"Data Governance, Quality & Contracts","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"Entity resolution determines which records refer to the same real-world entity across imperfect or disconnected sources. It combines identity rules, similarity evidence and uncertainty handling to link or consolidate records without assuming that matching names are unique or that different identifiers always imply different entities.","type":"concept","editorial":{"definition":"Sources may represent one person, organization or product with varying names, addresses and identifiers. Entity resolution compares candidate pairs using exact agreement and approximate similarity, then decides whether the evidence supports a link. Blocking narrows the set of candidate comparisons; probabilistic methods estimate how informative agreements and disagreements are. Pairwise decisions may be combined into clusters, which introduces further consistency questions. The process differs from deduplicating identical rows because the underlying entity can have legitimately different records. A linked identity is a modeled conclusion with error risk, not a fact guaranteed by a high similarity score.","practice":"The practitioner defines entity meaning, chooses candidate-generation rules and creates labeled pairs or clerical review procedures. They evaluate false links and missed links separately, including difficult cases such as shared addresses and renamed organizations. Useful artifacts include matching rules, confidence thresholds and a reversible linkage table with provenance. Cluster review checks whether transitive links produce implausible groups. The team decides which links may be automatic and which require review, because merging two unrelated customers can have different consequences from failing to connect two copies.","example":"A retailer combines online and store loyalty records. Names alone create many plausible matches, so the resolver uses additional permitted evidence such as contact details and address agreement. Two family members share an address but have distinct purchase histories; review prevents an incorrect merge. Accepted links retain their source identifiers and evidence, allowing the team to reverse a decision if a later correction shows the records belong to different people.","limits":"Similarity is not identity, and blocking can silently exclude genuine matches before scoring begins. Rare groups or changing data formats can have different error rates. Cluster formation can amplify one bad pairwise link into a large incorrect merge. Evaluation needs representative ground truth and downstream impact analysis. Privacy constraints also limit which evidence can be used, so higher matching accuracy is not the only criterion for an acceptable solution.","sources":[{"title":"Splink documentation","url":"https://moj-analytical-services.github.io/splink/","note":"Official documentation of probabilistic record linkage and entity-resolution workflows."}],"updatedAt":"2026-10-10"}},{"id":"nosql","name":"NoSQL","category":"Data Architecture, Storage & Lakehouses","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"NoSQL describes database families that use storage and access models beyond the traditional relational-table interface. Document, key-value, wide-column and graph databases offer different ways to represent and retrieve data, so competence means choosing a specific model from access patterns and consistency needs rather than treating NoSQL as one technology.","type":"concept","editorial":{"definition":"A document database stores nested records, a key-value store retrieves values by key, a wide-column system organizes sparse data around partitioned keys and a graph database emphasizes connected entities and relationships. These models make different operations efficient and impose different constraints on joins, transactions and distribution. NoSQL does not mean that schemas, transactions or query languages are absent; products support varying combinations. The practical distinction is the data model and its operational behavior. A workload should be assessed against the actual database's guarantees, rather than assumptions that all non-relational stores are eventually consistent or automatically scalable.","practice":"The practitioner identifies common queries, write patterns and transaction boundaries, then designs records and keys for the selected database. They test distribution, index behavior and failure cases with realistic data. Useful artifacts include an access-pattern matrix and a model showing how updates preserve required invariants. Denormalized copies need a consistency strategy, while partition keys require attention to uneven traffic. The team also plans migrations and schema validation where relevant, since flexible storage does not eliminate the need for reliable shared definitions between applications.","example":"A product service stores items with category-specific attributes in a document database. The team embeds attributes used together and indexes fields needed by search, while keeping rapidly changing inventory in a structure with appropriate update guarantees. It tests unusually large documents and popular products that create concentrated traffic. The design follows the service's access patterns instead of assuming that one nested document should contain every related business object.","limits":"A non-relational model can make one query easy while making another expensive or difficult to express. Denormalization creates update obligations, and poor partitioning can concentrate load despite a distributed deployment. Transactions and consistency must be checked per product and operation. The right choice depends on required behavior and maintenance cost; replacing relational tables with JSON is not, by itself, an architectural improvement or a reliable path to scale.","sources":[{"title":"MongoDB database manual","url":"https://www.mongodb.com/docs/manual/","note":"Official example of document-database modeling; NoSQL encompasses other storage families too."},{"title":"AWS: NoSQL databases explained","url":"https://aws.amazon.com/nosql/","note":"Official explanation of non-relational database families and their differing data models; promotional performance claims are not adopted."}],"updatedAt":"2026-10-10"}},{"id":"data-curation","name":"Data Curation","category":"Dataset Curation","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"Data curation selects, organizes and documents data for a defined purpose. It combines relevance assessment, provenance, deduplication and quality review so a dataset represents intentional choices about coverage and use rather than merely the accumulation of all available records.","type":"concept","editorial":{"definition":"Curation begins with the intended use and asks which examples belong, which should be excluded and what evidence accompanies those decisions. It may include cleaning and labeling, but its scope is broader: selection criteria determine the population and content that a model or analysis will encounter. Provenance records origin and transformations, while documentation explains composition and known gaps. Curation also considers rights, sensitive information and downstream restrictions. The mechanism is controlled selection with traceable decisions, not simply improving file formatting or maximizing dataset size. Removing low-quality records can help while also changing whose cases remain represented.","practice":"A practitioner defines inclusion criteria, inspects source characteristics and implements repeatable filtering and deduplication. They review samples around filter thresholds and record exclusion reasons. Useful artifacts include a dataset manifest, provenance records and a coverage report comparing the selected data with the intended use. When human judgment is involved, guidelines and disagreement handling keep decisions consistent. The process preserves versions so consumers can understand changes, and checks whether curation removes difficult but important cases that evaluation or training still needs to cover.","example":"A team builds a retrieval corpus from technical documentation. It keeps authoritative manuals, separates obsolete versions and removes duplicate navigation pages, but retains rare troubleshooting sections that simple length filters would discard. Each document records origin and applicability. A coverage review checks whether the curated corpus supports common tasks and unusual failures, revealing that a smaller, deliberate collection can be more useful than an unfiltered crawl.","limits":"Selection introduces bias, and curation rules can quietly erase minority cases or inconvenient evidence. Deduplication may remove legitimate repeated events, while provenance can be incomplete for third-party data. A curated dataset still needs task-specific evaluation and does not inherit truth or permission from its packaging. Quality is demonstrated by documented choices and representative coverage, including known exclusions, rather than a broad claim that the data is clean.","sources":[{"title":"Datasheets for Datasets","url":"https://arxiv.org/abs/1803.09010","note":"Primary proposal for documenting dataset motivation, composition, collection and intended uses."}],"updatedAt":"2026-10-10"}},{"id":"data-labeling-annotation","name":"Data Labeling & Annotation","category":"Dataset Curation","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"Data labeling and annotation turn observations into supervised examples or evaluation judgments using a defined task and guidance. The skill designs labels, manages annotation work and checks agreement and errors, recognizing that a label is a measurement produced by a process rather than unquestionable ground truth.","type":"concept","editorial":{"definition":"An annotation scheme specifies what reviewers should identify, how units are segmented and which distinctions matter. Labels may be classes, spans, bounding boxes, rankings or more complex structures. Annotators interpret the source through those definitions, so disagreement can reveal unclear guidance, ambiguous examples or legitimate differences in perspective. Agreement measures consistency, while adjudication resolves selected cases; neither automatically proves that the target is valid. Model-assisted prelabels can accelerate work but influence reviewers. Annotation therefore connects tooling and quality control to a carefully framed measurement task, rather than treating human clicks as an independent source of truth.","practice":"The practitioner writes guidelines with positive, negative and borderline examples, runs a pilot and revises confusing categories. They select annotators with suitable domain knowledge and build review or adjudication procedures. Useful artifacts include the label taxonomy, guideline version and error analysis by category. Sampling and repeated annotation help assess quality, while provenance links labels to source versions and review actions. The team evaluates whether assistance changes annotation behavior and separates difficult examples from careless errors so improvements address the actual cause of disagreement.","example":"A team labels maintenance reports for equipment faults. A pilot reveals that reviewers confuse observed symptoms with confirmed causes. The guidelines add separate fields and examples, and expert review resolves cases where a cause is uncertain. The resulting dataset preserves uncertainty instead of forcing every report into a definite fault category. A classifier trained on the revised labels is then evaluated against the intended operational question.","limits":"High agreement can reflect shared bias or an oversimplified task, while low agreement may reveal genuine ambiguity. Prelabels can anchor reviewers, and aggregated scores can hide errors in rare categories. Label quality should be assessed against the intended use and source evidence. Annotation also requires appropriate handling of sensitive or disturbing material. A large labeled dataset is only useful when its definitions, provenance and limitations remain understandable to its consumers.","sources":[{"title":"Label Studio documentation","url":"https://labelstud.io/guide/","note":"Official configurable annotation workflows and model-assisted labeling documentation."}],"updatedAt":"2026-10-10"}},{"id":"dataset-engineering","name":"Dataset Engineering","category":"Dataset Curation","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"Dataset engineering designs and maintains datasets that support valid model development. It controls sampling, schemas, splits, transformations and provenance so training, validation and testing reflect the intended task, with particular attention to leakage and the difference between available data and data available at prediction time.","type":"concept","editorial":{"definition":"A dataset is an engineered representation of a task population, not just a collection of rows. Its design determines which entities and time periods appear, how labels are obtained and how examples are separated between development stages. Leakage occurs when training or feature construction uses information that would not legitimately be available for the evaluated prediction. Duplicates, related entities and future-derived labels can cross a split even when row identifiers differ. Dataset engineering makes these boundaries explicit and connects the prepared data to its raw sources and transformations, allowing evaluation results to be interpreted against the population actually represented.","practice":"The practitioner defines the prediction moment and unit, chooses sampling and split strategies and encodes a stable schema. They implement validation for identity overlap, timestamps and label consistency, then version data and preparation code together. Useful artifacts include a split manifest and a data specification explaining exclusions and transformations. Learned preprocessing is fitted only within training boundaries. Reviews compare dataset coverage with deployment conditions and identify dependencies between examples, since randomly splitting correlated records can make an evaluation look stronger than the system will perform on genuinely new cases.","example":"A failure-prediction dataset contains many daily records from each machine. Random row splitting places the same machines and future maintenance information in both development and test data. The engineer defines a prediction cutoff, removes unavailable fields and creates time-aware or machine-separated evaluations according to the deployment goal. The resulting score is less flattering but better answers whether the model can predict future failures in the intended setting.","limits":"A valid split does not guarantee representative deployment data, and strict entity separation may answer a different question from future prediction for known entities. Dataset choices must match the intended generalization claim. Automated leakage checks detect only recognizable dependencies, so domain review remains necessary. The quality test is whether another practitioner can reconstruct the dataset and understand what its evaluation supports, including populations or conditions it does not cover.","sources":[{"title":"Scikit-learn: common pitfalls","url":"https://scikit-learn.org/stable/common_pitfalls.html","note":"Official guidance on data leakage, train/test separation and reproducible preprocessing."}],"updatedAt":"2026-10-10"}},{"id":"evaluation-data-engineering","name":"Evaluation Data Engineering","category":"Dataset Curation","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"Evaluation data engineering creates and maintains examples that measure an AI system's intended behavior. It defines coverage, reference judgments and versioned test conditions, allowing teams to compare changes and diagnose failures without mistaking a convenient sample or familiar benchmark for evidence about their actual deployment.","type":"concept","editorial":{"definition":"An evaluation dataset is a measurement instrument. It needs a defined target population, task specification and scoring procedure, whether it uses exact labels, human preferences or rubric-based judgments. Representative cases estimate ordinary performance; targeted challenge sets probe particular failure modes. These serve different purposes and should be reported separately. Data must remain independent of tuning decisions where an unbiased final assessment is required. For generative systems, acceptable answers may be multiple or context-dependent, so reference material and review criteria matter as much as the prompt. Versioning preserves which examples and judgments produced a reported result.","practice":"The practitioner maps requirements to test categories, selects examples and documents reference answers or review rubrics. They build data checks, provenance and a process for adding failures without obscuring historical comparisons. Useful artifacts include a coverage matrix and a versioned evaluation set with known limitations. Sensitive content is handled according to its permitted use. The team separates tuning, regression and final assessment sets where needed, and audits contamination or repeated exposure so a rising score can be distinguished from learning the evaluation's specific examples.","example":"A policy assistant is evaluated on common questions, conflicting documents and requests with insufficient evidence. Experts record which sources support acceptable responses and when the assistant should abstain. After a retrieval change, the same versioned set reveals better coverage but more unsupported certainty in ambiguous cases. A separate sample of new user tasks checks whether the improvement extends beyond the regression cases the team has repeatedly inspected.","limits":"Evaluation sets age as users, sources and requirements change. Synthetic examples may miss realistic phrasing, and model judges can introduce systematic errors. A golden set is not infallible; labels and rubrics need review. Strong evaluation preserves uncertainty, distinguishes representative estimates from stress tests and reports coverage gaps. Passing the set supports the tested claims, while operational monitoring and fresh samples are needed to examine behavior outside those conditions.","sources":[{"title":"Hugging Face: Evaluate","url":"https://huggingface.co/docs/evaluate/index","note":"Official evaluation tooling for metrics, comparisons and measurements; dataset scenarios are illustrative."}],"updatedAt":"2026-10-10"}},{"id":"training-data-curation","name":"Training Data Curation","category":"Dataset Curation","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"Training data curation selects and prepares examples that teach a model the intended task or behavior. For supervised fine-tuning, it aligns inputs, target responses and training loss with the desired deployment, while controlling duplicates, inconsistent instructions and examples that teach behavior the application should not reproduce.","type":"concept","editorial":{"definition":"Fine-tuning learns from the examples and objective presented to it, so formatting and content choices directly influence the behavior being reinforced. Conversational datasets distinguish roles and turns; loss masking can determine which tokens contribute to training. A fluent response is not necessarily a good target if it contains unsupported claims or violates the intended policy. Curation therefore examines task coverage, response quality and consistency as well as file validity. It differs from evaluation data engineering because these examples are consumed by training and should not also serve as independent evidence of the model's final performance.","practice":"The practitioner specifies target behaviors, reviews candidate examples and normalizes them into the format expected by the trainer. They check role boundaries, truncation, duplicate clusters and which tokens receive loss. Useful artifacts include selection rules, a dataset version and quality audits across task categories. Validation examples are kept separate from training, and the team records excluded behaviors or gaps. When synthetic examples are used, they inspect factual and stylistic errors rather than assuming a stronger generator provides correct supervision automatically.","example":"A team fine-tunes an assistant to extract product attributes from technical descriptions. Some examples contain helpful explanations mixed into the target JSON, while others invent unavailable attributes. Reviewers replace these with valid task outputs and explicit missing-value handling. They also check that long descriptions do not truncate away the response. A separate evaluation set measures performance on new product families and deliberately incomplete descriptions.","limits":"Better-looking examples can still reduce useful diversity or overrepresent an annotator's preferences. Training on repeated templates may produce brittle behavior, and source overlap can contaminate evaluation. Curation cannot compensate for every limitation of the base model or training objective. The quality check links dataset changes to held-out behavior and retains enough provenance to investigate regressions, rather than relying only on average response length or apparent fluency.","sources":[{"title":"Hugging Face TRL: SFT Trainer","url":"https://huggingface.co/docs/trl/sft_trainer","note":"Official dataset formats, conversational training and supervised loss configuration."}],"updatedAt":"2026-10-10"}},{"id":"apache-spark","name":"Apache Spark","category":"ETL, Transformation & Distributed Processing","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"Apache Spark is a distributed engine for processing data through coordinated work across multiple executors. The skill involves expressing transformations, understanding partitioning and execution plans, and diagnosing the movement of data so large batch or streaming workloads run correctly and efficiently.","type":"tool","editorial":{"definition":"Spark represents work as transformations over distributed data and executes it when an action or output requires a result. Structured APIs such as DataFrames allow an optimizer to plan relational operations, while partitions divide work across executors. Operations such as joins or grouped aggregation can require shuffles that move data between machines. These transfers, uneven partitions and memory pressure often dominate performance more than individual Python statements. Spark is an execution engine, not a storage format or orchestration platform, and its behavior depends on cluster resources, data layout and the APIs used to express the computation.","practice":"A practitioner designs transformations with explicit schemas, inspects execution plans and selects partitioning appropriate to the workload. They measure stages, shuffle size and skew before changing resource settings. Useful artifacts include tested transformation code and a performance investigation tied to representative data. Built-in expressions often preserve optimizer visibility better than opaque user-defined functions. The team also checks retries, input consistency and output semantics, because a job completing successfully does not establish that joins or aggregations represent the intended business meaning.","example":"A feature pipeline joins many transaction records with a small merchant table. The initial plan repeatedly shuffles both sides and leaves one executor overloaded by a popular merchant key. The engineer inspects stage metrics, evaluates a broadcast join and handles the skewed key deliberately. They compare results with a trusted sample before accepting the faster plan, ensuring the optimization did not change row coverage or aggregation semantics.","limits":"Distribution introduces overhead and may be slower than a single-machine tool for modest data. More executors do not fix skew, tiny files or expensive shuffles automatically. Driver-side collection can exhaust memory even when the distributed stages succeed. Performance claims need realistic input and cluster conditions, and correctness tests should cover nulls, duplicates and join cardinality rather than treating faster completion as proof of a sound data pipeline.","sources":[{"title":"Apache Spark documentation","url":"https://spark.apache.org/docs/latest/","note":"Official distributed data-processing architecture and APIs."}],"updatedAt":"2026-10-10"}},{"id":"etl-pipeline-design","name":"ETL Pipeline Design","category":"ETL, Transformation & Distributed Processing","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"ETL pipeline design organizes how data is extracted, transformed and loaded into a target system. It defines dependencies, data semantics and recovery behavior, choosing whether transformations occur before or after loading so downstream analytics and AI workloads receive dependable, traceable inputs.","type":"concept","editorial":{"definition":"ETL performs transformations before loading the target, while ELT loads source data first and transforms it within the destination environment. The choice affects compute placement, raw-data retention, security and the ability to reprocess earlier inputs. A pipeline also needs delivery semantics: identifying new or changed records, handling deletions and avoiding duplicated effects when a step retries. Transformations must preserve the intended grain and meaning rather than only converting formats. Pipeline design differs from orchestration, which schedules and supervises work; the design defines what the work means and how its outputs remain correct during normal and failed execution.","practice":"The practitioner maps source interfaces and target requirements, defines incremental logic and builds stages with explicit inputs and outputs. They choose checkpoints, validation boundaries and a strategy for replay or backfill. Useful artifacts include a lineage diagram and tests for reruns, partial failure and late corrections. Sensitive fields may require transformation before leaving a source boundary, while reproducibility may justify keeping restricted raw snapshots. The team documents how a new source schema affects existing consumers and how a corrected transformation rebuilds affected outputs.","example":"A support analytics pipeline extracts tickets, standardizes categories and loads daily aggregates. A failure occurs after some target rows are written but before the checkpoint advances. The designer uses stable keys and an idempotent write strategy, so rerunning the batch updates the intended rows rather than doubling ticket counts. A backfill procedure then applies a corrected category mapping to earlier days without overwriting unrelated historical data.","limits":"A sequence of scripts is not dependable simply because it runs on a schedule. Hidden source changes, duplicate records and non-idempotent writes can corrupt results during recovery. ETL and ELT are not universal quality rankings; each must fit security, storage and reprocessing needs. The practical test is whether the team can explain and reproduce an output, recover from interrupted execution and apply corrections without uncontrolled side effects.","sources":[{"title":"dbt Labs: Extract, Transform, Load","url":"https://www.getdbt.com/blog/extract-transform-load","note":"Official vendor explanation of ETL and ELT ordering; pipeline-design tradeoffs and examples are independent."}],"updatedAt":"2026-10-10"}},{"id":"apache-kafka","name":"Apache Kafka","category":"Streaming & Event-Driven Pipelines","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"Apache Kafka is an event-streaming platform that stores records in partitioned logs and lets consumers process them independently. The skill designs topics, keys and consumer behavior so events can support decoupled services, replay and data pipelines with explicit ordering, retention and failure assumptions.","type":"tool","editorial":{"definition":"Producers append records to topics, which are divided into partitions. Records have an order within a partition, while no single total order is implied across all partitions. Consumers track their progress with offsets, and consumer groups distribute partitions among members for parallel processing. Retained records can be replayed without requiring producers to send them again. Replication supports availability and durability under configured conditions. Kafka is therefore more than a transient message queue, but it does not automatically make every downstream effect exactly once; the producer, processing logic and target system must participate in the relevant guarantees.","practice":"The practitioner chooses topic boundaries and record keys from ordering and scaling requirements. They define schemas, retention and consumer offset behavior, then test rebalances, retries and replay. Useful artifacts include an event contract and an operational plan for lag, partition changes and failed records. Consumers should handle duplicate delivery or use appropriate transactional mechanisms where supported. Security and access controls apply to producers and consumers separately, and the team verifies whether retained data can be replayed safely into systems that have already processed earlier versions.","example":"An inventory system publishes stock changes keyed by product and location. A forecasting consumer processes the retained stream while a separate alerting consumer reacts to low stock. When the forecasting service fails, it resumes from recorded offsets and rebuilds its state. The team checks that replay does not send duplicate customer notifications through another side effect, since storing and replaying events is distinct from making those notifications idempotent.","limits":"Ordering is scoped to partitions, and a poorly chosen key can create hot partitions or scatter related events. Retention limits constrain replay, while lag can make a working consumer operationally stale. Exactly-once claims require precise boundaries and supported integrations. Kafka adds operational complexity, so the choice should be justified by event retention, throughput or decoupling needs rather than assuming every communication between services requires a streaming platform.","sources":[{"title":"Apache Kafka: introduction","url":"https://kafka.apache.org/42/getting-started/introduction/","note":"Official event-streaming model, topics, partitions and consumers."}],"updatedAt":"2026-10-10"}},{"id":"stream-processing","name":"Stream Processing","category":"Streaming & Event-Driven Pipelines","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"Stream processing computes results from events that arrive continuously rather than from a fixed, completed dataset. It manages time, state and incomplete information, allowing systems to produce ongoing aggregates or decisions while accounting for late events, out-of-order delivery and recovery from failures.","type":"concept","editorial":{"definition":"An unbounded event stream has no natural end at which a complete answer can be computed. Processing systems use windows, state and timing rules to define when a result is emitted and whether it may change. Event time describes when an event occurred; processing time describes when the system handles it. Watermarks can express progress assumptions for late data, but do not make arbitrary delays disappear. Stateful joins and aggregations require recovery mechanisms. Exactly-once processing has a defined system boundary and conditions; it should not be generalized to external side effects that do not participate in the same protocol.","practice":"The practitioner defines event schemas, keys, windows and acceptable lateness from the task's needs. They plan state retention, checkpoints and replay behavior, then test duplicates and out-of-order inputs. Useful artifacts include timing examples that show when outputs become final and what happens to late corrections. The implementation should monitor lag and state growth, not merely job uptime. Sink behavior matters during recovery, so the team verifies whether repeated output updates are safe and how an unavailable destination affects ongoing ingestion.","example":"A service computes purchase totals over rolling intervals. Some events arrive after a temporary network outage, so event-time windows update earlier totals within a documented lateness bound. Extremely late records enter a correction workflow instead of silently changing finalized reports. The team restarts the processor during a test and compares recovered totals with a trusted replay, checking both state restoration and the target system's handling of repeated updates.","limits":"Low latency and complete results can conflict when events arrive late. Large state or skewed keys can exhaust resources, and watermarks based on unrealistic assumptions can discard important records. Stream processing is unnecessary when a periodic batch meets the decision's needs more simply. Quality checks must specify timing and delivery semantics, because a correct total eventually produced may still be unsuitable for a decision that needed it earlier.","sources":[{"title":"Apache Spark: Structured Streaming","url":"https://spark.apache.org/docs/latest/streaming/index.html","note":"Official entry point for streaming concepts, state and fault-tolerance documentation."}],"updatedAt":"2026-10-10"}},{"id":"event-driven-architecture","name":"Event-Driven Architecture","category":"Streaming & Event-Driven Pipelines","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"Event-driven architecture connects components through records of things that happened, allowing producers and consumers to evolve with less direct coordination. The skill designs event meaning, delivery and handling so decoupling does not turn into unclear ownership, inconsistent state or repeated side effects.","type":"concept","editorial":{"definition":"An event describes an occurrence such as an order being placed, whereas a command asks a component to perform an action. Consumers decide how to respond to events, often through brokers or retained logs. This separation enables multiple reactions without the producer calling every consumer directly, but it introduces asynchronous timing and failure behavior. Delivery may be repeated, ordering may be scoped and consumers may observe state at different moments. Architecture therefore includes contracts and reconciliation, not just a messaging technology. It differs from stream processing, which computes over event flows, and can support either real-time processing or slower asynchronous workflows.","practice":"The practitioner defines event ownership, schemas and identifiers, then designs consumers that can retry safely. They record ordering requirements and choose mechanisms for publishing events consistently with state changes. Useful artifacts include event contracts and sequence diagrams for failure and recovery. Observability should connect a business operation across asynchronous steps without assuming one synchronous trace captures everything. The team also plans version evolution, dead-letter handling and reconciliation, ensuring that an event is not considered successfully handled merely because a consumer acknowledged receiving it.","example":"An order service emits an order-placed event. Inventory reserves stock, billing prepares payment and analytics updates a dashboard through independent consumers. A billing outage delays one path without stopping analytics, but a reconciliation process identifies orders whose payment step remains incomplete. Consumers use stable event identifiers to avoid duplicate reservations when deliveries repeat, and the event contract distinguishes a new order from a later order amendment.","limits":"Decoupling can obscure the real business process and make end-to-end failures harder to diagnose. Events are not automatically durable, ordered or exactly once, and poorly defined schemas can bind consumers tightly to producer internals. Eventual consistency must be acceptable for the task. A strong design demonstrates retry safety and recovery across components; adding a broker alone does not establish a reliable asynchronous system.","sources":[{"title":"Apache Kafka: introduction","url":"https://kafka.apache.org/42/getting-started/introduction/","note":"Official event-streaming model, topics, partitions and consumers."}],"updatedAt":"2026-10-10"}},{"id":"apache-iceberg","name":"Apache Iceberg","category":"Data Architecture, Storage & Lakehouses","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"Apache Iceberg is an open table format for large analytical datasets stored as files. It adds table metadata, snapshots and evolution mechanisms above the file layer, allowing compatible engines to read consistent table states without treating a directory listing as the complete definition of a table.","type":"tool","editorial":{"definition":"A file format describes individual files, while a table format describes how files together form a changing table. Iceberg tracks schemas, manifests and snapshots, with commits publishing a new table state. Readers can use a consistent snapshot while writers update the table. Metadata supports features such as schema and partition evolution without requiring users to encode every change in directory conventions. A catalog helps locate and coordinate table metadata, while query engines perform computation. The format does not itself supply all governance or processing capabilities; behavior depends on compatible engines, catalog configuration and the operations they support.","practice":"The practitioner chooses a catalog and compatible engines, defines tables and tests read/write behavior across the intended stack. They design file sizes and partitioning from query patterns, then plan maintenance for compaction, snapshots and unused files. Useful artifacts include compatibility tests and a retention policy for historical snapshots. Concurrent writes and failed commits require testing, especially when multiple engines participate. The team verifies that cleanup preserves files still referenced by valid table states and that evolution behaves consistently for every consumer rather than only the writer used in a demonstration.","example":"An analytics team adds a new field to a transaction table while readers continue querying older snapshots. It later changes partitioning to suit current access patterns without forcing analysts to reason about mixed directory layouts. A maintenance job compacts small files and expires snapshots under a defined policy. Before enabling another engine, the team checks its support for the table features already used and compares query results.","limits":"An open format does not guarantee that every engine supports every feature identically. Small files, poor partitioning and neglected metadata maintenance can still make queries expensive. Snapshot expiration also affects reproducibility and recovery. The practitioner should distinguish table-format guarantees from catalog, storage and query-engine behavior, and test the actual combination. Iceberg is not a replacement for data modeling, access controls or meaningful quality validation.","sources":[{"title":"Apache Iceberg: introduction","url":"https://iceberg.apache.org/docs/latest/","note":"Official open table format, snapshot and schema evolution documentation."}],"updatedAt":"2026-10-10"}},{"id":"dbt","name":"dbt","category":"ETL, Transformation & Distributed Processing","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"dbt organizes data transformations as versioned projects with declared dependencies, tests and documentation. The skill uses those projects to build dependable analytical models in a supported data platform, making transformation logic reviewable and connecting source tables to the datasets consumed by analysts and AI pipelines.","type":"tool","editorial":{"definition":"A dbt model expresses a transformation that produces a relation or other supported output in the target platform. References between models form a dependency graph, allowing dbt to determine execution order and generate lineage information. Materialization choices determine whether results are stored as tables, views or incremental structures. Tests express expectations about the produced data, while documentation records meaning and ownership. dbt focuses on transformation rather than serving as a universal extraction engine or replacing the warehouse. Competence therefore includes SQL and data-model semantics as well as project configuration and an understanding of how the destination executes the generated work.","practice":"The practitioner defines sources and models, uses explicit references and selects materializations appropriate to update patterns. They add tests for keys, relationships and important business assumptions, then review generated queries and warehouse behavior. Useful artifacts include a documented transformation graph and an incremental model's recovery strategy. CI should evaluate changed models with representative data where feasible. The team also checks full refreshes, late corrections and deletion handling, because an incremental query that works on a new batch may still produce incorrect historical results.","example":"A revenue model combines order lines, discounts and refunds. The dbt project separates cleaned sources from business aggregates and tests that order-line identifiers are unique. A new refund rule changes the historical transformation, so the engineer plans a backfill rather than assuming an incremental run will repair earlier totals. Documentation explains the metric's grain and treatment of canceled orders, allowing analysts to interpret the resulting table correctly.","limits":"Tests can miss semantic errors, and a well-organized graph can still encode incorrect joins or metric definitions. Incremental models add assumptions about change detection and recovery that need explicit validation. Destination-specific behavior also affects performance and correctness. dbt does not remove the need for source quality, orchestration or access governance. The strongest projects keep model meaning understandable and demonstrate how changes affect both current and historical outputs.","sources":[{"title":"dbt: introduction","url":"https://docs.getdbt.com/docs/introduction","note":"Official transformation project, dependency and testing concepts."}],"updatedAt":"2026-10-10"}},{"id":"data-versioning","name":"Data Versioning","category":"Workflow Orchestration & Data Versioning","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"Data versioning identifies and preserves distinct states of datasets and related artifacts over time. It enables reproducible experiments, comparisons and rollback by linking the exact data used to code and configuration, rather than relying on a filename that may point to changing contents.","type":"concept","editorial":{"definition":"A data version can be an immutable snapshot, a content-addressed artifact or a defined state within a transactional table. Versioning records identity and change; lineage records how an artifact was produced. Reproducibility needs both when transformations depend on upstream sources. Large datasets are often stored outside Git, while lightweight metadata in version control points to their identities. The mechanism differs from backup, whose primary goal is recovery from loss, and from keeping many manually named copies. A useful version must be retrievable and sufficiently described to reconstruct the relevant experiment or analysis.","practice":"The practitioner defines what constitutes a dataset release and records content identity, schema and provenance. They connect versions to preparation code, model runs and evaluation outputs, then test retrieval in a clean environment. Useful artifacts include a dataset manifest and policies for storage, access and retention. Historical versions containing sensitive information need the same governance attention as current data. The team also identifies mutable external dependencies and decides whether to snapshot them or document the limits they impose on reproduction.","example":"Two model experiments report different results against a file called training.csv. Investigation finds that the file changed between runs. The team introduces immutable dataset versions and records their identifiers with each experiment, along with split and preprocessing configuration. A later comparison retrieves both versions and isolates whether the improvement came from the model code or changed examples, instead of treating the shared filename as evidence of identical inputs.","limits":"A version identifier is insufficient if the referenced data has been deleted or access is unavailable. Content hashes detect byte changes but do not explain semantic differences, while snapshots can create substantial storage and privacy obligations. Reproduction may still fail because of nondeterminism or external services. Good versioning states what can be reconstructed and keeps retention choices explicit, rather than promising permanent reproducibility from metadata alone.","sources":[{"title":"DVC: user guide","url":"https://doc.dvc.org/user-guide","note":"Official data artifact, pipeline and remote-storage versioning documentation."}],"updatedAt":"2026-10-10"}},{"id":"bigquery","name":"BigQuery","category":"Data Architecture, Storage & Lakehouses","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"BigQuery is Google Cloud's managed analytical data warehouse for querying large datasets with SQL and related services. Competence includes modeling tables, controlling scanned work, configuring access and interpreting execution behavior so analyses and AI data preparation are correct, repeatable and economical for the actual workload.","type":"tool","editorial":{"definition":"BigQuery separates managed analytical storage and compute behind a service interface, with datasets and tables as central organizational objects. SQL queries can process large amounts of data without users managing a conventional database server. Table partitioning and clustering can help reduce relevant work when query predicates and data layout align. Ingestion, external data and machine-learning capabilities extend the platform, but each has its own supported behavior. BigQuery is an analytical system rather than a default substitute for every transactional application; its strengths should be assessed against query patterns, latency needs and the actual pricing and resource configuration in use.","practice":"The practitioner defines schemas, partitions and access boundaries, then writes queries with explicit grain and filter conditions. They inspect query plans and job metadata to diagnose expensive joins or unnecessary scans. Useful artifacts include tested SQL transformations and permissions for human and service identities. Incremental ingestion and late corrections need a strategy that preserves expected table state. The team also verifies data location and retention requirements for its deployment, while checking current service documentation before relying on a particular integration or capacity feature.","example":"A team prepares daily model features from transaction history. The engineer partitions source tables by date and writes a feature query that scans the required interval instead of the entire history. They verify point-in-time availability and compare aggregate results with a small trusted calculation. A service identity receives access to approved output tables, while raw sensitive fields remain outside the training job's permissions.","limits":"Managed operation does not prevent costly queries, poor modeling or permission mistakes. Partitioning helps only when queries and table design use it effectively, and joins can still create large intermediate results. Warehouse outputs also require leakage and quality checks before model use. Performance and cost claims should be grounded in actual job evidence and current configuration, not assumptions that serverless means unlimited capacity or free computation.","sources":[{"title":"Google Cloud: BigQuery overview","url":"https://docs.cloud.google.com/bigquery/docs/introduction","note":"Official warehouse architecture and analytical capabilities; no price or capacity claims are made."}],"updatedAt":"2026-10-10"}},{"id":"databricks","name":"Databricks","category":"Data Architecture, Storage & Lakehouses","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"Databricks is a platform for data engineering, analytics and AI workflows built around shared data and compute services. The skill connects ingestion, transformation, experimentation and deployment within the platform while choosing appropriate governance and operational practices for the specific workload.","type":"tool","editorial":{"definition":"The platform combines interfaces and managed services for processing data, building analytical datasets and developing models. Apache Spark is an important execution component, while table formats, catalogs and model tooling play distinct roles around it. This integrated environment can reduce handoffs between engineering and data-science work, but it does not erase the boundaries between storage, execution, governance and application serving. A lakehouse approach brings analytical and ML use cases to shared data assets with transaction and management mechanisms. Competence means understanding which service supplies a capability and how the selected configuration affects its guarantees.","practice":"The practitioner selects compute and workflow components from the task's requirements, organizes assets and configures identities and permissions. They build reproducible jobs, track model and data versions and inspect operational metrics rather than relying on notebook success. Useful artifacts include a production workflow and a clear mapping between experiments and deployed artifacts. Shared environments need separation between development and production, with controlled dependencies and release procedures. The team verifies supported integrations and feature availability for its cloud and workspace before committing an architecture to a platform-level promise.","example":"A data-science team develops a forecasting model in notebooks using a curated sales table. The engineer converts preparation and training into a scheduled, versioned workflow, records artifacts and runs held-out evaluation before promotion. Access is limited to the required datasets, and production scoring uses an approved model version. When a source schema changes, pipeline validation stops promotion rather than leaving a successful interactive notebook as the only evidence of readiness.","limits":"An integrated platform does not guarantee reproducible notebooks, correct data or reliable model behavior. Broad workspace permissions and uncontrolled shared compute can create operational risks. Costs and performance depend on chosen services and workload patterns. The practitioner should avoid treating Databricks as synonymous with Spark or a table format, and verify each component's responsibility. Platform adoption is useful when it improves a real workflow, not simply because several capabilities share one interface.","sources":[{"title":"Databricks: platform introduction","url":"https://docs.databricks.com/aws/en/introduction/","note":"Official platform overview across data engineering, analytics and AI workflows."}],"updatedAt":"2026-10-10"}},{"id":"snowflake","name":"Snowflake","category":"Data Architecture, Storage & Lakehouses","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"Snowflake is a managed data platform whose analytical architecture separates persistent storage from virtual warehouses that execute queries. The skill designs data structures, access and compute use so teams can run dependable analytics and AI-related data workflows while understanding isolation, concurrency and consumption.","type":"tool","editorial":{"definition":"Snowflake's architecture separates data storage, compute resources and cloud services that coordinate platform operations. A virtual warehouse supplies compute for queries without being the persistent container for the data itself. Multiple warehouses can access shared data, allowing workloads to use different compute resources while retaining common governance. This separation supports operational choices about concurrency and isolation, but query performance still depends on data organization and SQL. Snowflake includes capabilities beyond traditional warehousing, yet those should be evaluated through their specific documentation rather than assuming every AI or application workload shares the same behavior.","practice":"The practitioner models tables and transformations, configures roles and chooses warehouse settings for expected workloads. They inspect query profiles and consumption before resizing compute or changing data layout. Useful artifacts include a role model and a workload plan separating interactive analysis from heavy processing where needed. Ingestion and incremental transformations require tests for duplicate delivery and late changes. The team also verifies which operations create persistent copies or derived assets, so retention and access policies cover the actual data paths rather than only the original tables.","example":"Analysts and a model-feature pipeline query the same transaction data. A large feature refresh initially interferes with interactive work, so the team evaluates separate warehouses and checks the resulting performance and consumption. It also fixes an expensive join that duplicated rows; additional compute would have made the incorrect query faster without repairing it. Access roles expose the approved features while restricting raw customer attributes.","limits":"Separating compute and storage does not make every workload economical or eliminate contention and poor query design. Larger warehouses can mask inefficiency, while roles can become difficult to govern if grants accumulate. A query result remains subject to data-quality and modeling assumptions. Competence requires reading actual execution and consumption evidence, and checking current feature behavior, rather than treating a managed platform as a guarantee of correctness or unlimited concurrency.","sources":[{"title":"Snowflake: key concepts and architecture","url":"https://docs.snowflake.com/en/user-guide/intro-key-concepts","note":"Official separation of storage, virtual warehouses and cloud services."}],"updatedAt":"2026-10-10"}},{"id":"apache-airflow","name":"Apache Airflow","category":"Workflow Orchestration & Data Versioning","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"Apache Airflow orchestrates workflows expressed as directed acyclic graphs of tasks. It schedules and supervises dependent work, records execution state and supports recovery, allowing data and model pipelines to run repeatedly while making their operational history and dependency structure visible.","type":"tool","editorial":{"definition":"An Airflow DAG describes task relationships, while operators or task code define the work to execute. The scheduler determines when runs and tasks become eligible, and an executor coordinates execution in the configured environment. Airflow tracks states and exposes operational information, but the tasks themselves must implement correct data transformations and safe side effects. A scheduled interval is a logical processing context rather than simply the wall-clock moment when a task happens to start. Airflow's batch-oriented orchestration differs from continuously processing an event stream, even though a task can start or supervise services that consume streams.","practice":"The practitioner designs DAGs with clear dependencies and parameterized processing intervals, then configures retries, timeouts and resource constraints. They ensure tasks can rerun safely and that secrets and data are handled outside inappropriate metadata channels. Useful artifacts include a tested DAG and a backfill procedure. Operational reviews examine how partial failures propagate and which downstream tasks may proceed. The team separates DAG parsing from expensive computation and verifies the deployed scheduler and executor behavior, since a local function test alone cannot establish that a workflow will operate correctly.","example":"A nightly workflow extracts sales, validates records and trains a forecast. Validation failure prevents training, while a temporary extraction error is retried. When a source correction arrives, the team backfills the relevant intervals and uses idempotent output writes so repeated runs do not duplicate records. Airflow's run history shows which data periods were processed successfully and which remain blocked, supporting operational follow-up.","limits":"Retries can repeat side effects if task logic is not idempotent, and a successful task state does not prove its output is correct. Complex DAGs can hide poorly chosen dependencies or long recovery paths. Airflow adds operational infrastructure and is not always needed for a small isolated job. Quality checks should include scheduler behavior, recovery and interval semantics, alongside the ordinary unit tests for the code each task executes.","sources":[{"title":"Apache Airflow: architecture overview","url":"https://airflow.apache.org/docs/apache-airflow/stable/core-concepts/overview.html","note":"Official DAG, task, scheduler and executor architecture."}],"updatedAt":"2026-10-10"}},{"id":"beautifulsoup","name":"BeautifulSoup","category":"Data Ingestion","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"BeautifulSoup is a Python library for navigating and extracting information from HTML and XML parse trees. The skill uses structured selection and text handling to turn downloaded markup into records, while distinguishing the parser's view of a document from the content a browser may render dynamically.","type":"tool","editorial":{"definition":"BeautifulSoup wraps a parser and exposes objects for tags, attributes and text. A practitioner can search the tree, use selectors and traverse relationships to find relevant elements. Parser choice matters when markup is malformed, because different parsers can construct different trees. The library does not fetch pages or execute JavaScript by itself; those steps require other tools. Extraction therefore starts from the supplied markup and its structure, not an assumption about the visible browser page. A useful record must preserve distinctions such as links, units and table relationships that indiscriminate text flattening can lose.","practice":"The practitioner inspects representative markup, chooses a parser and writes selectors tied to meaningful structure. They normalize text and resolve URLs carefully, then validate expected fields and missing-value behavior. Useful artifacts include HTML fixtures from multiple page variants and extraction tests. Selection should distinguish primary content from repeated navigation or recommendations. The team also checks encodings and parser behavior on malformed input, and keeps fetching or browser-rendering concerns separate so a failed download is not misreported as an ordinary page with no relevant data.","example":"A scraper extracts technical specifications from saved product pages. BeautifulSoup locates the specification table and pairs each label with its value, preserving units and resolving relative documentation links. A second page template uses nested spans, so a fixture exposes the difference before deployment. When the source later changes its markup, a field-coverage check flags the extraction rather than publishing empty values as valid product records.","limits":"Selectors are brittle when tied only to incidental layout or generated class names. Text extraction can merge unrelated content, and dynamic pages may not include the desired data in their initial HTML. BeautifulSoup provides parsing tools rather than crawling policy, provenance or data quality guarantees. A good implementation tests structure variants and distinguishes absent data from extraction failure, rather than assuming every returned string represents the intended page content.","sources":[{"title":"Beautiful Soup documentation","url":"https://www.crummy.com/software/BeautifulSoup/bs4/doc/","note":"Official HTML/XML parse-tree navigation and extraction documentation."}],"updatedAt":"2026-10-10"}},{"id":"data-ingestion","name":"Data Ingestion","category":"Data Ingestion","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"Data ingestion brings records from source systems into a destination where they can be processed or consumed. It defines how delivery, schema changes and progress are tracked, so collecting data includes reliable replay and correction behavior rather than merely moving bytes between services.","type":"concept","editorial":{"definition":"Ingestion can use periodic snapshots, incremental queries, change-data capture or event streams. Each approach exposes different information about updates and deletions and depends on the source's available interface. A checkpoint records progress, while stable record identifiers or offsets help distinguish new delivery from replay. Raw landing storage may preserve source evidence for later transformation, but it also creates retention and access responsibilities. Ingestion differs from downstream modeling because its primary concern is faithful and dependable transfer. A successful request does not establish complete coverage if pagination, source consistency or interrupted delivery was not handled correctly.","practice":"The practitioner defines source boundaries, record identity and a delivery strategy that meets freshness requirements. They implement checkpoints, schema validation and a safe response to malformed or unexpectedly changed records. Useful artifacts include an ingestion contract and tests for retries, interrupted batches and deletion propagation. The team reconciles source and destination coverage where possible and monitors lag. If replay is supported, it verifies that downstream writes are idempotent or deduplicated and records which source state each batch represents rather than silently mixing inconsistent snapshots.","example":"A pipeline imports customer updates from a paginated API. A timeout after page three initially causes duplicate records on retry. The engineer introduces a stable extraction boundary, checkpointing and upserts keyed by source identity. Tests include a source deletion and a schema addition, making their handling explicit. A reconciliation report then identifies records that were skipped or failed instead of treating the final HTTP success as evidence of complete ingestion.","limits":"Some sources cannot provide a consistent snapshot or reliable change history, limiting what ingestion can guarantee. Aggressive polling can overload the source, while long intervals may miss transient states. Schema inference can silently reinterpret values after drift. Strong ingestion makes these limitations visible and supports recovery with evidence. It does not establish that source records are accurate or suitable for model training merely because they were transferred faithfully.","sources":[{"title":"Apache Kafka: Kafka Connect overview","url":"https://kafka.apache.org/42/kafka-connect/overview/","note":"Official source/sink connector model supporting repeatable ingestion and delivery."}],"updatedAt":"2026-10-10"}},{"id":"optical-character-recognition-ocr","name":"Optical Character Recognition (OCR)","category":"Data Ingestion","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"Optical character recognition converts images of writing into machine-readable text. The skill selects and evaluates recognition pipelines for the actual document conditions, including language, scan quality and layout, so extracted characters can support search or analysis without hiding uncertainty behind apparently clean text.","type":"concept","editorial":{"definition":"OCR first needs a suitable image representation and an interpretation of where text appears. Recognition maps visual patterns to characters or sequences, while layout and reading-order processing determine how those sequences are assembled. Language resources and contextual modeling can improve recognition but may also normalize an unusual identifier into a plausible wrong word. OCR differs from parsing a born-digital file that already contains text, and from understanding a document's meaning. A high-quality transcription can still lose table relationships or pair a value with the wrong label, so character accuracy is only one component of document extraction quality.","practice":"The practitioner samples real pages, chooses engines and language settings and evaluates preprocessing such as rotation correction or contrast adjustment. They preserve page provenance and, where available, positions or confidence information. Useful artifacts include a test set with reference transcriptions and error analysis for critical fields. Evaluation should measure downstream consequences as well as character errors, particularly for identifiers, dates and amounts. The pipeline routes uncertain or unsupported pages for review and distinguishes an empty page from a recognition failure rather than silently accepting all output as valid text.","example":"A team digitizes scanned maintenance reports. OCR handles typed paragraphs well but confuses similar characters in equipment serial numbers. The engineer evaluates those identifiers separately, adds format checks and retains page coordinates for review. Human correction is requested for ambiguous serial numbers, while ordinary narrative text can proceed to search. The system reports extraction uncertainty instead of allowing a plausible but wrong identifier to connect the report to the wrong machine.","limits":"Handwriting, poor scans, unfamiliar languages and complex layouts can substantially reduce accuracy. Confidence scores are engine-dependent and do not guarantee correctness. Preprocessing can improve one page type while damaging another, and language correction can alter codes or names. OCR quality should be evaluated on representative material and critical-field consequences, not a clean demonstration page. Recognition also does not validate the truth or authenticity of the document it transcribes.","sources":[{"title":"Tesseract user manual","url":"https://tesseract-ocr.github.io/tessdoc/","note":"Official OCR engine, language resources and recognition configuration documentation."}],"updatedAt":"2026-10-10"}},{"id":"scrapy","name":"Scrapy","category":"Data Ingestion","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"Scrapy is an asynchronous Python framework for crawling websites and extracting structured records. It coordinates requests, responses, spiders and item pipelines, giving practitioners a repeatable collection architecture with explicit handling for scheduling, retries, normalization and the operational behavior of a crawl.","type":"tool","editorial":{"definition":"A Scrapy spider generates requests and interprets downloaded responses. The engine coordinates the flow, the scheduler manages pending requests and the downloader retrieves content, with middleware able to influence request and response handling. Extracted items pass through pipelines for validation, transformation or persistence. This architecture separates discovery and parsing from delivery and storage concerns. Scrapy primarily works with responses it downloads; pages whose relevant content is created by JavaScript may need an additional rendering approach. The framework supplies crawling mechanisms, while the project still defines collection scope, access policy and the meaning of each extracted record.","practice":"The practitioner designs spiders around observed site structure, sets concurrency and throttling and implements resilient item schemas. They add pipeline checks for missing fields, duplicate records and unexpected content. Useful artifacts include response fixtures, crawl settings and provenance attached to outputs. The team monitors retry patterns and coverage instead of only counting requests. Persistence and resume behavior should be tested for interrupted runs, and blocked pages should enter a distinct failure path so the collector does not mistake an access message for the requested source content.","example":"A crawler collects public research-project pages spread across category listings. The spider follows pagination and extracts a stable project identifier, title and source link. An item pipeline validates identifiers and deduplicates projects appearing in multiple categories. During a resumed run, saved crawl state prevents unnecessary rediscovery, while output logic avoids duplicate records. A coverage report compares discovered projects with listing totals where the site provides meaningful counts.","limits":"A crawl can complete while missing pages because pagination or discovery rules were wrong. JavaScript rendering, login state and changing templates may require additional handling. Excessive retries can worsen source load, and aggressive concurrency can violate the project's access constraints. Scrapy is not a guarantee of permissible reuse or correct extraction. The implementation needs coverage evidence, source-specific tests and maintenance when site structure or access behavior changes.","sources":[{"title":"Scrapy: architecture overview","url":"https://docs.scrapy.org/en/latest/topics/architecture.html","note":"Official crawling architecture describing scheduling, downloading, spiders and item pipelines."}],"updatedAt":"2026-10-10"}},{"id":"tesseract","name":"Tesseract","category":"Data Ingestion","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"Tesseract is an open-source OCR engine for recognizing text in images. The skill configures language resources, segmentation and preprocessing for a document collection, then measures recognition errors and preserves source context so the engine's output can be used responsibly in a larger extraction workflow.","type":"tool","editorial":{"definition":"Tesseract consumes image input and produces recognized text through its OCR pipeline, using trained language resources and configurable page-segmentation behavior. Segmentation determines how the image is interpreted, such as a page with multiple blocks or a smaller text region. Recognition quality depends on that choice, image conditions and the writing supported by the selected resources. Output formats can preserve additional spatial information for downstream processing. Tesseract is the recognition engine, not a full document-governance or semantic-extraction system; table reconstruction, field validation and the handling of unsupported files need surrounding components and task-specific evaluation.","practice":"The practitioner tests language and segmentation settings on representative pages and compares preprocessing alternatives rather than applying one filter indiscriminately. They record engine configuration and trained resources with the pipeline version. Useful artifacts include reference transcriptions and error reports for critical fields. The workflow checks orientation, cropping and image resolution, preserving original pages for controlled review. Integration tests confirm that text encoding and coordinates survive export and that an engine failure or unreadable page is distinguishable from a genuine document with little or no text.","example":"A records team uses Tesseract to transcribe scanned forms offline. Full-page recognition mixes a sidebar with the main field values, so the engineer evaluates layout-based crops and suitable segmentation settings. Numeric identifiers receive independent format checks, and uncertain fields retain links to their source regions for review. The resulting pipeline is assessed on varied scans, including rotated and low-contrast pages, before the collection is processed in bulk.","limits":"Tesseract is not equally effective on every layout, handwriting style or language. A recognized word can be plausible and still wrong, especially for codes or uncommon names. Changes in preprocessing or trained resources can alter outputs, so configuration belongs in reproducibility records. Its suitability should be judged against the collection and downstream error costs, rather than assuming open-source availability or offline operation guarantees adequate extraction quality.","sources":[{"title":"Tesseract user manual","url":"https://tesseract-ocr.github.io/tessdoc/","note":"Official OCR engine, language resources and recognition configuration documentation."}],"updatedAt":"2026-10-10"}},{"id":"cvat","name":"CVAT","category":"Dataset Curation","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"CVAT is an annotation platform for image and video datasets. The skill configures tasks, labels and review workflows, using spatial and temporal annotation tools to produce consistent training or evaluation targets while preserving the distinction between efficient annotation and accurate interpretation of the source material.","type":"tool","editorial":{"definition":"CVAT supports visual annotations such as boxes, polygons, masks and tracks, with project and task structures that organize labeling work. Video workflows can use interpolation between annotated frames, reducing repeated effort when an object's movement supports that assumption. Attributes and label definitions express additional task semantics, while review procedures help detect mistakes. The platform records annotations in supported formats for downstream use, but format compatibility does not guarantee that coordinates, identities or class meanings match a model's expectations. Competence therefore combines platform operation with annotation design and explicit checks on the data exported to training or evaluation.","practice":"The practitioner defines a label taxonomy and examples, configures tasks and trains annotators on ambiguous visual cases. They choose geometry types suited to the objective and verify exports with the consuming code. Useful artifacts include annotation guidance, reviewed samples and an error report for geometry and identity consistency. For video, review examines occlusion, reappearance and interpolated frames rather than only keyframes. Model-assisted annotations require verification, and access to source media is controlled according to its sensitivity and permitted use throughout annotation and export.","example":"A team annotates forklifts in warehouse video. It uses tracks to preserve object identity and interpolation for clear movement, but adds manual keyframes around occlusions and turns. Review finds that one class confuses parked vehicles with moving equipment, prompting clearer guidance. Before training, an export test confirms frame indices and box coordinates, preventing a technically valid annotation file from becoming misaligned model supervision.","limits":"Interpolation can create inaccurate geometry when movement is complex, and annotators can switch identities after occlusion. A smooth track is not proof of a correct one. Label agreement and source-specific review remain necessary even with powerful tooling. The platform also does not settle privacy or data-use rights. Quality checks should inspect the exported targets and their task meaning, rather than relying only on completion status in the annotation interface.","sources":[{"title":"CVAT documentation","url":"https://docs.cvat.ai/docs/","note":"Official image/video annotation, task and review workflows."}],"updatedAt":"2026-10-10"}},{"id":"data-augmentation","name":"Data Augmentation","category":"Dataset Curation","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"Data augmentation creates additional training views by applying transformations that preserve the relevant target meaning. It encourages a model to tolerate expected variation, such as image changes or input noise, while requiring careful judgment about which transformations remain valid for the task and label.","type":"concept","editorial":{"definition":"Augmentation alters existing examples through operations such as cropping, rotation or controlled perturbation, rather than collecting independent observations. The transformation encodes an assumption about invariance: the target should remain valid despite the change. For detection or segmentation, spatial labels must be transformed consistently with the image. Some changes require updating the label, and others destroy essential information. This differs from general synthetic data generation, which can create entirely new examples, although the boundary can overlap. Augmentation changes the training distribution and should reflect meaningful deployment variation rather than simply maximizing the number of apparently different samples.","practice":"The practitioner identifies expected nuisance variation and selects transformations with justified ranges. They inspect transformed examples and targets, then evaluate the policy on held-out data that has not been artificially made easier. Useful artifacts include a versioned augmentation configuration and tests for label alignment. Random transformations occur within training boundaries, while validation transformations follow a defined protocol. The team compares task performance across relevant conditions and checks whether the policy damages rare cases or teaches invariances that the application should not have.","example":"A road-sign detector uses brightness changes and moderate geometric variation to reflect camera conditions. Crops that remove the sign entirely are handled according to the detection task, and boxes are updated with the image. Horizontal flips are excluded where they change a sign's directional meaning. The team inspects augmented samples and evaluates real difficult images, ensuring improved training performance corresponds to useful robustness rather than invalid supervision.","limits":"More augmented samples are not more independent evidence. Invalid transformations can corrupt labels, and a model may learn artifacts introduced by the augmentation process. Aggressive policies can erase details needed for the task. The quality test checks both transformation validity and held-out behavior under realistic conditions. Augmentation cannot replace missing population coverage or justify evaluating on near-duplicates of training examples generated from the same source.","sources":[{"title":"Torchvision: transforms","url":"https://docs.pytorch.org/vision/stable/transforms.html","note":"Official image, video and target transformation APIs supporting synchronized augmentation."}],"updatedAt":"2026-10-10"}},{"id":"label-studio","name":"Label Studio","category":"Dataset Curation","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"Label Studio is a configurable platform for annotating data across modalities such as text, images and audio. The skill builds annotation interfaces and review workflows that match a task's measurement needs, integrating model assistance where useful while checking the quality and provenance of exported labels.","type":"tool","editorial":{"definition":"A Label Studio project combines source tasks, an interface configuration and annotation results. The configuration defines what reviewers see and which decisions or geometries they can record. Imports may include model predictions as prelabels, while integrations can connect annotation work with external storage or model services. This flexibility supports many task types, but the project must maintain clear semantics between source fields, labels and outputs. A completed task indicates that an annotation was submitted, not that it is correct. Platform competence includes understanding what the selected configuration and deployment actually record and how the consuming pipeline interprets it.","practice":"The practitioner defines task fields and labeling instructions, builds the interface and pilots it with representative examples. They configure review, agreement checks or adjudication appropriate to the task. Useful artifacts include the labeling configuration, guideline version and export validation tests. Prelabels are evaluated for anchoring effects and systematic mistakes, while source and annotation identities remain traceable. The team verifies storage permissions and handles failed media loads distinctly from genuinely unlabelable cases, because interface problems can otherwise become misleading labels in a training dataset.","example":"A team labels customer requests with intent and supporting text spans. The interface presents the conversation and requires a span for each assigned intent. A pilot reveals that annotators need an explicit uncertain option when the context is insufficient. The team adds that option, reviews disagreements and tests exported offsets against the original text. Model suggestions speed common cases but remain visibly reviewable rather than being accepted as ground truth.","limits":"Flexible interfaces can still encode an unclear task or export incompatible data. Prelabels may bias reviewers, and high task completion can hide source-loading failures or inconsistent interpretation. Features and review capabilities depend on the selected deployment and edition, so workflows need verification. Quality comes from clear definitions, representative review and tested exports; installing an annotation platform does not establish that the resulting labels measure the intended concept.","sources":[{"title":"Label Studio documentation","url":"https://labelstud.io/guide/","note":"Official configurable annotation workflows and model-assisted labeling documentation."}],"updatedAt":"2026-10-10"}},{"id":"kedro","name":"Kedro","category":"ETL, Transformation & Distributed Processing","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"Kedro is a Python framework for structuring data-science and machine-learning projects as explicit pipelines. It separates processing functions, data interfaces and configuration, helping teams turn exploratory work into repeatable components whose dependencies and outputs can be understood and tested.","type":"tool","editorial":{"definition":"Kedro organizes computation into nodes with declared inputs and outputs, then connects nodes into pipelines. A data catalog defines how named datasets are loaded or saved, reducing the need to embed storage details in processing logic. Configuration separates environment-specific choices from the code that performs transformations. This structure makes dependency relationships visible and supports reuse, but it does not make arbitrary node code deterministic or correct. Kedro is a project and pipeline framework rather than a universal production scheduler; deployment and operational supervision depend on the surrounding tools and infrastructure chosen by the team.","practice":"The practitioner extracts reusable transformations from notebooks into functions, defines their data dependencies and configures catalog entries for storage. They test nodes independently and verify full pipeline behavior with controlled inputs. Useful artifacts include a pipeline graph and configuration that identifies each dataset interface. Sensitive credentials are handled through appropriate mechanisms rather than hard-coded into nodes. The team also decides how pipeline outputs are versioned and deployed, checking that environment changes preserve semantics instead of assuming separation of configuration eliminates every source of irreproducibility.","example":"A forecasting project has a notebook that reads files, cleans data and trains a model in one execution state. The engineer converts these stages into Kedro nodes and names their intermediate datasets in the catalog. Tests now exercise cleaning independently, while a full run produces a model from explicit inputs. A production environment changes storage locations through configuration without rewriting the transformation functions, and run records preserve which inputs were used.","limits":"A tidy pipeline graph can still contain hidden global state, nondeterminism or poorly defined data semantics. Catalog entries are not complete lineage or governance by themselves, and production operations require further choices. Kedro introduces conventions that should justify their maintenance cost. The useful test is whether another team member can run and change the pipeline with clear inputs and outputs, rather than whether every notebook has been mechanically converted into a node.","sources":[{"title":"Kedro documentation","url":"https://docs.kedro.org/en/stable/","note":"Official pipeline, node and data-catalog concepts for structured data-science projects."}],"updatedAt":"2026-10-10"}},{"id":"dvc","name":"DVC","category":"Workflow Orchestration & Data Versioning","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"DVC manages versioned data and model artifacts alongside version-controlled project metadata. It links large files stored outside Git to their recorded identities and can describe pipeline dependencies, helping teams reproduce experiments and compare results without committing every dataset byte to the source repository.","type":"tool","editorial":{"definition":"DVC stores lightweight tracking metadata in the project while keeping actual data in a cache and optional remote storage. Content identity lets the tooling determine which artifact a project version references and retrieve it when available. Pipeline stages can declare dependencies, commands and outputs, making the data-processing graph explicit. This complements Git rather than replacing it: code and metadata remain versioned together, while large artifacts use suitable storage. A DVC pointer is therefore a reference to data, not the data itself, and reproducibility depends on remote availability, permissions and a sufficiently specified execution environment.","practice":"The practitioner tracks important datasets and model artifacts, configures an approved remote and commits their metadata with the relevant code changes. They define pipeline stages where useful and test checkout or reproduction in a clean workspace. Useful artifacts include a versioned pipeline specification and storage-access policy. The team verifies which files are tracked, which remain unrecorded and how sensitive historical versions are retained. Cache cleanup and remote retention need coordination so a valid project commit does not later point to artifacts that can no longer be obtained.","example":"A model experiment uses a prepared dataset too large for Git. The engineer tracks it with DVC, uploads it to restricted remote storage and commits the metadata alongside the training configuration. A colleague checks out the commit and retrieves the exact artifact, then reproduces the evaluation. When another dataset version improves results, the comparison can distinguish changes in examples from changes in code because both versions remain explicitly identified.","limits":"DVC cannot reproduce data that was never uploaded or has been deleted from its remote. Content identity does not explain semantic changes, and pipeline declarations cannot remove nondeterminism from arbitrary commands. Large historical versions also create storage and privacy obligations. The practitioner should test actual retrieval and reconstruction, document environment dependencies and avoid equating a committed metadata file with guaranteed long-term access to the referenced artifact.","sources":[{"title":"DVC: user guide","url":"https://doc.dvc.org/user-guide","note":"Official data artifact, pipeline and remote-storage versioning documentation."}],"updatedAt":"2026-10-10"}},{"id":"dagster","name":"Dagster","category":"Workflow Orchestration & Data Versioning","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"Dagster is an orchestration platform that emphasizes data assets and the computations that produce them. The skill defines asset dependencies, partitions and checks so teams can understand what data exists, how it was created and which work is needed to update or repair it.","type":"tool","editorial":{"definition":"An asset represents a durable output such as a table, dataset or model artifact. Dagster connects assets to code and dependency relationships, recording materializations when outputs are produced. This asset perspective differs from describing only a sequence of tasks: the operational question becomes which outputs are current or need rebuilding. Partitions let a dataset be managed in smaller logical units, while jobs and automation coordinate execution. The framework also supports operational metadata and checks, but asset definitions do not establish the meaning or correctness of their data automatically. Those properties depend on implementation and explicit validation.","practice":"The practitioner defines assets and dependencies, selects partition boundaries and records useful metadata during materialization. They add checks and configure schedules, sensors or automation according to the workflow's needs. Useful artifacts include an asset graph and a backfill plan that identifies affected outputs. The team tests partial failure and repeated materialization, verifying that data writes behave safely. Resource and storage configuration stay explicit, while operational reviews examine whether the asset view covers externally produced data and whether stale metadata could mislead downstream consumers.","example":"A feature table is partitioned by day and feeds several models. After a source correction, the engineer identifies the affected partitions and rematerializes their dependent features before rerunning evaluation. Asset metadata records row counts and data ranges, helping reviewers compare rebuilt outputs. A check prevents promotion when a required partition is missing, so a successful job elsewhere cannot hide incomplete data coverage.","limits":"An asset graph can appear complete while omitting manual or external dependencies. Incorrect partition assumptions may rebuild too little or too much, and a materialization event does not prove data quality. Orchestration also cannot make non-idempotent writes safe by itself. Dagster is useful when its asset model improves operations and visibility; the implementation still needs clear semantics, access controls and tests for the actual data-producing code.","sources":[{"title":"Dagster documentation","url":"https://dagster.io/docs","note":"Official asset-oriented orchestration and materialization concepts."}],"updatedAt":"2026-10-10"}},{"id":"prefect","name":"Prefect","category":"Workflow Orchestration & Data Versioning","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"Prefect is a Python orchestration engine for coordinating flows and tasks with recorded execution state. The skill turns ordinary Python workflows into supervised operations, defining retries, dependencies and deployment behavior while retaining the flexibility to create work dynamically from runtime data and conditions.","type":"tool","editorial":{"definition":"A Prefect flow describes a workflow, while tasks provide smaller units whose state and execution can be tracked. The orchestration layer records progress and failures and supports configuration for scheduling or deployment. Dynamic Python control flow can create tasks or branches during execution, which differs from requiring every relationship to be fixed before the run. This flexibility still needs explicit operational semantics: retries can repeat side effects, and a successful flow does not establish that its outputs are valid. Prefect coordinates execution and visibility rather than supplying the business meaning of each transformation or the storage guarantees of its target.","practice":"The practitioner defines flows and task boundaries, chooses retry and timeout policies and configures where deployed work runs. They record useful state and parameters without leaking sensitive data into operational logs. Useful artifacts include a flow implementation and recovery tests for interrupted execution. The team examines caching and repeated execution behavior, verifying whether outputs remain valid when inputs or code change. Dynamic branches should remain understandable in operational records, so investigators can explain why a particular run processed some items and skipped or failed others.","example":"A document pipeline lists new files and creates one extraction task for each file discovered. Prefect records individual outcomes, allowing a malformed document to be investigated without losing visibility into successful work. The engineer defines retries only for transient service failures and uses stable output keys to prevent duplicate publication. A later run resumes the permitted failed items while preserving the provenance of files already processed.","limits":"Flexible Python can hide dependencies or global state if task boundaries are poorly chosen. Retry policies can worsen outages or repeat transactions, and caching can return stale results when its identity assumptions are incomplete. The deployed worker and infrastructure remain part of reliability. Prefect's state tracking is evidence about execution, not a guarantee of correct data; validation and safe side effects must be designed into the workflow itself.","sources":[{"title":"Prefect: introduction","url":"https://docs.prefect.io/v3/get-started","note":"Official Python flow/task orchestration, state tracking and dynamic runtime concepts."}],"updatedAt":"2026-10-10"}},{"id":"workflow-orchestration","name":"Workflow Orchestration","category":"Workflow Orchestration & Data Versioning","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"Workflow orchestration coordinates dependent units of work and supervises their execution over time. It manages scheduling, state, retries and recovery so a data or AI process can complete predictably, while keeping the meaning and correctness of each task in the code and systems that perform it.","type":"concept","editorial":{"definition":"A workflow expresses which tasks may run, which depend on earlier results and what constitutes success or failure. The orchestrator records states and decides when eligible work is submitted to execution resources. Time-based schedules, event triggers and dynamic branches are different ways to initiate or expand work. Orchestration differs from a data-processing engine, which performs the computation, and from choreography, where components react independently to events. A reliable design makes recovery semantics explicit: retrying a task may repeat its effects, while backfilling earlier intervals may require different inputs from those used in the latest run.","practice":"The practitioner defines task boundaries, dependencies and processing parameters, then selects supervision appropriate to the workflow's scale. They establish timeout, retry and escalation behavior and test interrupted runs. Useful artifacts include dependency diagrams and recovery procedures. Tasks should expose meaningful completion evidence and support safe reruns where required. The team also controls concurrency and resource contention, identifies who responds to failures and checks that backfills cannot overwrite valid outputs unexpectedly. Observability connects task state to the produced assets rather than treating a green run as sufficient proof of success.","example":"A model-release workflow prepares data, trains a candidate, evaluates it and publishes an approved artifact. Training cannot proceed until data checks pass, and publication cannot proceed until evaluation meets the specified criteria. A temporary upload failure retries the upload without retraining, using the same immutable model artifact. The run history records which gate stopped a release and supports a deliberate recovery rather than manual guessing about completed steps.","limits":"An orchestrator cannot repair incorrect dependencies, hidden side effects or invalid outputs. Excessive retries can amplify failures, and complicated workflows can become harder to operate than the process they automate. A small job may need only simple scheduling. Quality checks should demonstrate partial-failure recovery and output validity, with clear responsibility for intervention, rather than relying on the presence of a sophisticated orchestration platform.","sources":[{"title":"Apache Airflow: architecture overview","url":"https://airflow.apache.org/docs/apache-airflow/stable/core-concepts/overview.html","note":"Official DAG, task, scheduler and executor architecture."}],"updatedAt":"2026-10-10"}},{"id":"data-cleaning","name":"Data Cleaning","category":"Data Governance, Quality & Contracts","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"Data cleaning detects and corrects records that are missing, inconsistent, duplicated, malformed or otherwise unsuitable for an intended use. It combines explicit rules with domain judgment, preserving the difference between a genuine unusual observation and an error that should be repaired or excluded.","type":"concept","aliases":["Data Cleansing","Data Cleaning Techniques","data-cleaning","czyszczenie danych"],"editorial":{"definition":"Cleaning transforms data according to assumptions about valid values and relationships. It may standardize formats, reconcile units, remove duplicate representations or handle missing information. These operations have different consequences: dropping a record changes the represented population, while imputing a value adds an estimate rather than recovering the original observation. An outlier may be a valuable rare case, so extremity alone is not evidence of error. Cleaning differs from feature preprocessing, which prepares model inputs, and from curation, which decides broader inclusion and use. The relevant mechanism is a documented correction tied to the task and source evidence.","practice":"The practitioner profiles data, identifies failure patterns and creates rules that distinguish valid exceptions from defects. They preserve raw inputs or suitable provenance and record material changes. Useful artifacts include a cleaning specification and before/after checks for affected fields and population coverage. Missing-value treatment should reflect why values are absent, and learned imputation stays within training boundaries when used for modeling. The team samples corrected records and evaluates downstream effects, ensuring that a cleaner-looking dataset has not lost information or introduced systematic distortion.","example":"A sensor dataset mixes temperature units and contains repeated uploads. The engineer uses source metadata to convert units, identifies duplicate events by stable identifiers and flags implausible readings for review. A rare high temperature is retained because a maintenance report confirms it. Missing readings remain distinguishable from measured zeros, preventing a later analysis from treating an interrupted sensor as evidence that the equipment cooled.","limits":"Automatic repair can hide upstream problems or encode unsupported assumptions. Missingness can carry information, and deduplication can remove legitimate repeated events if identity rules are wrong. Rules learned from the full dataset can leak information into model evaluation. Cleaning quality should be assessed through traceable decisions and downstream validity, not the disappearance of every null or outlier. Some defects should remain flagged until source evidence supports a correction.","sources":[{"title":"pandas: working with missing data","url":"https://pandas.pydata.org/docs/user_guide/missing_data.html","note":"Official missing-value representations, detection and handling; cleaning decisions remain task-specific."}],"updatedAt":"2026-10-10"}},{"id":"pii-redaction","name":"PII Redaction","category":"Data Governance, Quality & Contracts","subcategory":null,"section_id":"data-engineering-pipelines","section_name":"Data Engineering & Pipelines","description":"PII redaction removes or obscures identifying information before content is shared or processed. The skill combines detection, transformation and residual-risk evaluation, aiming to protect people while retaining enough meaning for the permitted task and recognizing that removing obvious identifiers does not necessarily make a record anonymous.","type":"concept","aliases":["Personal Data Redaction"],"editorial":{"definition":"A redaction pipeline first locates information under a defined policy, then applies operations such as removal, masking or replacement. Detection may use patterns, entity models and domain-specific rules, while transformation determines what downstream users can still infer. Replacing names with consistent placeholders preserves dialogue relationships but can retain linkability. Redaction differs from general PII management, which governs the whole lifecycle, and from reversible pseudonymization or encryption, whose protections depend on separate identifiers or keys. Indirect clues such as uncommon events, locations or combinations of attributes can still identify a person after direct identifiers are removed.","practice":"The practitioner defines which information must be protected and evaluates detectors on representative labeled content. They choose transformations by entity and task, then test both residual disclosure and the usefulness of the transformed output. Useful artifacts include a redaction policy and error analysis by identifier type. The workflow protects raw inputs, temporary files and logs as well as returned text. Review samples include unusual formatting and contextual identifiers, and reversible mappings are stored under separate controls when the application has a justified reason to retain them.","example":"A team shares customer conversations with reviewers evaluating an assistant. The pipeline replaces names and contact details with placeholders, then reviewers inspect samples for indirect clues. A conversation about a unique local event still identifies a customer through context, so that detail is generalized or the record is excluded according to the policy. Tests also verify that the raw conversation does not remain in a broadly accessible processing log.","limits":"Redaction can miss identifiers or remove useful ordinary text, and no detector threshold eliminates both risks. Consistent placeholders and hashes can enable linkage; indirect information can support re-identification. A transformed file should not be labeled anonymous without an appropriate assessment. Quality checks measure remaining disclosure and task degradation together, and legal or governance conclusions require the applicable context rather than assuming a successful replacement operation establishes compliance.","sources":[{"title":"Presidio: text anonymization","url":"https://presidio.dataprivacystack.org/text_anonymization/","note":"Supports recognizer-based entity detection and separate anonymization operators."}],"updatedAt":"2026-10-10"}},{"id":"ai-code-generation","name":"AI Code Generation","category":"AI-Assisted Development","subcategory":null,"section_id":"software-engineering-for-ai","section_name":"Software Engineering for AI","description":"AI code generation uses a language model to produce executable code from instructions, examples or surrounding source. The competency lies in specifying the intended behavior, supplying relevant context and verifying the resulting program against requirements that the model's plausible output cannot establish by itself.","type":"concept","editorial":{"definition":"A code-generating model predicts source text conditioned on a prompt and any repository context made available to it. It may complete an expression, implement a function, translate between languages or propose a test. Generation differs from compilation: the model can produce code that is syntactically convincing while inventing an API or misunderstanding a state transition. It also differs from the broader practice of AI-assisted development, which includes planning, diagnosis and review. The immediate artifact here is a candidate implementation with explicit dependencies, inputs, outputs and behavioral constraints.","practice":"A practitioner decomposes the request into a bounded change, identifies existing interfaces and supplies examples of expected and forbidden behavior. They ask for implementation consistent with the project's conventions, inspect the diff and independently execute meaningful tests. Dependency additions, error handling, authorization and data movement need deliberate review because these can change system behavior beyond the requested function. Useful work ends with understandable, maintainable code and evidence that it satisfies the contract, rather than with the acceptance of a completion.","example":"An engineer asks a model to implement a parser for timestamped sensor records. The request includes representative valid records, malformed inputs and the requirement to retain timezone information. The engineer checks the proposed library calls, adds boundary tests for daylight-saving transitions and compares parsed results with manually established fixtures. If the generated code silently converts invalid readings into zero, the implementation is revised before it becomes part of the ingestion pipeline.","limits":"Generated tests may reproduce the implementation's mistaken assumptions, so passing them alone is weak evidence. Code can expose secrets, bypass permissions or mishandle dependencies even when a narrow example works. Large prompts do not guarantee complete repository understanding. Quality checks should include independent expected results, static analysis where useful, integration behavior and human comprehension of the final change. The developer remains responsible for selecting and validating the artifact.","sources":[{"title":"GitHub Copilot documentation","url":"https://docs.github.com/en/copilot","note":"Documents code completion and assistant workflows, including the need to review generated code."},{"title":"Claude Code overview","url":"https://code.claude.com/docs/en/overview","note":"Supports repository-aware code generation and executable development workflows."}],"updatedAt":"2026-10-10"}},{"id":"api-development","name":"API Development","category":"APIs & Services","subcategory":null,"section_id":"software-engineering-for-ai","section_name":"Software Engineering for AI","description":"API development turns an AI capability into a defined interface that other software can call reliably. It includes request and response contracts, authentication, errors, versioning and streaming behavior, so clients can distinguish a completed result from a partial response or failed operation.","type":"concept","editorial":{"definition":"An API is a contract between separately evolving components. An HTTP inference endpoint may validate structured input and return predictions, while gRPC uses service definitions and typed messages for remote procedure calls. Server-sent events can carry incremental server output over an HTTP connection. These mechanisms have different transport and client requirements; streaming is not simply a faster ordinary response. AI APIs also need to express model versions, asynchronous jobs, cancellation and usage limits without requiring clients to understand the serving implementation or infer success from generated text.","practice":"The practitioner chooses interaction patterns from the workload: a short prediction may fit request-response, while a long document analysis may require a job identifier and status endpoint. They specify schemas, authorization boundaries, stable error categories and retry rules. They define how clients detect stream termination and how partial results are represented. Contract tests exercise valid, invalid and unauthorized requests, alongside slow consumers and disconnected clients. The result is an interface clients can integrate with and operate under realistic failure conditions.","example":"A document summarizer exposes a submission endpoint and a streaming progress channel. The API validates file identifiers against the caller's account before starting inference. Each event carries a job identifier and event type; an explicit completion event contains the final summary reference. An integration test disconnects halfway through and checks that reconnecting or checking job status does not submit the same document a second time.","limits":"A schema validates shape, not the factual quality of a model response. Retrying a request can duplicate work or charges unless operation semantics support it. Long-lived streams can consume connection capacity and fail through proxies. gRPC, REST and event streams do not share identical error or compatibility rules. Check client behavior, deadlines, authorization and backward compatibility rather than relying only on generated API documentation.","sources":[{"title":"Introduction to gRPC","url":"https://grpc.io/docs/what-is-grpc/introduction/","note":"Explains service definitions, remote calls and streaming modes."},{"title":"FastAPI documentation","url":"https://fastapi.tiangolo.com/","note":"Supports typed HTTP request validation, responses and documented interfaces."}],"updatedAt":"2026-10-10"}},{"id":"fastapi","name":"FastAPI","category":"APIs & Services","subcategory":null,"section_id":"software-engineering-for-ai","section_name":"Software Engineering for AI","description":"FastAPI is a Python framework for HTTP APIs built around type annotations, request validation and an asynchronous server interface. For AI services, the skill is designing typed endpoints and managing model resources, concurrency and errors without confusing input validation with model correctness.","type":"tool","editorial":{"definition":"FastAPI combines an ASGI web layer with Pydantic-based data validation and OpenAPI descriptions. Function parameters and request models describe accepted inputs; response models describe what the application exposes. Dependencies provide reusable request-scoped behavior such as authentication or database access. Async endpoints can cooperate while waiting for compatible network operations, but declaring a function async does not make CPU-intensive inference nonblocking. Model loading, connection pools and cleanup belong to application lifecycle management. The framework serves the interface; model scheduling, task queues and deployment capacity remain architectural decisions.","practice":"A practitioner defines request and response models, separates transport concerns from inference logic and uses dependencies to enforce caller identity and resource access. They decide whether an operation should run in the request, a worker or an external inference service. They arrange startup and shutdown for expensive resources, expose useful failures and prevent sensitive internal fields from entering responses. Tests inspect validation failures, unauthorized access, cancellation and concurrent requests, yielding an API that remains predictable when inputs or infrastructure fail.","example":"An embedding service accepts a bounded list of texts and returns vectors with the model identifier. The engineer rejects oversized requests before inference and loads the encoder once during application startup. A response model prevents internal timing objects from leaking. A concurrency test sends multiple batches and verifies that one slow batch does not accidentally block health checks; if local computation dominates, execution moves to an appropriate worker pool.","limits":"Automatic documentation cannot prove that a contract is complete or secure. Blocking calls inside an async endpoint can stall the event loop, and loading a large model per process can multiply memory requirements. Pydantic coercion may accept values differently from a strict business rule. Inspect worker memory, dependency cleanup, exception responses and real concurrency; a development server and a single successful request are insufficient deployment evidence.","sources":[{"title":"FastAPI documentation","url":"https://fastapi.tiangolo.com/","note":"Documents type-based validation, dependency injection, lifecycle, async behavior and deployment concepts."}],"updatedAt":"2026-10-10"}},{"id":"streamlit","name":"Streamlit","category":"Notebooks & Interactive App Prototyping","subcategory":null,"section_id":"software-engineering-for-ai","section_name":"Software Engineering for AI","description":"Streamlit is a Python framework for interactive data applications whose interface is declared through ordinary script code. Competence requires understanding script reruns, session state and caching so an analytical or AI demo behaves consistently when users change controls or submit new inputs.","type":"tool","editorial":{"definition":"Streamlit turns Python commands into browser widgets, tables and visualizations. Its execution model generally reruns the script in response to user interactions, rather than treating each widget as an independent persistent component. Session state carries selected values between reruns, forms group changes and caching can avoid repeating appropriate data or resource work. A cached dataset and a shared model resource have different lifecycle and isolation requirements. Streamlit is distinct from Gradio's function-oriented model interfaces and from an API framework: its main artifact is an interactive analytical application.","practice":"The practitioner separates expensive computation from interface construction, decides which state belongs to an individual session and chooses cache keys that reflect the underlying data and parameters. They use forms when changes should be submitted together and arrange explicit feedback while work runs. Data access and model calls require their own authorization and error handling. The resulting app should make the analysis understandable and preserve user intent across interactions, with tests or manual checks covering reruns, multiple sessions and refreshed data.","example":"An analyst builds a classifier inspection app with dataset selection, a confidence threshold and a confusion matrix. Changing the threshold reruns the script but reuses the loaded model. Dataset identity and preprocessing version are included in cached computations, while the current selection stays in session state. Opening a second browser session checks that one person's chosen records and filters do not become another person's results.","limits":"Caching the wrong object can serve stale data or expose information across users. Hidden state and unguarded reruns can repeat costly inference or erase a pending selection. A convenient prototype does not supply production access control, capacity planning or secure file handling automatically. Inspect cache invalidation, resource thread safety, session boundaries and the experience of empty or failed queries before sharing the application.","sources":[{"title":"Streamlit execution model","url":"https://docs.streamlit.io/develop/concepts/architecture","note":"Explains reruns, session state, caching and the architecture of interactive applications."}],"updatedAt":"2026-10-10"}},{"id":"duckdb-polars","name":"DuckDB / Polars","category":"Data Libraries & In-Process Analytics","subcategory":null,"section_id":"software-engineering-for-ai","section_name":"Software Engineering for AI","description":"DuckDB and Polars are complementary tools for analytical data processing on a local machine or within an application. DuckDB offers a SQL database engine; Polars offers a columnar DataFrame expression system. The skill is choosing and inspecting execution plans, types and memory behavior rather than treating them as interchangeable replacements.","type":"tool","editorial":{"definition":"DuckDB runs analytical SQL in an embedded database engine and can query supported file formats directly. Polars builds typed column operations and supports lazy queries that an optimizer can transform before execution. Both favor column-oriented analytical work, but their APIs, transaction behavior and available operators differ. Arrow-compatible interchange can connect data tools without making every conversion free. Competence includes joins, grouping, null semantics, file partitioning and the distinction between describing a query and materializing its result. A lazy plan is a proposed computation, not yet a completed dataset.","practice":"A practitioner selects SQL or DataFrame expressions to suit the team and task, scans only needed columns and filters data early where the optimizer can apply it. They check inferred schemas, explain the query plan and verify join cardinality before producing features or reports. They measure memory at materialization and avoid unnecessary conversion to another library. A useful deliverable is a reproducible query or transformation with documented input assumptions and a result whose row counts, keys and aggregates have been checked.","example":"An engineer prepares daily device statistics from partitioned Parquet files. A DuckDB query joins readings to a device table and aggregates by date; an equivalent Polars lazy pipeline is considered for integration into Python code. The engineer compares results on a small fixture containing missing readings and duplicate device keys, inspects filter pushdown and checks peak memory when collecting the full daily result.","limits":"Neither tool removes the need to understand data semantics. An accidental many-to-many join can create huge intermediate results, while conversion to an eager DataFrame can defeat a memory-efficient plan. SQL null logic and DataFrame expressions may differ at edge cases. Streaming support depends on operations and versions. Check schemas, numerical tolerances, ordering requirements and actual plans rather than assuming a universal speed advantage.","sources":[{"title":"DuckDB documentation","url":"https://duckdb.org/docs/current/","note":"Supports embedded SQL analytics and file-oriented query workflows."},{"title":"Polars lazy API usage","url":"https://docs.pola.rs/user-guide/lazy/using/","note":"Explains deferred execution, optimization, scanning and materialization."}],"updatedAt":"2026-10-10"}},{"id":"ai-assisted-development","name":"AI-Assisted Development","category":"AI-Assisted Development","subcategory":null,"section_id":"software-engineering-for-ai","section_name":"Software Engineering for AI","description":"AI-assisted development integrates model-based help into the software lifecycle, from understanding a codebase to planning, editing, testing and reviewing changes. The practitioner controls task scope and evidence, deciding which work to delegate and how to verify the resulting changes before they become maintained software.","type":"concept","editorial":{"definition":"An assistant may suggest a line in an editor, discuss a design or execute a sequence of repository operations through tools. These modes differ in context access, permission and ability to affect the working environment. The broader practice includes more than AI code generation: it also covers navigating unfamiliar modules, reproducing failures, proposing migrations and explaining diffs. Model suggestions are hypotheses conditioned on supplied context. Tool execution provides observations, but the assistant's interpretation can still be wrong. A sound workflow connects delegated activity to independent acceptance criteria.","practice":"The developer first inspects relevant instructions and interfaces, then assigns a bounded task with observable completion conditions. They provide enough context to avoid invented conventions and reserve consequential actions for appropriate authorization. During implementation they inspect changes, investigate failing checks and require evidence for claims about behavior. They evaluate whether the assistant's approach fits the architecture and maintenance cost. The result is a reviewable patch, a clear explanation of its effects and verification that addresses the original problem.","example":"A developer delegates a failing import after a package refactor. The assistant searches references, proposes corrected module paths and runs the affected checks. The developer reviews whether the new import creates a circular dependency and tests the actual application entry point. A superficially successful change that only makes one test file importable is rejected if the production startup remains broken.","limits":"Assistance can accelerate mistakes when broad permissions meet incomplete context. Plausible explanations, self-authored tests and tool logs do not jointly guarantee that the intended behavior was achieved. Repository instructions can conflict, dependencies can change and unrelated edits can enlarge review scope. Assess the final artifact and reproducible evidence. AI-assisted development is a working method, not a replacement for architecture decisions, security review or accountable maintenance.","sources":[{"title":"Claude Code overview","url":"https://code.claude.com/docs/en/overview","note":"Documents agentic repository work, tool execution and development surfaces."},{"title":"GitHub Copilot documentation","url":"https://docs.github.com/en/copilot","note":"Supports the distinction between completion, chat and delegated coding workflows."}],"updatedAt":"2026-10-10"}},{"id":"feature-engineering","name":"Feature Engineering","category":"Feature Engineering","subcategory":null,"section_id":"software-engineering-for-ai","section_name":"Software Engineering for AI","description":"Feature engineering designs useful model inputs from available observations while respecting when and how those observations become available. It combines domain reasoning, transformations and validation to create representations that improve the intended prediction task without introducing target leakage or inconsistent behavior between training and serving.","type":"concept","aliases":["inżynieria cech"],"editorial":{"definition":"A feature is a variable or representation supplied to an estimator. Engineering may derive ratios, historical aggregates, categorical encodings, text representations or indicators of missing information. Its scope includes choosing the observation unit, time window, source joins and transformation parameters. Feature extraction creates representations; feature selection chooses a subset; preprocessing prepares data for an estimator. Feature engineering coordinates these decisions around a task. A feature's statistical association is insufficient if it uses information unavailable at prediction time or encodes a process that changes after deployment.","practice":"The practitioner identifies candidate signals with domain experts, records their definitions and availability, and builds transformations that can be repeated on new data. They enforce point-in-time joins for historical features, fit learned transformations within training folds and compare candidates with a simple baseline. They inspect missingness, stability, acquisition cost and subgroup behavior. Useful work yields a versioned feature specification and executable pipeline, with evidence for keeping or removing each important signal rather than a large collection of unexplained columns.","example":"For forecasting equipment failure, an engineer derives recent temperature variation and time since the last completed maintenance visit. Each training row is anchored to a prediction timestamp. Maintenance records entered after that timestamp are excluded, even if they describe an earlier event. The team compares the added features on a chronological holdout and verifies that the serving system can compute identical windows from live readings.","limits":"More features can increase leakage, redundancy and maintenance burden. Target encoding, aggregate windows and source joins are common routes for hidden access to future outcomes. A feature useful in one operating regime may fail after a policy or sensor change. Validate availability, transformation fit boundaries and train-serving parity separately from model scores. Predictive usefulness also does not establish that manipulating a feature will change the outcome.","sources":[{"title":"Rules of Machine Learning","url":"https://developers.google.com/machine-learning/guides/rules-of-ml","note":"Supports feature design, training-serving consistency and production measurement."},{"title":"Scikit-learn common pitfalls","url":"https://scikit-learn.org/stable/common_pitfalls.html","note":"Documents leakage and fitting transformations only within training data."}],"updatedAt":"2026-10-10"}},{"id":"python","name":"Python","category":"Programming Languages","subcategory":null,"section_id":"software-engineering-for-ai","section_name":"Software Engineering for AI","description":"Python is a general-purpose programming language used to connect data processing, model libraries and application services. Professional competence includes structuring maintainable packages, handling resources and failures, understanding types and concurrency, and knowing when numerical work should run in compiled libraries rather than Python loops.","type":"tool","editorial":{"definition":"Python offers dynamic runtime objects, exceptions, modules and a large scientific ecosystem. Type annotations describe intended interfaces but are not general runtime enforcement; validation libraries and explicit checks serve a different role. Iterators and generators support incremental processing, while context managers control resource lifetimes. Asyncio schedules cooperating tasks around awaitable operations, making it useful for network-bound orchestration. It does not automatically parallelize CPU-heavy code. Library implementations, process execution and the Python runtime's concurrency behavior determine how work actually uses the machine.","practice":"A practitioner divides a program into cohesive modules, defines clear data contracts and chooses dependencies deliberately. They handle malformed input, cancellation and cleanup, add structured logging and make execution reproducible through controlled environments. They use profiling to decide whether to vectorize, batch, parallelize or rewrite an expensive path. The work produces a package or service with an understandable public interface and dependable operational behavior, supported by tests around transformations and failure boundaries rather than only an interactive notebook session.","example":"An engineer builds a batch embedding client. Async tasks overlap network requests under a concurrency limit; responses are validated before vectors are stored. The client retries only suitable failures, records the model identifier and closes connections on cancellation. Profiling then reveals that a Python loop copying arrays dominates local processing, so the engineer replaces it with a library operation and checks that ordering is preserved.","limits":"Concise syntax can hide expensive allocation, mutable shared state and implicit conversion. Type hints alone cannot validate external JSON, and async code can block if it calls synchronous network or compute functions. Serialization and dependency versions affect interoperability. Inspect memory, cancellation, exceptional paths and package boundaries. Python fluency means explaining program behavior under real inputs, including the work delegated to native extensions.","sources":[{"title":"Python asyncio documentation","url":"https://docs.python.org/3/library/asyncio.html","note":"Supports cooperative asynchronous I/O and the role of asyncio in network-bound code."},{"title":"Python documentation","url":"https://docs.python.org/3/","note":"Documents language semantics, typing, modules and resource management."}],"updatedAt":"2026-10-10"}},{"id":"r","name":"R","category":"Programming Languages","subcategory":null,"section_id":"software-engineering-for-ai","section_name":"Software Engineering for AI","description":"R is a language and environment for statistical computing, data analysis and graphics. The competency combines reliable data manipulation with statistical modeling, package-based workflows and reproducible reporting, while keeping the interpretation of a model separate from the fact that an R function successfully fitted it.","type":"tool","editorial":{"definition":"R centers many operations on vectors, matrices, lists and data frames. Vectorized expressions, indexing and recycling rules determine how calculations apply across observations. Statistical functions often use formulas to specify responses, predictors and interactions, with fitted objects exposing estimates, diagnostics and predictions. Packages extend these capabilities, but package conventions can differ from base R. Missing values, categorical factors and date classes carry meaningful behavior. An R analysis therefore involves both programming semantics and the statistical assumptions represented by the chosen estimator.","practice":"A practitioner checks data classes and missingness, constructs explicit transformations and separates exploratory scripts from reusable functions. They choose a model appropriate to the observation structure, inspect diagnostics and communicate uncertainty with tables or graphics. They record package versions and make reports executable from a known dataset rather than dependent on workspace history. A useful result is a traceable analytical pipeline in which another person can reconstruct the data preparation, fitted specification and conclusions, including the limitations of the evidence.","example":"An analyst compares weekly demand across store formats. They parse dates, make store format an explicitly leveled factor and fit a model with a justified seasonal term. Residual plots and held-out weeks expose systematic errors around closures. The analyst revises the specification, reruns the script from a clean session and produces a report that links each figure to the same transformed table.","limits":"Recycling and implicit coercion can produce unintended calculations without an obvious failure. Factor reference levels affect coefficient interpretation, and dropping missing rows can alter the population studied. A fitted model is not evidence of valid causal inference or appropriate uncertainty. Check dimensions, contrasts, residual structure and reproducibility. R and Python overlap in applications, but familiarity with one does not establish understanding of the other's data semantics.","sources":[{"title":"R manuals","url":"https://cran.r-project.org/manuals.html","note":"Provides the official language, data manipulation and statistical environment references."}],"updatedAt":"2026-10-10"}},{"id":"rust","name":"Rust","category":"Programming Languages","subcategory":null,"section_id":"software-engineering-for-ai","section_name":"Software Engineering for AI","description":"Rust is a systems programming language used when control over memory, execution cost and concurrency matters. For AI engineering, competence often means reading, profiling or extending native components while understanding ownership, borrowing and interfaces between Rust code and higher-level model or data pipelines.","type":"tool","editorial":{"definition":"Rust's ownership and borrowing rules constrain how values are accessed and moved, allowing many memory safety properties to be checked at compilation. Traits describe shared behavior, enums model alternatives and explicit result types make recoverable failures visible in interfaces. These language mechanisms differ from garbage-collected Python and from C++ resource conventions; the labels should not be conflated. Native data loaders, tokenizers and numerical support code may use Rust to reduce overhead, but an implementation's speed still depends on algorithms, allocations, data layout and external libraries.","practice":"A practitioner traces ownership through a component, separates unnecessary copying from necessary lifetime management and profiles representative workloads. They select appropriate error propagation, test boundary conditions and review unsafe code or foreign-function interfaces with particular care. When exposing functionality to Python, they define conversion, buffer ownership and failure semantics. The result is a measurable improvement or maintainable native component whose behavior remains consistent with the surrounding application, including empty inputs, malformed records and concurrent access.","example":"A Python ingestion pipeline spends substantial time decoding small binary records. An engineer inspects a Rust parser that can process a batch and expose the result through a binding. They eliminate repeated allocation, keep input buffers alive for the required lifetime and test truncated records. Comparison against a reference parser checks field values, errors and ordering before the native component is adopted.","limits":"Compilation does not prove algorithmic correctness, numerical stability or secure handling of untrusted input. Unsafe blocks and external libraries can cross the language's checked boundaries. Reducing copies may complicate lifetimes or interoperability, and a native rewrite can be slower if conversion dominates. Inspect profiles and end-to-end behavior. Rust skill includes knowing when existing vectorized libraries already solve the performance problem without another implementation.","sources":[{"title":"The Rust Programming Language","url":"https://doc.rust-lang.org/book/","note":"Explains ownership, borrowing, traits, error handling, concurrency and unsafe boundaries."}],"updatedAt":"2026-10-10"}},{"id":"sql","name":"SQL","category":"Programming Languages","subcategory":null,"section_id":"software-engineering-for-ai","section_name":"Software Engineering for AI","description":"SQL expresses queries and transformations over relational data. In AI work, the skill is constructing correct analytical datasets through joins, aggregation, windows and explicit time logic, while understanding nulls, cardinality and execution plans well enough to avoid misleading results or unnecessarily expensive computation.","type":"tool","editorial":{"definition":"A SQL query describes a desired result, and a database optimizer chooses an execution strategy. Tables carry rows and columns, while relational operations filter, combine and aggregate them. Joins can multiply rows; grouping changes the observation unit; window functions compute across related rows while retaining row-level output. Null participates in three-valued logic rather than behaving like an ordinary value. Dialects differ in syntax and functions. Competence therefore involves reasoning about the data model and query semantics, not merely translating a question into a SELECT statement.","practice":"The practitioner establishes the intended grain and keys, checks source freshness and defines filters before joining data. They choose join types from the treatment of unmatched records, validate expected cardinality and handle nulls deliberately. For prediction datasets, time conditions ensure that records were available at the relevant decision point. They inspect plans, partition pruning and large intermediate results. The deliverable is a query and documented output contract with checked counts and aggregates that downstream modeling or reporting can trust.","example":"An engineer assembles customer-level monthly features from orders and support contacts. Orders and contacts are each aggregated to customer-month before joining, preventing one contact from duplicating every order. A window function calculates prior-month activity with a strictly historical frame. A small fixture includes customers with no orders and missing contact dates, allowing the engineer to verify which rows and totals should survive.","limits":"A query that runs successfully may still use the wrong grain, silently exclude nulls or duplicate measures. Window ordering can be ambiguous when timestamps tie, and temporal filters can leak future information. Performance depends on storage layout, indexes and optimizer behavior as well as syntax. Check keys, unmatched records and hand-calculated fixtures before accepting a large analytical result; an execution plan alone does not establish semantic correctness.","sources":[{"title":"PostgreSQL queries documentation","url":"https://www.postgresql.org/docs/current/queries.html","note":"Documents table expressions, joins, grouping, selection and SQL query semantics."}],"updatedAt":"2026-10-10"}},{"id":"shell-scripting","name":"Shell Scripting","category":"Programming Languages","subcategory":null,"section_id":"software-engineering-for-ai","section_name":"Software Engineering for AI","description":"Shell scripting automates command-line operations by composing processes, files and streams. For AI engineering, it supports repeatable data preparation, environment setup and job execution, but requires careful handling of quoting, exit status, temporary files and credentials so failures do not silently corrupt subsequent steps.","type":"tool","editorial":{"definition":"A shell interprets command text, expands variables and patterns, redirects input and output, and connects processes through pipelines. Expansion happens before a command receives its arguments, making quoting part of program correctness rather than presentation. A pipeline's status may reflect only its last command unless the shell is configured otherwise. Scripts also inherit environment and working-directory assumptions. Bash is one shell, with features that may not be portable to others. Shell scripting is best suited to orchestrating existing commands, while complex data structures often belong in another language.","practice":"A practitioner makes required inputs explicit, quotes argument expansions and checks prerequisites before costly work. They propagate failures intentionally, clean up temporary resources and use structured command options instead of fragile text parsing when available. They distinguish standard output intended as data from diagnostic output, and prevent secrets from appearing in logs. The useful artifact is a script that can be rerun, inspected and scheduled with known side effects, including clear behavior when a command fails or an input file is absent.","example":"An engineer automates downloading approved dataset partitions, validating checksums and launching a training job. Files first enter a temporary directory and are moved into place only after verification. The script stops if any required download fails and records which partition list was used. A test run uses a path containing spaces and deliberately corrupts one archive to confirm that training cannot start on an incomplete dataset.","limits":"Unquoted expansions can split filenames or turn input into options; shell evaluation can also make unsafe string construction dangerous. Error settings have exceptions that need understanding rather than blind reliance. Interrupted jobs may leave partial outputs, and platform-specific utilities can break portability. Inspect exit codes and cleanup paths. When branching, parsing or state management becomes intricate, a small Python program may be easier to verify.","sources":[{"title":"Bash Reference Manual","url":"https://www.gnu.org/s/bash/manual/bash.html","note":"Documents expansion, quoting, command execution and scripting semantics."},{"title":"Bash pipelines","url":"https://www.gnu.org/software/bash/manual/html_node/Pipelines","note":"Explains pipeline exit status and the effect of pipefail."}],"updatedAt":"2026-10-10"}},{"id":"numpy","name":"NumPy","category":"Data Libraries & In-Process Analytics","subcategory":null,"section_id":"software-engineering-for-ai","section_name":"Software Engineering for AI","description":"NumPy provides multidimensional arrays and numerical operations that underpin much of Python's scientific stack. The competency is reasoning about shapes, data types, broadcasting and memory layout so numerical code computes the intended quantities efficiently and remains correct when dimensions or input values change.","type":"tool","aliases":["numpy (python library)","numpy library"],"editorial":{"definition":"A NumPy array stores elements with a specified data type and shape. Operations often execute in compiled code over whole arrays, avoiding a Python loop for each element. Broadcasting aligns compatible dimensions, while indexing, slicing and reshaping can produce either views of existing memory or new allocations. Reductions operate along selected axes, and linear algebra routines interpret dimensions according to mathematical conventions. NumPy supplies numerical containers and operations; it does not give columns the business meaning or label alignment found in a DataFrame library.","practice":"The practitioner writes down the meaning of each axis, chooses types with adequate precision and uses vectorized operations where they make the computation clearer. They check broadcasting explicitly, distinguish elementwise multiplication from matrix products and understand whether an operation changes shared memory. They profile allocation as well as arithmetic and handle missing or nonfinite values deliberately. A useful numerical component has documented shape contracts, predictable memory behavior and comparisons against a simple reference calculation for representative and boundary inputs.","example":"An engineer computes distances between a batch of query embeddings and a set of reference vectors. They verify which axis represents samples and which represents embedding coordinates, then choose a batched formula that avoids constructing an unnecessarily large intermediate tensor. A small hand-calculated example checks the distances. Tests with a single query, an empty batch and nearly identical vectors reveal shape and numerical edge cases.","limits":"Broadcasting can yield a valid array with the wrong meaning, while integer arithmetic can overflow and floating-point subtraction can lose precision. Mutating a view may affect another object unexpectedly. Vectorization is not automatically memory-efficient, especially when it creates large intermediates. Check shape assertions, tolerances, allocation and nonfinite results. NumPy array competence is distinct from statistical reasoning about whether the chosen calculation answers the underlying question.","sources":[{"title":"NumPy user guide","url":"https://numpy.org/doc/stable/user/","note":"Documents array creation, dtypes, broadcasting, indexing, copies and views."}],"updatedAt":"2026-10-10"}},{"id":"pandas","name":"Pandas","category":"Data Libraries & In-Process Analytics","subcategory":null,"section_id":"software-engineering-for-ai","section_name":"Software Engineering for AI","description":"Pandas is a Python library for labeled tabular and time-series data. Effective use requires controlling data types, index alignment, joins, missing values and memory, so transformations preserve the intended observation unit rather than merely producing a DataFrame that looks plausible.","type":"tool","aliases":["Python Pandas","pandas (data analysis)"],"editorial":{"definition":"Pandas represents one-dimensional labeled data as Series and two-dimensional tables as DataFrames. Labels participate in operations: assigning or combining Series can align by index instead of by row position. Columns can hold different types, including nullable and categorical types, with consequences for arithmetic, storage and missing values. Grouping, reshaping, window operations and joins support analytical transformations. Pandas differs from NumPy's primarily positional arrays and from SQL engines' relational execution. Its convenience depends on understanding the relationship between labels, values and the table's intended grain.","practice":"The practitioner establishes keys and expected row counts, chooses explicit dtypes during ingestion and checks timezone or categorical conventions. They validate merge cardinality, inspect unmatched records and use vectorized transformations where appropriate. They avoid assumptions about index order and inspect memory when loading, copying or expanding data. Reusable processing belongs in functions with checked schemas, not only a sequence of notebook cells. The result should be a table whose keys, values and missingness remain explainable after every major transformation.","example":"An analyst merges monthly customer usage with a subscription table. They read customer identifiers as strings to preserve leading zeros and validate that subscription keys are unique. After the merge, they inspect missing subscriptions and reconcile totals. A derived Series is explicitly aligned by customer key before assignment. Memory inspection reveals that repeated category labels can use a categorical representation without changing analytical meaning.","limits":"Index alignment can silently introduce missing values or rearrange results, and many-to-many joins can inflate totals. Inferred types may lose identifiers, dates or precision. Chained assignment and copy behavior depend on supported semantics and library versions. Large in-memory intermediates can exhaust available memory. Inspect schemas, duplicate labels, merge validation and totals; successful execution is weaker evidence than checked invariants about the resulting table.","sources":[{"title":"Pandas user guide","url":"https://pandas.pydata.org/docs/user_guide/","note":"Supports dtype handling, index alignment, merging, missing data, copy behavior and scaling limits."}],"updatedAt":"2026-10-10"}},{"id":"scikit-learn","name":"Scikit-learn","category":"Data Libraries & In-Process Analytics","subcategory":null,"section_id":"software-engineering-for-ai","section_name":"Software Engineering for AI","description":"Scikit-learn provides a consistent Python interface for classical machine learning, preprocessing and model evaluation. The skill is assembling estimators and transformations into leakage-resistant experiments, choosing validation that matches the task and producing a fitted pipeline that can process new data consistently.","type":"tool","aliases":["scikits-learn","sklearn"],"editorial":{"definition":"Scikit-learn estimators typically learn through fit and expose task-appropriate methods such as predict or transform. Pipelines combine preprocessing with an estimator, while column transformers apply different preparation to different variables. Model selection tools support parameter searches and cross-validation. The library includes many supervised and unsupervised methods but is not a general deep-learning training system. Its uniform API simplifies composition without making algorithms interchangeable: assumptions, data representation, missing-value support and prediction semantics still vary by estimator.","practice":"A practitioner constructs a baseline, selects transformations from the data and estimator requirements, and places learned preprocessing inside the fitted pipeline. They choose temporal, grouped or ordinary splits according to how future use relates to the training sample. They search parameters only within the training evaluation procedure and retain a separate final assessment. They inspect errors and save enough configuration to reproduce inference. Useful work produces a documented pipeline and defensible comparison, rather than a model selected from repeated peeking at test performance.","example":"A team predicts late deliveries using numerical shipment attributes and categorical routes. A column transformer imputes and scales numerical values while encoding categories, followed by logistic regression. Cross-validation groups shipments from the same customer to avoid overlap. The selected pipeline is tested on held-out customers, including an unseen route category, to check both predictive behavior and preprocessing compatibility.","limits":"Uniform method names can conceal different requirements, and fitted transformers can leak information if run before splitting data. Default cross-validation may be inappropriate for time or repeated subjects. Persistence depends on compatible software and trustworthy artifacts. Check data boundaries, target construction, estimator assumptions and inference schema. Scikit-learn can implement an experiment correctly while the experiment itself still answers the wrong operational question.","sources":[{"title":"Scikit-learn user guide","url":"https://scikit-learn.org/stable/user_guide.html","note":"Documents estimators, pipelines, model selection and transformations."},{"title":"Scikit-learn common pitfalls","url":"https://scikit-learn.org/stable/common_pitfalls.html","note":"Explains inconsistent preprocessing, leakage and appropriate fitting boundaries."}],"updatedAt":"2026-10-10"}},{"id":"software-testing","name":"Software Testing","category":"Testing, Quality & Version Control","subcategory":null,"section_id":"software-engineering-for-ai","section_name":"Software Engineering for AI","description":"Software testing establishes executable evidence about specified behavior, including failure handling and integration boundaries. In AI systems, it covers ordinary code, data transformations and service contracts while distinguishing these deterministic checks from evaluations of a model's probabilistic usefulness or factual quality.","type":"concept","editorial":{"definition":"Tests compare observed behavior with an oracle: an expected result, an invariant or a defined interaction. Unit tests isolate a small component; integration tests exercise collaboration between components; property-based tests explore classes of input through stated rules. Fixtures and controlled substitutes make scenarios repeatable, but they can also hide real integration problems. AI applications include deterministic infrastructure around nondeterministic model calls, so a test strategy needs separate treatment of parsing, permissions and state transitions versus task-level output quality. Coverage measures exercised code, not the adequacy of the oracle.","practice":"The practitioner derives tests from requirements and failure modes, chooses the smallest useful level and builds realistic fixtures. They verify edge cases, cleanup, authorization and error propagation rather than only the happy path. They keep external dependencies controlled for fast checks, then add integration evidence for important interfaces. Continuous integration runs an appropriate suite before changes advance. The deliverable is a maintainable set of checks that catches meaningful regressions and explains failures without simply reproducing the implementation's internal sequence.","example":"For a retrieval assistant, unit tests verify chunk offsets and citation formatting, integration tests check that unauthorized documents cannot enter results, and model evaluations assess whether answers use retrieved evidence. A fixture includes two documents with identical titles but different permissions. The team deliberately changes a filtering rule and confirms that the integration test fails even though the answer still reads fluently.","limits":"Mocks can validate an imagined dependency contract, and generated expected outputs can inherit the same error as the code. Flaky tests obscure real regressions; excessive implementation coupling makes harmless refactoring expensive. Passing deterministic checks does not establish model accuracy or security in every situation. Inspect oracle independence, representative boundary cases and integration realism. Use model evaluations alongside software tests where acceptance depends on generated behavior.","sources":[{"title":"Pytest good integration practices","url":"https://docs.pytest.org/en/stable/explanation/goodpractices.html","note":"Supports test organization, integration and reproducible test execution."},{"title":"Hypothesis documentation","url":"https://hypothesis.readthedocs.io/en/latest/","note":"Documents generated test inputs and property-based checking."}],"updatedAt":"2026-10-10"}},{"id":"git","name":"Git","category":"Testing, Quality & Version Control","subcategory":null,"section_id":"software-engineering-for-ai","section_name":"Software Engineering for AI","description":"Git is a distributed version-control system that records changes as commits and supports branching, merging and inspection. The competency is preserving an understandable development history, resolving concurrent changes correctly and using repository state deliberately so code, configuration and model-related artifacts can be traced to their revisions.","type":"tool","editorial":{"definition":"Git stores snapshots linked through a commit graph. A working tree contains editable files, the index selects changes for the next commit and references name positions in history. Branches are movable references rather than separate complete copies of a project. Merging combines histories; rebasing rewrites a sequence onto a different base. These operations differ in how they preserve identity and ancestry. Git itself is distinct from GitHub, which hosts repositories and adds review and automation. Version control records changes but does not judge whether a change is correct.","practice":"A practitioner inspects status and diffs before recording work, groups related changes into coherent commits and writes messages explaining their purpose. They compare branches, review conflicts semantically and use history to investigate regressions. They manage ignored files and avoid treating large datasets or secrets as ordinary source. When collaborating, they choose history operations that respect shared work. The useful result is a patch and history that reviewers can understand and maintainers can use to reproduce or reverse a particular change.","example":"Two engineers modify a model-serving configuration: one renames an endpoint and the other changes its timeout. Git reports a conflict on the same line. The resolver reads both changes and the caller's code, retains the new endpoint with the intended timeout and runs the service configuration check. A clean textual merge alone would not demonstrate that the combined settings still match the application.","limits":"A successful merge can contain semantic conflicts, while rewriting shared history can disrupt others' references. Committing a file does not preserve external data, environments or hosted model versions automatically. Reverting code may also require corresponding data or infrastructure changes. Inspect the final tree and operation scope before reset, rebase or cleanup. Git proficiency includes understanding what has been recorded and what remains outside the repository.","sources":[{"title":"Pro Git","url":"https://git-scm.com/book/en/v2","note":"Explains snapshots, staging, branches, remotes, merging and history manipulation."}],"updatedAt":"2026-10-10"}},{"id":"github","name":"GitHub","category":"Testing, Quality & Version Control","subcategory":null,"section_id":"software-engineering-for-ai","section_name":"Software Engineering for AI","description":"GitHub hosts Git repositories and adds collaborative review, issue tracking and workflow automation. For AI engineering, the skill is organizing changes and permissions so code, experiment infrastructure and deployment workflows are reviewable, reproducible and controlled beyond an individual's local development environment.","type":"tool","editorial":{"definition":"GitHub builds a collaboration layer around Git. Pull requests present proposed changes for discussion and checks; issues organize work; Actions execute configured workflows; repository settings govern access and integration rules. These services are distinct from Git's local history operations. A workflow can build a container, test an API or deploy an approved artifact, but its credentials and event triggers determine what it can actually do. Competence includes the relationship between repository code, review state, automated checks and permissions, especially when contributions or model-generated changes are untrusted.","practice":"The practitioner prepares focused pull requests with meaningful context, connects work to acceptance criteria and responds to review by updating the final change. They configure checks that protect important behavior and grant automation only the access it needs. They inspect workflow triggers, dependencies and handling of sensitive configuration. Releases should identify the code and artifact that were validated. The result is a collaboration process where another engineer can review a change and understand the evidence before it enters a maintained branch or deployment.","example":"A team maintains an inference container. A pull request changes preprocessing and runs unit tests plus an image build. A separate controlled workflow publishes the validated image after the required review. The engineer records the image digest with the release and checks that deployment uses that artifact. A contributor's pull request is tested without giving its code access to production credentials.","limits":"A green check only establishes what that workflow checked. Misconfigured permissions or triggers can expose secrets or allow changes to bypass intended review. Hosted repository state does not guarantee that a deployed artifact matches the reviewed commit. Inspect access rules, workflow scope and artifact identity. GitHub skill also requires clear review communication; adding more automated checks cannot compensate for an incomprehensible or unnecessarily broad change.","sources":[{"title":"GitHub documentation","url":"https://docs.github.com/en","note":"Documents repositories, pull requests, Actions, permissions and collaborative development."}],"updatedAt":"2026-10-10"}},{"id":"claude-code","name":"Claude Code","category":"AI-Assisted Development","subcategory":null,"section_id":"software-engineering-for-ai","section_name":"Software Engineering for AI","description":"Claude Code is Anthropic's coding assistant for repository work through conversational instructions and development tools. Effective use requires supplying task context, controlling permissions and checking edits and executed commands so a multi-step agent workflow produces a reviewable change with evidence for its behavior.","type":"tool","editorial":{"definition":"Claude Code can inspect source, modify files and use available development tools within configured execution and permission boundaries. Its documentation describes terminal and other development surfaces, repository instructions and extensible workflows. Unlike a passive completion, tool-using assistance can change project state over several steps and interpret command output to choose subsequent work. That autonomy does not establish that it has understood every dependency or instruction. The practical interface is a delegated development task, with context, access and completion conditions that the practitioner must make explicit.","practice":"The practitioner gives the assistant a bounded problem, identifies relevant architecture and defines useful verification. They inspect planned or completed operations according to their consequences, review the diff and ensure that claimed checks actually exercised the changed behavior. They keep sensitive resources and deployment actions within appropriate permissions and avoid expanding scope merely because the tool can do so. Useful execution yields an understandable patch, reproducible checks and a clear account of any unresolved issue, rather than a long successful-looking transcript.","example":"An engineer asks Claude Code to repair a broken data-loader test after a schema change. The assistant locates the loader, updates field validation and runs the affected suite. The engineer then reviews whether missing optional fields still behave correctly and checks a representative input file. If the assistant changed the expected test output without fixing the loader, the patch is revised to satisfy the original contract.","limits":"Tool results can be misinterpreted, repository context can be incomplete and permissions can enable unintended side effects. A task's apparent completion is not independent verification. Behavior also depends on product version, model and configuration, so avoid treating one workflow as universal capability. Inspect actual edits, command failures and acceptance evidence. Claude Code is a particular tool within AI-assisted development, not the definition of the broader practice.","sources":[{"title":"Claude Code overview","url":"https://code.claude.com/docs/en/overview","note":"Documents the product scope, repository operations and development integrations."}],"updatedAt":"2026-10-10"}},{"id":"github-copilot","name":"GitHub Copilot","category":"AI-Assisted Development","subcategory":null,"section_id":"software-engineering-for-ai","section_name":"Software Engineering for AI","description":"GitHub Copilot provides model-based coding assistance through suggestions, conversation and supported delegated workflows. The competency is using those modes with relevant project context while independently assessing generated code, proposed explanations and changes against the repository's conventions and the task's acceptance criteria.","type":"tool","editorial":{"definition":"Copilot integrates assistance with development and GitHub workflows. Completion suggests source while code is being written; conversation can help explain or modify code; agent-oriented workflows can undertake broader tasks within the supported environment. These are different interaction modes with different access and review requirements. The model's output is a candidate informed by available context rather than a guaranteed interpretation of the whole project. Copilot and GitHub are also different concepts: one is AI assistance, while the other hosts repositories, review and automation. Product capabilities vary by configuration and supported surface.","practice":"A practitioner selects the appropriate mode for the task, includes relevant files or requirements and evaluates whether suggestions fit existing abstractions. They check dependencies, edge cases and security-sensitive behavior before accepting changes. For delegated work, they review the resulting patch and run checks that would expose a misunderstanding of the requirement. The useful result is a smaller effort to produce understandable, correct software, with explicit verification; the amount of generated text or accepted suggestions is not itself a quality measure.","example":"A developer uses Copilot to extend a pagination function. They supply the existing cursor format and ask for handling of an expired cursor. The proposed code adds a generic exception that hides useful client errors. The developer instead preserves the API's defined error response, adds a boundary test for the final page and checks that ordinary pagination still yields each item once.","limits":"Suggestions can invent interfaces, duplicate existing functionality or omit failure handling. Conversational confidence is not evidence that an explanation matches runtime behavior. Features and permission boundaries can differ between editor assistance and delegated agents. Inspect context, diff and actual checks rather than transferring trust from the product name. Assistance should preserve maintainability and reviewability; accepting a convenient implementation can create long-term costs if its assumptions remain hidden.","sources":[{"title":"GitHub Copilot documentation","url":"https://docs.github.com/en/copilot","note":"Documents completion, conversation, agent features and responsible review of suggestions."}],"updatedAt":"2026-10-10"}},{"id":"flask","name":"Flask","category":"APIs & Services","subcategory":null,"section_id":"software-engineering-for-ai","section_name":"Software Engineering for AI","description":"Flask is a lightweight Python web framework for building HTTP applications and APIs. In AI projects, competence means constructing clear request handlers and application structure while supplying validation, authentication, deployment and resource management that a minimal framework deliberately leaves to the application.","type":"tool","editorial":{"definition":"Flask uses the WSGI web application interface and provides routing, request and response objects, configuration and template integration. Applications can organize related behavior into blueprints and create configured instances through an application factory. Its minimal core differs from FastAPI's type-driven validation and ASGI-centered design. A Flask route can invoke a model, but the framework does not determine model batching, inference capacity or background job execution. Application and request contexts govern access to relevant objects, so resource ownership and lifecycle must be understood when code runs outside a request.","practice":"The practitioner separates HTTP handling from model logic, validates external inputs explicitly and defines predictable errors. They organize configuration and dependencies for development and deployment, choose a production server and keep expensive model initialization out of per-request work. Authentication and request-size limits are integrated according to the application. Tests exercise handlers and the important service boundaries. Useful work delivers a small, maintainable web service with known behavior under invalid input and concurrent use, rather than a development route that only handles a demo.","example":"An engineer exposes a fraud-scoring model to an internal application. A Flask blueprint validates a shipment schema, calls a separately tested scoring function and returns a versioned response. The model loads during application setup. Tests check missing fields and model errors, while a deployment exercise verifies memory usage across server workers and ensures diagnostic responses do not reveal customer records.","limits":"The built-in development server is not deployment evidence, and adding async syntax does not remove WSGI execution constraints. Minimal validation can permit malformed data to reach the estimator; careless global state can mix request-specific information. Additional extensions have their own compatibility and security requirements. Check request context, worker configuration and failure responses. Flask's simplicity can help a small service, but required application responsibilities remain real work.","sources":[{"title":"Flask documentation","url":"https://flask.palletsprojects.com/en/stable/","note":"Supports WSGI architecture, routing, application factories, contexts, testing and production deployment."}],"updatedAt":"2026-10-10"}},{"id":"dash","name":"Dash","category":"Notebooks & Interactive App Prototyping","subcategory":null,"section_id":"software-engineering-for-ai","section_name":"Software Engineering for AI","description":"Dash is a Python framework for interactive analytical web applications built around components and callbacks. The skill is connecting controls, charts and data processing through an understandable callback graph, with deliberate state and computation management so a browser interaction produces the intended analytical result.","type":"tool","editorial":{"definition":"A Dash application declares a component layout and callback relationships between inputs, state and outputs. Changes to specified inputs trigger functions that return updated component properties, often including Plotly figures. This differs from Streamlit's script-rerun model and from writing a separate custom frontend for an API. Callback dependencies define application behavior and can become complex when outputs feed further inputs. Data, model resources and user selections need different scopes, particularly when server processes handle multiple users. The framework supplies interaction machinery; analytical validity and authorization remain application concerns.","practice":"A practitioner designs the user task before the layout, maps interactions to callbacks and separates reusable calculations from interface code. They decide when computation should run, what can be cached and which values should remain user-specific. They show loading, empty and failed states rather than leaving a stale chart in place. They check callback dependencies and consistency between filters, tables and plots. The deliverable is an app whose interactive transitions are understandable and whose displayed results correspond to the same selected analytical context.","example":"An analyst builds a demand-planning app with a region selector, forecast horizon and observed-versus-predicted chart. A callback retrieves the selected region's data; a separate function computes the forecast used by both the plot and download. The analyst checks that changing the horizon updates both outputs together and that an empty region selection clears the previous result instead of showing a misleading old forecast.","limits":"A tangled callback graph can cause unnecessary recomputation or inconsistent state. Shared mutable data can expose one user's selections to another, and expensive synchronous work can delay interaction. An interactive chart is not automatically accessible or statistically sound. Inspect state scope, callback triggers, computation cost and empty-result behavior. Dash competency includes choosing when a simpler static report or dashboard would serve the decision more clearly.","sources":[{"title":"Dash documentation","url":"https://dash.plotly.com/","note":"Documents component layouts, callbacks and analytical application construction."}],"updatedAt":"2026-10-10"}},{"id":"feast","name":"Feast","category":"Feature Engineering","subcategory":null,"section_id":"software-engineering-for-ai","section_name":"Software Engineering for AI","description":"Feast is an open-source feature store that organizes feature definitions and retrieves them for training and online prediction. The competency centers on entity keys, event time, historical joins and materialization so a model sees features with consistent meaning at the relevant decision point.","type":"tool","editorial":{"definition":"A Feast feature repository describes entities, data sources and feature views. Historical retrieval joins feature values to an entity dataset using time-aware semantics, while an online store supports low-latency retrieval of materialized values. Offline and online storage serve different access patterns. Feast does not by itself make raw data correct or invent useful features; it coordinates their definitions and retrieval. The difference between event time, ingestion time, freshness and time-to-live matters because a technically successful lookup may still return information unavailable during training or too old for the live decision.","practice":"A practitioner defines stable entity keys and feature schemas, selects compatible stores and checks source timestamps. They create historical training datasets with correct prediction cutoffs and arrange materialization for the online path. They monitor freshness and missing entities, version feature changes and test retrieval against known records. The result is a feature interface that training and serving can share, with explicit behavior for stale or absent values and evidence that offline examples represent what the online system could actually have known.","example":"A recommendation service uses recent purchase counts keyed by customer. The engineer defines a feature view over timestamped aggregates and builds a historical dataset anchored to recommendation times. They materialize values for online lookup and compare a set of known customers across both paths. A newly registered customer has no stored history, so the serving pipeline applies a documented fallback instead of treating the lookup failure as an arbitrary zero.","limits":"A feature store cannot repair leakage in a source query or guarantee identical upstream computation. Materialization schedules can leave features stale, and incorrect entity keys can return another subject's values. Offline and online transformations must be compared explicitly. Inspect event-time logic, schema changes, missing-value policy and freshness. Feast is a retrieval and organization system for features, distinct from the domain work of feature engineering.","sources":[{"title":"Feast documentation","url":"https://docs.feast.dev/","note":"Explains feature repositories, entities, feature views and offline versus online retrieval."}],"updatedAt":"2026-10-10"}},{"id":"computational-notebooks","name":"Computational Notebooks","category":"Notebooks & Interactive App Prototyping","subcategory":null,"section_id":"software-engineering-for-ai","section_name":"Software Engineering for AI","description":"Computational notebooks combine executable cells with narrative and outputs for exploratory work. The competency is using that interaction without losing reproducibility: making dependencies, execution order and data provenance explicit, then separating reusable logic from the notebook when an analysis becomes a maintained workflow.","type":"concept","editorial":{"definition":"A notebook is a document whose cells may contain code, explanation or rendered results. A live kernel holds computational state, so displayed outputs can reflect earlier executions that no longer match the visible source. This makes notebooks useful for iterative inspection but different from a script executed from beginning to end in a fresh process. The general practice spans tools such as Jupyter; it is not the same as proficiency with a particular interface. Notebook quality depends on the relationship between document order, hidden state, input data and environment.","practice":"The practitioner organizes cells around an analytical question, records input versions and explains important decisions near their results. They make parameters and dependencies explicit, keep sensitive information out of saved outputs and restart and execute the complete document before sharing it. As logic stabilizes, they move reusable transformations into tested modules and let the notebook call those interfaces. Useful work produces a readable, rerunnable analysis in which the narrative accurately reflects current computations and another person can reproduce the relevant figures or conclusions.","example":"A researcher compares two text classifiers in a notebook. During exploration, a preprocessing variable was overwritten in a later cell, leaving an earlier plot inconsistent with the reported configuration. Before sharing, the researcher restarts the kernel, runs all cells and discovers the discrepancy. They move preprocessing into a parameterized function and regenerate each comparison from a stored configuration and fixed evaluation dataset.","limits":"Running all cells once does not preserve an external API, a changed dataset or every dependency. Notebook outputs can contain credentials or personal data, and repeated cells can trigger costly or destructive operations. Interactive freedom can also hide data leakage or selective reporting. Check clean execution, input identity, narrative-output consistency and side effects. A notebook is an analytical interface, not an automatic substitute for testing or workflow orchestration.","sources":[{"title":"Project Jupyter documentation","url":"https://docs.jupyter.org/en/latest/","note":"Supports notebook documents, kernels, interactive execution and conversion workflows."},{"title":"Scikit-learn common pitfalls","url":"https://scikit-learn.org/stable/common_pitfalls.html","note":"Supports leakage and preprocessing checks needed in notebook-based model experiments."}],"updatedAt":"2026-10-10"}},{"id":"jupyter","name":"Jupyter","category":"Notebooks & Interactive App Prototyping","subcategory":null,"section_id":"software-engineering-for-ai","section_name":"Software Engineering for AI","description":"Jupyter provides notebook and interactive computing interfaces linked to language kernels. Competence means configuring the kernel and environment, using rich output and debugging effectively, and producing notebooks whose visible results can be reproduced through a clean execution rather than dependent on hidden interactive state.","type":"tool","editorial":{"definition":"Jupyter separates the interface from a kernel that executes code and retains state. Notebook documents store cells, metadata and outputs; JupyterLab adds a workspace for notebooks, files and other development surfaces. Different kernels support different languages and environments, so an installed package in one interpreter may be unavailable in the selected kernel. Interrupting and restarting also have different effects on ongoing work and state. Jupyter is a concrete tool ecosystem, whereas computational notebook discipline concerns the reproducibility and communication practices that apply across such tools.","practice":"The practitioner selects the intended kernel, verifies its environment and organizes code and narrative into a clear sequence. They use inspection and visualization to investigate data, then restart and run the document to detect missing dependencies or stale outputs. They manage large outputs, file references and saved metadata deliberately. For shared work, they document setup and remove sensitive content. The result is an interactive document that can be opened and executed by another person with the specified inputs, including a clear path from raw observations to reported results.","example":"An engineer receives a notebook that fails to import the project's feature module. They inspect the selected kernel and discover it belongs to a different environment from the terminal. After selecting the project environment, they restart the kernel and execute all cells. The resulting figure differs from the saved image, prompting a review of the notebook's data path and the regeneration of its conclusions.","limits":"A responsive interface can conceal a disconnected kernel, mismatched environment or stale result. Notebook trust and rendering do not establish that code is safe to execute. Large outputs can make documents difficult to review, while relative paths can break when the working directory changes. Check kernel identity, fresh execution and output content. Learning Jupyter controls is useful, but it does not independently establish sound analysis or reliable model evaluation.","sources":[{"title":"Project Jupyter documentation","url":"https://docs.jupyter.org/en/latest/","note":"Documents kernels, Notebook, JupyterLab and interactive computing architecture."}],"updatedAt":"2026-10-10"}},{"id":"geopandas","name":"GeoPandas","category":"Data Libraries & In-Process Analytics","subcategory":null,"section_id":"software-engineering-for-ai","section_name":"Software Engineering for AI","description":"GeoPandas extends Pandas with geometry-aware tabular operations. The competency is combining attributes and locations through explicit coordinate systems, valid geometries and appropriate spatial predicates, so a spatial join or distance calculation answers the intended geographic question rather than an accidental coordinate calculation.","type":"tool","editorial":{"definition":"A GeoDataFrame contains a geometry column alongside ordinary attributes and records a coordinate reference system. Points, lines and polygons support geometric operations through the underlying geometry libraries. Spatial joins relate rows by predicates such as intersection or containment, while coordinate transformations change how locations are represented. Assigning a coordinate system describes existing numbers; transforming coordinates calculates new numbers, so these operations are not equivalent. GeoPandas mainly supports vector data and tabular workflows, distinct from raster processing and from a general geospatial competency spanning many tools.","practice":"The practitioner inspects source coordinate systems, geometry validity and observation keys before joining layers. They choose predicates based on boundary meaning, transform to a suitable projected system for planar measurement and inspect unmatched or multiply matched features. They manage spatial indexing and output schemas for reproducible processing. A useful result is a spatially enriched table with documented coordinate assumptions, boundary treatment and checked counts, accompanied by visual inspection where it can expose misplaced coordinates or unexpected geometry relationships.","example":"An analyst assigns delivery locations to service zones. They verify that location coordinates are longitude and latitude, transform both layers into compatible systems and use a containment predicate. Points exactly on zone borders are handled through a defined business rule rather than discarded silently. The analyst maps unmatched points and inspects several known addresses before aggregating delivery demand by zone.","limits":"Degrees are not ordinary distance units, and a wrong coordinate system can produce plausible but geographically incorrect output. Invalid polygons, overlapping zones and boundary predicates can change matches. A map that looks reasonable at one zoom level is insufficient validation. Check coordinate ranges, geometry validity, join cardinality and measurement units. GeoPandas provides operations, but the analyst must decide whether proximity or containment has the required real-world meaning.","sources":[{"title":"GeoPandas user guide","url":"https://geopandas.org/en/stable/docs/user_guide.html","note":"Supports geometry data structures, projections, spatial joins and indexing."}],"updatedAt":"2026-10-10"}},{"id":"matplotlib","name":"Matplotlib","category":"Data Libraries & In-Process Analytics","subcategory":null,"section_id":"software-engineering-for-ai","section_name":"Software Engineering for AI","description":"Matplotlib is a Python plotting library for constructing and exporting figures through explicit control of axes, marks and layout. Competence means translating data into accurate visual encodings and managing scales, annotations and output formats so a figure remains interpretable both onscreen and in a report.","type":"tool","editorial":{"definition":"Matplotlib organizes a figure into axes containing artists such as lines, bars, images and text. Its object-oriented interface gives direct control over individual axes, while the pyplot interface provides convenient stateful commands. Axis limits, transforms, normalization and aspect ratio determine how values become positions and colors. These choices are part of the analytical meaning, not only styling. The library supports many plotting primitives and is used beneath higher-level tools such as Seaborn; it supplies rendering control rather than choosing a statistically appropriate display automatically.","practice":"The practitioner identifies the comparison a figure should support, chooses a suitable mark and sets labels, units and scales explicitly. They represent uncertainty when relevant, keep legends and color mappings consistent and make multiple panels comparable. They inspect clipping, text size and layout in the actual export format. The deliverable is a readable figure and reproducible plotting code, with visual choices tied to the data and decision rather than default settings that happen to fit in a notebook output.","example":"A researcher compares model residuals across three operating regimes. They create axes with shared ranges, plot residuals against observed values and add a clearly labeled zero line. The same color identifies each regime in the scatterplots and distribution panel. After exporting to PDF and PNG, they inspect the figure at report size to ensure that labels remain legible and extreme residuals have not been clipped.","limits":"Stateful plotting can accidentally reuse axes or settings, and autoscaling can make separate panels appear comparable when they are not. Dense scatterplots can hide concentrations; misleading normalization can exaggerate differences. Exported text and colors may behave differently from the notebook preview. Check plotted data, scale choices, accessible contrast and final layout. Matplotlib skill concerns constructing faithful figures, while statistical interpretation and narrative require additional judgment.","sources":[{"title":"Using Matplotlib","url":"https://matplotlib.org/stable/users/index.html","note":"Documents figure and axes architecture, plotting interfaces, transformations and export."}],"updatedAt":"2026-10-10"}},{"id":"plotly","name":"Plotly","category":"Data Libraries & In-Process Analytics","subcategory":null,"section_id":"software-engineering-for-ai","section_name":"Software Engineering for AI","description":"Plotly is a visualization library for interactive charts with hover, selection and other browser-based exploration. The competency is designing figures whose interaction reveals useful detail while preserving correct scales, data meaning and performance, including the ability to communicate the essential conclusion when interaction is unavailable.","type":"tool","editorial":{"definition":"Plotly figures describe data traces and layout that are rendered in a browser. Plotly Express provides concise interfaces for common chart forms; graph objects allow more explicit construction and customization. Hover data, legends and selection expose details beyond the initial view, and figures can be used in notebooks or application frameworks such as Dash. Plotly supplies charts, while Dash coordinates application behavior through callbacks. Interactivity changes how readers inspect data but does not resolve sampling, aggregation or statistical uncertainty on its own.","practice":"A practitioner chooses the initial visual comparison, defines hover fields and formats units so detailed inspection remains understandable. They keep sensitive identifiers out of browser payloads, use consistent color and axis mappings and control the number of rendered points. They test zoom, filtering and selection behavior alongside the initial display. Where a chart will enter a document, they prepare a static view that carries the main finding. The useful result is an inspectable figure whose interactions support the analytical task without hiding essential context.","example":"An analyst plots latency against request size for an AI endpoint. Each point's hover shows the model version and response status, while color indicates the deployment region. They aggregate dense observations for the overview and offer a controlled drill-down for individual requests. They verify that zooming does not change the underlying filter and that the static exported view still reveals the long-latency region.","limits":"Large browser payloads can make an interactive chart slow and may expose every embedded field, even if it is hidden from hover. Hover-only information is difficult to access in static exports or some assistive contexts. User filtering can make denominators unclear. Check payload size, accessibility, units and the interpretation of selected subsets. An interactive display should support a decision; additional controls can also make a simple comparison harder to understand.","sources":[{"title":"Plotly Python documentation","url":"https://plotly.com/python/","note":"Supports traces, figure layout, Plotly Express, graph objects and interactive visualization."}],"updatedAt":"2026-10-10"}},{"id":"scipy","name":"SciPy","category":"Data Libraries & In-Process Analytics","subcategory":null,"section_id":"software-engineering-for-ai","section_name":"Software Engineering for AI","description":"SciPy provides scientific algorithms built on NumPy, including optimization, integration, signal processing and sparse computation. The competency is choosing a numerical method from the mathematical problem and its assumptions, configuring it appropriately and checking convergence or numerical error rather than accepting a returned number uncritically.","type":"tool","editorial":{"definition":"SciPy groups algorithms into specialized modules with different problem definitions and controls. An optimization routine searches an objective subject to specified constraints; an integrator approximates an integral; sparse routines exploit a matrix's nonzero structure. These are numerical procedures with tolerances, initialization and conditioning requirements. NumPy supplies core array operations, while SciPy provides many higher-level numerical algorithms. Similar function signatures do not imply identical guarantees: a local optimizer, for example, addresses a different problem from exhaustive global search, and a success flag must be interpreted in the method's context.","practice":"The practitioner writes the mathematical objective and constraints, selects a method compatible with smoothness or structure and prepares correctly shaped inputs. They choose tolerances and initial values based on required accuracy, inspect diagnostics and compare against known cases. They assess scaling and conditioning before blaming the solver. The result is a reproducible calculation with reported method, configuration and checks, including a reason to believe that the numerical answer is adequate for the subsequent modeling or engineering decision.","example":"An engineer estimates parameters of a sensor calibration curve through nonlinear least squares. They inspect residuals, provide plausible starting values and scale parameters whose magnitudes differ substantially. Several starts test whether the solution depends on initialization. A synthetic dataset with known parameters checks recovery, while diagnostics reveal that two parameters are poorly identified and should not be reported as precise estimates.","limits":"A converged routine can solve the wrong objective or reach an unsuitable local solution. Poor conditioning, numerical precision and invalid assumptions can dominate the result. Sparse matrices may become dense through an unfortunate operation, increasing memory sharply. Check residuals, tolerances, stability and mathematical validity. Numerical optimization or a statistical test does not by itself establish that the model describes the real process or that an effect is causal.","sources":[{"title":"SciPy user guide","url":"https://docs.scipy.org/doc/scipy/tutorial/","note":"Documents scientific modules, numerical algorithms and method-specific usage."}],"updatedAt":"2026-10-10"}},{"id":"seaborn","name":"Seaborn","category":"Data Libraries & In-Process Analytics","subcategory":null,"section_id":"software-engineering-for-ai","section_name":"Software Engineering for AI","description":"Seaborn is a statistical visualization library built on Matplotlib. It maps variables to visual roles and provides concise displays of distributions and relationships. Competence means understanding aggregation, uncertainty and data grouping behind a chart so its convenient defaults do not imply a comparison the data cannot support.","type":"tool","editorial":{"definition":"Seaborn accepts structured datasets and relates named variables to positions, color, size or facets. Its plotting functions cover distributions, categorical comparisons and relationships, often managing repeated groups and statistical summaries. Figure-level functions organize multiple axes, while axes-level functions work with a supplied Matplotlib axis. A plot may summarize observations rather than show them individually, so estimation and uncertainty settings matter. Seaborn's semantic interface differs from constructing every Matplotlib artist manually, but both require the analyst to choose the meaning of the display.","practice":"The practitioner inspects the data's observation unit, chooses plots that expose the relevant distribution and makes grouping explicit. They determine whether a summary should use a mean, another estimator or the underlying observations, and whether uncertainty estimates match the sampling structure. They keep facet ranges and category order intentional, then customize labels and exports through Matplotlib where needed. Useful work produces a statistical display whose transformations and summaries are documented sufficiently for the reader to interpret the visible pattern.","example":"An analyst compares model errors across device types. A boxplot shows spread and outliers, while a sampled strip layer makes the underlying observations visible. The analyst orders categories by a defined operational sequence and reports the unequal group sizes. When considering a mean-and-interval plot, they account for repeated measurements from each device rather than treating every reading as an independent sample.","limits":"A summary plot can hide multimodal distributions, unequal sample sizes or dependence between observations. Automatic confidence intervals need not represent the uncertainty relevant to the study. Facet scaling and color order can also distort comparison. Check the plotted estimator, uncertainty method and underlying data. Seaborn makes statistical graphics convenient, but it does not select the appropriate study design, sampling unit or interpretation for the analyst.","sources":[{"title":"Seaborn user guide","url":"https://seaborn.pydata.org/tutorial.html","note":"Explains semantic mappings, distributions, categorical plots, estimation and plotting interfaces."}],"updatedAt":"2026-10-10"}},{"id":"statsmodels","name":"Statsmodels","category":"Data Libraries & In-Process Analytics","subcategory":null,"section_id":"software-engineering-for-ai","section_name":"Software Engineering for AI","description":"Statsmodels provides statistical models, estimators and diagnostics in Python with an emphasis on inferential results. The competency is specifying an appropriate model, checking assumptions and interpreting coefficients, uncertainty and residuals in relation to the data-generating process rather than treating a summary table as a complete conclusion.","type":"tool","editorial":{"definition":"Statsmodels includes regression, generalized linear models, time-series methods and statistical tests. Model specifications can use arrays or formulas, with formula conventions affecting intercepts, categorical contrasts and interactions. Fitted objects expose parameters, uncertainty estimates and diagnostics. This emphasis differs from scikit-learn's primarily prediction-oriented estimator composition, although their applications overlap. Inference depends on assumptions about errors, dependence, sampling and specification. A coefficient measures a modeled relationship under those assumptions; it is not automatically a causal effect or a stable forecast under a changed process.","practice":"The practitioner defines the response and observation structure, chooses a model family and documents the specification. They inspect residual patterns, influential observations and dependence, then select uncertainty calculations consistent with the design. They compare plausible alternatives and explain the meaning of units, contrasts and interactions. A useful result is an analytical report with the fitted specification, diagnostics and bounded interpretation, making clear which conclusions are supported and which require additional design or evidence.","example":"An analyst models energy use from outdoor temperature and operating hours. They fit a regression with a justified interaction and inspect residuals over time. Serial correlation prompts reconsideration of the uncertainty estimate and model structure. They report the temperature association conditional on operating hours, checking predicted values across realistic combinations instead of interpreting one coefficient independently of the interaction term.","limits":"Statistical significance can coexist with misspecification, selection bias or a practically negligible effect. Incorrect treatment of repeated observations can understate uncertainty. Formula defaults and missing-value handling may change the analyzed population. Inspect design matrices, diagnostics and identification assumptions. Statsmodels is not a shortcut from observational data to causation; a sophisticated estimator cannot recover information absent from the study design.","sources":[{"title":"Statsmodels user guide","url":"https://www.statsmodels.org/stable/user-guide.html","note":"Documents statistical model families, formulas, estimation and diagnostic tools."}],"updatedAt":"2026-10-10"}},{"id":"hypothesis","name":"Hypothesis","category":"Testing, Quality & Version Control","subcategory":null,"section_id":"software-engineering-for-ai","section_name":"Software Engineering for AI","description":"Hypothesis is a Python library for property-based testing that generates examples from specified input strategies and searches for failures of stated properties. The competency is defining useful invariants and realistic input spaces, then interpreting a minimized counterexample as evidence of a faulty assumption or implementation.","type":"tool","editorial":{"definition":"A property-based test describes behavior that should hold for a class of inputs rather than listing only individual examples. Hypothesis draws inputs from composable strategies, runs the test and attempts to simplify a failing example. Shrinking makes a counterexample easier to investigate, while retained examples can help reproduce regressions. The framework does not invent the oracle: the author decides what property should hold. It complements example-based tests and differs from formal proof, because generated exploration is finite and bounded by the supplied strategies and execution settings.","practice":"The practitioner selects invariants meaningful to the component, such as round-trip equivalence, conservation of totals or agreement with a simpler implementation. They construct strategies that represent valid structures and deliberately include edge conditions. They avoid filtering away difficult inputs and distinguish unsupported values from implementation defects. On failure, they inspect the reduced example, fix the root cause and retain a focused regression test where helpful. Useful work expands coverage of assumptions while keeping failures understandable and test execution practical.","example":"An engineer tests a serializer for nested feature records. A strategy generates nullable values, Unicode keys and lists of varying length. The property requires decoding an encoded valid record to preserve its contents. Hypothesis finds a small record where an empty list becomes null. The engineer repairs the encoding rule and adds a specific example documenting why the two values must remain distinct.","limits":"Weak properties can pass broken code, and unrealistic strategies can spend effort on irrelevant inputs. A round-trip test can miss paired errors when both encoder and decoder make the same mistake. External services or uncontrolled randomness can make results unstable. Check oracle independence, input validity and shrinking behavior. Hypothesis explores the behavior expressed by a test; it cannot establish an unspecified requirement or prove correctness for all possible execution environments.","sources":[{"title":"Hypothesis documentation","url":"https://hypothesis.readthedocs.io/en/latest/","note":"Documents strategies, generated tests, shrinking and regression example behavior."}],"updatedAt":"2026-10-10"}},{"id":"data-preprocessing-for-ml","name":"Data Preprocessing for ML","category":"Feature Engineering","subcategory":null,"section_id":"software-engineering-for-ai","section_name":"Software Engineering for AI","description":"Data preprocessing prepares raw observations for a machine-learning estimator through repeatable transformations such as imputation, encoding and format conversion. The competency is fitting learned transformations within training boundaries and preserving the same input meaning during evaluation and inference, including missing values and previously unseen categories.","type":"concept","aliases":["ML Data Preprocessing","Machine Learning Data Preprocessing"],"editorial":{"definition":"Preprocessing sits between source data and estimator input. Some operations are fixed rules, such as parsing a documented date format; others learn parameters, such as imputation statistics or categorical vocabularies. Learned operations therefore belong to the training procedure, not to a global cleanup of the full dataset before splitting. Preprocessing differs from feature engineering's broader choice of useful signals and from feature scaling's narrower numerical rescaling. The complete pipeline must preserve column identity, observation order and the relationship between transformed values and their source variables.","practice":"A practitioner establishes the expected schema, identifies invalid versus genuinely missing values and chooses treatments appropriate to each variable and estimator. They place fitted transformations inside the model pipeline and validation folds, define unseen-category behavior and check sparse or dense output requirements. They test the pipeline on representative raw inputs rather than only prepared arrays. Useful work yields one executable preparation path for training and serving, with traceable decisions and explicit errors for inputs that cannot be interpreted safely.","example":"A delivery model receives numerical measurements, route categories and optional timestamps. The engineer imputes numeric gaps from training statistics, encodes routes with a defined unknown-category policy and derives allowed date attributes. Validation fits these steps independently in each training fold. A serving fixture includes an unfamiliar route and a missing timestamp, checking that transformation output has the same column meanings as the training representation.","limits":"Cleaning can erase informative missingness or silently change the population. Fitting on evaluation data leaks information even if labels are unused. Categorical schemas and column order can drift between training and serving, while dense conversion can exhaust memory. Inspect fit boundaries, invalid-value policy and transformation output contracts. Preprocessing should make data usable without concealing uncertainty about what an absent or malformed observation means.","sources":[{"title":"Scikit-learn preprocessing","url":"https://scikit-learn.org/stable/modules/preprocessing.html","note":"Documents encoding and numerical transformation choices."},{"title":"Scikit-learn common pitfalls","url":"https://scikit-learn.org/stable/common_pitfalls.html","note":"Supports train-test separation and consistent pipeline-based transformations."}],"updatedAt":"2026-10-10"}},{"id":"feature-scaling","name":"Feature Scaling","category":"Feature Engineering","subcategory":null,"section_id":"software-engineering-for-ai","section_name":"Software Engineering for AI","description":"Feature scaling changes the numerical scale of model inputs without redefining the prediction target. The competency is choosing and fitting a transformation appropriate to the estimator, outliers and sparsity, then applying the same learned parameters to new data while understanding what scaling does and does not change.","type":"concept","editorial":{"definition":"Standardization typically subtracts a training mean and divides by a training standard deviation. Min-max scaling maps training extrema to a chosen range, while robust methods use quantities less sensitive to extreme observations. Sample normalization is a different operation: it rescales a whole observation vector, often to unit norm. Scaling can affect distance-based models, optimization and regularization because those depend on numerical magnitudes. It does not make a distribution Gaussian, repair a biased feature or universally improve models such as trees whose splits are largely insensitive to monotonic rescaling.","practice":"The practitioner examines feature units and distributions, checks estimator requirements and chooses whether centering is compatible with sparse data. They fit scaling only on training partitions and store the fitted parameters with the inference pipeline. They inspect constant features, outliers and values outside the training range, then compare performance and stability using appropriate validation. The useful result is a justified, repeatable transformation with clear handling of new values, rather than a blanket scaling step applied because variables have different units.","example":"A team trains a distance-based classifier on sensor voltage and elapsed time. Without scaling, elapsed time dominates distances because its numerical range is much larger. The engineer compares standard and robust scaling within the training folds and inspects an extreme faulty voltage reading. Held-out data uses the stored scaler; new elapsed times may exceed the training min-max range, which is treated as expected behavior rather than silently refitting the scaler.","limits":"Outliers can strongly affect standard and min-max parameters. Centering a sparse matrix can destroy sparsity, and refitting at inference changes the model's coordinate system. Scaling target and inputs are separate decisions. Inspect training boundaries, constant columns, numerical stability and the transformed distribution. A better-scaled optimization problem does not establish improved generalization, so validate the full estimator rather than judging only the appearance of transformed values.","sources":[{"title":"Scikit-learn preprocessing","url":"https://scikit-learn.org/stable/modules/preprocessing.html","note":"Explains standard, min-max, robust and sparse-compatible scaling and normalization."},{"title":"Scikit-learn common pitfalls","url":"https://scikit-learn.org/stable/common_pitfalls.html","note":"Supports fitting scalers within training data and preserving inference consistency."}],"updatedAt":"2026-10-10"}},{"id":"feature-extraction","name":"Feature Extraction","category":"Feature Engineering","subcategory":null,"section_id":"software-engineering-for-ai","section_name":"Software Engineering for AI","description":"Feature extraction transforms raw inputs into representations a model can use, such as text counts, image descriptors, signal summaries or learned embeddings. The competency is selecting a representation that preserves task-relevant information while controlling dimensionality, invariances and the consistency of the extraction procedure.","type":"concept","aliases":["feature-extraction"],"editorial":{"definition":"Raw text, images and time-series signals often cannot enter an estimator in their original form. Extraction maps them to variables or vectors with defined semantics. A text vectorizer may learn a vocabulary and weights; a signal transformation may produce frequency components; an encoder may produce a learned embedding. Extraction differs from selecting existing columns and from rescaling their numerical values. A representation imposes choices about what to retain, discard or treat as equivalent. Its learned parameters and model versions are therefore part of the fitted system, not incidental preprocessing details.","practice":"A practitioner starts from the task and source modality, chooses candidate representations and specifies tokenization, windows or encoder configuration. They fit any learned extractor within training boundaries and check shape, sparsity and handling of unfamiliar input. They compare downstream results against a simpler representation and inspect errors for information lost by the mapping. Useful work produces a versioned extraction component and documented vector meaning, with validation that the representation supports the intended prediction or retrieval task.","example":"An engineer classifies maintenance notes. They compare a sparse word-based representation with a sentence encoder, retaining a fixed evaluation set. The word extractor learns its vocabulary from training notes only; the encoder's version and text preparation are recorded. Error inspection shows that product identifiers matter, so the team checks whether either extractor merges or loses those identifiers before choosing the final representation.","limits":"A compact representation can discard rare details essential to the task. Learned embeddings may transfer poorly to a specialized domain, while a vocabulary fitted on the full dataset leaks evaluation information. Hashing trades stable dimensionality for possible collisions. Check extraction boundaries, versioning, out-of-vocabulary behavior and downstream errors. Features that make examples visually cluster are not automatically useful for the operational target or safe for sensitive attributes.","sources":[{"title":"Scikit-learn feature extraction","url":"https://scikit-learn.org/stable/modules/feature_extraction.html","note":"Documents mapping raw text and other inputs to vector representations."},{"title":"Rules of Machine Learning","url":"https://developers.google.com/machine-learning/guides/rules-of-ml","note":"Supports task-driven features and consistent production representations."}],"updatedAt":"2026-10-10"}},{"id":"feature-selection","name":"Feature Selection","category":"Feature Engineering","subcategory":null,"section_id":"software-engineering-for-ai","section_name":"Software Engineering for AI","description":"Feature selection chooses a subset of available variables for a model, balancing predictive value, redundancy, acquisition cost and interpretability. The competency is evaluating that choice inside a valid training procedure so a smaller feature set reflects generalizable evidence rather than accidental relationships in the evaluation sample.","type":"concept","aliases":["feature-selection","Variable Selection"],"editorial":{"definition":"Selection retains original variables, unlike feature extraction methods that construct a new representation. Filter methods score variables using predefined statistics; wrapper methods compare subsets through model performance; embedded methods select through the estimator's fitting behavior, such as sparsity-inducing penalties. These approaches answer different questions and can disagree when predictors are correlated or interact. Selection is part of model development, so using the eventual test set to choose variables contaminates its assessment. A feature's individual association also does not reveal its value conditional on other inputs or its causal role.","practice":"The practitioner identifies the objective for reducing features, removes impossible or unavailable inputs first and chooses a selection method compatible with the estimator. They place selection within cross-validation, inspect stability across splits and compare with a sensible full-feature baseline. They consider collection cost and operational availability alongside predictive behavior. The deliverable is a documented subset and selection procedure that can be repeated, with reasons for important exclusions and evidence that reduced complexity does not hide a material failure on relevant cases.","example":"A team builds a maintenance classifier from many correlated sensor summaries. The engineer evaluates a regularized selector inside grouped cross-validation, then examines whether selected variables vary substantially across folds. Two sensors provide nearly interchangeable signals, but one is missing on an entire device family. The final subset is tested on that family and chosen with the device-coverage constraint explicitly recorded.","limits":"Repeated selection against the same evaluation set can overfit even when the final model is simple. Correlated variables make importance unstable, and univariate filters can miss interactions. Removing a costly feature may alter subgroup behavior or eliminate an early warning signal. Inspect validation nesting, stability and deployment availability. Feature selection is not an explanation of causality, and a sparse model is not automatically interpretable without understanding what its retained variables represent.","sources":[{"title":"Scikit-learn feature selection","url":"https://scikit-learn.org/stable/modules/feature_selection.html","note":"Documents filter, recursive, sequential and model-based selection methods."},{"title":"Scikit-learn common pitfalls","url":"https://scikit-learn.org/stable/common_pitfalls.html","note":"Explains feature-selection leakage and pipeline-based prevention."}],"updatedAt":"2026-10-10"}},{"id":"amazon-bedrock","name":"Amazon Bedrock","category":"AWS","subcategory":null,"section_id":"cloud-ai-platform-infrastructure","section_name":"Cloud & AI Platform Infrastructure","description":"Amazon Bedrock provides managed access to foundation models and supporting generative-AI services through AWS interfaces. Competence means choosing an appropriate model and invocation path, configuring access and data controls, and operating an application with measured quality, latency and cost rather than relying on the platform's managed-service label.","type":"tool","editorial":{"definition":"Bedrock separates application development from managing the infrastructure that hosts supported foundation models. Its model APIs and supporting capabilities can be combined with application retrieval, tools and evaluation, subject to model, region and feature availability. It differs from SageMaker AI's broader custom training and model deployment workflows. A shared service interface does not make different models behaviorally equivalent: input formats, context limits, supported operations and charging dimensions can differ. IAM permissions and configured service controls govern access, while the application still determines what data is sent and how responses are used.","practice":"The practitioner selects candidate models against representative tasks, checks current regional availability and quotas, and chooses the required request and response semantics. They configure caller permissions, logging and data flow, including any connected retrieval or tool resources. They handle throttling and model failures, measure usage and set application limits for costly operations. Useful work yields an integrated inference path with a documented model choice, operational evidence and an evaluation procedure that can detect changes when model versions or application prompts evolve.","example":"A team builds an internal document summarizer using Bedrock. The engineer compares supported models on approved sample documents, chooses one deployment path and limits input length before submission. Application roles can invoke the selected model but cannot read unrelated storage. A load exercise checks throttling and retries, while usage records distinguish document retrieval cost from generation cost and reveal whether repeated submissions duplicate work.","limits":"Managed hosting does not establish factual accuracy, permission-safe retrieval or acceptable privacy handling. Availability and features vary across models and regions, so configuration must be checked against current documentation. Guardrails and content controls address specific risks and do not prove a response is suitable. Inspect output quality, logging content, retry behavior and usage boundaries. Bedrock is a service component; responsibility for the complete application remains with its operator.","sources":[{"title":"Amazon Bedrock overview","url":"https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-bedrock.html","note":"Documents managed model access and supported invocation interfaces."},{"title":"Security in Amazon Bedrock","url":"https://docs.aws.amazon.com/bedrock/latest/userguide/security.html","note":"Supports service security, access controls and operational observability responsibilities."}],"updatedAt":"2026-10-10"}},{"id":"amazon-sagemaker","name":"Amazon SageMaker","category":"AWS","subcategory":null,"section_id":"cloud-ai-platform-infrastructure","section_name":"Cloud & AI Platform Infrastructure","description":"Amazon SageMaker supports AWS data and AI workflows; SageMaker AI is its service for building, training and deploying machine-learning models. The competency is selecting and connecting the appropriate workflow components, controlling their identities and artifacts, and validating the behavior and cost of the resulting training or inference system.","type":"tool","editorial":{"definition":"The canonical Atlas label covers a name with more than one current scope. AWS documentation distinguishes the broader SageMaker data, analytics and AI platform from SageMaker AI, the managed machine-learning service historically called SageMaker. Training jobs, model artifacts and hosted inference are central to the latter's role. Unlike Bedrock's access to supported hosted foundation models, these workflows support substantial control over training code, frameworks and model deployment. Managed resources reduce server administration but do not choose a valid dataset, estimator, evaluation design or resource configuration for the team.","practice":"A practitioner defines the data and container inputs for a job, chooses compute suited to the model and sets execution roles with appropriate resource access. They preserve the relationship between training configuration, resulting artifact and evaluation evidence. Before deployment, they choose an inference mode matching traffic and latency requirements and test serialization, preprocessing and capacity. They monitor failures and spending, retiring unused resources. Useful work produces a repeatable path from approved training inputs to a validated serving artifact with clear operational ownership.","example":"An engineer trains a shipment-delay classifier using a custom container and a versioned dataset. The job writes a model artifact and evaluation report to designated storage. The engineer deploys the approved artifact to an inference endpoint, tests raw request preprocessing and checks that the endpoint's role cannot access the training team's unrelated datasets. A staging traffic exercise informs instance sizing and the release plan.","limits":"The broader SageMaker name should not imply that every component is part of one identical ML service. A successful training job does not establish valid predictions, and endpoint capacity or idle notebooks can continue to generate cost. Permission, network and artifact configuration remain operator decisions. Check train-serving consistency, dependency versions and resource teardown. Platform metadata helps trace work but cannot repair leakage or an inappropriate evaluation design.","sources":[{"title":"What is Amazon SageMaker AI?","url":"https://docs.aws.amazon.com/sagemaker/latest/dg/whatis.html","note":"Explicitly distinguishes SageMaker AI from the broader SageMaker platform and documents training and deployment scope."}],"updatedAt":"2026-10-10"}},{"id":"azure-openai-service","name":"Azure OpenAI Service","category":"Azure","subcategory":null,"section_id":"cloud-ai-platform-infrastructure","section_name":"Cloud & AI Platform Infrastructure","description":"Azure OpenAI provides access to supported OpenAI models through Azure-managed resources and deployment interfaces. Competence involves selecting the model and deployment configuration, applying Azure identity and network controls, and validating application quality and usage while distinguishing this service from the broader Microsoft Foundry platform.","type":"tool","editorial":{"definition":"Azure OpenAI is documented within Microsoft Foundry's model offerings, but model access is narrower than Foundry's full collection of agents, tools and management capabilities. Applications target configured deployments and supported APIs, with availability and limits depending on model, region, cloud and deployment category. Azure resource configuration and Microsoft identity controls determine access to the service; model capabilities determine what a request can contain and return. This is also separate from using OpenAI's own hosted API: similar model names do not establish identical endpoints, lifecycle rules or operational settings.","practice":"The practitioner confirms currently supported models and deployment types, then selects a configuration from quality, latency and capacity requirements. They define authentication, network reachability and how application data enters requests or logs. They handle limits and transient failures without duplicating consequential actions, track usage and evaluate responses on representative cases. Useful work produces a documented integration whose deployment identifiers, permissions and output expectations are explicit, allowing another engineer to operate it and assess a proposed model or configuration change.","example":"A team adds an assistant to an internal document application. The engineer creates an Azure OpenAI deployment, configures the application's identity and connects a retrieval service separately. Tests include an unauthorized caller, an oversized request and throttling during concurrent use. The evaluation distinguishes retrieval failures from generation errors, while the release record identifies the actual deployment and model configuration rather than simply saying the system uses OpenAI.","limits":"Model availability and API support are configuration-specific and can change. A deployment name does not by itself identify the underlying model version or prove regional data handling. Hosted inference cannot guarantee truthful answers or permission-correct retrieval. Check current service documentation, application data flow and actual access behavior. Azure OpenAI proficiency is a service integration skill, distinct from Foundry platform administration and from general prompt or model evaluation expertise.","sources":[{"title":"Foundry Models sold by Azure","url":"https://learn.microsoft.com/en-us/azure/foundry/foundry-models/concepts/models-sold-directly-by-azure","note":"Documents Azure OpenAI model availability, deployment categories and model-specific capabilities."},{"title":"Microsoft Foundry overview","url":"https://learn.microsoft.com/en-us/azure/foundry/what-is-foundry","note":"Supports the distinction between Azure OpenAI resources and the wider platform."}],"updatedAt":"2026-10-10"}},{"id":"aws","name":"AWS","category":"Cloud Platforms","subcategory":null,"section_id":"cloud-ai-platform-infrastructure","section_name":"Cloud & AI Platform Infrastructure","description":"Amazon Web Services is a cloud platform supplying compute, storage, networking, identity and managed services used by AI systems. The competency is designing a workload from those components with explicit reliability, security and cost decisions, rather than assuming that using a particular provider makes the architecture effective.","type":"tool","editorial":{"definition":"AWS resources are organized through accounts, regions and service-specific boundaries. AI applications may combine object storage, containers or virtual machines, databases, queues and managed model services. IAM controls what principals can do; network configuration controls which systems can communicate. These layers solve different problems and must be designed together. AWS is broader than Bedrock or SageMaker: those are services for selected AI workflows, while general platform engineering supplies their surrounding infrastructure. Managed services alter the division of operational work but do not eliminate application responsibilities.","practice":"The practitioner maps workload requirements to services, chooses locations and failure boundaries, and estimates costs from actual usage dimensions. They configure identities and permissions, arrange secure data access and define observability and recovery. They compare managed components with operating their own infrastructure, considering both effort and constraints. Useful work produces an architecture and reproducible resource configuration with tested failure behavior, documented ownership and a way to identify expensive or unused resources as workload demand changes.","example":"An engineer designs a batch document-classification service. Files enter object storage, a queue decouples uploads from workers and container jobs write results to a database. Roles grant workers access only to the required file prefix and result operation. The team tests a failed worker and duplicate message, checks recovery without duplicate final records and estimates cost from document volume, processing time and retained storage.","limits":"Provider breadth can encourage unnecessary complexity, and network transfer or idle capacity can dominate costs overlooked in an initial estimate. Security configuration is not interchangeable with application authorization. A service's availability does not make the complete workflow resilient. Check failure domains, permissions, quotas, cleanup and end-to-end recovery. AWS skill is platform-specific execution of cloud engineering decisions; it should not be defined through unsupported market-share or performance claims.","sources":[{"title":"AWS Well-Architected Framework","url":"https://docs.aws.amazon.com/wellarchitected/latest/framework/welcome.html","note":"Supports operational, security, reliability, performance and cost trade-offs in workload design."}],"updatedAt":"2026-10-10"}},{"id":"microsoft-azure","name":"Microsoft Azure","category":"Cloud Platforms","subcategory":null,"section_id":"cloud-ai-platform-infrastructure","section_name":"Cloud & AI Platform Infrastructure","description":"Microsoft Azure provides cloud infrastructure, identity, data and managed application services for AI workloads. Competence means choosing and configuring resources around the workload's access, reliability and operational requirements, including clear boundaries between general Azure infrastructure, Azure Machine Learning and Microsoft Foundry services.","type":"tool","editorial":{"definition":"Azure organizes resources within subscriptions, resource groups and service-specific configurations. Compute, storage, virtual networking and Microsoft Entra identities supply a foundation for applications and managed AI services. Identity establishes the caller; role assignments authorize actions on resources; application logic must still enforce business permissions. Azure Machine Learning supports model development and deployment, while Foundry addresses a different collection of model, agent and tool workflows. Their shared provider does not make them interchangeable. Platform skill includes how these components communicate, how they fail and how their consumption is measured.","practice":"A practitioner maps requirements to resources, selects appropriate regions and service tiers, and makes access and network decisions explicit. They use reproducible configuration, monitor operational signals and estimate costs from the expected workload. They arrange backup or recovery for persistent state and define responsibility for application and managed-service failures. Useful work yields an architecture another engineer can operate, with tested authentication, resource access and recovery, rather than a collection of portal-created resources whose relationships and ownership are unclear.","example":"A team deploys a document-processing application with Azure storage, a container service and a managed AI endpoint. The engineer gives the application an identity, assigns only required resource roles and validates access from its configured network path. A staging exercise makes the model endpoint unavailable and checks that uploads remain recoverable, errors are visible and repeated processing does not create duplicate records.","limits":"Subscription organization and provider integrations do not establish correct data governance or secure application behavior automatically. Role scope, private connectivity and service-specific limits need separate inspection. Costs can arise from storage, network movement and retained resources beyond inference. Check actual permissions, availability requirements and deployment configuration. Azure competence should describe work with platform services and their trade-offs, without substituting ecosystem affiliation or unsupported enterprise claims for operational evidence.","sources":[{"title":"Azure Well-Architected Framework","url":"https://learn.microsoft.com/en-us/azure/well-architected/","note":"Supports workload design across reliability, security, operational excellence, performance and cost."}],"updatedAt":"2026-10-10"}},{"id":"distributed-systems","name":"Distributed Systems","category":"Distributed Systems","subcategory":null,"section_id":"cloud-ai-platform-infrastructure","section_name":"Cloud & AI Platform Infrastructure","description":"Distributed systems coordinate work across processes or machines that communicate over fallible networks. The competency is designing for partial failure, latency, concurrency and uncertain ordering, so an AI pipeline or service remains correct when one component retries, slows down or loses contact with another.","type":"concept","editorial":{"definition":"A distributed system lacks a single instantaneous view of all state. Messages can be delayed, duplicated or lost, and one service can fail while others continue. Replication, partitioning, queues and coordination protocols make it possible to distribute storage and computation, but they introduce consistency and recovery choices. Parallel execution alone is not the whole subject: correctness depends on state ownership, ordering and what participants know. AI workloads add expensive model calls and large artifacts, making retry semantics, capacity control and transfer cost particularly consequential.","practice":"The practitioner identifies state and failure boundaries, specifies whether operations must be idempotent and chooses consistency appropriate to the decision. They set deadlines, limit retries and apply backpressure when downstream capacity is exhausted. They use correlation identifiers and durable records to trace work across components. Failure exercises check duplicate delivery, network loss and partial completion. Useful work delivers a system whose recovery rules preserve intended outcomes, including a clear answer to what happens if a caller cannot tell whether its request succeeded.","example":"A queue distributes document embedding jobs across workers. One worker stores vectors but loses contact before acknowledging the message, causing a retry. The engineer uses a stable job identifier and document version so the next worker can recognize completed output instead of duplicating it. A fault test pauses storage responses and confirms that queue consumers slow down rather than starting an unbounded number of inference calls.","limits":"Retries can amplify overload, and a timeout does not prove an operation was never completed. Stronger consistency may increase latency or reduce availability under particular failures. Queue delivery labels do not guarantee exactly-once business effects across unrelated systems. Check state transitions, duplicate handling and bounded resource use under faults. Distributed systems competence means making these semantics explicit; adding more machines without that reasoning can reduce reliability.","sources":[{"title":"Google SRE: handling overload","url":"https://sre.google/sre-book/handling-overload/","note":"Documents overload, bounded queues, load shedding and retry-related operational failure modes."}],"updatedAt":"2026-10-10"}},{"id":"google-vertex-ai","name":"Google Vertex AI","category":"GCP","subcategory":null,"section_id":"cloud-ai-platform-infrastructure","section_name":"Cloud & AI Platform Infrastructure","description":"Google Vertex AI denotes Google Cloud's managed machine-learning workflows for training, model management and inference. Competence means configuring a reproducible path through those services, governing identities and data access, and validating quality and capacity while keeping individual ML capabilities distinct from broader platform branding.","type":"tool","editorial":{"definition":"The Vertex AI label identifies a family of Google Cloud machine-learning services rather than one model or algorithm. Its documented workflows include custom training, model artifacts, pipelines and prediction, alongside access to supported generative models. Managed training executes specified code and container environments on configured resources. Prediction services serve model artifacts or run batch inference over inputs. Pipeline orchestration connects steps, while metadata records relationships between runs and outputs. The practical scope is the resources and APIs actually used; datasets, service accounts and endpoint settings determine the system's operational behavior.","practice":"A practitioner defines training inputs and code, chooses compatible compute and supplies a service account with appropriate permissions. They preserve model versions and evaluation outputs, automate repeated steps and select batch or online inference from application requirements. They check preprocessing, resource limits and failure behavior before routing users to an endpoint. Useful work yields a documented workflow connecting approved data to a validated artifact and operating configuration, with enough information to reproduce a run and explain an inference or cost regression.","example":"An engineer trains an image classifier with a custom container, records its evaluation against a fixed holdout and registers the resulting artifact. A staging prediction endpoint receives images through the application's preprocessing path. The engineer tests malformed images, concurrency and access restrictions, then compares batch and online execution for the intended workload rather than assuming the same deployment mode fits every request pattern.","limits":"Managed orchestration cannot correct a biased dataset or a mismatched preprocessing path. Availability, quotas and generative-model features vary, so current resource-specific documentation matters. A broad platform name is weaker evidence than an identified service, model and configuration. Inspect artifact lineage, permissions, latency and idle capacity. Vertex AI skill concerns operating these workflows; model selection and experimental validity still require separate technical judgment.","sources":[{"title":"Google Cloud managed ML introduction","url":"https://cloud.google.com/vertex-ai/docs/start/introduction-unified-platform","note":"Documents custom training, ML workflows, metadata and inference within Google Cloud AI services."},{"title":"Google Cloud overview","url":"https://docs.cloud.google.com/docs/overview","note":"Supports projects, resource organization and cloud infrastructure context."}],"updatedAt":"2026-10-10"}},{"id":"iac-infrastructure-as-code","name":"IaC (Infrastructure as Code)","category":"Infrastructure as Code","subcategory":null,"section_id":"cloud-ai-platform-infrastructure","section_name":"Cloud & AI Platform Infrastructure","description":"Infrastructure as Code manages infrastructure through reviewable configuration or programs rather than undocumented manual changes. The competency is expressing intended resources, controlling state and dependencies, and applying changes safely so environments can be reproduced and differences can be inspected before they affect a running AI workload.","type":"concept","editorial":{"definition":"Infrastructure definitions describe compute, networking, storage, permissions and other resources that a provisioning tool creates or updates. Declarative tools reconcile desired configuration with tracked or discovered state; imperative approaches execute explicit provisioning operations. Both need identity, ordering and failure handling. Version control makes proposed changes reviewable but does not make their application harmless. Infrastructure as Code is the practice, while Terraform is one implementation. For AI systems, definitions may include expensive accelerators, model endpoints, data stores and the access relationships between them.","practice":"The practitioner models resource dependencies, separates environment-specific parameters and defines ownership boundaries so two tools do not manage the same object unpredictably. They review proposed changes, protect state and secrets, and apply through a controlled identity. They test representative environments and plan recovery for updates that cannot simply be undone. The result is reproducible infrastructure with a comprehensible change process, including a record of what was applied and a way to detect drift between intended and running resources.","example":"A team creates a staging inference environment from versioned definitions. The configuration includes storage, a serving service, its identity and narrowly scoped access. Before applying an update, the engineer notices that a renamed resource would be replaced rather than modified. They revise the migration plan to preserve required state and check the resulting environment by making an authorized and an unauthorized request.","limits":"Configuration can reproduce a mistake just as consistently as a correct architecture. State files and generated plans may contain sensitive values, and a rollback of source does not reverse every destructive resource change. Manual edits can introduce drift, while provider changes affect behavior. Inspect plans, state ownership, permissions and migrations. Infrastructure as Code reduces hidden setup; it does not replace understanding of the resources being provisioned.","sources":[{"title":"Terraform introduction","url":"https://developer.hashicorp.com/terraform/intro","note":"Provides an official example of Infrastructure as Code, declarative configuration and provisioning workflows."},{"title":"Terraform state","url":"https://developer.hashicorp.com/terraform/language/state","note":"Supports resource mapping, dependency metadata and state-management concerns."}],"updatedAt":"2026-10-10"}},{"id":"terraform","name":"Terraform","category":"Infrastructure as Code","subcategory":null,"section_id":"cloud-ai-platform-infrastructure","section_name":"Cloud & AI Platform Infrastructure","description":"Terraform is an Infrastructure as Code tool that manages resources through provider-backed configuration and tracked state. Competence means understanding what a plan will create, update or replace, controlling state and credentials, and applying changes that respect the lifecycle of data and applications already using those resources.","type":"tool","editorial":{"definition":"Terraform configurations declare resources and relationships, while providers translate operations into the APIs of cloud platforms or other systems. State maps declared objects to real resources and retains information needed for planning. The plan compares configuration and tracked infrastructure to propose actions; apply performs them. Modules reuse a set of definitions without eliminating the need to understand their inputs and outputs. Terraform is a particular tool, distinct from Infrastructure as Code as a broader practice. A resource name or parameter change can affect identity, replacement and downstream dependencies.","practice":"The practitioner chooses providers and versions, organizes modules around clear ownership and keeps environment values separate from reusable definitions. They protect shared state, coordinate concurrent work and inspect plans for replacement or deletion before applying. They import or migrate existing resources carefully and detect drift from manual changes. Useful work yields a reviewed configuration and known infrastructure state, with verification of the actual deployed resources and a migration strategy for persistent data or interfaces that cannot be replaced casually.","example":"An engineer manages a model-serving endpoint and its storage permissions. A proposed module refactor changes resource addresses, and the plan unexpectedly shows destruction and recreation. The engineer uses an appropriate state migration rather than treating the endpoint as disposable. After applying the revised plan, they verify that clients retain access and that the serving identity still has only the intended storage permissions.","limits":"A valid plan can still implement the wrong design, and applying a saved plan after the environment changes needs careful workflow controls. State and plans can reveal secrets; conflicts or damaged state can complicate management. Provider behavior determines which changes require replacement. Check action lists, resource ownership and state protection. Terraform does not guarantee a reversible deployment or automatically validate the application that runs on the infrastructure.","sources":[{"title":"Terraform introduction","url":"https://developer.hashicorp.com/terraform/intro","note":"Documents provider-backed declarative configuration and plan/apply workflow."},{"title":"Terraform state","url":"https://developer.hashicorp.com/terraform/language/state","note":"Explains how tracked state maps configuration to real resources."}],"updatedAt":"2026-10-10"}},{"id":"aws-fargate","name":"AWS Fargate","category":"AWS","subcategory":null,"section_id":"cloud-ai-platform-infrastructure","section_name":"Cloud & AI Platform Infrastructure","description":"AWS Fargate supplies managed compute for container workloads without requiring the operator to maintain the underlying server fleet. The competency is defining container resources, networking, identities and service behavior appropriately, including how a task starts, receives work, reports health and stops under failures or updates.","type":"tool","editorial":{"definition":"With Fargate, a container workload specifies supported resource and platform settings while AWS manages the host infrastructure. In Amazon ECS, task definitions describe containers, CPU and memory, networking and IAM relationships; services can maintain running tasks and connect them to load balancing. Fargate is a compute option, not a model training framework or a replacement for application scheduling logic. Its supported task configurations differ from running arbitrary software on a virtual machine. A container image packages application dependencies, but runtime configuration still determines access, resource usage and lifecycle.","practice":"The practitioner builds an appropriate image, chooses task sizing from observed requirements and configures network reachability and task roles. They define health checks, graceful shutdown and how work survives a replacement task. They monitor logs, failures and resource use, then adjust scaling and spending limits to workload demand. Useful work produces a container service or batch task with known operating boundaries and recovery behavior, including evidence that it can start from a clean environment without hidden host dependencies.","example":"A team runs document preprocessing workers on Fargate. Tasks read messages, retrieve approved files and write processed results. The engineer selects CPU and memory from representative documents, gives the task role access only to required storage and tests termination during processing. Unacknowledged work returns to the queue, and stable document identifiers prevent a replacement worker from creating duplicate final outputs.","limits":"Server management is reduced, but containers can still run out of memory, expose insecure endpoints or mishandle shutdown. Not every host, storage or accelerator configuration is supported, so current task constraints must be checked for the chosen workload. Overprovisioned tasks and network traffic can increase cost. Inspect startup time, permissions, resource limits and replacement behavior. Fargate does not automatically make a container application stateless or resilient.","sources":[{"title":"AWS Fargate for Amazon ECS","url":"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/AWS_Fargate.html","note":"Documents managed task compute, isolation, CPU and memory settings, networking, IAM and configuration constraints."}],"updatedAt":"2026-10-10"}},{"id":"amazon-emr","name":"Amazon EMR","category":"AWS","subcategory":null,"section_id":"cloud-ai-platform-infrastructure","section_name":"Cloud & AI Platform Infrastructure","description":"Amazon EMR provides managed environments for distributed data-processing frameworks such as Apache Spark. Competence means configuring jobs and resources around data partitioning, shuffle and storage access, while managing failure recovery and cost so large-scale preparation for AI remains correct and operationally predictable.","type":"tool","editorial":{"definition":"EMR supports distributed processing through supported deployment options and framework configurations. The work is executed by engines such as Spark, whose tasks distribute transformations across partitions and exchange data for joins or aggregation. EMR manages aspects of provisioning and integration; the engine's execution semantics still determine the job's behavior. It is distinct from a model inference service and from an analytical SQL engine embedded in one process. Persistent object storage, temporary computation resources and access identities have separate roles in a complete processing architecture.","practice":"The practitioner chooses an appropriate EMR execution option, packages dependencies and defines access to source and output locations. They inspect partition sizes, skew and shuffle-heavy operations, then size or scale resources based on representative jobs. They preserve logs and input identities, test retries and publish outputs only when the intended job is complete. Useful work delivers a reproducible transformation with checked totals and schemas, plus an operating procedure that distinguishes failed processing from partially written data and avoids retaining unnecessary compute.","example":"An engineer prepares a year's device events for model training. A Spark job on EMR filters invalid records, joins device metadata and builds daily aggregates. One device type generates disproportionate traffic, causing a skewed partition; the engineer revises partitioning and checks that totals remain unchanged. Output goes to a versioned location, and a completion record prevents downstream training from consuming an interrupted job's partial files.","limits":"Managed deployment cannot fix an inefficient Spark plan or incorrect join. Small files, skew, shuffles and dependency mismatches can waste capacity or cause failures. Retries may leave partial output unless publication is designed carefully. Check the selected deployment option's current capabilities, data permissions and teardown. EMR expertise concerns running distributed engines responsibly; the correctness of the transformation and validity of a training dataset remain separate requirements.","sources":[{"title":"What is Amazon EMR?","url":"https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-what-is-emr.html","note":"Documents managed distributed frameworks and EMR execution scope."},{"title":"Apache Spark documentation","url":"https://spark.apache.org/docs/latest/","note":"Documents the distributed processing engine used in EMR workloads, including SQL and execution workflows."}],"updatedAt":"2026-10-10"}},{"id":"amazon-textract","name":"Amazon Textract","category":"AWS","subcategory":null,"section_id":"cloud-ai-platform-infrastructure","section_name":"Cloud & AI Platform Infrastructure","description":"Amazon Textract extracts text and structured information from supported document images through managed AWS APIs. Competence means choosing extraction operations, preserving document structure and checking field-level quality, especially when a downstream workflow needs reliable tables, forms or decisions rather than merely recognized characters.","type":"tool","editorial":{"definition":"Textract can detect text and supports structured document-analysis operations such as forms and tables. Results describe recognized elements and relationships, often with positions and confidence information, rather than a guaranteed clean business record. Supported synchronous and asynchronous paths serve different document and execution requirements. OCR identifies text; interpreting a field as an invoice total or deciding whether a record is complete requires additional application logic. File formats, document properties, languages and feature availability are service-specific constraints that should be checked for the intended workload.","practice":"The practitioner samples actual document variations, selects the required operation and defines how output blocks become application fields. They maintain links to page positions for review, apply validation such as totals or required fields and route uncertain or inconsistent results to an appropriate fallback. They configure storage and invocation permissions, track jobs and distinguish extraction failures from interpretation failures. Useful work yields a document-processing path with traceable extracted values and quality checks tailored to the fields that matter operationally.","example":"A team extracts line items from supplier invoices. The engineer tests clean scans, rotated pages and layouts with merged table cells, then maps Textract results to item descriptions, quantities and amounts. A reconciliation check compares line totals with the invoice total. Reviewers can open the source page region for a disputed value, and an incomplete extraction cannot silently enter the payment workflow as a complete invoice.","limits":"A confidence value is not a universal calibrated guarantee of business-field accuracy. Similar-looking characters, complex tables and unusual layouts can corrupt values or relationships. Successful OCR also does not establish document authenticity. Check supported formats and feature constraints, field-level errors and manual-review needs. Textract is an extraction component; validation, secure handling and the consequences of accepting a field remain responsibilities of the surrounding application.","sources":[{"title":"What is Amazon Textract?","url":"https://docs.aws.amazon.com/textract/latest/dg/what-is.html","note":"Documents text detection and structured extraction from forms and tables."}],"updatedAt":"2026-10-10"}},{"id":"azure-ai-search","name":"Azure AI Search","category":"Azure","subcategory":null,"section_id":"cloud-ai-platform-infrastructure","section_name":"Cloud & AI Platform Infrastructure","description":"Azure AI Search is a managed retrieval service for indexed and supported connected content, including keyword, vector and hybrid search. The competency is designing content schemas, ingestion and relevance together with access controls so an application retrieves useful evidence that the caller is allowed to see.","type":"tool","editorial":{"definition":"The service organizes searchable content through schemas, indexing and query interfaces. Full-text retrieval uses text indexing, vector retrieval compares numerical representations, and hybrid retrieval combines approaches with configured ranking. Current service documentation also describes agentic retrieval, which adds planning and multi-source workflows; this is distinct from a classic query against an index. A search service supplies candidate evidence, not a guarantee that an answer generated from it is correct. Chunking, metadata, embedding versions and permission representation determine what can be found and filtered.","practice":"The practitioner defines document keys, searchable and filterable fields, chunk boundaries and update semantics. They choose query modes from representative questions, measure retrieval quality and tune ranking without losing required access filters. They configure identities and network access, monitor ingestion and handle deletions or stale content. Useful work yields a searchable corpus and retrieval interface with tested relevance and permission behavior, including evidence that updates reach the index and that unauthorized documents cannot appear through alternative query paths.","example":"An engineer builds a maintenance-manual search system. Each chunk records its document version, section and allowed audience. Hybrid queries are tested against technical questions containing both model numbers and descriptive language. The engineer verifies that a restricted manual remains absent for an ordinary technician, checks newly updated procedures and inspects the exact passages passed to the assistant before evaluating generated answers.","limits":"Semantic similarity can retrieve a related but inapplicable procedure, while stale indexing can preserve obsolete advice. Access control needs the selected feature's documented configuration; a metadata field alone is not enforcement. New retrieval features and capacity limits vary by service settings. Check relevance, freshness, deletion and permissions separately. Azure AI Search is a retrieval component, so grounding an assistant also requires generation evaluation and source presentation.","sources":[{"title":"Azure AI Search introduction","url":"https://learn.microsoft.com/en-us/azure/search/search-what-is-azure-search","note":"Documents classic and agentic retrieval, indexing, keyword/vector/hybrid modes and access-control options."}],"updatedAt":"2026-10-10"}},{"id":"azure-machine-learning","name":"Azure Machine Learning","category":"Azure","subcategory":null,"section_id":"cloud-ai-platform-infrastructure","section_name":"Cloud & AI Platform Infrastructure","description":"Azure Machine Learning supports managed development, execution and deployment of machine-learning workflows. Competence means organizing data, environments, jobs and model artifacts into a reproducible process, then configuring inference and operational controls so the deployed model corresponds to the version and preprocessing that were actually evaluated.","type":"tool","editorial":{"definition":"Azure Machine Learning provides a workspace context for model-related resources and workflows, including training jobs, environments, pipelines and deployment endpoints. A job combines code, data references, environment and compute; a model artifact becomes one input to serving configuration. These elements are separate from Microsoft Foundry's broader model and agent services and from Azure's general infrastructure. Managed execution helps schedule work and preserve metadata, but the dataset, training procedure and evaluation remain team decisions. Resource identities and networking govern how the workflow reaches data and dependent services.","practice":"The practitioner defines reproducible environments and data inputs, packages training code and selects suitable compute. They record configuration and evaluation results with the resulting artifact, then construct inference code with the same preparation semantics. They configure endpoint identity, capacity, logs and failure responses and test the application integration before release. Useful work yields a repeatable job-to-deployment path with explicit ownership and an operating procedure for detecting regressions, replacing a model and retiring unused resources.","example":"A team trains a tabular quality-control model through an Azure Machine Learning job. The engineer stores the preprocessing pipeline alongside the estimator and records a holdout evaluation. A managed endpoint loads both components, and staging requests include missing measurements and invalid categories. The engineer checks that the endpoint identity can read the required artifact, that errors remain understandable and that a previous validated deployment can be restored.","limits":"Workspace metadata does not prove data quality or leakage-free evaluation. Environment drift, mismatched inference code and an incorrect deployment artifact can invalidate a successful training result. Resource limits and endpoint choices affect capacity and cost. Check artifact identity, schemas, access and recovery in the actual serving path. Azure Machine Learning manages a workflow; it cannot supply the scientific or business justification for the model merely by running it.","sources":[{"title":"Azure Machine Learning overview","url":"https://learn.microsoft.com/en-us/azure/machine-learning/overview-what-is-azure-machine-learning?view=azureml-api-2","note":"Documents managed jobs, environments, model lifecycle and deployment scope."}],"updatedAt":"2026-10-10"}},{"id":"foundry-tools","name":"Foundry Tools","category":"Azure","subcategory":null,"section_id":"cloud-ai-platform-infrastructure","section_name":"Cloud & AI Platform Infrastructure","description":"Foundry Tools are Microsoft-managed AI services for capabilities such as speech, language, vision and document processing. Competence means integrating the appropriate service for a specific task, interpreting its structured outputs and constraints, and validating quality on real input variations rather than treating the collection as one universal intelligence API.","type":"tool","editorial":{"definition":"Microsoft's Foundry Tools documentation groups prebuilt and customizable services exposed through their respective APIs and SDKs. A speech transcription response, a document extraction result and a language-analysis output have different schemas, units and quality requirements. The collection's name does not make their deployment, availability or data handling identical. It also differs from Microsoft Foundry as a broader platform for models, agents and management. Using an existing service can reduce model-building work, but the application still must map its outputs to domain decisions and handle uncertainty or unsupported input.","practice":"The practitioner clarifies the task, selects the relevant service and checks current language, format, region and execution limits. They sample representative inputs, inspect errors and define output validation and fallback behavior. They configure service access, logging and usage measurement, keeping sensitive data handling explicit. Useful work yields a task-specific integration with a tested interpretation of outputs and a documented quality boundary, rather than a generic invocation whose confidence values or categories are assumed to have the same meaning across services.","example":"A support team wants searchable transcripts of recorded calls. The engineer chooses the speech service, tests different microphones and accents and records speaker-related limitations. Transcripts retain links to time positions so staff can review uncertain passages. The downstream search pipeline distinguishes absent transcription from empty speech, and the team checks privacy and access requirements for recordings separately from whether the API accepted the audio.","limits":"Prebuilt models may perform unevenly across languages, layouts or recording conditions. An output score is not interchangeable across services or a guarantee that a business decision is safe. Product capabilities and customization options need service-specific verification. Inspect representative errors, supported inputs and fallback paths. Foundry Tools skill is integration and validation of chosen services; it should not imply mastery of every modality simply because they share a platform grouping.","sources":[{"title":"What are Foundry Tools?","url":"https://learn.microsoft.com/en-us/azure/ai-services/what-are-ai-services","note":"Documents the service collection, API/SDK access and separate speech, language, vision and document capabilities."}],"updatedAt":"2026-10-10"}},{"id":"microsoft-foundry","name":"Microsoft Foundry","category":"Azure","subcategory":null,"section_id":"cloud-ai-platform-infrastructure","section_name":"Cloud & AI Platform Infrastructure","description":"Microsoft Foundry is an Azure platform grouping models, agents and tools with shared management capabilities. Competence means selecting the appropriate components and configuring project access, networking, observation and evaluation, while recognizing that a unified platform interface does not make its individual services behaviorally or operationally identical.","type":"tool","editorial":{"definition":"Foundry combines model access and agent workflows with tools and a management layer. Official documentation describes role-based access control, networking, policies, tracing and evaluation, with status varying by feature. It is broader than Azure OpenAI model access and distinct from Azure Machine Learning's training-oriented workflows. An agent depends on instructions, a model, connected tools and identities; the management grouping does not specify those choices for an application. The effective system boundary includes every resource the agent can reach and every action its tools can perform.","practice":"The practitioner maps an application task to platform components, identifies current feature availability and defines project and resource ownership. They configure identities and permissions, connect only appropriate tools and knowledge sources, and establish traces that explain important actions without unnecessary data exposure. They build representative evaluations and inspect failure or escalation behavior before deployment. Useful work produces a documented system configuration and evidence about the particular model-agent-tool combination, along with operational procedures for updates, usage limits and incident investigation.","example":"A team builds an assistant that answers inventory questions and can draft replenishment requests. The engineer connects an approved inventory source and a narrowly scoped draft tool, leaving purchase approval with the existing workflow. Traces show which records informed a draft. Evaluation includes missing stock data, unauthorized stores and conflicting item identifiers, checking that the assistant can report uncertainty instead of submitting an unsupported request.","limits":"Platform governance controls are only effective when configured around real access and action boundaries. Observability may reveal a failure without preventing it, and evaluation results do not automatically transfer to another model or tool set. Some features have different availability status. Check permissions, connected resources, trace content and actual agent behavior. Foundry is a platform for constructing and operating systems; its name is not evidence of application safety or successful deployment.","sources":[{"title":"Microsoft Foundry overview","url":"https://learn.microsoft.com/en-us/azure/foundry/what-is-foundry","note":"Documents models, agents, tools and the shared management and governance layer, including feature-status distinctions."}],"updatedAt":"2026-10-10"}},{"id":"cloud-platforms","name":"Cloud Platforms","category":"Cloud Platforms","subcategory":null,"section_id":"cloud-ai-platform-infrastructure","section_name":"Cloud & AI Platform Infrastructure","description":"Cloud platforms provide remotely managed compute, storage, networking, identity and higher-level services. The competency is choosing a coherent architecture from these building blocks and managing its operating boundaries, including shared responsibilities, data movement, failure recovery and consumption cost across an AI workload's full lifecycle.","type":"concept","editorial":{"definition":"A cloud platform offers programmable resources with service-specific limits and pricing. Virtual machines provide relatively direct control, containers package applications and managed services take over selected operational tasks. Regions, availability boundaries and resource identities shape placement and access. These concepts generalize across providers, but equivalent-looking services can have different semantics and guarantees. Cloud-platform competence is broader than an individual model API or framework. AI workloads combine data preparation, training, serving and observation, so their architecture must consider both persistent data and intermittent or continuously running computation.","practice":"The practitioner inventories workload requirements, compares service options and documents why a deployment needs particular capacity, locations and connectivity. They define access, data retention, observability and recovery, then estimate cost from expected usage and test assumptions with a representative workload. They use reproducible configuration and identify who operates each boundary. Useful work yields an architecture with clear trade-offs and practical evidence, including a way to stop unused resources, recover failed operations and detect when workload growth exceeds the original design.","example":"A team chooses where to run nightly model retraining and daytime prediction. The engineer compares batch compute with a persistent serving endpoint, includes data-transfer and storage costs and keeps training credentials separate from inference credentials. A staging exercise checks that an interrupted training run cannot overwrite the last approved model. The architecture record explains capacity choices and when demand would justify revisiting them.","limits":"Provider abstractions do not erase quotas, network latency or the operator's responsibilities. Multi-cloud deployments can add coordination costs rather than automatically increasing reliability. A low unit price may still produce a costly architecture through idle capacity or repeated transfer. Check actual service semantics, access boundaries and total lifecycle cost. The appropriate platform depends on the workload; cloud competence is reasoned selection and operation, not allegiance to a vendor.","sources":[{"title":"Google Cloud Well-Architected Framework","url":"https://docs.cloud.google.com/architecture/framework","note":"Supports general workload architecture, operational, security, reliability and cost decisions."},{"title":"AWS Well-Architected Framework","url":"https://docs.aws.amazon.com/wellarchitected/latest/framework/welcome.html","note":"Provides an independent provider framework for assessing cloud workload trade-offs."}],"updatedAt":"2026-10-10"}},{"id":"google-cloud-platform-gcp","name":"Google Cloud Platform (GCP)","category":"Cloud Platforms","subcategory":null,"section_id":"cloud-ai-platform-infrastructure","section_name":"Cloud & AI Platform Infrastructure","description":"Google Cloud provides infrastructure, data and managed application services used by AI workloads. The competency is composing projects, identities, storage, compute and networking into a reliable architecture, then using workload evidence to choose operational settings and costs rather than assuming that a provider's managed AI services cover the complete system.","type":"tool","editorial":{"definition":"Google Cloud resources are organized through projects and related organizational controls. Service accounts and IAM govern access; regions and networks govern placement and connectivity. A workload may combine object storage, analytical databases, container services and managed ML capabilities. These components have different lifecycle, quota and execution semantics. Google Cloud is broader than Vertex AI or Cloud Run, which address particular workflows. Platform engineering coordinates those services with data ownership, observability and recovery. Managed operation shifts selected responsibilities to the provider while leaving application correctness and access decisions with the team.","practice":"The practitioner establishes resource organization and service identities, chooses locations and selects compute and storage from the workload's data and latency needs. They define permissions and network paths, automate configuration and measure operational behavior. They budget for retained resources and data movement alongside execution. Useful work produces a documented deployment with checked access and recovery, including an explanation of why particular managed services were selected and what would trigger a capacity or architectural change.","example":"An engineer builds a batch image-analysis workflow on Google Cloud. Images enter a designated storage bucket, processing jobs use a limited service account and results reach an analytical table. The engineer checks duplicate submissions, validates the intended project and region for resources and records the model artifact used. An interrupted job leaves recoverable inputs and cannot mark the entire batch as complete.","limits":"Projects are organizational boundaries, but their existence alone does not ensure narrow access or isolation. Service accounts can be overprivileged, and cross-region data movement can add latency or cost. Service-specific availability and quotas must be checked. Inspect identities, resource ownership, failure behavior and actual billing dimensions. Google Cloud proficiency concerns its operational mechanisms and integrations, distinct from the generic knowledge of cloud architecture or one managed ML API.","sources":[{"title":"Google Cloud overview","url":"https://docs.cloud.google.com/docs/overview","note":"Documents projects, resource organization, regions and service categories."},{"title":"Google Cloud Well-Architected Framework","url":"https://docs.cloud.google.com/architecture/framework","note":"Supports operational architecture, access, reliability and cost trade-offs."}],"updatedAt":"2026-10-10"}},{"id":"dask","name":"Dask","category":"Distributed Systems","subcategory":null,"section_id":"cloud-ai-platform-infrastructure","section_name":"Cloud & AI Platform Infrastructure","description":"Dask schedules parallel computations in Python and offers collections resembling arrays and DataFrames over partitioned data. The competency is constructing useful task graphs, selecting partition sizes and managing memory and communication so scaling a calculation preserves its meaning and avoids spending more effort on coordination than computation.","type":"tool","editorial":{"definition":"Dask represents many operations as a graph of tasks whose dependencies determine execution. Array and DataFrame collections divide data into chunks or partitions, while lower-level interfaces expose more general task construction. Local or distributed schedulers execute the graph. This can extend familiar analytical patterns beyond one process, but it is not identical to eager NumPy or Pandas execution. Materialization triggers real work, and operations such as joins or repartitioning can move substantial data. The effective limit depends on graph size, worker memory and communication, not only the total available processors.","practice":"The practitioner decides whether parallelism is needed, arranges input partitions and builds graphs with suitably sized tasks. They avoid repeatedly collecting large results on the driver, inspect worker memory and identify expensive shuffles or redundant computation. They choose persistence when reusing an appropriate intermediate result and validate outputs against a small sequential calculation. Useful work delivers a reproducible parallel pipeline whose resource needs and execution behavior are understood, including handling of worker failure and data that does not fit in one process.","example":"An analyst calculates historical aggregates over partitioned event files. They use a Dask DataFrame, select required columns and choose partitions large enough for useful work without exhausting worker memory. A join causes a substantial shuffle, so they inspect partitioning and the execution dashboard. Comparing a small dataset with Pandas verifies totals and missing-value treatment before the full distributed run.","limits":"Tiny tasks can make scheduler overhead dominant, while oversized partitions can exhaust memory. Operations with similar names to Pandas may have different ordering or unsupported behavior. Calling compute too early can pull an oversized result into one process. Check partition sizes, graph structure, shuffles and result semantics. Dask is a parallel execution tool; more workers cannot rescue an unsuitable algorithm or a pipeline dominated by unnecessary data movement.","sources":[{"title":"Dask documentation","url":"https://docs.dask.org/en/stable/","note":"Documents task scheduling, partitioned collections and distributed execution."},{"title":"Dask best practices","url":"https://docs.dask.org/en/stable/best-practices.html","note":"Supports task sizing, memory management, graph overhead and avoiding excessive materialization."}],"updatedAt":"2026-10-10"}},{"id":"hpc-cluster-computing","name":"HPC Cluster Computing","category":"Distributed Systems","subcategory":null,"section_id":"cloud-ai-platform-infrastructure","section_name":"Cloud & AI Platform Infrastructure","description":"HPC cluster computing runs demanding workloads on coordinated compute nodes, commonly through a batch scheduler and shared storage. For AI work, competence means requesting suitable resources, configuring distributed execution and checkpointing, and understanding queueing, interconnect and filesystem behavior so a large job uses its allocation effectively.","type":"concept","editorial":{"definition":"An HPC environment separates job submission from resource execution. A scheduler such as Slurm allocates nodes, processors, memory and other resources according to policy and availability. A job script launches software within that allocation; distributed training additionally requires agreement about process ranks, communication and data access. This differs from simply starting a program on a workstation or invoking a managed cloud training service. Performance depends on both computation and movement of data between accelerators, nodes and storage. Queue wait time and execution time are separate operational quantities.","practice":"The practitioner matches the workload to an allocation, specifies resource requests and supplies a reproducible environment and launch procedure. They test a small run before using many nodes, check distributed initialization and monitor utilization and communication. They place checkpoints and data according to storage policy, handle time limits and preserve logs for diagnosis. Useful work produces a job configuration that can be submitted repeatedly, with evidence about scaling and recovery rather than only successful allocation of a large machine.","example":"A researcher moves training from one node to several. They submit a Slurm job with explicit node and accelerator requests, verify process ranks and test that every worker reads the intended data partition. A short run exposes slow shared-filesystem access. After adjusting data staging, the researcher tests checkpoint recovery within a new allocation and measures whether added nodes actually reduce useful training time.","limits":"More nodes can reduce efficiency when communication or storage dominates. Incorrect resource requests waste allocations or cause failures; queue availability limits interactive expectations. A job that exits successfully may not have used all requested accelerators. Check utilization, distributed correctness, checkpoint integrity and scaling. Scheduler fluency is only part of the skill: understanding the application's communication pattern and the cluster's operating policies is essential.","sources":[{"title":"Slurm overview","url":"https://slurm.schedmd.com/overview.html","note":"Explains resource allocation, scheduling and cluster workload management."},{"title":"Slurm sbatch documentation","url":"https://slurm.schedmd.com/sbatch.html","note":"Supports batch scripts, resource requests, job environment and execution controls."}],"updatedAt":"2026-10-10"}},{"id":"ray","name":"Ray","category":"Distributed Systems","subcategory":null,"section_id":"cloud-ai-platform-infrastructure","section_name":"Cloud & AI Platform Infrastructure","description":"Ray is a distributed Python runtime with task and actor abstractions and libraries for training, tuning and serving. Competence means expressing useful parallel work, managing object movement and resource requirements, and handling failures so a distributed AI application remains understandable and efficient as execution spans multiple workers.","type":"tool","editorial":{"definition":"Ray Core executes remote tasks and stateful actors and manages distributed objects used between them. A task represents a function invocation; an actor holds state across method calls. Resources influence scheduling, while object references allow results to flow through the computation. Higher-level libraries such as Ray Train, Tune and Serve build specialized workflows on that runtime. These are related but distinct capabilities. Ray does not automatically parallelize every Python statement or determine a correct training distribution; the programmer chooses task boundaries, state ownership and where large data should live.","practice":"The practitioner partitions work into meaningful tasks or actors, declares resource needs and avoids repeatedly copying large objects. They distinguish shared data from actor-owned mutable state, limit queued work and inspect failures and worker memory. They choose higher-level libraries when their workflow semantics fit the task and validate results against a simpler run. Useful work produces a distributed application with clear recovery and scheduling behavior, including a way to observe where time and memory are spent and whether additional workers help.","example":"An engineer runs candidate preprocessing configurations over a fixed dataset. The dataset is made available through Ray's object system, and tasks evaluate configurations without repeatedly loading the same files. The engineer limits concurrency to match memory and uses a stateful actor only for a component that truly needs persistent state. A worker-failure test checks that repeated execution cannot overwrite a successful result incorrectly.","limits":"Fine-grained tasks can spend more time on scheduling than useful work, while large object transfers or driver collection can bottleneck execution. Actor state introduces ordering and recovery questions. A distributed runtime cannot fix invalid evaluation or arbitrary access to shared resources. Check serialization, memory, resource declarations and failure semantics. Ray competence involves the particular abstractions used; knowing one higher-level library does not imply understanding every Ray workflow.","sources":[{"title":"Ray overview","url":"https://docs.ray.io/en/latest/ray-overview/index.html","note":"Documents Core and the roles of Train, Tune and Serve."},{"title":"Ray Core walkthrough","url":"https://docs.ray.io/en/latest/ray-core/walkthrough.html","note":"Explains remote tasks, actors, object references and distributed execution."}],"updatedAt":"2026-10-10"}},{"id":"cloud-run","name":"Cloud Run","category":"GCP","subcategory":null,"section_id":"cloud-ai-platform-infrastructure","section_name":"Cloud & AI Platform Infrastructure","description":"Cloud Run is Google Cloud's managed platform for running application code and containers through services, jobs and other supported execution modes. Competence means choosing the right mode and configuring concurrency, identity, resources and startup behavior so an AI workload fits the platform's lifecycle and capacity constraints.","type":"tool","editorial":{"definition":"A Cloud Run service handles requests, while a job runs work to completion; the platform also documents other modes with their own operating semantics. Containers package the application, and configured resources and identities determine its runtime boundaries. Supported GPU configurations can serve selected AI workloads, but availability and constraints must be checked for the chosen mode and location. Cloud Run differs from a general virtual machine and from managed model-training platforms. Request handling, continuous background work and batch inference should not be assumed to share identical scaling or lifecycle behavior.","practice":"The practitioner chooses an execution mode from the workload, builds a suitable image and configures resource limits and access. They test model-loading time, concurrency and memory with representative inputs, keeping persistent state outside ephemeral execution where appropriate. They set explicit limits to avoid overwhelming dependencies or exceeding budget and inspect termination and retry behavior. Useful work produces an operable deployment with known cold-start and failure characteristics, plus a clear relationship between container version, model artifact and the endpoint or job users invoke.","example":"A team hosts a small classification model through a Cloud Run service and runs nightly bulk scoring as a job. The engineer tests startup with the actual artifact, tunes request concurrency from observed memory and restricts invocation to the application identity. A deliberately interrupted batch checks that output publication is idempotent, while the service load test checks behavior when downstream storage is slow.","limits":"Managed execution does not remove startup delays, model memory requirements or application authorization needs. Autoscaling semantics vary by mode, and local runtime storage is not a substitute for durable data design. GPU and resource support must be verified from current documentation. Check concurrency, identity, startup and lifecycle limits. Cloud Run can host an AI component, but the broader system still requires evaluation, data management and appropriate recovery.","sources":[{"title":"What is Cloud Run?","url":"https://docs.cloud.google.com/run/docs/overview/what-is-cloud-run","note":"Documents services, jobs, worker modes and supported AI/GPU execution with different lifecycle semantics."}],"updatedAt":"2026-10-10"}},{"id":"google-cloud-build","name":"Google Cloud Build","category":"GCP","subcategory":null,"section_id":"cloud-ai-platform-infrastructure","section_name":"Cloud & AI Platform Infrastructure","description":"Google Cloud Build executes configured build steps to test source and produce deployable artifacts on Google Cloud. Competence means defining a reproducible build, controlling its identity and triggers, and preserving the relationship between reviewed source, validation evidence and the container or package eventually deployed.","type":"tool","editorial":{"definition":"A Cloud Build configuration describes steps executed in containers, with inputs, dependencies and outputs. Builds can start manually or through configured repository triggers and can produce artifacts such as container images. The service supplies an execution environment; the configuration determines which tests run and whether deployment occurs. Build identity and network access govern reachable resources and allowed actions. This is distinct from runtime hosting through Cloud Run and from an ML training pipeline: a software build packages and verifies code, while training generates a model artifact from data and configuration.","practice":"The practitioner defines deterministic inputs where practical, selects trusted build steps and supplies only the permissions needed for the intended stage. They separate testing and artifact publication from consequential deployment decisions, configure secrets without exposing them in logs and make failures stop the appropriate sequence. They retain artifact identifiers and review trigger behavior. Useful work yields a build whose outputs can be traced to the source and checks, allowing operators to deploy the validated artifact and diagnose why another build differed.","example":"An engineer builds an inference image after a reviewed code change. Cloud Build installs controlled dependencies, runs parser and API tests, builds the image and stores it in the designated registry. The release records the image digest rather than a mutable tag alone. A test pull request exercises build steps without granting its code the deployment identity used by the production release workflow.","limits":"A green build can omit important tests or depend on moving external inputs. Broad service-account permissions can make untrusted build code consequential. Cached dependencies and mutable tags can obscure artifact identity, while logs can expose secrets. Check triggers, permissions, input pinning and output references. Cloud Build provides execution and artifact production, but the team must define the review and release conditions that make those artifacts trustworthy.","sources":[{"title":"Cloud Build overview","url":"https://docs.cloud.google.com/build/docs/overview","note":"Documents containerized build steps, triggers, artifacts, credentials and build visibility."}],"updatedAt":"2026-10-10"}},{"id":"google-cloud-data-fusion","name":"Google Cloud Data Fusion","category":"GCP","subcategory":null,"section_id":"cloud-ai-platform-infrastructure","section_name":"Cloud & AI Platform Infrastructure","description":"Cloud Data Fusion is Google Cloud's managed data-integration service for designing and running pipelines through a visual interface and supported connectors. Competence means specifying schemas, transformations and execution settings precisely, then validating data movement, recovery and cost beyond the appearance of a successfully connected pipeline diagram.","type":"tool","editorial":{"definition":"Cloud Data Fusion is built on CDAP and separates instance management, pipeline design and pipeline execution. Source, transformation and sink stages describe how records move and change; connectors and plugins expose supported systems. Runtime compute, service accounts and networking determine whether the designed pipeline can execute and access its data. Visual authoring reduces the need to write every integration from scratch, but it does not remove schema, partitioning or transformation semantics. Data Fusion is an integration platform rather than a model training or inference service.","practice":"The practitioner checks connector capabilities, defines input and output schemas and documents how stages handle malformed or missing records. They configure runtime identities and network access, choose execution resources and test on representative samples. They inspect lineage, counts and reconciliation checks and design reruns so interrupted processing does not duplicate or partially publish data. Useful work yields a repeatable integration with known dependencies and recovery behavior, including operational evidence about runtime consumption rather than only a saved design in the interface.","example":"A team imports maintenance records from a source system into an analytical store for feature preparation. The engineer builds a Data Fusion pipeline that validates dates, standardizes equipment identifiers and separates rejected rows. They compare source and destination counts, inspect records changed by each transformation and stop a test run midway. The rerun is checked for duplicate records and complete publication before scheduling regular execution.","limits":"A connector can transfer data correctly while a transformation changes its business meaning. Schema drift, access changes and plugin behavior can break execution or silently alter output. Instance and runtime resources may have separate cost implications. Check current connector support, permissions, lineage and reconciliation. Visual pipelines require the same attention to data correctness and lifecycle as code-based pipelines; interface convenience is not evidence that the resulting dataset is fit for training.","sources":[{"title":"Cloud Data Fusion overview","url":"https://docs.cloud.google.com/data-fusion/docs/concepts/overview","note":"Documents CDAP, pipeline design and execution, connectors, instance control, runtime profiles and access boundaries."}],"updatedAt":"2026-10-10"}},{"id":"research-to-engineering-translation","name":"Research-to-Engineering Translation","category":"Applied Research & Domain Practice","subcategory":null,"section_id":"ai-product-collaboration-professional-practice","section_name":"AI Product, Collaboration & Professional Practice","description":"Research-to-engineering translation turns a published method into a justified implementation or adoption decision. The competency is reconstructing what the research actually tested, comparing its assumptions with the intended workload and designing a bounded experiment that reveals whether the method is useful outside the paper's reported setting.","type":"concept","editorial":{"definition":"A research paper contributes a mechanism and evidence under a particular experimental design. Engineering translation identifies the algorithm, data requirements, evaluation protocol and resource assumptions, then maps them to an operational problem. It differs from merely summarizing a paper and from reproducing a result exactly: reproduction checks the reported finding, while translation tests relevance to a new use. Reported improvements can depend on baselines, preprocessing, tuning or evaluation choices. The resulting engineering decision must therefore separate the method's essential mechanism from incidental details and unsupported extrapolation.","practice":"The practitioner reads the method and experimental sections, examines available code and records what is needed to implement the claim. They identify missing details and construct a baseline under the target system's constraints. A small experiment checks behavior, computational requirements and failure cases before broader integration. They document assumptions, differences from the paper and unresolved questions. Useful work yields an implementation sketch and decision memo supported by evidence, including a reason to adopt, adapt or reject the method rather than a recommendation based only on its headline result.","example":"An engineer considers a new retrieval reranker from a paper. They reconstruct the scoring mechanism and discover that the reported experiment used much shorter documents than the application. A prototype compares the reranker with the existing retrieval system on approved questions and documents. The engineer reports ranking errors and latency under the actual document lengths, then proposes a limited adoption only where the additional computation is justified.","limits":"A published benchmark does not establish performance on another population, budget or interface. Reference code can omit preprocessing, tuning or environment details needed for reproduction. A rushed translation can accidentally compare unequal baselines or leak evaluation information. Check implementation fidelity, experimental controls and target-workload differences. Research novelty is a reason to investigate, not sufficient evidence for a production change or an operational guarantee.","sources":[{"title":"NeurIPS Paper Checklist","url":"https://neurips.cc/public/guides/PaperChecklist","note":"Supports scrutiny of assumptions, limitations, reproducibility and experimental reporting."},{"title":"Rules of Machine Learning","url":"https://developers.google.com/machine-learning/guides/rules-of-ml","note":"Supports evaluating methods within real pipeline and operational constraints."}],"updatedAt":"2026-11-02"}},{"id":"technical-mentoring","name":"Technical Mentoring","category":"Technical Leadership, Mentoring & Collaboration","subcategory":null,"section_id":"ai-product-collaboration-professional-practice","section_name":"AI Product, Collaboration & Professional Practice","description":"Technical mentoring helps another practitioner develop judgment and independent execution through guided work, feedback and reflection. The competency is diagnosing a learning need, designing an appropriate challenge and making reasoning visible without taking over the task, so expertise grows beyond copying the mentor's preferred implementation.","type":"concept","editorial":{"definition":"Mentoring is a developmental relationship with goals, expectations and feedback. Technical work supplies concrete material: reviewing a design, debugging a failure, constructing an experiment or explaining a trade-off. It differs from managing delivery, teaching a general course or simply providing the answer to a question. A mentor can demonstrate reasoning and create opportunities for the learner to practice it, while the learner's context and prior experience shape useful support. Effective mentoring also involves psychological and interpersonal conditions, because someone must be able to expose uncertainty and discuss mistakes to learn from them.","practice":"The practitioner agrees a specific learning objective, observes how the learner approaches a real task and asks questions that reveal their mental model. They provide timely feedback on both the artifact and reasoning, adjust difficulty and gradually reduce support as competence grows. They document useful examples and arrange follow-up work that tests transfer to a new situation. The result is observable independence, such as a learner who can explain, execute and review a type of technical decision without depending on the mentor for every step.","example":"A mentor helps an engineer learn leakage-resistant validation. Rather than rewriting the notebook, they ask the engineer to identify what each row represents and when every feature becomes available. The engineer then constructs a time-based split and explains why a previous random split was misleading. In a later task with repeated customers, the learner selects a grouped evaluation independently and requests review of the remaining assumptions.","limits":"Solving the task for the learner can improve one deliverable while preventing skill development. Advice based only on the mentor's habits can ignore another person's goals or constraints. Informal mentoring may also leave access and feedback uneven across a team. Check agreed objectives, learner agency and demonstrated transfer. Mentoring should not be judged solely by meeting frequency or the learner's willingness to imitate the mentor.","sources":[{"title":"The Science of Effective Mentorship in STEMM","url":"https://www.nationalacademies.org/read/25568/chapter/2","note":"Supports goal-oriented developmental relationships, mentoring expectations and evidence-based feedback practices."}],"updatedAt":"2026-11-02"}},{"id":"cross-functional-collaboration","name":"Cross-Functional Collaboration","category":"Technical Leadership, Mentoring & Collaboration","subcategory":null,"section_id":"ai-product-collaboration-professional-practice","section_name":"AI Product, Collaboration & Professional Practice","description":"Cross-functional collaboration coordinates specialists around a shared product or system decision. In AI work, the competency is connecting engineering, data, design, security, legal and domain perspectives through explicit interfaces and responsibilities, so unresolved assumptions become visible before they turn into implementation conflicts or operational failures.","type":"concept","editorial":{"definition":"An AI system crosses organizational and technical boundaries. A data scientist may define model behavior, an engineer implement serving, a designer shape interaction and a domain expert judge acceptable outcomes. These perspectives are complementary but use different evidence and constraints. Collaboration is the work of making dependencies and decisions shared enough for coordinated execution. It differs from stakeholder management, which focuses on interests and commitments, and from facilitation, which structures a particular discussion. Agreement about a goal does not imply agreement about data access, review authority or release criteria.","practice":"The practitioner brings relevant roles into decisions early, establishes shared terms and maps handoffs and ownership. They turn assumptions into concrete questions, record choices and assign work to the people qualified to resolve it. They use artifacts such as interface contracts, risk registers and acceptance examples to make discussion inspectable. Useful work produces coordinated commitments and a system design that reflects the necessary constraints, including a clear route for resolving disagreements rather than expecting every specialist to infer the others' intentions.","example":"A team develops an assistant for service agents. Design identifies when users need source passages, security defines document-access boundaries, domain specialists label unacceptable advice and engineering estimates retrieval latency. The collaborators turn these inputs into a shared workflow and release checklist. A disputed feature that would submit requests automatically is separated from answer drafting until its permissions and approval responsibilities are resolved.","limits":"More meetings do not automatically improve coordination. Vague ownership, inconsistent terminology and late review can let important constraints disappear between teams. Consensus can also obscure an unresolved technical or risk disagreement. Check whether decisions have owners, artifacts and consequences understood by affected roles. Collaboration requires enough shared understanding to act together; it does not require every specialist to become an expert in every discipline.","sources":[{"title":"GOV.UK: multidisciplinary teams","url":"https://www.gov.uk/service-manual/service-standard/point-6-have-a-multidisciplinary-team","note":"Supports involving the roles needed to build and operate a service sustainably."},{"title":"NIST AI RMF Playbook","url":"https://www.nist.gov/itl/ai-risk-management-framework/nist-ai-rmf-playbook","note":"Supports cross-disciplinary responsibilities and coordinated AI risk decisions."}],"updatedAt":"2026-11-02"}},{"id":"data-storytelling","name":"Data Storytelling","category":"Data Storytelling, Visualization & Prototyping","subcategory":null,"section_id":"ai-product-collaboration-professional-practice","section_name":"AI Product, Collaboration & Professional Practice","description":"Data storytelling connects analytical evidence to a question, explanation and decision for a particular audience. The competency is selecting a defensible narrative that preserves uncertainty and alternatives, so charts and metrics help people understand what the evidence supports and what action, if any, should follow.","type":"concept","editorial":{"definition":"A data story organizes findings around context, an observed pattern and its implications. It combines narrative, visualizations and quantitative evidence rather than presenting every analysis in chronological order. The story must preserve the distinction between observation, interpretation and recommendation. It differs from data visualization, which concerns visual encoding, and from dashboard design, which supports repeated monitoring and decisions. A compelling sequence can make an analysis accessible, but it can also create false certainty if missing data, subgroup differences or competing explanations are omitted.","practice":"The practitioner identifies the audience's decision, chooses the evidence needed to assess it and defines the relevant baseline or comparison. They select charts and examples that expose the finding, explain units and denominators and make material uncertainty visible. They test whether an alternative explanation changes the recommendation and place supporting detail where it remains available. Useful work produces an analytical brief or presentation in which a reader can follow the argument, inspect its basis and distinguish a proposed action from a proven causal conclusion.","example":"An analyst reports that an AI support tool has shortened draft preparation but increased review effort for difficult cases. The brief shows the full task time, separates simple and complex cases and includes examples of costly revisions. Rather than highlighting only faster drafting, the story supports a decision to narrow the initial use case and improve failure handling before expanding adoption to all service requests.","limits":"Selective comparisons, truncated axes and omitted denominators can make a persuasive story misleading. A narrative can confuse correlation with cause or generalize from a narrow sample. Audience-friendly wording should not remove important caveats. Check whether the displayed evidence supports each inference and whether omitted cases could reverse the decision. Storytelling adds structure to analysis; it must not substitute rhetorical confidence for data quality or experimental design.","sources":[{"title":"GOV.UK: measuring service success","url":"https://www.gov.uk/service-manual/measuring-success/measuring-the-success-of-your-service","note":"Supports connecting measurement and user research to service decisions."},{"title":"GOV.UK: analyse a research session","url":"https://www.gov.uk/service-manual/user-research/analyse-a-research-session","note":"Supports moving from observations to findings while retaining evidence."}],"updatedAt":"2026-11-02"}},{"id":"technical-stakeholder-management","name":"Technical Stakeholder Management","category":"Data Storytelling, Visualization & Prototyping","subcategory":null,"section_id":"ai-product-collaboration-professional-practice","section_name":"AI Product, Collaboration & Professional Practice","description":"Technical stakeholder management aligns people with different responsibilities around feasible system decisions and commitments. In AI projects, the competency is making cost, quality, delivery and risk trade-offs explicit, establishing who can decide and preventing ambiguous expectations from becoming untestable requirements or unsupported promises.","type":"concept","editorial":{"definition":"Stakeholders include users, sponsors, operators and specialists affected by a technical system. They may prioritize different outcomes or possess different decision authority. Managing these relationships means understanding interests, communicating evidence at an appropriate level and obtaining explicit commitments. It differs from doing the technical design itself and from general cross-functional collaboration. AI uncertainty makes the distinction especially important: a desired capability, an experimentally demonstrated behavior and a contractual or operational commitment are different statements. The practitioner must translate between these without pretending that all conflicts can be eliminated.","practice":"The practitioner identifies affected parties and decision rights, elicits concrete needs and records constraints. They explain options through their consequences, such as a quality target that requires more latency or a feature that changes permission scope. They negotiate acceptance criteria, sequencing and responsibility for unresolved risk, then maintain a decision log as evidence changes. Useful work yields shared expectations and actionable commitments: what will be delivered, how it will be assessed, who owns dependencies and which conditions require a decision to be revisited.","example":"A sponsor requests an assistant that always answers immediately and never makes a factual error. The technical lead brings representative examples, latency observations and fallback options to a discussion. The stakeholders agree to a narrower information domain, source-backed responses and an escalation path for unanswered questions. The decision record explains the trade-offs and names the owner who can approve expansion after further evaluation.","limits":"Agreement can be superficial if terms such as accurate or real time remain undefined. Powerful stakeholders may overshadow affected users or operators, while optimistic communication can turn assumptions into perceived guarantees. Check whether commitments are testable, dependencies have owners and material disagreements remain visible. Stakeholder management is not persuasion to accept a predetermined technical choice; it is accountable negotiation informed by evidence and authority.","sources":[{"title":"GOV.UK: discovery phase","url":"https://www.gov.uk/service-manual/agile-delivery/how-the-discovery-phase-works","note":"Supports understanding user needs, constraints and whether to proceed."},{"title":"NASA systems engineering fundamentals","url":"https://www.nasa.gov/reference/2-0-fundamentals-of-systems-engineering/","note":"Supports technical trade-offs, system boundaries and requirements-related decision responsibilities."}],"updatedAt":"2026-11-02"}},{"id":"data-visualization","name":"Data Visualization","category":"Data Storytelling, Visualization & Prototyping","subcategory":null,"section_id":"ai-product-collaboration-professional-practice","section_name":"AI Product, Collaboration & Professional Practice","description":"Data visualization encodes observations and analytical results in marks, positions, scales and color so people can inspect patterns or comparisons. The competency is choosing and checking those encodings against a question, including uncertainty and data limitations, rather than treating chart production as a purely decorative reporting step.","type":"concept","editorial":{"definition":"A visualization maps data dimensions to perceptual properties. Position on a common scale supports comparison, while color, size and facets can distinguish additional variables. Aggregation, binning and axis transformations determine which patterns become visible and which disappear. For AI systems, charts can expose residuals, data drift, subgroup errors or pipeline failures as well as business outcomes. Visualization differs from storytelling's narrative argument and dashboards' recurring decision surface. A technically rendered chart can still be analytically wrong when its observation unit, denominator or scale is unsuitable.","practice":"The practitioner starts with the comparison or diagnostic question, inspects data quality and chooses a chart form that supports it. They make units and transformations explicit, select meaningful ranges and represent uncertainty or sample size where needed. They inspect the actual rendered figure and validate plotted values against the underlying calculation. Useful work produces a faithful visual artifact with enough context to interpret it, including accessible labels and a clear indication of whether the chart shows raw observations, aggregated summaries or modeled estimates.","example":"An engineer investigates rising model error after a data-pipeline change. They plot residual distributions by source and time, show sample counts and use shared ranges for comparison. A separate missingness chart reveals that one source stopped supplying a key variable. The engineer checks records behind the plotted spike and distinguishes a collection problem from a generalized deterioration of the estimator.","limits":"Charts can conceal small groups, missing data or dependence between observations. Color scales and axis ranges can exaggerate or suppress differences, while overplotting hides density. A pattern is not proof of a causal mechanism. Check the data transformation, perceptual comparison, uncertainty and final display conditions. Visualization should expose the evidence needed for a question; interactive controls or attractive styling cannot compensate for an unsuitable calculation.","sources":[{"title":"Matplotlib user documentation","url":"https://matplotlib.org/stable/users/index.html","note":"Supports visual encoding, axes, scales, layout and faithful figure construction."},{"title":"Seaborn tutorial","url":"https://seaborn.pydata.org/tutorial.html","note":"Supports statistical displays, grouping, distributions and summary-estimation choices."}],"updatedAt":"2026-11-02"}},{"id":"domain-expertise","name":"Domain Expertise","category":"Applied Research & Domain Practice","subcategory":null,"section_id":"ai-product-collaboration-professional-practice","section_name":"AI Product, Collaboration & Professional Practice","description":"Domain expertise is a working understanding of the processes, terminology and constraints in which an AI system will be used. The competency is applying that knowledge to problem definition, data interpretation and acceptance decisions, while checking expert assumptions against evidence and acknowledging variation within the domain.","type":"concept","editorial":{"definition":"A domain expert understands how work is actually performed, which events matter and what errors mean for affected people. That knowledge can identify meaningful targets, unavailable information, unusual exceptions and the cost of an incorrect output. It differs from general AI knowledge or possession of a job title: useful expertise must be connected to the particular process and decision. Domain rules can also vary by organization, location or time. Expertise therefore informs system design and validation, but it does not make undocumented intuition a substitute for observable requirements or representative data.","practice":"The practitioner maps the current workflow, clarifies terms and identifies decisions that the system should support. They inspect example records with technical colleagues, explain exceptions and help create representative evaluation cases. They challenge features that would not be available at decision time and define when human judgment or escalation is required. Useful work yields a process model, annotated examples and acceptance guidance that engineering can implement and evaluate, with unresolved disagreements and source assumptions recorded rather than hidden in informal advice.","example":"A maintenance specialist reviews a proposed failure-prediction dataset. A field labeled repair date actually records billing completion, sometimes long after the equipment returned to service. The specialist explains this distinction and helps the engineer define the target from operational records. They also identify planned shutdowns that resemble failures in sensor data, leading to explicit evaluation cases and a corrected labeling procedure.","limits":"An experienced person's practice may not represent every user or operating context. Informal rules can be outdated, contradictory or difficult to test, and experts can disagree about edge cases. Check assumptions against records and involve the relevant range of practitioners. Domain expertise informs interpretation; it does not independently establish model performance or causal relationships. Its value depends on translating knowledge into inspectable decisions and evidence.","sources":[{"title":"GOV.UK: discovery phase","url":"https://www.gov.uk/service-manual/agile-delivery/how-the-discovery-phase-works","note":"Supports understanding real workflows, constraints and user context before system design."},{"title":"NIST AI RMF Playbook","url":"https://www.nist.gov/itl/ai-risk-management-framework/nist-ai-rmf-playbook","note":"Supports involving domain expertise in mapping context, impact and risk."}],"updatedAt":"2026-11-02"}},{"id":"ai-team-leadership","name":"AI Team Leadership","category":"Technical Leadership, Mentoring & Collaboration","subcategory":null,"section_id":"ai-product-collaboration-professional-practice","section_name":"AI Product, Collaboration & Professional Practice","description":"AI team leadership creates the conditions for a team to deliver and operate useful AI systems responsibly. The competency is setting direction, assigning ownership and building evaluation and learning into everyday work, so model experimentation connects to reliable delivery rather than becoming an isolated stream of promising demonstrations.","type":"concept","editorial":{"definition":"Leading an AI team involves technical and organizational decisions about scope, staffing, standards and accountability. Model quality, data work, application engineering and operational risk often belong to different specialists, so the leader must connect their responsibilities without assuming one role owns everything. This differs from mentoring an individual or managing one stakeholder discussion. Evaluation-oriented leadership establishes what evidence is needed to advance work and how the team responds when that evidence is unfavorable. It also creates room to report failures and uncertainty without turning every experiment into a delivery commitment.","practice":"The practitioner defines product and technical goals, assigns owners for data, evaluation, serving and incidents, and makes decision boundaries explicit. They allocate time for reproducible experiments, maintenance and learning alongside new features. They review progress through artifacts and evidence, remove coordination obstacles and ensure that release and operational responsibilities survive personnel changes. Useful work produces a team capable of making justified decisions and sustaining its systems, with common evaluation practices and a clear escalation path when quality, safety or resource constraints conflict.","example":"A lead inherits several assistant prototypes with no shared evaluation or operator. They agree a narrow use case, assign an evaluation owner and establish representative cases with domain reviewers. Engineering owns deployment and monitoring, while a named product owner decides whether the observed quality meets release criteria. The team reviews failures together and schedules improvements before expanding scope, preserving the distinction between experimental exploration and supported service.","limits":"A culture slogan does not create capacity, decision rights or reliable evidence. Excessive emphasis on demos can neglect data and operations, while rigid metrics can discourage useful exploration or hide unmeasured harms. Check whether responsibilities are actionable and whether people can surface problems early. Leadership is accountable prioritization and coordination, not the requirement that one person personally implement every model or approve every technical detail.","sources":[{"title":"NIST AI RMF Playbook","url":"https://www.nist.gov/itl/ai-risk-management-framework/nist-ai-rmf-playbook","note":"Supports leadership responsibility, defined roles and organizational AI risk practices."},{"title":"GOV.UK: multidisciplinary teams","url":"https://www.gov.uk/service-manual/service-standard/point-6-have-a-multidisciplinary-team","note":"Supports staffing and operating capabilities needed for a sustainable service."}],"updatedAt":"2026-11-02"}},{"id":"technical-facilitation","name":"Technical Facilitation","category":"Technical Leadership, Mentoring & Collaboration","subcategory":null,"section_id":"ai-product-collaboration-professional-practice","section_name":"AI Product, Collaboration & Professional Practice","description":"Technical facilitation structures a discussion so participants can examine evidence, resolve questions and make usable decisions. In AI work, the competency is designing sessions around problem framing, assumptions and trade-offs, then capturing owners and outcomes rather than allowing a workshop to produce only a collection of opinions.","type":"concept","editorial":{"definition":"Facilitation governs how people participate and reach an outcome, while technical expertise supplies the content being examined. A facilitator can clarify language, sequence activities and expose disagreements without having authority to decide every issue. Sessions may frame a problem, review evaluation cases or identify failure modes. This differs from ongoing stakeholder management and from technical mentoring. An AI workshop often combines uncertain evidence with different disciplinary perspectives, so a structured process must separate observations, hypotheses, preferences and decisions rather than treating every contribution as equally established fact.","practice":"The practitioner defines the session's purpose and decision authority, prepares relevant examples and invites the roles needed to address the question. They choose activities that make assumptions visible, manage time and ensure quieter participants can contribute. They summarize points in language participants can verify and record unresolved issues with owners and next actions. Useful work yields an agreed problem statement, decision record or prioritized experiment list, together with enough context to explain why the group chose that outcome.","example":"A facilitator runs a workshop on an assistant's escalation behavior. Participants first inspect concrete failed responses, then distinguish unsupported facts from unauthorized actions and ambiguous user requests. The group defines separate escalation rules for each category. The facilitator records an unresolved disagreement about one action, names the decision owner and schedules a targeted experiment rather than forcing premature agreement through a show of hands.","limits":"A structured exercise can still privilege confident voices or turn assumptions into apparent consensus. The facilitator may unintentionally steer participants toward a preferred solution. Decisions without authority, evidence or follow-through remain ineffective. Check whether outcomes preserve disagreement and assign concrete responsibility. Facilitation improves the decision process; it cannot supply missing domain knowledge or prove that a technically uncertain proposal will work.","sources":[{"title":"GOV.UK: analyse a research session","url":"https://www.gov.uk/service-manual/user-research/analyse-a-research-session","note":"Supports collaborative evidence review, grouping observations and producing actionable findings."},{"title":"NIST AI RMF Playbook","url":"https://www.nist.gov/itl/ai-risk-management-framework/nist-ai-rmf-playbook","note":"Supports structured cross-disciplinary examination of AI context and risks."}],"updatedAt":"2026-11-02"}},{"id":"rapid-prototyping","name":"Rapid Prototyping","category":"AI Product Management, UX & Delivery","subcategory":null,"section_id":"ai-product-collaboration-professional-practice","section_name":"AI Product, Collaboration & Professional Practice","description":"Rapid prototyping builds a deliberately limited artifact to answer an uncertain product or technical question quickly. The competency is selecting the assumption worth testing, choosing sufficient fidelity and interpreting the result without confusing a convincing demonstration with a validated system ready for ongoing use.","type":"concept","editorial":{"definition":"A prototype is an experimental representation of a proposed workflow or capability. It may be a paper interface, a simulated service, a small model integration or an executable vertical slice. Its value comes from reducing uncertainty, not from completeness. A proof of concept asks whether something is feasible; a product prototype may explore interaction; a minimum viable product supports a real, bounded use. These artifacts can overlap but require different evidence. Speed is relative to the question and constraints, so a fixed time promise is not part of the competency.","practice":"The practitioner names the hypothesis, identifies the evidence needed and selects the cheapest artifact that can provide it. They define what is simulated, choose representative tasks and decide how the result will affect the next decision. They collect observations and failure cases, then document which assumptions remain untested. Useful work ends with learning and an actionable choice to continue, revise or stop, along with a clear account of what would need to change before the prototype becomes an operated product.","example":"A team is unsure whether service agents can use source-backed AI drafts efficiently. A prototype presents draft text and linked passages for a small set of approved tasks. Some backend steps are simulated, which participants are told. Observation reveals that agents need to compare conflicting sources before editing the answer. The team revises the interaction and plans a separate technical test of live retrieval rather than treating interface success as proof of backend feasibility.","limits":"Convenient samples and simulated responses can hide the very uncertainty the prototype was meant to test. Prototype code can become accidental production infrastructure without access control, recovery or ownership. Positive reactions are not proof of repeated operational value. Check the hypothesis, fidelity and representativeness of tasks. Rapid prototyping should shorten the path to a decision, while preserving the distinction between observed learning and unsupported deployment readiness.","sources":[{"title":"GOV.UK: alpha phase","url":"https://www.gov.uk/service-manual/agile-delivery/how-the-alpha-phase-works","note":"Supports using prototypes to test risky assumptions and decide whether to advance."},{"title":"GOV.UK: discovery phase","url":"https://www.gov.uk/service-manual/agile-delivery/how-the-discovery-phase-works","note":"Supports problem and constraint discovery before committing to a solution."}],"updatedAt":"2026-11-02"}},{"id":"ai-product-management","name":"AI Product Management","category":"AI Product Management, UX & Delivery","subcategory":null,"section_id":"ai-product-collaboration-professional-practice","section_name":"AI Product, Collaboration & Professional Practice","description":"AI product management defines which user problem an AI capability should solve and how its value will be assessed through delivery and operation. The competency is balancing user needs, feasibility, quality, cost and risk, while recognizing that model capability alone does not establish a useful product or justify automation.","type":"concept","editorial":{"definition":"An AI product connects data and model behavior to a real workflow. Product management frames the job to be done, identifies affected users and chooses scope and success conditions. It differs from selecting a model or writing prompts, and from requirements engineering's detailed specification of behavior. AI outputs can vary, data can change and users may need review or escalation, so value depends on the complete interaction and operational process. A successful model metric is one piece of evidence; task completion, effort, error cost and access can change the product's actual usefulness.","practice":"The practitioner studies the current workflow, compares AI and simpler alternatives and formulates a bounded value hypothesis. They define outcome and guardrail measures with the team, prioritize experiments and make release decisions from representative evidence. They plan adoption, support and ownership, including what users do when the system fails. Useful work yields a coherent product scope and roadmap tied to demonstrated needs and operating constraints, with explicit conditions for expanding, revising or discontinuing a capability.","example":"A product manager considers an assistant for drafting maintenance reports. Interviews show that finding evidence takes more effort than writing sentences. The initial product focuses on retrieving and organizing source observations, with drafts as an optional step. The manager defines success through complete reports and reviewer effort, works with engineering on retrieval quality and postpones automatic submission until the workflow and consequences are understood.","limits":"Model novelty can distract from a weak problem definition, and engagement can increase even when users are correcting failures. An attractive demo may omit access, cost or support requirements. Check the value hypothesis through representative use and distinguish short-term reactions from sustained outcomes. AI product management requires informed scope decisions; it should not promise universal accuracy or treat every task as an opportunity to replace human judgment.","sources":[{"title":"GOV.UK: discovery phase","url":"https://www.gov.uk/service-manual/agile-delivery/how-the-discovery-phase-works","note":"Supports user problems, constraints and decisions about whether to build."},{"title":"GOV.UK: measuring service success","url":"https://www.gov.uk/service-manual/measuring-success/measuring-the-success-of-your-service","note":"Supports combining service metrics with user research and broader outcomes."}],"updatedAt":"2026-11-02"}},{"id":"ai-requirements-engineering","name":"AI Requirements Engineering","category":"AI Product Management, UX & Delivery","subcategory":null,"section_id":"ai-product-collaboration-professional-practice","section_name":"AI Product, Collaboration & Professional Practice","description":"AI requirements engineering specifies what an AI-enabled system must do, under which conditions and with what evidence of acceptance. The competency is translating user needs and uncertain model behavior into testable contracts, including data, permissions, quality thresholds, fallback and operational constraints that cannot be inferred from a prompt alone.","type":"concept","editorial":{"definition":"A requirement states a needed system property or behavior and connects it to a verification or validation method. AI requirements combine deterministic rules, such as permitted actions and response schemas, with statistical expectations assessed over defined cases. They must identify the population and context in which quality is measured. This differs from product management's selection of value and scope, and from prompt writing's configuration of one model interaction. The specification covers the complete system, including retrieval, tools, interface and human workflow, rather than assuming a model's general capability becomes an application guarantee.","practice":"The practitioner elicits concrete tasks and unacceptable outcomes, records assumptions and resolves ambiguous terms through examples. They define inputs, outputs, data availability, permission boundaries and error behavior. For variable outputs, they choose a representative evaluation set, review criteria and release conditions. They trace requirements to implementation and checks, assigning owners for unresolved questions. Useful work yields an actionable specification and acceptance plan that engineering, design and reviewers can apply consistently, including what the system should do when it cannot satisfy a request.","example":"A team specifies a policy-answering assistant. Requirements state which document collection it may use, how citations identify supporting passages and when it must report that evidence is insufficient. Access filtering has deterministic integration tests; answer usefulness has a documented review rubric and representative questions. A scenario with conflicting policy versions checks that the assistant exposes the conflict instead of inventing one definitive answer.","limits":"Terms such as accurate, helpful or safe remain ambiguous without context and checks. A benchmark threshold can hide failure on important subgroups or rare consequential cases. Overly narrow acceptance can reward formatting while missing the real user need. Inspect traceability, evaluation coverage and fallback requirements. Requirements cannot make a probabilistic model deterministic; they define acceptable system behavior and the evidence needed to decide whether a particular implementation meets it.","sources":[{"title":"NASA systems engineering fundamentals","url":"https://www.nasa.gov/reference/2-0-fundamentals-of-systems-engineering/","note":"Supports requirements, boundaries, interfaces and verification versus validation."},{"title":"NIST AI RMF Playbook","url":"https://www.nist.gov/itl/ai-risk-management-framework/nist-ai-rmf-playbook","note":"Supports contextual evaluation and documented AI risk and performance requirements."}],"updatedAt":"2026-11-02"}},{"id":"ai-risk-management","name":"AI Risk Management","category":"AI Product Management, UX & Delivery","subcategory":null,"section_id":"ai-product-collaboration-professional-practice","section_name":"AI Product, Collaboration & Professional Practice","description":"AI risk management identifies, evaluates and controls possible adverse outcomes across an AI system's lifecycle. The competency is relating model and workflow failures to affected people and operations, assigning accountable owners and deciding which controls, monitoring or changes are needed before and after the system is used.","type":"concept","editorial":{"definition":"Risk depends on context: a plausible incorrect sentence has different consequences in a creative draft, a maintenance instruction or an automated action. AI risk management considers the model, data, tools, deployment and human response as one system. NIST's AI Risk Management Framework organizes work through Govern, Map, Measure and Manage functions. This is distinct from a single safety filter or model evaluation. Evaluations provide evidence about selected behavior; risk management determines its significance, responsibilities and response. It also separates a known control from an untested assumption that the control will work.","practice":"The practitioner maps intended use and affected parties, identifies plausible failure pathways and records impact and uncertainty. They assign owners, select preventive or detective controls and test whether those controls interrupt the relevant pathway. They define escalation, monitoring and review conditions, preserving a record of decisions and residual risk. Useful work produces a living risk register and response plan connected to actual system behavior, including clear authority to restrict or stop a capability when evidence changes.","example":"A team evaluates an assistant that drafts equipment operating instructions. Domain reviewers identify a failure where retrieved advice applies to a different device variant. The risk owner requires variant confirmation, source visibility and human approval before instructions are used. A test intentionally supplies conflicting variants and checks the fallback. An incident plan defines who investigates if an inappropriate instruction reaches a user and how affected versions are withdrawn.","limits":"A register can become paperwork if controls are not implemented or reviewed. Likelihood estimates may be uncertain, and rare failures can escape routine evaluation. Content filtering addresses only part of the system's risk. Check control effectiveness, owner authority and escalation behavior. Risk management cannot promise the absence of harm; it supports explicit, revisable decisions about a defined use and the evidence available to its accountable operators.","sources":[{"title":"NIST AI Risk Management Framework","url":"https://www.nist.gov/itl/ai-risk-management-framework","note":"Provides the contextual, lifecycle-based Govern, Map, Measure and Manage framework."},{"title":"NIST AI RMF Playbook","url":"https://www.nist.gov/itl/ai-risk-management-framework/nist-ai-rmf-playbook","note":"Supports operational actions, roles, documentation and review of AI risk controls."}],"updatedAt":"2026-11-02"}},{"id":"ai-ux-design","name":"AI UX Design","category":"AI Product Management, UX & Delivery","subcategory":null,"section_id":"ai-product-collaboration-professional-practice","section_name":"AI Product, Collaboration & Professional Practice","description":"AI UX design shapes how people understand, use and recover from systems whose outputs may vary or be wrong. The competency is designing expectations, control, evidence and feedback around a real task, so users can judge when to rely on assistance and how to continue when it fails.","type":"concept","editorial":{"definition":"AI interactions differ from many fixed software flows because a request can produce variable, incomplete or unsupported output. UX design addresses the surrounding experience: how capability is introduced, how results and uncertainty appear, which actions need confirmation and how errors can be corrected. It is broader than a chat layout or a prompt. Human-AI interaction guidance emphasizes initial expectations, use-time behavior, failure recovery and adaptation over time. The model's output and the person's interpretation jointly determine the practical outcome, so interface design must account for reliance and oversight rather than merely successful generation.","practice":"The practitioner studies user tasks and knowledge, prototypes interaction choices and tests them with representative successes and failures. They make source evidence and action consequences inspectable, provide meaningful correction and undo where appropriate and avoid presenting unsupported precision. They consider accessibility, interruptions and the effort of verifying results. Useful work yields an interaction specification and evidence from user research, including what users understand about the system and whether they can complete the task when the model gives an uncertain or incorrect response.","example":"A designer tests an assistant that proposes changes to a maintenance schedule. Users initially interpret a polished recommendation as approved work. The revised interface shows the affected equipment, supporting records and editable changes before submission, with explicit approval in the existing workflow. Research sessions include a wrong equipment identifier and missing evidence to check whether users notice the issue and can correct or reject the proposal.","limits":"A warning banner can be ignored, and confidence-like displays can increase unjustified trust if their meaning is unclear. Explanations may be persuasive without being faithful to the system. Repeated approval prompts can burden users without improving review. Check actual understanding, recovery and task outcomes under failure, not only preference for a polished interface. UX design can support appropriate reliance, but it cannot compensate for unacceptably poor model behavior or absent authorization controls.","sources":[{"title":"Guidelines for Human-AI Interaction","url":"https://www.microsoft.com/en-us/research/project/guidelines-for-human-ai-interaction/","note":"Supports expectations, interaction, failure recovery and adaptation in human-AI systems."},{"title":"GOV.UK: analyse a research session","url":"https://www.gov.uk/service-manual/user-research/analyse-a-research-session","note":"Supports grounding interaction decisions in observed user behavior."}],"updatedAt":"2026-11-02"}},{"id":"gradio","name":"Gradio","category":"Data Storytelling, Visualization & Prototyping","subcategory":null,"section_id":"ai-product-collaboration-professional-practice","section_name":"AI Product, Collaboration & Professional Practice","description":"Gradio creates browser interfaces around Python functions and model workflows. The competency is selecting components and event behavior that make a model easy to inspect, while controlling concurrency, state and input handling so a convenient demonstration does not conceal operational failures or expose unintended data.","type":"tool","editorial":{"definition":"Gradio's Interface abstraction connects a function to input and output components. Blocks offers more control over layout, events and data flow, including interfaces with several linked operations. Functions can return model results through UI components, and supported queues help manage execution demand. This differs from Streamlit's script-oriented execution and from a custom API-only service. The interface supplies a route for interaction; it does not validate a model's predictions or determine acceptable use. Uploaded files, temporary outputs, state and public sharing settings are part of the application's actual behavior.","practice":"The practitioner defines a bounded task, selects components with clear units and constraints and separates model logic from event wiring. They choose when execution starts, configure queue or concurrency behavior and represent loading, errors and empty results clearly. They inspect session state and file handling and check who can reach the application. Useful work yields an interactive model inspection or workflow tool with understandable inputs and results, including tests of multiple users and unsuitable input rather than only a successful local demonstration.","example":"An engineer builds an image-classification review interface in Gradio. Users upload an image, see the selected model's prediction and can flag an incorrect result. A Blocks layout keeps model selection and feedback connected to the same image. The engineer bounds input size, checks concurrent requests and verifies that one session's uploaded file or annotation cannot become another session's displayed example.","limits":"A shareable interface can reach people beyond the intended test group, and temporary files or hidden state can expose information if configured carelessly. Queuing helps schedule work but does not increase model capacity without limit. UI output can look authoritative despite incorrect predictions. Check current hosting and access settings, input constraints, session boundaries and failures. Gradio supports interaction; broader product validation and production operations remain additional work.","sources":[{"title":"Gradio Blocks documentation","url":"https://gradio.app/docs/gradio/blocks","note":"Documents components, events, data flow, queues, session lifecycle and application sharing."},{"title":"Gradio Quickstart","url":"https://www.gradio.app/guides/quickstart","note":"Supports the distinction between Interface and more customized application construction."}],"updatedAt":"2026-11-02"}},{"id":"shiny","name":"Shiny","category":"Data Storytelling, Visualization & Prototyping","subcategory":null,"section_id":"ai-product-collaboration-professional-practice","section_name":"AI Product, Collaboration & Professional Practice","description":"Shiny is a framework for reactive analytical web applications, available for R and Python. The competency is defining data and interface dependencies so user input updates the correct calculations and outputs, while managing session state, resource use and analytical meaning across repeated interactions.","type":"tool","editorial":{"definition":"A Shiny application connects inputs to calculations and rendered outputs through reactive dependencies. When an input changes, affected computations can be invalidated and recalculated rather than rerunning every unrelated operation. The interface and server logic coordinate what users see and how analytical work executes. Shiny differs from a static notebook and from frameworks built around explicitly wired callback functions, although applications can serve similar tasks. Reactive expressions, effects and event behavior have implementation-specific details across languages. The core reasoning is the dependency graph between selected values, data and visible results.","practice":"The practitioner identifies the analytical task, defines a clear interface and separates reusable calculations from reactive wiring. They decide which work should update automatically and which should wait for explicit submission. They manage user-specific state, validate inputs and show failed or empty results deliberately. They inspect dependency behavior and resource use with realistic sessions. Useful work produces an application whose charts, tables and downloads refer to the same selected calculation and whose operation can be understood without tracing arbitrary hidden changes.","example":"An analyst creates a Shiny app for exploring forecast assumptions. Region and horizon controls affect a reactive forecast calculation used by both a chart and a result table. An explicit run action prevents expensive recomputation during every intermediate input change. The analyst tests an invalid horizon and a region with no observations, then opens two sessions to check that each user's assumptions and results remain separate.","limits":"Unexpected reactive dependencies can trigger repeated work or leave results stale. Shared mutable objects can mix sessions, and long calculations can interrupt responsiveness. R and Python implementations have distinct APIs, so similar concepts should not be assumed to use identical syntax. Check dependency scope, session boundaries and output consistency. Shiny organizes an analytical interaction; it does not establish that the forecast, estimator or comparison shown by the app is statistically valid.","sources":[{"title":"Shiny introductory tutorial","url":"https://shiny.posit.co/r/getstarted/shiny-basics/lesson1/","note":"Documents interface and server structure for reactive analytical applications."},{"title":"Shiny for Python documentation","url":"https://shiny.posit.co/py/","note":"Supports the Python implementation and its relationship to the Shiny framework."}],"updatedAt":"2026-11-02"}},{"id":"scientific-writing","name":"Scientific Writing","category":"Applied Research & Domain Practice","subcategory":null,"section_id":"ai-product-collaboration-professional-practice","section_name":"AI Product, Collaboration & Professional Practice","description":"Scientific writing communicates a question, method and evidence so readers can assess what was done and what the results support. In AI work, the competency is explaining data, experiments, assumptions and limitations with enough precision for scrutiny and reproduction, while separating measured findings from interpretation and wider claims.","type":"concept","editorial":{"definition":"A scientific paper or technical report builds an argument from a research question through methods and results to a bounded conclusion. The method specifies how evidence was obtained; results report observations; discussion interprets them in relation to assumptions and alternatives. AI reporting needs detail about datasets, splits, models, configuration and evaluation because small choices can change the meaning of a comparison. Model cards serve a related but narrower purpose by documenting a model's intended use, evaluation and limitations. Clear writing is therefore both communication and an expression of the study's evidential structure.","practice":"The practitioner states the contribution precisely, describes the experimental design and records the details needed to understand or reproduce the work. They align tables and figures with supported claims, report relevant uncertainty and negative or limiting results and cite primary sources accurately. They distinguish a new method from an implementation variation and disclose missing reproducibility information. Useful work yields a report that reviewers can interrogate, with transparent assumptions and conclusions whose scope matches the population, tasks and conditions actually studied.","example":"A researcher writes a report comparing two retrieval methods. They describe corpus construction, question sampling, tuning boundaries and the relevance rubric before presenting results. A table separates overall retrieval quality from difficult questions containing product identifiers. The discussion explains why those errors matter for the intended assistant and avoids claiming general superiority from one corpus. Supporting configuration and examples let another engineer inspect the comparison.","limits":"Precise prose cannot rescue a weak experiment, and selective reporting can make a study appear stronger than its evidence. Reproducibility requires actual details and artifacts, not a generic statement that code will be available. Model-assisted drafting can invent references or overstate findings. Check citations, numerical consistency, claim scope and omitted alternatives. Scientific writing should enable assessment; persuasive language and publication format are not substitutes for valid methods.","sources":[{"title":"NeurIPS Paper Checklist","url":"https://neurips.cc/public/guides/PaperChecklist","note":"Supports clear contributions, assumptions, limitations, experimental details and reproducibility."},{"title":"Model Cards for Model Reporting","url":"https://research.google/pubs/model-cards-for-model-reporting/","note":"Supports structured reporting of intended use, evaluation and model limitations."}],"updatedAt":"2026-11-02"}},{"id":"apache-superset","name":"Apache Superset","category":"Data Storytelling, Visualization & Prototyping","subcategory":null,"section_id":"ai-product-collaboration-professional-practice","section_name":"AI Product, Collaboration & Professional Practice","description":"Apache Superset is an open-source platform for exploring data and building charts and dashboards over supported data sources. The competency is configuring analytical access and reusable datasets, defining trustworthy measures and designing views that support decisions without assuming the dashboard layer fixes the underlying SQL or data model.","type":"tool","editorial":{"definition":"Superset connects to analytical databases through supported interfaces and provides query exploration, chart construction and dashboard composition. Datasets and reusable metric definitions help organize the meaning exposed to chart authors. The platform is primarily a visualization and exploration layer; most substantive computation and storage remain with connected systems. It differs from a custom analytical application framework such as Dash or Shiny. User roles, data-source access and deployment configuration determine who can query or view information, while database performance and semantics affect what the displayed analysis actually means.","practice":"The practitioner configures appropriate connections and access, creates datasets with documented grain and defines metrics with explicit formulas and filters. They build charts and dashboard interactions around a recurring decision, check consistency across views and inspect the generated queries where needed. They monitor slow queries, caching and freshness and test access from relevant user roles. Useful work delivers a maintained analytical surface whose measures can be reconciled with the source and whose permissions and operational dependencies are understood.","example":"A team monitors model-assisted support operations through Superset. The engineer exposes an aggregated dataset rather than raw sensitive messages, defines completion and escalation measures and builds filters for product and time period. They compare the dashboard totals with a direct SQL query and test a restricted user's access. A freshness indicator prevents an old successful refresh from being interpreted as current service behavior.","limits":"A polished dashboard can repeat incorrect joins or metric definitions at scale. Caching can hide stale data, and connected database permissions may differ from dashboard roles. High-cardinality queries can overload the analytical store. Check deployment-specific access, source grain, generated queries and freshness. Superset provides tools for exploration and BI; it does not independently establish data quality or determine which measures lead to a sound business decision.","sources":[{"title":"Apache Superset project","url":"https://github.com/apache/superset","note":"Provides the official scope of the SQL-connected data exploration, charting and dashboard platform."}],"updatedAt":"2026-11-02"}},{"id":"dashboards","name":"Dashboards","category":"Data Storytelling, Visualization & Prototyping","subcategory":null,"section_id":"ai-product-collaboration-professional-practice","section_name":"AI Product, Collaboration & Professional Practice","description":"Dashboard design creates a recurring view of evidence for a defined decision or operating task. The competency is selecting measures, comparisons, filters and freshness cues that help users recognize a condition and take an appropriate next step, rather than accumulating charts without a clear purpose.","type":"concept","editorial":{"definition":"A dashboard combines related views that users revisit as data changes. Its design depends on who uses it, how often and what they can do in response. Operational dashboards may expose incidents and resource pressure; analytical dashboards may compare outcomes across periods or groups. The artifact differs from a one-time data story and from an individual visualization. Metric definitions, source grain and update schedules underpin every view. The user needs enough context to distinguish a genuine change from a shifted denominator, delayed refresh or different filter selection.","practice":"The practitioner identifies decisions and owners, selects a small set of relevant measures and defines comparisons or thresholds with their intended meaning. They establish filter behavior, drill-down paths and clear freshness and missing-data states. They check that related charts use compatible populations and time windows and test the dashboard with realistic tasks. Useful work delivers a maintained decision surface with documented sources and actions, including a way to investigate an anomaly rather than only observe an unexplained number.","example":"An operations team uses a dashboard for an AI document service. The top view separates backlog, failed jobs and processing latency, each with a current update time. Selecting a failure category leads to affected job identifiers and the responsible component. A delayed refresh visibly marks data as stale. In a simulated storage outage, the team checks whether the dashboard supports the correct response instead of encouraging unnecessary model restarts.","limits":"Too many measures can obscure the signal, and arbitrary thresholds can cause alert fatigue. Filters may change denominators without users noticing. A dashboard cannot establish causality or solve a problem whose owner and action remain undefined. Check freshness, consistency, accessibility and task completion. Useful dashboard design balances concise monitoring with enough supporting detail to investigate; tool choice alone does not establish that balance.","sources":[{"title":"GOV.UK: measuring service success","url":"https://www.gov.uk/service-manual/measuring-success/measuring-the-success-of-your-service","note":"Supports selecting measures from service questions and combining quantitative and user evidence."},{"title":"Plotly Python documentation","url":"https://plotly.com/python/","note":"Supports construction and inspection of interactive analytical views."}],"updatedAt":"2026-11-02"}},{"id":"geospatial-data","name":"Geospatial Data","category":"Applied Research & Domain Practice","subcategory":null,"section_id":"ai-product-collaboration-professional-practice","section_name":"AI Product, Collaboration & Professional Practice","description":"Geospatial data describes observations in relation to location, geometry and often time. The competency is handling coordinate systems, spatial relationships, resolution and provenance so measurements and joins retain geographic meaning, including the difference between a mapped pattern and a valid inference about the underlying places or populations.","type":"concept","editorial":{"definition":"Vector data represents features such as points, lines and polygons with attributes; raster data represents values on a spatial grid. Coordinate reference systems determine how coordinates relate to the Earth, while transformations and raster georeferencing connect representations. Spatial operations can join locations, calculate distances or aggregate within areas, but their meaning depends on units, boundaries and resolution. This is broader than GeoPandas proficiency, which concerns one vector-processing tool. AI applications also need to consider spatial dependence and whether nearby or overlapping observations should be separated during validation.","practice":"The practitioner checks source coordinate systems, geometry validity, timestamps and coverage, then chooses suitable transformations and analytical units. They align raster grids or vector layers deliberately, define boundary and missing-data treatment and inspect known locations visually. They document source resolution and avoid implying finer precision than the data supports. Useful work produces a spatial dataset or analysis with traceable coordinate and aggregation choices, along with validation that accounts for geography when the model's intended use involves new places.","example":"An analyst estimates vegetation conditions around facilities from raster observations and site polygons. They confirm georeferencing, transform polygons appropriately and define how partially intersected cells contribute to an aggregate. Missing or cloud-obscured cells remain distinguishable from low vegetation values. Known sites are inspected on a map, and a model evaluation holds out geographic areas to avoid treating nearby, highly similar observations as fully independent evidence.","limits":"Wrong coordinate systems, axis order or units can produce convincing but misplaced results. Aggregation boundaries and raster resolution can change apparent patterns, while spatial autocorrelation can inflate validation results. Maps may expose sensitive locations. Check coordinate ranges, coverage, resolution, temporal alignment and validation geography. Geospatial competence includes interpreting what the data represents; a successful spatial operation is not proof of an accurate local measurement or causal relationship.","sources":[{"title":"GeoPandas user guide","url":"https://geopandas.org/en/stable/docs/user_guide.html","note":"Supports vector geometry, coordinate reference systems and spatial operations."},{"title":"Rasterio georeferencing","url":"https://rasterio.readthedocs.io/en/stable/topics/georeferencing.html","note":"Explains raster coordinate systems and transforms linking pixels to locations."}],"updatedAt":"2026-11-02"}},{"id":"metrics-definition","name":"Metrics Definition","category":"AI Product Management, UX & Delivery","subcategory":null,"section_id":"ai-product-collaboration-professional-practice","section_name":"AI Product, Collaboration & Professional Practice","description":"Metrics definition specifies how an outcome or system property is measured so teams can interpret and compare evidence consistently. In AI work, the competency is choosing an operationally meaningful quantity and documenting its formula, population, time window and exclusions, while guarding against incentives that improve the number without improving the outcome.","type":"concept","editorial":{"definition":"A metric is an operational definition, not just a label such as accuracy or engagement. It identifies what counts, at which observation unit and over which eligible population. A rate requires a denominator; latency requires start and end events; model quality requires a target and evaluation protocol. Product outcomes, model performance, reliability and risk indicators answer different questions. Proxy measures can be useful but should be connected to the intended goal. Definitions also need versioning when logging or business processes change, otherwise a trend can mix incompatible quantities.","practice":"The practitioner starts from a decision or objective, defines the measure and tests whether it can be computed from available data. They specify eligibility, aggregation, missing events and subgroup breakdowns, then reconcile example cases manually with the implementation. They pair a primary outcome with relevant guardrails and name an owner for changes. Useful work produces a metric contract and calculation that stakeholders can inspect, including interpretation limits and a rule for comparing periods when the population or definition changes.","example":"A team measures whether an AI drafting tool improves support work. Instead of counting generated drafts, the analyst defines completed cases that meet review criteria and records the full staff effort through submission. The contract specifies which cases are eligible and how abandoned sessions are treated. A guardrail tracks incorrect accepted advice. Manually reconstructed examples check the event pipeline before the measures enter product decisions.","limits":"A well-defined proxy can still be optimized at the expense of the underlying goal. Missing events, changed eligibility and aggregate averages can hide poor outcomes for important groups. Model scores and business value are not interchangeable. Check denominator stability, measurement coverage and incentive effects. Metrics should support judgment alongside qualitative evidence; adding precision to a formula does not make an inappropriate objective desirable or a causal claim established.","sources":[{"title":"GOV.UK: measuring service success","url":"https://www.gov.uk/service-manual/measuring-success/measuring-the-success-of-your-service","note":"Supports choosing metrics from service questions and combining them with user and operational evidence."},{"title":"Rules of Machine Learning","url":"https://developers.google.com/machine-learning/guides/rules-of-ml","note":"Supports metric choices, objective alignment and the distinction between modeled and broader goals."}],"updatedAt":"2026-11-02"}},{"id":"mcp-gateway-tool-governance","name":"MCP Gateway & Tool Governance","category":"Tool Use & Agent Protocols","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"MCP gateway and tool governance operates a policy-enforcement and schema-verification layer between agent runtimes and Model Context Protocol (MCP) or external tool servers. It pins tool manifests, scopes outbound arguments and prevents descriptor drift or tool poisoning across multi-server workflows.","type":"concept","editorial":{"definition":"An agent connected to external Model Context Protocol (MCP) servers or remote tool registries imports both executable capabilities and natural-language tool descriptions into its active context. Without an intermediate governance boundary, a modified server manifest can silently alter model instructions, widen parameter scopes or expose cross-tenant resources. MCP gateway governance separates tool discovery from execution approval. It pins cryptographic hashes or versioned schemas for approved tool definitions, enforces per-caller and per-task access policies, sanitizes inbound tool outputs before they re-enter the prompt context and records structured telemetry for every invocation.","practice":"Deploy a central gateway or proxy between agent runtimes and downstream MCP servers. Register each server with an explicit versioned tool manifest, allowed transport settings and scoped credentials rather than passing user or workspace tokens directly to third-party tool hosts. Validate every tool call against its JSON Schema and business-policy rules before forwarding, and block unreviewed manifest changes (rug-pull updates) until security review completes. Test the gateway with adversarial tool descriptions, oversized payloads, unauthorized parameter combinations and revoked server certificates to verify that policy failures stop execution deterministically.","example":"An engineering assistant connects to source-control, ticketing and cloud-deployment MCP servers. The gateway permits read-only repository and issue queries during triage but blocks deployment tools unless an approved change-ticket ID is bound to the session context. When a third-party MCP package updates a tool description to include hidden instructions requesting environment variables, the gateway detects the manifest digest mismatch, quarantines the server update and prevents the altered descriptor from reaching the model context.","limits":"A gateway cannot make an inherently unsafe tool operation safe if the granted scope is overly broad, nor can schema validation alone catch semantically valid arguments that point to the wrong business record. Latency and availability of the proxy layer must be engineered as critical-path infrastructure. Tool governance complements, rather than replaces, agent identity management, sandboxing and write-action verification.","sources":[{"title":"Model Context Protocol Specification: Authorization and Security Best Practices","url":"https://modelcontextprotocol.io/specification/2025-03-26/basic/authorization","note":"Defines authorization flows, transport security boundaries and trust considerations between MCP clients and servers."},{"title":"OWASP Top 10 for Agentic Applications","url":"https://genai.owasp.org/resource/owasp-top-10-for-agentic-applications-for-2026/","note":"Catalogs tool misuse, descriptor manipulation and runtime control boundaries in tool-using agent architectures."},{"title":"NIST NCCoE DevSecOps and Software Supply Chain Practices for Agentic AI","url":"https://www.nccoe.nist.gov/news-insights/new-nist-nccoe-resources-devsecops-and-october-28-webinar-agentic-ai","note":"Establishes authority paths and supply-chain verification controls for external agent tools and packages."}],"updatedAt":"2026-11-02"}},{"id":"agent-write-action-verification","name":"Agent Write-Action & Transaction Verification","category":"Agent Control & Oversight","subcategory":null,"section_id":"agentic-ai-systems","section_name":"Agentic AI Systems","description":"Agent write-action and transaction verification enforces deterministic pre-commit checks, dry-run state diffs and bounded mandates before an autonomous agent executes state-mutating operations such as database writes, financial transactions, external communications or destructive file changes.","type":"concept","editorial":{"definition":"Read-only retrieval and analysis tolerate retry and self-correction, whereas write actions mutate external state—committing payments, modifying production records, sending customer messages or deleting files—in ways that may be costly or impossible to reverse. Models under task pressure or ambiguous instructions can escalate from read exploration to unintended write execution. Write-action verification separates proposing a state change from committing it. The runtime classifies tools by mutability and blast radius, evaluates invariants against a simulated or staged diff, verifies an explicit user or policy mandate and requires an idempotency and rollback contract before any irreversible call proceeds.","practice":"Classify every tool operation into read, reversible-write and irreversible-write tiers. For state-mutating calls, require a structured two-phase pattern: first generate a dry-run preview or state diff, then evaluate deterministic predicates (value caps, recipient allowlists, affected-row thresholds and mandate expiration) outside the model. Bind high-impact transactions to a cryptographically or structurally verifiable mandate that specifies maximum amount, target entity and time window. Benchmark the system on adversarial and ambiguous scenarios where achieving the goal tempts the agent to bypass missing prerequisites or overwrite protected state.","example":"A procurement agent is asked to reconcile a delayed supplier shipment. It can freely query inventory and draft a replacement order in staging, which produces a structured diff showing unit count, vendor ID and total spend. Because the order exceeds the automated threshold, the runtime blocks direct submission, verifies that the supplier matches the approved master record and presents the exact state diff for human sign-off with a single-use idempotency key before the ERP write endpoint is invoked.","limits":"Verification gates only protect operations that pass through the controlled tool interface; if an agent has unrestricted shell or raw database credentials, it can mutate state outside the gate. Poorly designed confirmation prompts can induce approval fatigue, turning human review into a rubber stamp. Effective write verification therefore pairs compact, high-signal diffs with hard runtime ceilings that cannot be overridden by conversational persuasion.","sources":[{"title":"Anthropic Research: Investigating Unintended Model Actions","url":"https://www.anthropic.com/research/investigating-unintended-model-actions","note":"Analyzes how models cross from read/prepare steps into unintended state-mutating actions when boundaries are implicit."},{"title":"AgentSpec: Customizable Runtime Enforcement for Safe and Reliable LLM Agents","url":"https://arxiv.org/abs/2503.18666","note":"Formalizes runtime predicate checking and pre-action enforcement hooks before an agent executes hazardous or state-changing steps."},{"title":"UK DRCF Joint Statement on Protecting People and Businesses in an Agentic Economy","url":"https://www.drcf.org.uk/siteassets/drcf/pdf-files/drcf-joint-statement-protecting-people-and-businesses-in-and-agentic-economy2.pdf","note":"Outlines authority ledgers, transaction mandates and consumer-protection boundaries for autonomous commercial actions."}],"updatedAt":"2026-11-02"}},{"id":"disaggregated-inference-serving","name":"Disaggregated Prefill-Decode Serving","category":"Serving Runtimes","subcategory":null,"section_id":"llmops-model-serving-inference-optimization","section_name":"LLMOps, Model Serving & Inference Optimization","description":"Disaggregated prefill-decode serving separates compute-bound prompt prefill instances from memory-bandwidth-bound token decode instances in production LLM clusters. It coordinates high-speed KV-cache transfer, cache-aware routing and tenant isolation to meet strict first-token and per-token latency targets.","type":"concept","editorial":{"definition":"In standard colocated LLM serving, the same GPU instance executes both the compute-intensive prefill phase (processing the full input prompt in parallel) and the memory-bandwidth-bound decode phase (generating output tokens autoregressively). Long prompts stall ongoing decode batches, causing spikes in time-to-output-token (TPOT), while decode reservations underutilize tensor compute during prefill. Disaggregated serving places prefill and decode on separately configured and independently scaled node pools. Once prefill computes the initial attention keys and values, the runtime transfers those KV-cache blocks over high-bandwidth interconnects (such as NVLink or RDMA) to a decode worker that continues streaming tokens.","practice":"Profile workload prompt-to-output length ratios and goodput service-level objectives (TTFT and TPOT targets) before choosing a prefill-to-decode instance ratio. Configure the serving framework (such as vLLM, SGLang or llm-d) with a low-latency KV-cache transport layer and cache-aware request router so repeated prefixes land on prefill workers that already hold valid cached blocks. Enforce strict cryptographic or namespace isolation on shared KV-cache pools so cross-tenant prefix reuse cannot leak prompt state across organizational boundaries. Benchmark under bursty long-context arrivals and verify fallback behavior when interconnect bandwidth saturates.","example":"A platform team serves an enterprise coding assistant whose traffic mixes 40,000-token repository prefills with interactive 200-token completions. On colocated GPUs, incoming repository prefills repeatedly push active completions past their 40 ms per-token SLA. By splitting the cluster into compute-dense prefill nodes and bandwidth-optimized decode nodes connected via RDMA, the team isolates decode jitter, raises cluster goodput by over 35 percent at the same p99 latency and verifies that tenant KV namespaces never cross-match.","limits":"Disaggregation adds network transfer overhead and orchestration complexity; for short prompts or low-concurrency workloads over slow interconnects, transferring the KV cache can cost more latency than colocated execution. Failure domains also multiply because a dropped KV transfer mid-request requires coordinated retry or recomputation. Engineers must validate actual interconnect throughput, memory accounting and tenant isolation rather than assuming disaggregation improves every workload.","sources":[{"title":"DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Serving","url":"https://arxiv.org/abs/2401.09670","note":"Establishes the performance model and goodput advantages of separating prefill and decode phases across distinct GPU instances."},{"title":"Splitwise: Efficient Generative LLM Inference Using Phase Splitting","url":"https://arxiv.org/abs/2311.18677","note":"Analyzes hardware utilization differences between compute-bound prompt processing and memory-bound token generation."},{"title":"vLLM Disaggregated Prefill Documentation","url":"https://docs.vllm.ai/en/latest/features/disagg_prefill.html","note":"Documents production configuration, KV-cache connector architecture and operational trade-offs for disaggregated serving."}],"updatedAt":"2026-11-02"}},{"id":"ai-incident-response-reporting","name":"AI Incident Response & Regulatory Reporting","category":"Governance, Regulation & Ethics","subcategory":null,"section_id":"ai-safety-security-governance-ethics","section_name":"AI Safety, Security, Governance & Ethics","description":"AI incident response and regulatory reporting designs operational containment, forensic trace preservation and statutory notification workflows for model and agent failures, aligning internal severity triage with overlapping EU AI Act, data-protection and sector-regulator reporting clocks.","type":"concept","editorial":{"definition":"When an AI system or autonomous agent causes an unauthorized state change, leaks personal data through telemetry or tool calls, or exhibits a safety-control bypass, engineering containment and legal notification run on tight, concurrent clocks. Unlike traditional software outages, AI incidents often involve stochastic trajectories, third-party model providers, ephemeral prompt/KV state and multi-jurisdictional obligations—such as the EU AI Act Article 73 serious-incident deadlines (ranging from 2 to 15 days depending on severity), GDPR 72-hour personal-data breach rules and national AI safety institute protocols. This competence unifies runtime kill-switches, immutable evidence capture and structured regulatory disclosure.","practice":"Maintain an AI incident runbook that maps technical failure modes (unauthorized agent tool execution, cross-tenant context exposure, guardrail bypass or widespread harmful output) to severity tiers and statutory notification clocks. Instrument runtimes so triggering a containment stop or circuit breaker automatically snapshots the model version, system prompt digest, tool-call ledger and authorization tokens without exposing raw personal data to unauthorized reviewers. Run tabletop exercises with engineering, security, privacy and legal teams to rehearse determining whether an agent failure constitutes a reportable data breach, a serious AI incident or both.","example":"A customer-operations agent misinterprets a poisoned email attachment and exports account summaries to an external webhook before rate limits trip. The incident response workflow immediately revokes the agent workload token, isolates the immutable execution trace showing the exact prompt, tool arguments and affected customer IDs, and starts the 72-hour data-protection assessment alongside the provider/deployer incident log. Because the telemetry classifies which records left the boundary within two hours, the organization submits an evidence-backed notification within the statutory window rather than reconstructing logs from memory.","limits":"An incident reporting playbook cannot compensate for missing runtime telemetry; if tool arguments, model versions or delegation chains were never logged, root-cause reconstruction will fail under regulatory scrutiny. Conversely, over-logging raw prompts without redaction turns the forensic archive itself into a high-risk breach target. Reporting obligations vary by jurisdiction and actor role (provider versus deployer), so technical triage must integrate with qualified legal review.","sources":[{"title":"Regulation (EU) 2024/1689 (EU AI Act) Article 73: Reporting of Serious Incidents","url":"https://eur-lex.europa.eu/eli/reg/2024/1689/oj","note":"Sets binding timelines and responsibilities for reporting serious incidents and malfunctions of high-risk AI systems."},{"title":"OECD Common Guide for AI Incident Reporting","url":"https://oecd.ai/en/incidents","note":"Provides standardized taxonomy, severity dimensions and evidence fields for tracking and reporting AI incidents."},{"title":"NIST AI 100-1: Artificial Intelligence Risk Management Framework (Manage Function)","url":"https://nvlpubs.nist.gov/nistpubs/ai/NIST.AI.100-1.pdf","note":"Details incident response, recovery, deactivation and post-deployment monitoring practices in Manage 4.1–4.3."}],"updatedAt":"2026-11-02"}},{"id":"agentic-task-environment-design","name":"Agentic Task-Environment & Harness Design","category":"Evaluation Design & Testing","subcategory":null,"section_id":"ai-evaluation-observability","section_name":"AI Evaluation & Observability","description":"Agentic task-environment and harness design constructs reproducible, state-resettable sandboxes, realistic tool fixtures and deterministic outcome verifiers for evaluating and training tool-using AI agents without conflating harness scaffolding with underlying model capability.","type":"concept","editorial":{"definition":"Evaluating or training a multi-step agent requires more than a static question-answer dataset: the agent operates inside an execution harness (prompt templates, observation formatting, retry loops, context compaction and tool interfaces) connected to a stateful task environment (containers, file systems, mock databases or browser sessions). Small changes in harness scaffolding or leaked environment artifacts can swing measured success rates by double digits or allow an agent to pass a check via reward hacking without solving the task. This skill designs hermetic, resettable task environments paired with independent state verifiers and instrumented harnesses so capability measurements reflect genuine task completion.","practice":"Package each evaluation task as a deterministic container or state snapshot with seeded databases, realistic distractor data and explicit permission boundaries. Write outcome verifiers that inspect ground-truth environment state (database rows, git diffs, service state and absence of forbidden side effects) after execution rather than trusting the agent self-report or brittle string matching. Hold the harness constant when comparing models, and hold the model constant when ablate-testing harness changes. Audit failed and passed trajectories for environment shortcuts—such as reading test assertions from disk or exploiting mock API defaults—and report multi-trial reliability (such as pass@k and pass^k) across clean resets.","example":"A team builds an enterprise evaluation suite for an operations agent that resolves billing disputes across CRM and ledger tools. Each task boots an isolated SQLite and mock REST state containing realistic historical invoices, conflicting customer notes and policy thresholds. After the agent finishes, a deterministic verifier checks that the credit memo matches policy, the audit note cites the governing clause and no unrelated accounts were modified. When the team upgrades the agent retry harness, it re-runs the same frozen environment snapshots to measure the exact delta attributable to the harness.","limits":"High-fidelity task environments are expensive to author and maintain as production schemas evolve. Mock services that oversimplify latency, rate limits or partial failures can overstate real-world readiness, while overly rigid state verifiers may penalize valid alternative solution paths. Environment design must balance realism, reset speed and verifier completeness.","sources":[{"title":"SWE-bench: Can Language Models Resolve Real-World GitHub Issues?","url":"https://arxiv.org/abs/2310.06770","note":"Demonstrates containerized, execution-based task environments verified by independent test suites."},{"title":"OSWorld: Benchmarking Multimodal Agents for Open-Ended Tasks in Real Computer Environments","url":"https://arxiv.org/abs/2404.07972","note":"Details reproducible virtual-machine initialization, action spaces and post-execution state evaluation scripts."},{"title":"UK AISI Inspect Evaluation Framework","url":"https://inspect.ai-safety-institute.org.uk/","note":"Provides open-source architecture for sandboxes, tool harnesses, solvers and independent scorers in agent evaluations."}],"updatedAt":"2026-11-02"}},{"id":"skills-taxonomy-architecture-mapping","name":"Skills Taxonomy & Work-Task Architecture Mapping","category":"AI Product Management, UX & Delivery","subcategory":null,"section_id":"ai-product-collaboration-professional-practice","section_name":"AI Product, Collaboration & Professional Practice","description":"Skills taxonomy and work-task architecture mapping structures, crosswalks and governs enterprise skill and task ontologies across public frameworks (ESCO, O*NET, SFIA) and internal workflow systems, preserving version lineage and observable proficiency evidence as AI reshapes job tasks.","type":"concept","editorial":{"definition":"Organizations adopting AI cannot manage workforce redesign or learning investments at the level of coarse job titles alone, because automation and augmentation act on specific tasks, review gates and domain competencies. Public frameworks—such as ESCO, O*NET and SFIA—and commercial catalogs differ in granularity, update cadence and proficiency definitions. Skills taxonomy and work-task architecture mapping links role families to decomposed work tasks, maps internal skill IDs to external reference standards through explicit crosswalks and attaches observable evidence criteria so taxonomy updates do not break downstream analytics or workforce planning.","practice":"Decompose target roles into constituent work tasks, decision boundaries and required competencies before mapping them to canonical taxonomy nodes. Maintain an explicit versioned crosswalk (using relations such as exact match, broader, narrower and related) between internal job architectures and external standards like ESCO, O*NET and SFIA. Define proficiency levels using observable task-execution and verification behaviors—such as auditing model outputs or governing exception paths—rather than tool buzzwords alone. Establish a migration and lineage contract so when an external taxonomy releases a major version update, historical workforce metrics and learning pathways reconcile without silent data drift.","example":"An enterprise workforce-intelligence team connects its internal engineering and operations role catalog to ESCO and SFIA levels while evaluating where AI assistants change daily workflows. Instead of tagging roles with a generic prompt-writing label, the team maps specific task transitions—such as shifting from manual first-pass drafting to exception verification and sign-off—and records a versioned crosswalk table. When their commercial skills vendor updates its catalog taxonomy, the lineage table preserves year-over-year comparability across all business units.","limits":"A static skill catalog quickly decays if it relies solely on self-reported checkboxes or unverified keyword extraction without linking to actual work tasks and proficiency rubrics. Crosswalks between ontologies are rarely one-to-one; collapsing narrower operational skills into broad parent categories can hide critical capability bottlenecks. Governance requires periodic review with domain practitioners and clear separation between inferred skill signals and verified competence.","sources":[{"title":"European Classification of Skills, Competences, Qualifications and Occupations (ESCO) Methodology","url":"https://esco.ec.europa.eu/en/about-esco/escopedia/escopedia/esco-methodology","note":"Defines the structure, skill-occupation relations and crosswalk principles of the multilingual European taxonomy."},{"title":"O*NET Content Model","url":"https://www.onetcenter.org/content.html","note":"Documents how occupational profiles decompose into tasks, work activities, knowledge and skill dimensions."},{"title":"SFIA Framework: Levels of Responsibility and Professional Skills","url":"https://sfia-online.org/en/sfia-9","note":"Establishes behavioral responsibility levels and observable professional skill definitions for digital and AI work."}],"updatedAt":"2026-11-02"}}],"sections":[{"id":"mathematical-statistical-foundations","name":"Mathematical & Statistical Foundations","skills":["calculus-for-machine-learning","causal-inference","a-b-testing","information-theory","linear-algebra","mathematical-optimization","operations-research","scheduling-algorithms","search-algorithms","bayesian-statistics","monte-carlo-simulation","probability-theory","quantitative-research","statistical-inference","hypothesis-testing"]},{"id":"classical-machine-learning-modeling","name":"Classical Machine Learning & Modeling","skills":["anomaly-detection","exploratory-data-analysis","model-evaluation","predictive-analytics","time-series-forecasting","hyperparameter-optimization","recommender-systems","reinforcement-learning","multi-armed-bandits","classical-machine-learning","gradient-boosting","regression-analysis","unsupervised-learning","prophet","automl","optuna","catboost","classification","decision-trees","ensemble-learning","lightgbm","random-forests","supervised-machine-learning","support-vector-machines","xgboost","cluster-analysis","naive-bayes","hdbscan","smote","sarima","arima","class-imbalance-handling","logistic-regression","k-nearest-neighbors","k-means-clustering","isolation-forest","dbscan","cross-validation","linear-regression","principal-component-analysis"]},{"id":"deep-learning-foundation-model-architectures","name":"Deep Learning & Foundation Model Architectures","skills":["hugging-face","jax","pytorch","tensorflow","deep-learning","edge-ai","open-source-llms","comfyui","diffusion-models","video-generation","graph-neural-networks","multimodal-ai","convolutional-neural-networks","mixture-of-experts","recurrent-neural-networks","state-space-models","transformer-architecture","reasoning-models","transfer-learning","long-context-modeling","litert-tensorflow-lite","nvidia-jetson","large-language-models","generative-adversarial-networks-gan","generative-architectures","hugging-face-diffusers","image-generation","stable-diffusion","pytorch-geometric","model-pruning","autoencoders","contrastive-learning","model-training","resnet","efficientnet","gated-recurrent-unit","roberta","keras","long-short-term-memory","bert"]},{"id":"natural-language-processing-computer-vision","name":"Natural Language Processing & Computer Vision","skills":["audio-ai","computer-vision","object-detection","opencv","vision-language-models","nlp","tokenization","multilingual-nlp","named-entity-recognition","semantic-search","audio-processing","elevenlabs","librosa","speech-recognition","text-to-speech","whisper","detectron2","emotion-recognition","facial-recognition","image-classification","image-segmentation","mmdetection","mediapipe","object-tracking","yolo","dlib","gensim","nltk","spacy","information-retrieval","intent-detection","natural-language-understanding-nlu","summarization","text-classification","word2vec","tf-idf","topic-modeling","text-preprocessing","sentiment-analysis","information-extraction","question-answering"]},{"id":"model-training-fine-tuning-alignment","name":"Model Training, Fine-Tuning & Alignment","skills":["direct-preference-optimization","rlhf","reinforcement-learning-from-verifiable-rewards","reward-modeling","catastrophic-forgetting","fine-tuning-evaluation","hugging-face-peft","hugging-face-trl","llm-fine-tuning","supervised-fine-tuning-sft","model-merging","knowledge-distillation","model-quantization","lora-qlora","continual-pre-training","deepspeed","distributed-training","grpo","unsloth","federated-learning","instruction-tuning"]},{"id":"prompt-engineering-model-interaction","name":"Prompt Engineering & Model Interaction","skills":["context-engineering","synthetic-data-generation","llm-decoding-strategies","prompt-caching","token-optimization","anthropic-api","openai-api","llm-api-integration","semantic-routing","in-context-learning","prompt-engineering","system-prompt-design","prompt-management","automated-prompt-optimization","dspy","program-aided-lms-pal","self-consistency","structured-llm-outputs","test-time-compute-scaling","google-gemini-api","chain-of-thought-prompting"]},{"id":"retrieval-augmented-generation-knowledge-systems","name":"Retrieval-Augmented Generation & Knowledge Systems","skills":["agentic-rag","multimodal-rag","query-optimization","self-reflective-rag","embedding-models","neo4j","ai-grounding-citations","document-ai","document-chunking","graphrag","knowledge-graphs","visual-document-retrieval","retrieval-augmented-generation","hybrid-search","search-re-ranking","faiss","vector-databases","pgvector","sentence-transformers","graph-databases","azure-document-intelligence","contextual-retrieval","bm25","dense-retrieval","opensearch","chroma","lancedb","metadata-filtering","milvus","pinecone","qdrant","vector-indexing","weaviate","cross-encoder-reranking","multi-vector-retrieval"]},{"id":"agentic-ai-systems","name":"Agentic AI Systems","skills":["code-execution-agents","computer-use-ai","deep-research-agents","text-to-sql","voice-agents","ai-agent-design","agent-state-management","agentic-planning-task-decomposition","reflection-self-refinement","self-improving-agents","ai-guardrails","agent-sandboxing","human-in-the-loop-ai","resource-aware-agent-optimization","langchain","langgraph","llamaindex","pydantic-ai","agent-memory-systems","model-context-protocol","multi-agent-coordination-patterns","multi-agent-debate","multi-agent-orchestration","a2a-protocol","llm-function-calling","conversational-ai","dialogflow","dialogue-systems","livekit","rasa","agent-frameworks","crewai","google-adk","microsoft-autogen-agent-framework","semantic-kernel","langflow","low-code-ai-automation","microsoft-copilot-studio","n8n","multi-agent-systems","mcp-gateway-tool-governance","agent-write-action-verification"]},{"id":"llmops-model-serving-inference-optimization","name":"LLMOps, Model Serving & Inference Optimization","skills":["llm-api-gateway","litellm","ci-cd","ml-ci-cd","docker","ai-cost-optimization","ai-finops","semantic-caching","serverless-ai","mlflow","weights-biases","gpu-kernel-programming","inference-optimization","kv-cache-optimization","speculative-decoding","ollama","llama-cpp","kubernetes","kubeflow","bentoml","kserve","llm-inference-serving","ray-serve","sglang","vllm","model-retraining","reproducibility","model-deployment","experiment-tracking","cuda","gpu-acceleration","flashattention","openvino","tensorrt","onnx","onnx-runtime","nvidia-triton-inference-server","tensorrt-llm","torchserve","real-time-inference","disaggregated-inference-serving"]},{"id":"ai-evaluation-observability","name":"AI Evaluation & Observability","skills":["benchmark-analysis","llm-benchmarking","stochastic-system-debugging","agent-evaluation","llm-evaluation-design","llm-as-judge","deepeval","llm-evaluation-frameworks","llm-testing","data-drift","ml-monitoring","llm-observability","langfuse","ai-output-verification","rag-evaluation","ragas","hallucination-detection","bertscore","bleu","rouge","trulens","evidently","langsmith","opentelemetry","rag-faithfulness-evaluation","agentic-task-environment-design"]},{"id":"ai-safety-security-governance-ethics","name":"AI Safety, Security, Governance & Ethics","skills":["secure-rag","ai-data-security","agent-identity-access-management","ai-rate-limiting","ai-supply-chain-security","ai-toxicity-analysis","ai-ethics","ai-fairness","explainable-ai","mechanistic-interpretability","ai-auditability","iso-42001","nemo-guardrails","prompt-injection-defense","presidio","ai-watermarking","ai-red-teaming","adversarial-ai-testing","eu-ai-act-compliance","nist-ai-rmf","agent-threat-modeling-maestro","owasp-top-10-for-llm-applications","saif","lime","shap","ai-incident-response-reporting"]},{"id":"data-engineering-pipelines","name":"Data Engineering & Pipelines","skills":["data-mesh","databricks-unity-catalog","data-contracts","document-parsing","web-scraping","data-modeling","pii-management","data-quality-management","data-observability","entity-resolution","nosql","data-curation","data-labeling-annotation","dataset-engineering","evaluation-data-engineering","training-data-curation","apache-spark","etl-pipeline-design","apache-kafka","stream-processing","event-driven-architecture","apache-iceberg","dbt","data-versioning","bigquery","databricks","snowflake","apache-airflow","beautifulsoup","data-ingestion","optical-character-recognition-ocr","scrapy","tesseract","cvat","data-augmentation","label-studio","kedro","dvc","dagster","prefect","workflow-orchestration","data-cleaning","pii-redaction"]},{"id":"software-engineering-for-ai","name":"Software Engineering for AI","skills":["ai-code-generation","api-development","fastapi","streamlit","duckdb-polars","ai-assisted-development","feature-engineering","python","r","rust","sql","shell-scripting","numpy","pandas","scikit-learn","software-testing","git","github","claude-code","github-copilot","flask","dash","feast","computational-notebooks","jupyter","geopandas","matplotlib","plotly","scipy","seaborn","statsmodels","hypothesis","data-preprocessing-for-ml","feature-scaling","feature-extraction","feature-selection"]},{"id":"cloud-ai-platform-infrastructure","name":"Cloud & AI Platform Infrastructure","skills":["amazon-bedrock","amazon-sagemaker","azure-openai-service","aws","microsoft-azure","distributed-systems","google-vertex-ai","iac-infrastructure-as-code","terraform","aws-fargate","amazon-emr","amazon-textract","azure-ai-search","azure-machine-learning","foundry-tools","microsoft-foundry","cloud-platforms","google-cloud-platform-gcp","dask","hpc-cluster-computing","ray","cloud-run","google-cloud-build","google-cloud-data-fusion"]},{"id":"ai-product-collaboration-professional-practice","name":"AI Product, Collaboration & Professional Practice","skills":["research-to-engineering-translation","technical-mentoring","cross-functional-collaboration","data-storytelling","technical-stakeholder-management","data-visualization","domain-expertise","ai-team-leadership","technical-facilitation","rapid-prototyping","ai-product-management","ai-requirements-engineering","ai-risk-management","ai-ux-design","gradio","shiny","scientific-writing","apache-superset","dashboards","geospatial-data","metrics-definition","skills-taxonomy-architecture-mapping"]}],"ontology":[{"subject":"A2A Protocol","subject_id":"a2a-protocol","relation":"is an instance of","object":"Multi-Agent Orchestration","object_id":"multi-agent-orchestration"},{"subject":"AI Auditability","subject_id":"ai-auditability","relation":"is part of","object":"AI Risk Management","object_id":"ai-risk-management"},{"subject":"AI Auditability","subject_id":"ai-auditability","relation":"is part of","object":"EU AI Act Compliance","object_id":"eu-ai-act-compliance"},{"subject":"AI Cost Optimization","subject_id":"ai-cost-optimization","relation":"is part of","object":"AI FinOps","object_id":"ai-finops"},{"subject":"AI Cost Optimization","subject_id":"ai-cost-optimization","relation":"is part of","object":"AI Product Management","object_id":"ai-product-management"},{"subject":"AI Data Security","subject_id":"ai-data-security","relation":"is subcategory of","object":"AI Risk Management","object_id":"ai-risk-management"},{"subject":"AI Ethics","subject_id":"ai-ethics","relation":"is part of","object":"AI Governance","object_id":"ai-governance"},{"subject":"AI Fairness","subject_id":"ai-fairness","relation":"is subcategory of","object":"AI Ethics","object_id":"ai-ethics"},{"subject":"AI FinOps","subject_id":"ai-finops","relation":"is subcategory of","object":"MLOps","object_id":"mlops"},{"subject":"AI Grounding & Citations","subject_id":"ai-grounding-citations","relation":"is part of","object":"Retrieval-Augmented Generation","object_id":"retrieval-augmented-generation"},{"subject":"AI Grounding & Citations","subject_id":"ai-grounding-citations","relation":"is part of","object":"AI Output Verification","object_id":"ai-output-verification"},{"subject":"AI Guardrails","subject_id":"ai-guardrails","relation":"is part of","object":"AI Safety","object_id":"ai-safety"},{"subject":"AI Output Verification","subject_id":"ai-output-verification","relation":"is part of","object":"AI Risk Management","object_id":"ai-risk-management"},{"subject":"AI Output Verification","subject_id":"ai-output-verification","relation":"is part of","object":"AI Safety","object_id":"ai-safety"},{"subject":"AI Output Verification","subject_id":"ai-output-verification","relation":"is part of","object":"LLM Testing","object_id":"llm-testing"},{"subject":"AI Product Management","subject_id":"ai-product-management","relation":"is subcategory of","object":"Product Management","object_id":"product-management"},{"subject":"AI Red Teaming","subject_id":"ai-red-teaming","relation":"is subcategory of","object":"AI Risk Management","object_id":"ai-risk-management"},{"subject":"AI Requirements Engineering","subject_id":"ai-requirements-engineering","relation":"is part of","object":"AI Product Management","object_id":"ai-product-management"},{"subject":"AI Requirements Engineering","subject_id":"ai-requirements-engineering","relation":"is subcategory of","object":"Requirements Engineering","object_id":"requirements-engineering"},{"subject":"AI Risk Management","subject_id":"ai-risk-management","relation":"is subcategory of","object":"AI","object_id":"ai"},{"subject":"AI Supply Chain Security","subject_id":"ai-supply-chain-security","relation":"is subcategory of","object":"AI Risk Management","object_id":"ai-risk-management"},{"subject":"AI Team Leadership","subject_id":"ai-team-leadership","relation":"is subcategory of","object":"Leadership","object_id":"leadership"},{"subject":"AI Toxicity Analysis","subject_id":"ai-toxicity-analysis","relation":"is part of","object":"AI Output Verification","object_id":"ai-output-verification"},{"subject":"AI Toxicity Analysis","subject_id":"ai-toxicity-analysis","relation":"is part of","object":"AI Red Teaming","object_id":"ai-red-teaming"},{"subject":"AI Watermarking","subject_id":"ai-watermarking","relation":"is part of","object":"AI Auditability","object_id":"ai-auditability"},{"subject":"Adversarial AI Testing","subject_id":"adversarial-ai-testing","relation":"is subcategory of","object":"AI Red Teaming","object_id":"ai-red-teaming"},{"subject":"Adversarial AI Testing","subject_id":"adversarial-ai-testing","relation":"is part of","object":"AI Risk Management","object_id":"ai-risk-management"},{"subject":"Agent Memory Systems","subject_id":"agent-memory-systems","relation":"is part of","object":"AI Agent Design","object_id":"ai-agent-design"},{"subject":"Agent State Management","subject_id":"agent-state-management","relation":"is part of","object":"AI Agent Design","object_id":"ai-agent-design"},{"subject":"AI Agent Design","subject_id":"ai-agent-design","relation":"is subcategory of","object":"GenAI","object_id":"genai"},{"subject":"Agentic RAG","subject_id":"agentic-rag","relation":"is subcategory of","object":"Retrieval-Augmented Generation","object_id":"retrieval-augmented-generation"},{"subject":"Amazon Bedrock","subject_id":"amazon-bedrock","relation":"is an instance of","object":"LLM API Integration","object_id":"llm-api-integration"},{"subject":"Amazon Bedrock","subject_id":"amazon-bedrock","relation":"is part of","object":"AWS","object_id":"aws"},{"subject":"Amazon SageMaker","subject_id":"amazon-sagemaker","relation":"is an instance of","object":"MLOps","object_id":"mlops"},{"subject":"Amazon SageMaker","subject_id":"amazon-sagemaker","relation":"is part of","object":"AWS","object_id":"aws"},{"subject":"Anomaly Detection","subject_id":"anomaly-detection","relation":"is subcategory of","object":"Machine Learning","object_id":"machine-learning"},{"subject":"Anthropic API","subject_id":"anthropic-api","relation":"is an instance of","object":"LLM API Integration","object_id":"llm-api-integration"},{"subject":"Apache Airflow","subject_id":"apache-airflow","relation":"is an instance of","object":"MLOps","object_id":"mlops"},{"subject":"Apache Iceberg","subject_id":"apache-iceberg","relation":"is an instance of","object":"Data Engineering","object_id":"data-engineering"},{"subject":"Apache Kafka","subject_id":"apache-kafka","relation":"is an instance of","object":"Event-Driven Architecture","object_id":"event-driven-architecture"},{"subject":"Apache Spark","subject_id":"apache-spark","relation":"is an instance of","object":"Big Data","object_id":"big-data"},{"subject":"Automated Prompt Optimization","subject_id":"automated-prompt-optimization","relation":"is subcategory of","object":"Prompt Engineering","object_id":"prompt-engineering"},{"subject":"Azure OpenAI Service","subject_id":"azure-openai-service","relation":"is an instance of","object":"LLM API Integration","object_id":"llm-api-integration"},{"subject":"Azure OpenAI Service","subject_id":"azure-openai-service","relation":"is part of","object":"Microsoft Azure","object_id":"microsoft-azure"},{"subject":"Bayesian Statistics","subject_id":"bayesian-statistics","relation":"is subcategory of","object":"Statistical Inference","object_id":"statistical-inference"},{"subject":"BentoML","subject_id":"bentoml","relation":"is an instance of","object":"MLOps","object_id":"mlops"},{"subject":"Big Data","subject_id":"big-data","relation":"is subcategory of","object":"Data Engineering","object_id":"data-engineering"},{"subject":"BigQuery","subject_id":"bigquery","relation":"is an instance of","object":"Data Engineering","object_id":"data-engineering"},{"subject":"CI/CD","subject_id":"ci-cd","relation":"is part of","object":"MLOps","object_id":"mlops"},{"subject":"CI/CD","subject_id":"ci-cd","relation":"is part of","object":"Data Engineering","object_id":"data-engineering"},{"subject":"Catastrophic Forgetting","subject_id":"catastrophic-forgetting","relation":"is part of","object":"Model Fine-Tuning","object_id":"model-fine-tuning"},{"subject":"Causal Inference","subject_id":"causal-inference","relation":"is subcategory of","object":"Statistical Inference","object_id":"statistical-inference"},{"subject":"Classical Machine Learning","subject_id":"classical-machine-learning","relation":"is subcategory of","object":"Machine Learning","object_id":"machine-learning"},{"subject":"Code Execution Agents","subject_id":"code-execution-agents","relation":"is subcategory of","object":"AI Agent Design","object_id":"ai-agent-design"},{"subject":"Computer Use AI","subject_id":"computer-use-ai","relation":"is subcategory of","object":"AI Agent Design","object_id":"ai-agent-design"},{"subject":"Computer Vision","subject_id":"computer-vision","relation":"is subcategory of","object":"AI","object_id":"ai"},{"subject":"Context Engineering","subject_id":"context-engineering","relation":"is part of","object":"GenAI","object_id":"genai"},{"subject":"Continual Pre-Training","subject_id":"continual-pre-training","relation":"is subcategory of","object":"Model Fine-Tuning","object_id":"model-fine-tuning"},{"subject":"Convolutional Neural Networks","subject_id":"convolutional-neural-networks","relation":"is subcategory of","object":"Deep Learning","object_id":"deep-learning"},{"subject":"DSPy","subject_id":"dspy","relation":"is an instance of","object":"Automated Prompt Optimization","object_id":"automated-prompt-optimization"},{"subject":"dbt","subject_id":"dbt","relation":"is an instance of","object":"Data Engineering","object_id":"data-engineering"},{"subject":"Data Contracts","subject_id":"data-contracts","relation":"is part of","object":"Data Engineering","object_id":"data-engineering"},{"subject":"Data Contracts","subject_id":"data-contracts","relation":"is part of","object":"Data Mesh","object_id":"data-mesh"},{"subject":"Data Drift","subject_id":"data-drift","relation":"is part of","object":"ML Monitoring","object_id":"ml-monitoring"},{"subject":"Data Engineering","subject_id":"data-engineering","relation":"is subcategory of","object":"Data Science","object_id":"data-science"},{"subject":"Data Mesh","subject_id":"data-mesh","relation":"is subcategory of","object":"Data Engineering","object_id":"data-engineering"},{"subject":"Data Modeling","subject_id":"data-modeling","relation":"is part of","object":"Data Engineering","object_id":"data-engineering"},{"subject":"Data Observability","subject_id":"data-observability","relation":"is part of","object":"Data Engineering","object_id":"data-engineering"},{"subject":"Data Visualization","subject_id":"data-visualization","relation":"is part of","object":"Data Science","object_id":"data-science"},{"subject":"Databricks","subject_id":"databricks","relation":"is an instance of","object":"Data Engineering","object_id":"data-engineering"},{"subject":"Databricks Unity Catalog","subject_id":"databricks-unity-catalog","relation":"is part of","object":"Databricks","object_id":"databricks"},{"subject":"Deep Learning","subject_id":"deep-learning","relation":"is subcategory of","object":"Machine Learning","object_id":"machine-learning"},{"subject":"DeepEval","subject_id":"deepeval","relation":"is an instance of","object":"LLM Evaluation Frameworks","object_id":"llm-evaluation-frameworks"},{"subject":"Diffusion Models","subject_id":"diffusion-models","relation":"is subcategory of","object":"Deep Learning","object_id":"deep-learning"},{"subject":"Diffusion Models","subject_id":"diffusion-models","relation":"is subcategory of","object":"GenAI","object_id":"genai"},{"subject":"Direct Preference Optimization","subject_id":"direct-preference-optimization","relation":"is subcategory of","object":"LLM Fine-Tuning","object_id":"llm-fine-tuning"},{"subject":"Distributed Training","subject_id":"distributed-training","relation":"is part of","object":"LLM Fine-Tuning","object_id":"llm-fine-tuning"},{"subject":"Docker","subject_id":"docker","relation":"is an instance of","object":"Containerization","object_id":"containerization"},{"subject":"Document AI","subject_id":"document-ai","relation":"is part of","object":"Retrieval-Augmented Generation","object_id":"retrieval-augmented-generation"},{"subject":"Document AI","subject_id":"document-ai","relation":"is subcategory of","object":"Computer Vision","object_id":"computer-vision"},{"subject":"Document Chunking","subject_id":"document-chunking","relation":"is part of","object":"Retrieval-Augmented Generation","object_id":"retrieval-augmented-generation"},{"subject":"DuckDB / Polars","subject_id":"duckdb-polars","relation":"is an instance of","object":"Data Engineering","object_id":"data-engineering"},{"subject":"Edge AI","subject_id":"edge-ai","relation":"is subcategory of","object":"AI","object_id":"ai"},{"subject":"Edge AI","subject_id":"edge-ai","relation":"is subcategory of","object":"Machine Learning","object_id":"machine-learning"},{"subject":"Embedding Models","subject_id":"embedding-models","relation":"is part of","object":"Retrieval-Augmented Generation","object_id":"retrieval-augmented-generation"},{"subject":"Embedding Models","subject_id":"embedding-models","relation":"is part of","object":"Semantic Search","object_id":"semantic-search"},{"subject":"Entity Resolution","subject_id":"entity-resolution","relation":"is part of","object":"Ontology Engineering","object_id":"ontology-engineering"},{"subject":"Event-Driven Architecture","subject_id":"event-driven-architecture","relation":"is subcategory of","object":"Data Engineering","object_id":"data-engineering"},{"subject":"FAISS","subject_id":"faiss","relation":"is part of","object":"Vector Databases","object_id":"vector-databases"},{"subject":"Feature Engineering","subject_id":"feature-engineering","relation":"is part of","object":"Machine Learning","object_id":"machine-learning"},{"subject":"Feature Engineering","subject_id":"feature-engineering","relation":"is part of","object":"Predictive Analytics","object_id":"predictive-analytics"},{"subject":"Feature Engineering","subject_id":"feature-engineering","relation":"is part of","object":"Data Science","object_id":"data-science"},{"subject":"Fine-Tuning Evaluation","subject_id":"fine-tuning-evaluation","relation":"is part of","object":"LLM Fine-Tuning","object_id":"llm-fine-tuning"},{"subject":"Fine-Tuning Evaluation","subject_id":"fine-tuning-evaluation","relation":"is part of","object":"Model Fine-Tuning","object_id":"model-fine-tuning"},{"subject":"Graph Neural Networks","subject_id":"graph-neural-networks","relation":"is subcategory of","object":"Deep Learning","object_id":"deep-learning"},{"subject":"GenAI","subject_id":"genai","relation":"is subcategory of","object":"AI","object_id":"ai"},{"subject":"Git","subject_id":"git","relation":"is an instance of","object":"Version Control","object_id":"version-control"},{"subject":"GraphRAG","subject_id":"graphrag","relation":"is subcategory of","object":"Retrieval-Augmented Generation","object_id":"retrieval-augmented-generation"},{"subject":"Hallucination Detection","subject_id":"hallucination-detection","relation":"is part of","object":"AI Output Verification","object_id":"ai-output-verification"},{"subject":"Hallucination Detection","subject_id":"hallucination-detection","relation":"is part of","object":"LLM Evaluation Frameworks","object_id":"llm-evaluation-frameworks"},{"subject":"Hugging Face PEFT","subject_id":"hugging-face-peft","relation":"is an instance of","object":"LLM Fine-Tuning","object_id":"llm-fine-tuning"},{"subject":"Human-in-the-Loop AI","subject_id":"human-in-the-loop-ai","relation":"is part of","object":"AI Agent Design","object_id":"ai-agent-design"},{"subject":"Human-in-the-Loop AI","subject_id":"human-in-the-loop-ai","relation":"is part of","object":"AI Risk Management","object_id":"ai-risk-management"},{"subject":"Hybrid Search","subject_id":"hybrid-search","relation":"is part of","object":"Retrieval-Augmented Generation","object_id":"retrieval-augmented-generation"},{"subject":"ISO 42001","subject_id":"iso-42001","relation":"is an instance of","object":"AI Governance","object_id":"ai-governance"},{"subject":"IaC (Infrastructure as Code)","subject_id":"iac-infrastructure-as-code","relation":"is part of","object":"MLOps","object_id":"mlops"},{"subject":"In-Context Learning","subject_id":"in-context-learning","relation":"is subcategory of","object":"Prompt Engineering","object_id":"prompt-engineering"},{"subject":"Inference Optimization","subject_id":"inference-optimization","relation":"is part of","object":"LLM Inference Serving","object_id":"llm-inference-serving"},{"subject":"KServe","subject_id":"kserve","relation":"is an instance of","object":"MLOps","object_id":"mlops"},{"subject":"Knowledge Distillation","subject_id":"knowledge-distillation","relation":"is subcategory of","object":"Model Fine-Tuning","object_id":"model-fine-tuning"},{"subject":"Knowledge Graphs","subject_id":"knowledge-graphs","relation":"is part of","object":"GraphRAG","object_id":"graphrag"},{"subject":"Kubeflow","subject_id":"kubeflow","relation":"is an instance of","object":"MLOps","object_id":"mlops"},{"subject":"Kubernetes","subject_id":"kubernetes","relation":"is an instance of","object":"Container Orchestration","object_id":"container-orchestration"},{"subject":"LLM API Integration","subject_id":"llm-api-integration","relation":"is part of","object":"GenAI","object_id":"genai"},{"subject":"LLM Decoding Strategies","subject_id":"llm-decoding-strategies","relation":"is part of","object":"LLM Inference Serving","object_id":"llm-inference-serving"},{"subject":"LLM Decoding Strategies","subject_id":"llm-decoding-strategies","relation":"is part of","object":"Large Language Models (LLM)","object_id":"large-language-models-llm"},{"subject":"LLM Evaluation Design","subject_id":"llm-evaluation-design","relation":"is part of","object":"LLM Testing","object_id":"llm-testing"},{"subject":"LLM Fine-Tuning","subject_id":"llm-fine-tuning","relation":"is subcategory of","object":"Model Fine-Tuning","object_id":"model-fine-tuning"},{"subject":"LLM Function Calling","subject_id":"llm-function-calling","relation":"is part of","object":"AI Agent Design","object_id":"ai-agent-design"},{"subject":"LLM Function Calling","subject_id":"llm-function-calling","relation":"is part of","object":"Agentic RAG","object_id":"agentic-rag"},{"subject":"LLM Inference Serving","subject_id":"llm-inference-serving","relation":"is subcategory of","object":"MLOps","object_id":"mlops"},{"subject":"LLM Observability","subject_id":"llm-observability","relation":"is subcategory of","object":"MLOps","object_id":"mlops"},{"subject":"LLM Observability","subject_id":"llm-observability","relation":"is subcategory of","object":"ML Monitoring","object_id":"ml-monitoring"},{"subject":"LLM Testing","subject_id":"llm-testing","relation":"is part of","object":"MLOps","object_id":"mlops"},{"subject":"LLM-as-Judge","subject_id":"llm-as-judge","relation":"is subcategory of","object":"LLM Evaluation Frameworks","object_id":"llm-evaluation-frameworks"},{"subject":"LangChain","subject_id":"langchain","relation":"is an instance of","object":"AI Agent Design","object_id":"ai-agent-design"},{"subject":"LangGraph","subject_id":"langgraph","relation":"is an instance of","object":"Multi-Agent Orchestration","object_id":"multi-agent-orchestration"},{"subject":"Large Language Models (LLM)","subject_id":"large-language-models-llm","relation":"is subcategory of","object":"GenAI","object_id":"genai"},{"subject":"Large Language Models (LLM)","subject_id":"large-language-models-llm","relation":"is subcategory of","object":"Deep Learning","object_id":"deep-learning"},{"subject":"Large Language Models (LLM)","subject_id":"large-language-models-llm","relation":"is subcategory of","object":"Natural Language Processing","object_id":"natural-language-processing"},{"subject":"LiteLLM","subject_id":"litellm","relation":"is an instance of","object":"LLM API Gateway","object_id":"llm-api-gateway"},{"subject":"LlamaIndex","subject_id":"llamaindex","relation":"is an instance of","object":"Retrieval-Augmented Generation","object_id":"retrieval-augmented-generation"},{"subject":"LoRA / QLoRA","subject_id":"lora-qlora","relation":"is subcategory of","object":"LLM Fine-Tuning","object_id":"llm-fine-tuning"},{"subject":"ML Monitoring","subject_id":"ml-monitoring","relation":"is part of","object":"MLOps","object_id":"mlops"},{"subject":"MLOps","subject_id":"mlops","relation":"is subcategory of","object":"Machine Learning","object_id":"machine-learning"},{"subject":"MLflow","subject_id":"mlflow","relation":"is an instance of","object":"MLOps","object_id":"mlops"},{"subject":"Machine Learning","subject_id":"machine-learning","relation":"is subcategory of","object":"AI","object_id":"ai"},{"subject":"Machine Learning","subject_id":"machine-learning","relation":"is subcategory of","object":"Data Science","object_id":"data-science"},{"subject":"Microsoft Azure","subject_id":"microsoft-azure","relation":"is an instance of","object":"Cloud Computing","object_id":"cloud-computing"},{"subject":"Mixture of Experts","subject_id":"mixture-of-experts","relation":"is subcategory of","object":"Deep Learning","object_id":"deep-learning"},{"subject":"Model Context Protocol","subject_id":"model-context-protocol","relation":"is an instance of","object":"AI Agent Design","object_id":"ai-agent-design"},{"subject":"Model Evaluation","subject_id":"model-evaluation","relation":"is part of","object":"Data Science","object_id":"data-science"},{"subject":"Model Merging","subject_id":"model-merging","relation":"is subcategory of","object":"Model Fine-Tuning","object_id":"model-fine-tuning"},{"subject":"Model Quantization","subject_id":"model-quantization","relation":"is part of","object":"LLM Inference Serving","object_id":"llm-inference-serving"},{"subject":"Multi-Agent Orchestration","subject_id":"multi-agent-orchestration","relation":"is subcategory of","object":"AI Agent Design","object_id":"ai-agent-design"},{"subject":"Multi-armed Bandits","subject_id":"multi-armed-bandits","relation":"is subcategory of","object":"Reinforcement Learning","object_id":"reinforcement-learning"},{"subject":"Multimodal RAG","subject_id":"multimodal-rag","relation":"is subcategory of","object":"Retrieval-Augmented Generation","object_id":"retrieval-augmented-generation"},{"subject":"NIST AI RMF","subject_id":"nist-ai-rmf","relation":"is an instance of","object":"AI Governance","object_id":"ai-governance"},{"subject":"NeMo Guardrails","subject_id":"nemo-guardrails","relation":"is an instance of","object":"AI Risk Management","object_id":"ai-risk-management"},{"subject":"NeMo Guardrails","subject_id":"nemo-guardrails","relation":"is an instance of","object":"AI Guardrails","object_id":"ai-guardrails"},{"subject":"Named Entity Recognition","subject_id":"named-entity-recognition","relation":"is subcategory of","object":"Natural Language Processing","object_id":"natural-language-processing"},{"subject":"Natural Language Processing","subject_id":"natural-language-processing","relation":"is subcategory of","object":"AI","object_id":"ai"},{"subject":"Natural Language Processing","subject_id":"natural-language-processing","relation":"is subcategory of","object":"Data Science","object_id":"data-science"},{"subject":"Neo4j","subject_id":"neo4j","relation":"is an instance of","object":"Knowledge Graphs","object_id":"knowledge-graphs"},{"subject":"Neo4j","subject_id":"neo4j","relation":"is an instance of","object":"NoSQL","object_id":"nosql"},{"subject":"NoSQL","subject_id":"nosql","relation":"is subcategory of","object":"Data Engineering","object_id":"data-engineering"},{"subject":"Object Detection","subject_id":"object-detection","relation":"is subcategory of","object":"Computer Vision","object_id":"computer-vision"},{"subject":"Ollama","subject_id":"ollama","relation":"is an instance of","object":"LLM Inference Serving","object_id":"llm-inference-serving"},{"subject":"OpenAI API","subject_id":"openai-api","relation":"is an instance of","object":"LLM API Integration","object_id":"llm-api-integration"},{"subject":"OpenCV","subject_id":"opencv","relation":"is an instance of","object":"Computer Vision","object_id":"computer-vision"},{"subject":"PII Management","subject_id":"pii-management","relation":"is part of","object":"Data Engineering","object_id":"data-engineering"},{"subject":"PII Management","subject_id":"pii-management","relation":"is part of","object":"AI Data Security","object_id":"ai-data-security"},{"subject":"Pinecone","subject_id":"pinecone","relation":"is an instance of","object":"Vector Databases","object_id":"vector-databases"},{"subject":"DuckDB / Polars","subject_id":"duckdb-polars","relation":"is an instance of","object":"Data Processing","object_id":"data-processing"},{"subject":"Predictive Analytics","subject_id":"predictive-analytics","relation":"is subcategory of","object":"Machine Learning","object_id":"machine-learning"},{"subject":"Presidio","subject_id":"presidio","relation":"is an instance of","object":"PII Management","object_id":"pii-management"},{"subject":"Probability Theory","subject_id":"probability-theory","relation":"is subcategory of","object":"Statistical Inference","object_id":"statistical-inference"},{"subject":"Prompt Caching","subject_id":"prompt-caching","relation":"is part of","object":"Token Optimization","object_id":"token-optimization"},{"subject":"Prompt Caching","subject_id":"prompt-caching","relation":"is part of","object":"Context Engineering","object_id":"context-engineering"},{"subject":"Prompt Caching","subject_id":"prompt-caching","relation":"is part of","object":"Inference Optimization","object_id":"inference-optimization"},{"subject":"Prompt Engineering","subject_id":"prompt-engineering","relation":"is part of","object":"Context Engineering","object_id":"context-engineering"},{"subject":"Prompt Engineering","subject_id":"prompt-engineering","relation":"is part of","object":"AI Agent Design","object_id":"ai-agent-design"},{"subject":"Prompt Engineering","subject_id":"prompt-engineering","relation":"is part of","object":"GenAI","object_id":"genai"},{"subject":"Prompt Injection Defense","subject_id":"prompt-injection-defense","relation":"is part of","object":"AI Data Security","object_id":"ai-data-security"},{"subject":"Prompt Management","subject_id":"prompt-management","relation":"is part of","object":"Prompt Engineering","object_id":"prompt-engineering"},{"subject":"Prompt Management","subject_id":"prompt-management","relation":"is part of","object":"Context Engineering","object_id":"context-engineering"},{"subject":"PyTorch","subject_id":"pytorch","relation":"is an instance of","object":"Deep Learning","object_id":"deep-learning"},{"subject":"Qdrant","subject_id":"qdrant","relation":"is an instance of","object":"Vector Databases","object_id":"vector-databases"},{"subject":"Query Optimization","subject_id":"query-optimization","relation":"is part of","object":"Retrieval-Augmented Generation","object_id":"retrieval-augmented-generation"},{"subject":"Query Optimization","subject_id":"query-optimization","relation":"is part of","object":"Semantic Search","object_id":"semantic-search"},{"subject":"RAG Evaluation","subject_id":"rag-evaluation","relation":"is part of","object":"Retrieval-Augmented Generation","object_id":"retrieval-augmented-generation"},{"subject":"RAG Evaluation","subject_id":"rag-evaluation","relation":"is subcategory of","object":"LLM Evaluation Design","object_id":"llm-evaluation-design"},{"subject":"RLHF","subject_id":"rlhf","relation":"is subcategory of","object":"LLM Fine-Tuning","object_id":"llm-fine-tuning"},{"subject":"Rapid Prototyping","subject_id":"rapid-prototyping","relation":"is part of","object":"AI Product Management","object_id":"ai-product-management"},{"subject":"Ray Serve","subject_id":"ray-serve","relation":"is an instance of","object":"LLM Inference Serving","object_id":"llm-inference-serving"},{"subject":"Recommender Systems","subject_id":"recommender-systems","relation":"is subcategory of","object":"Machine Learning","object_id":"machine-learning"},{"subject":"Recurrent Neural Networks","subject_id":"recurrent-neural-networks","relation":"is subcategory of","object":"Deep Learning","object_id":"deep-learning"},{"subject":"Regression Analysis","subject_id":"regression-analysis","relation":"is subcategory of","object":"Machine Learning","object_id":"machine-learning"},{"subject":"Reinforcement Learning","subject_id":"reinforcement-learning","relation":"is subcategory of","object":"Machine Learning","object_id":"machine-learning"},{"subject":"Research-to-Engineering Translation","subject_id":"research-to-engineering-translation","relation":"is part of","object":"AI Product Management","object_id":"ai-product-management"},{"subject":"Retrieval-Augmented Generation","subject_id":"retrieval-augmented-generation","relation":"is subcategory of","object":"GenAI","object_id":"genai"},{"subject":"SAIF","subject_id":"saif","relation":"is an instance of","object":"AI Risk Management","object_id":"ai-risk-management"},{"subject":"SAIF","subject_id":"saif","relation":"is an instance of","object":"AI Governance","object_id":"ai-governance"},{"subject":"Scheduling Algorithms","subject_id":"scheduling-algorithms","relation":"is subcategory of","object":"Mathematical Optimization","object_id":"mathematical-optimization"},{"subject":"Scheduling Algorithms","subject_id":"scheduling-algorithms","relation":"is part of","object":"Operations Research","object_id":"operations-research"},{"subject":"Scikit-learn","subject_id":"scikit-learn","relation":"is an instance of","object":"Machine Learning","object_id":"machine-learning"},{"subject":"Search Re-Ranking","subject_id":"search-re-ranking","relation":"is part of","object":"Retrieval-Augmented Generation","object_id":"retrieval-augmented-generation"},{"subject":"Search Re-Ranking","subject_id":"search-re-ranking","relation":"is part of","object":"Semantic Search","object_id":"semantic-search"},{"subject":"Secure RAG","subject_id":"secure-rag","relation":"is subcategory of","object":"Retrieval-Augmented Generation","object_id":"retrieval-augmented-generation"},{"subject":"Self-Reflective RAG","subject_id":"self-reflective-rag","relation":"is subcategory of","object":"Retrieval-Augmented Generation","object_id":"retrieval-augmented-generation"},{"subject":"Semantic Routing","subject_id":"semantic-routing","relation":"is part of","object":"Context Engineering","object_id":"context-engineering"},{"subject":"Semantic Routing","subject_id":"semantic-routing","relation":"is part of","object":"LLM API Gateway","object_id":"llm-api-gateway"},{"subject":"Semantic Search","subject_id":"semantic-search","relation":"is part of","object":"Retrieval-Augmented Generation","object_id":"retrieval-augmented-generation"},{"subject":"Serverless AI","subject_id":"serverless-ai","relation":"is subcategory of","object":"LLM Inference Serving","object_id":"llm-inference-serving"},{"subject":"Serverless AI","subject_id":"serverless-ai","relation":"is subcategory of","object":"Cloud Computing","object_id":"cloud-computing"},{"subject":"Shell Scripting","subject_id":"shell-scripting","relation":"is subcategory of","object":"Programming","object_id":"programming"},{"subject":"Snowflake","subject_id":"snowflake","relation":"is an instance of","object":"Data Engineering","object_id":"data-engineering"},{"subject":"Snowflake","subject_id":"snowflake","relation":"is an instance of","object":"Data Warehousing","object_id":"data-warehousing"},{"subject":"Speculative Decoding","subject_id":"speculative-decoding","relation":"is part of","object":"Inference Optimization","object_id":"inference-optimization"},{"subject":"State Space Models","subject_id":"state-space-models","relation":"is subcategory of","object":"Deep Learning","object_id":"deep-learning"},{"subject":"Statistical Inference","subject_id":"statistical-inference","relation":"is part of","object":"Data Science","object_id":"data-science"},{"subject":"Stochastic System Debugging","subject_id":"stochastic-system-debugging","relation":"is part of","object":"LLM Observability","object_id":"llm-observability"},{"subject":"Stochastic System Debugging","subject_id":"stochastic-system-debugging","relation":"is part of","object":"LLM Testing","object_id":"llm-testing"},{"subject":"Streamlit","subject_id":"streamlit","relation":"is an instance of","object":"Rapid Prototyping","object_id":"rapid-prototyping"},{"subject":"Structured LLM Outputs","subject_id":"structured-llm-outputs","relation":"is part of","object":"LLM Function Calling","object_id":"llm-function-calling"},{"subject":"Structured LLM Outputs","subject_id":"structured-llm-outputs","relation":"is part of","object":"AI Agent Design","object_id":"ai-agent-design"},{"subject":"Supervised Fine-Tuning (SFT)","subject_id":"supervised-fine-tuning-sft","relation":"is subcategory of","object":"LLM Fine-Tuning","object_id":"llm-fine-tuning"},{"subject":"Synthetic Data Generation","subject_id":"synthetic-data-generation","relation":"is part of","object":"LLM Fine-Tuning","object_id":"llm-fine-tuning"},{"subject":"Synthetic Data Generation","subject_id":"synthetic-data-generation","relation":"is part of","object":"Model Fine-Tuning","object_id":"model-fine-tuning"},{"subject":"System Prompt Design","subject_id":"system-prompt-design","relation":"is part of","object":"AI Agent Design","object_id":"ai-agent-design"},{"subject":"System Prompt Design","subject_id":"system-prompt-design","relation":"is part of","object":"Prompt Engineering","object_id":"prompt-engineering"},{"subject":"Technical Facilitation","subject_id":"technical-facilitation","relation":"is part of","object":"AI Product Management","object_id":"ai-product-management"},{"subject":"Technical Stakeholder Management","subject_id":"technical-stakeholder-management","relation":"is part of","object":"AI Product Management","object_id":"ai-product-management"},{"subject":"TensorFlow","subject_id":"tensorflow","relation":"is an instance of","object":"Deep Learning","object_id":"deep-learning"},{"subject":"Terraform","subject_id":"terraform","relation":"is an instance of","object":"IaC (Infrastructure as Code)","object_id":"iac-infrastructure-as-code"},{"subject":"Terraform","subject_id":"terraform","relation":"is an instance of","object":"Infrastructure as Code","object_id":"infrastructure-as-code"},{"subject":"Text-to-SQL","subject_id":"text-to-sql","relation":"is subcategory of","object":"AI Agent Design","object_id":"ai-agent-design"},{"subject":"Token Optimization","subject_id":"token-optimization","relation":"is part of","object":"AI FinOps","object_id":"ai-finops"},{"subject":"Token Optimization","subject_id":"token-optimization","relation":"is part of","object":"Context Engineering","object_id":"context-engineering"},{"subject":"Training Data Curation","subject_id":"training-data-curation","relation":"is part of","object":"LLM Fine-Tuning","object_id":"llm-fine-tuning"},{"subject":"Training Data Curation","subject_id":"training-data-curation","relation":"is subcategory of","object":"Data Curation","object_id":"data-curation"},{"subject":"Transfer Learning","subject_id":"transfer-learning","relation":"is subcategory of","object":"Machine Learning","object_id":"machine-learning"},{"subject":"Transformer Architecture","subject_id":"transformer-architecture","relation":"is subcategory of","object":"Deep Learning","object_id":"deep-learning"},{"subject":"Unsupervised Learning","subject_id":"unsupervised-learning","relation":"is subcategory of","object":"Machine Learning","object_id":"machine-learning"},{"subject":"Vector Databases","subject_id":"vector-databases","relation":"is part of","object":"Retrieval-Augmented Generation","object_id":"retrieval-augmented-generation"},{"subject":"Vector Databases","subject_id":"vector-databases","relation":"is subcategory of","object":"NoSQL","object_id":"nosql"},{"subject":"Google Vertex AI","subject_id":"google-vertex-ai","relation":"is an instance of","object":"MLOps","object_id":"mlops"},{"subject":"Vision-Language Models","subject_id":"vision-language-models","relation":"is subcategory of","object":"Multimodal AI","object_id":"multimodal-ai"},{"subject":"Visual Document Retrieval","subject_id":"visual-document-retrieval","relation":"is part of","object":"Retrieval-Augmented Generation","object_id":"retrieval-augmented-generation"},{"subject":"Weights & Biases","subject_id":"weights-biases","relation":"is an instance of","object":"MLOps","object_id":"mlops"},{"subject":"pgvector","subject_id":"pgvector","relation":"is an instance of","object":"Vector Databases","object_id":"vector-databases"},{"subject":"vLLM","subject_id":"vllm","relation":"is an instance of","object":"LLM Inference Serving","object_id":"llm-inference-serving"},{"subject":"A/B Testing","subject_id":"a-b-testing","relation":"is an instance of","object":"Experimental Design","object_id":"experimental-design"},{"subject":"AI Ethics","subject_id":"ai-ethics","relation":"is subcategory of","object":"AI Risk Management","object_id":"ai-risk-management"},{"subject":"AI Rate Limiting","subject_id":"ai-rate-limiting","relation":"is subcategory of","object":"AI Risk Management","object_id":"ai-risk-management"},{"subject":"AI Toxicity Analysis","subject_id":"ai-toxicity-analysis","relation":"is subcategory of","object":"AI Risk Management","object_id":"ai-risk-management"},{"subject":"AI Watermarking","subject_id":"ai-watermarking","relation":"is subcategory of","object":"AI Risk Management","object_id":"ai-risk-management"},{"subject":"Data Curation","subject_id":"data-curation","relation":"is subcategory of","object":"Data Engineering","object_id":"data-engineering"},{"subject":"Data Quality Management","subject_id":"data-quality-management","relation":"is subcategory of","object":"Data Engineering","object_id":"data-engineering"},{"subject":"Data Versioning","subject_id":"data-versioning","relation":"is subcategory of","object":"Data Engineering","object_id":"data-engineering"},{"subject":"Document Parsing","subject_id":"document-parsing","relation":"is subcategory of","object":"Data Engineering","object_id":"data-engineering"},{"subject":"ETL Pipeline Design","subject_id":"etl-pipeline-design","relation":"is subcategory of","object":"Data Engineering","object_id":"data-engineering"},{"subject":"Explainable AI","subject_id":"explainable-ai","relation":"is subcategory of","object":"AI Risk Management","object_id":"ai-risk-management"},{"subject":"Graph Neural Networks","subject_id":"graph-neural-networks","relation":"is an instance of","object":"Deep Learning","object_id":"deep-learning"},{"subject":"LLM Evaluation Frameworks","subject_id":"llm-evaluation-frameworks","relation":"is subcategory of","object":"MLOps","object_id":"mlops"},{"subject":"LLM Function Calling","subject_id":"llm-function-calling","relation":"is subcategory of","object":"Large Language Models (LLM)","object_id":"large-language-models-llm"},{"subject":"LoRA / QLoRA","subject_id":"lora-qlora","relation":"is subcategory of","object":"Transfer Learning","object_id":"transfer-learning"},{"subject":"Model Evaluation","subject_id":"model-evaluation","relation":"is subcategory of","object":"Machine Learning","object_id":"machine-learning"},{"subject":"Monte Carlo Simulation","subject_id":"monte-carlo-simulation","relation":"is subcategory of","object":"Simulation Methods","object_id":"simulation-methods"},{"subject":"NLP","subject_id":"nlp","relation":"is part of","object":"Data Science","object_id":"data-science"},{"subject":"Open-Source LLMs","subject_id":"open-source-llms","relation":"is an instance of","object":"Large Language Models (LLM)","object_id":"large-language-models-llm"},{"subject":"Mathematical Optimization","subject_id":"mathematical-optimization","relation":"is subcategory of","object":"Operations Research","object_id":"operations-research"},{"subject":"Regression Analysis","subject_id":"regression-analysis","relation":"is subcategory of","object":"Supervised Learning","object_id":"supervised-learning"},{"subject":"Time Series Forecasting","subject_id":"time-series-forecasting","relation":"is subcategory of","object":"Predictive Analytics","object_id":"predictive-analytics"},{"subject":"Summarization","subject_id":"summarization","relation":"is subcategory of","object":"NLP","object_id":"nlp"},{"subject":"Conversational AI","subject_id":"conversational-ai","relation":"is subcategory of","object":"AI Agent Design","object_id":"ai-agent-design"},{"subject":"Dask","subject_id":"dask","relation":"is an instance of","object":"Distributed Systems","object_id":"distributed-systems"},{"subject":"GeoPandas","subject_id":"geopandas","relation":"is an instance of","object":"Geospatial Data","object_id":"geospatial-data"},{"subject":"CVAT","subject_id":"cvat","relation":"is an instance of","object":"Data Labeling & Annotation","object_id":"data-labeling-annotation"},{"subject":"Librosa","subject_id":"librosa","relation":"is an instance of","object":"Audio AI","object_id":"audio-ai"},{"subject":"Geospatial Data","subject_id":"geospatial-data","relation":"is subcategory of","object":"Domain Expertise","object_id":"domain-expertise"},{"subject":"Hugging Face Diffusers","subject_id":"hugging-face-diffusers","relation":"is an instance of","object":"Diffusion Models","object_id":"diffusion-models"},{"subject":"Model Pruning","subject_id":"model-pruning","relation":"is subcategory of","object":"Deep Learning","object_id":"deep-learning"},{"subject":"Classification","subject_id":"classification","relation":"is subcategory of","object":"Classical Machine Learning","object_id":"classical-machine-learning"},{"subject":"Support Vector Machines","subject_id":"support-vector-machines","relation":"is subcategory of","object":"Classical Machine Learning","object_id":"classical-machine-learning"},{"subject":"Azure Machine Learning","subject_id":"azure-machine-learning","relation":"is an instance of","object":"Microsoft Azure","object_id":"microsoft-azure"},{"subject":"Data Augmentation","subject_id":"data-augmentation","relation":"is subcategory of","object":"Training Data Curation","object_id":"training-data-curation"},{"subject":"Information Retrieval","subject_id":"information-retrieval","relation":"is subcategory of","object":"NLP","object_id":"nlp"},{"subject":"Ensemble Learning","subject_id":"ensemble-learning","relation":"is subcategory of","object":"Classical Machine Learning","object_id":"classical-machine-learning"},{"subject":"Supervised Machine Learning","subject_id":"supervised-machine-learning","relation":"is subcategory of","object":"Classical Machine Learning","object_id":"classical-machine-learning"},{"subject":"Hypothesis","subject_id":"hypothesis","relation":"is an instance of","object":"Software Testing","object_id":"software-testing"},{"subject":"Federated Learning","subject_id":"federated-learning","relation":"is subcategory of","object":"Distributed Training","object_id":"distributed-training"},{"subject":"Contrastive Learning","subject_id":"contrastive-learning","relation":"is subcategory of","object":"Deep Learning","object_id":"deep-learning"},{"subject":"XGBoost","subject_id":"xgboost","relation":"is an instance of","object":"Gradient Boosting","object_id":"gradient-boosting"},{"subject":"Cluster Analysis","subject_id":"cluster-analysis","relation":"is subcategory of","object":"Unsupervised Learning","object_id":"unsupervised-learning"},{"subject":"Random Forests","subject_id":"random-forests","relation":"is subcategory of","object":"Classical Machine Learning","object_id":"classical-machine-learning"},{"subject":"Model training","subject_id":"model-training","relation":"is subcategory of","object":"Deep Learning","object_id":"deep-learning"},{"subject":"Decision Trees","subject_id":"decision-trees","relation":"is subcategory of","object":"Classical Machine Learning","object_id":"classical-machine-learning"},{"subject":"LightGBM","subject_id":"lightgbm","relation":"is an instance of","object":"Gradient Boosting","object_id":"gradient-boosting"},{"subject":"Multi-Agent Systems","subject_id":"multi-agent-systems","relation":"is subcategory of","object":"AI Agent Design","object_id":"ai-agent-design"},{"subject":"Prophet","subject_id":"prophet","relation":"is an instance of","object":"Time Series Forecasting","object_id":"time-series-forecasting"},{"subject":"CatBoost","subject_id":"catboost","relation":"is an instance of","object":"Gradient Boosting","object_id":"gradient-boosting"},{"subject":"Optuna","subject_id":"optuna","relation":"is an instance of","object":"Hyperparameter Optimization","object_id":"hyperparameter-optimization"},{"subject":"Statsmodels","subject_id":"statsmodels","relation":"is an instance of","object":"Statistical Inference","object_id":"statistical-inference"},{"subject":"Intent Detection","subject_id":"intent-detection","relation":"is subcategory of","object":"NLP","object_id":"nlp"},{"subject":"AutoML","subject_id":"automl","relation":"is subcategory of","object":"Classical Machine Learning","object_id":"classical-machine-learning"},{"subject":"Model Retraining","subject_id":"model-retraining","relation":"is subcategory of","object":"ML CI/CD","object_id":"ml-ci-cd"},{"subject":"Dialogue Systems","subject_id":"dialogue-systems","relation":"is subcategory of","object":"AI Agent Design","object_id":"ai-agent-design"},{"subject":"Large Language Models","subject_id":"large-language-models","relation":"is subcategory of","object":"NLP","object_id":"nlp"},{"subject":"ONNX","subject_id":"onnx","relation":"is an instance of","object":"Inference Optimization","object_id":"inference-optimization"},{"subject":"Image Classification","subject_id":"image-classification","relation":"is subcategory of","object":"Computer Vision","object_id":"computer-vision"},{"subject":"Image Segmentation","subject_id":"image-segmentation","relation":"is subcategory of","object":"Computer Vision","object_id":"computer-vision"},{"subject":"Generative Adversarial Networks (GAN)","subject_id":"generative-adversarial-networks-gan","relation":"is subcategory of","object":"Deep Learning","object_id":"deep-learning"},{"subject":"Sentence-Transformers","subject_id":"sentence-transformers","relation":"is an instance of","object":"Embedding Models","object_id":"embedding-models"},{"subject":"Stable Diffusion","subject_id":"stable-diffusion","relation":"is an instance of","object":"Diffusion Models","object_id":"diffusion-models"},{"subject":"NVIDIA Jetson","subject_id":"nvidia-jetson","relation":"is an instance of","object":"Edge AI","object_id":"edge-ai"},{"subject":"BERTScore","subject_id":"bertscore","relation":"is subcategory of","object":"LLM Evaluation Design","object_id":"llm-evaluation-design"},{"subject":"Generative Architectures","subject_id":"generative-architectures","relation":"is subcategory of","object":"Deep Learning","object_id":"deep-learning"},{"subject":"Autoencoders","subject_id":"autoencoders","relation":"is subcategory of","object":"Deep Learning","object_id":"deep-learning"},{"subject":"LiteRT (TensorFlow Lite)","subject_id":"litert-tensorflow-lite","relation":"is an instance of","object":"Edge AI","object_id":"edge-ai"},{"subject":"Claude Code","subject_id":"claude-code","relation":"is an instance of","object":"AI-Assisted Development","object_id":"ai-assisted-development"},{"subject":"OpenVINO","subject_id":"openvino","relation":"is an instance of","object":"Inference Optimization","object_id":"inference-optimization"},{"subject":"Workflow Orchestration","subject_id":"workflow-orchestration","relation":"is subcategory of","object":"ETL Pipeline Design","object_id":"etl-pipeline-design"},{"subject":"PyTorch Geometric","subject_id":"pytorch-geometric","relation":"is an instance of","object":"Graph Neural Networks","object_id":"graph-neural-networks"},{"subject":"Image Generation","subject_id":"image-generation","relation":"is subcategory of","object":"Diffusion Models","object_id":"diffusion-models"},{"subject":"Optical Character Recognition (OCR)","subject_id":"optical-character-recognition-ocr","relation":"is subcategory of","object":"Document Parsing","object_id":"document-parsing"},{"subject":"spaCy","subject_id":"spacy","relation":"is an instance of","object":"NLP","object_id":"nlp"},{"subject":"NLTK","subject_id":"nltk","relation":"is an instance of","object":"NLP","object_id":"nlp"},{"subject":"YOLO","subject_id":"yolo","relation":"is an instance of","object":"Object Detection","object_id":"object-detection"},{"subject":"Text-to-Speech","subject_id":"text-to-speech","relation":"is subcategory of","object":"Audio AI","object_id":"audio-ai"},{"subject":"Text classification","subject_id":"text-classification","relation":"is subcategory of","object":"NLP","object_id":"nlp"},{"subject":"Speech Recognition","subject_id":"speech-recognition","relation":"is subcategory of","object":"Audio AI","object_id":"audio-ai"},{"subject":"Whisper","subject_id":"whisper","relation":"is an instance of","object":"Speech Recognition","object_id":"speech-recognition"},{"subject":"Object Tracking","subject_id":"object-tracking","relation":"is subcategory of","object":"Object Detection","object_id":"object-detection"},{"subject":"Natural Language Understanding (NLU)","subject_id":"natural-language-understanding-nlu","relation":"is subcategory of","object":"NLP","object_id":"nlp"},{"subject":"Tesseract","subject_id":"tesseract","relation":"is an instance of","object":"Document Parsing","object_id":"document-parsing"},{"subject":"Audio Processing","subject_id":"audio-processing","relation":"is subcategory of","object":"Audio AI","object_id":"audio-ai"},{"subject":"ElevenLabs","subject_id":"elevenlabs","relation":"is an instance of","object":"Text-to-Speech","object_id":"text-to-speech"},{"subject":"Facial Recognition","subject_id":"facial-recognition","relation":"is subcategory of","object":"Computer Vision","object_id":"computer-vision"},{"subject":"MediaPipe","subject_id":"mediapipe","relation":"is an instance of","object":"Computer Vision","object_id":"computer-vision"},{"subject":"Gensim","subject_id":"gensim","relation":"is an instance of","object":"NLP","object_id":"nlp"},{"subject":"Detectron2","subject_id":"detectron2","relation":"is an instance of","object":"Object Detection","object_id":"object-detection"},{"subject":"DLib","subject_id":"dlib","relation":"is an instance of","object":"Computer Vision","object_id":"computer-vision"},{"subject":"MMDetection","subject_id":"mmdetection","relation":"is an instance of","object":"Object Detection","object_id":"object-detection"},{"subject":"Emotion Recognition","subject_id":"emotion-recognition","relation":"is subcategory of","object":"Computer Vision","object_id":"computer-vision"},{"subject":"CrewAI","subject_id":"crewai","relation":"is an instance of","object":"Agent Frameworks","object_id":"agent-frameworks"},{"subject":"HPC Cluster Computing","subject_id":"hpc-cluster-computing","relation":"is subcategory of","object":"Distributed Systems","object_id":"distributed-systems"},{"subject":"Ray","subject_id":"ray","relation":"is an instance of","object":"Distributed Systems","object_id":"distributed-systems"},{"subject":"Unsloth","subject_id":"unsloth","relation":"is an instance of","object":"LLM Fine-Tuning","object_id":"llm-fine-tuning"},{"subject":"GRPO","subject_id":"grpo","relation":"is subcategory of","object":"Reinforcement Learning","object_id":"reinforcement-learning"},{"subject":"Chain-of-Thought Prompting","subject_id":"chain-of-thought-prompting","relation":"is subcategory of","object":"Prompt Engineering","object_id":"prompt-engineering"},{"subject":"Google Gemini API","subject_id":"google-gemini-api","relation":"is an instance of","object":"LLM API Integration","object_id":"llm-api-integration"},{"subject":"Model Deployment","subject_id":"model-deployment","relation":"is subcategory of","object":"ML CI/CD","object_id":"ml-ci-cd"},{"subject":"n8n","subject_id":"n8n","relation":"is an instance of","object":"Low-Code AI Automation","object_id":"low-code-ai-automation"},{"subject":"Microsoft AutoGen / Agent Framework","subject_id":"microsoft-autogen-agent-framework","relation":"is an instance of","object":"Agent Frameworks","object_id":"agent-frameworks"},{"subject":"LiveKit","subject_id":"livekit","relation":"is an instance of","object":"Voice Agents","object_id":"voice-agents"},{"subject":"Microsoft Copilot Studio","subject_id":"microsoft-copilot-studio","relation":"is an instance of","object":"Low-Code AI Automation","object_id":"low-code-ai-automation"},{"subject":"Google ADK","subject_id":"google-adk","relation":"is an instance of","object":"Agent Frameworks","object_id":"agent-frameworks"},{"subject":"Rasa","subject_id":"rasa","relation":"is an instance of","object":"Dialogue Systems","object_id":"dialogue-systems"},{"subject":"Contextual Retrieval","subject_id":"contextual-retrieval","relation":"is subcategory of","object":"Document Chunking","object_id":"document-chunking"},{"subject":"DialogFlow","subject_id":"dialogflow","relation":"is an instance of","object":"Dialogue Systems","object_id":"dialogue-systems"},{"subject":"Semantic Kernel","subject_id":"semantic-kernel","relation":"is an instance of","object":"Agent Frameworks","object_id":"agent-frameworks"},{"subject":"LangFlow","subject_id":"langflow","relation":"is an instance of","object":"Low-Code AI Automation","object_id":"low-code-ai-automation"},{"subject":"CUDA","subject_id":"cuda","relation":"is an instance of","object":"GPU Kernel Programming","object_id":"gpu-kernel-programming"},{"subject":"TensorRT","subject_id":"tensorrt","relation":"is an instance of","object":"Inference Optimization","object_id":"inference-optimization"},{"subject":"Experiment Tracking","subject_id":"experiment-tracking","relation":"is subcategory of","object":"ML CI/CD","object_id":"ml-ci-cd"},{"subject":"ONNX Runtime","subject_id":"onnx-runtime","relation":"is an instance of","object":"LLM Inference Serving","object_id":"llm-inference-serving"},{"subject":"GPU acceleration","subject_id":"gpu-acceleration","relation":"is subcategory of","object":"GPU Kernel Programming","object_id":"gpu-kernel-programming"},{"subject":"Scientific Writing","subject_id":"scientific-writing","relation":"is subcategory of","object":"Research-to-Engineering Translation","object_id":"research-to-engineering-translation"},{"subject":"NVIDIA Triton Inference Server","subject_id":"nvidia-triton-inference-server","relation":"is an instance of","object":"LLM Inference Serving","object_id":"llm-inference-serving"},{"subject":"FlashAttention","subject_id":"flashattention","relation":"is an instance of","object":"Inference Optimization","object_id":"inference-optimization"},{"subject":"TorchServe","subject_id":"torchserve","relation":"is an instance of","object":"LLM Inference Serving","object_id":"llm-inference-serving"},{"subject":"TensorRT-LLM","subject_id":"tensorrt-llm","relation":"is an instance of","object":"LLM Inference Serving","object_id":"llm-inference-serving"},{"subject":"LangSmith","subject_id":"langsmith","relation":"is an instance of","object":"LLM Observability","object_id":"llm-observability"},{"subject":"OpenTelemetry","subject_id":"opentelemetry","relation":"is an instance of","object":"LLM Observability","object_id":"llm-observability"},{"subject":"ROUGE","subject_id":"rouge","relation":"is subcategory of","object":"LLM Evaluation Design","object_id":"llm-evaluation-design"},{"subject":"BLEU","subject_id":"bleu","relation":"is subcategory of","object":"LLM Evaluation Design","object_id":"llm-evaluation-design"},{"subject":"Evidently","subject_id":"evidently","relation":"is an instance of","object":"ML Monitoring","object_id":"ml-monitoring"},{"subject":"TruLens","subject_id":"trulens","relation":"is an instance of","object":"LLM Evaluation Frameworks","object_id":"llm-evaluation-frameworks"},{"subject":"Lime","subject_id":"lime","relation":"is an instance of","object":"Explainable AI","object_id":"explainable-ai"},{"subject":"SHAP","subject_id":"shap","relation":"is an instance of","object":"Explainable AI","object_id":"explainable-ai"},{"subject":"Data Ingestion","subject_id":"data-ingestion","relation":"is subcategory of","object":"ETL Pipeline Design","object_id":"etl-pipeline-design"},{"subject":"Reproducibility","subject_id":"reproducibility","relation":"is subcategory of","object":"ML CI/CD","object_id":"ml-ci-cd"},{"subject":"BeautifulSoup","subject_id":"beautifulsoup","relation":"is an instance of","object":"Web Scraping","object_id":"web-scraping"},{"subject":"DVC","subject_id":"dvc","relation":"is an instance of","object":"Data Versioning","object_id":"data-versioning"},{"subject":"Metadata Filtering","subject_id":"metadata-filtering","relation":"is subcategory of","object":"Vector Databases","object_id":"vector-databases"},{"subject":"Azure Document Intelligence","subject_id":"azure-document-intelligence","relation":"is an instance of","object":"Document AI","object_id":"document-ai"},{"subject":"Google Cloud Data Fusion","subject_id":"google-cloud-data-fusion","relation":"is an instance of","object":"ETL Pipeline Design","object_id":"etl-pipeline-design"},{"subject":"Kedro","subject_id":"kedro","relation":"is an instance of","object":"ETL Pipeline Design","object_id":"etl-pipeline-design"},{"subject":"Scrapy","subject_id":"scrapy","relation":"is an instance of","object":"Web Scraping","object_id":"web-scraping"},{"subject":"Google Cloud Build","subject_id":"google-cloud-build","relation":"is an instance of","object":"Google Cloud Platform (GCP)","object_id":"google-cloud-platform-gcp"},{"subject":"Prefect","subject_id":"prefect","relation":"is an instance of","object":"Workflow Orchestration","object_id":"workflow-orchestration"},{"subject":"Apache Superset","subject_id":"apache-superset","relation":"is an instance of","object":"Dashboards","object_id":"dashboards"},{"subject":"Feast","subject_id":"feast","relation":"is an instance of","object":"Feature Engineering","object_id":"feature-engineering"},{"subject":"Dagster","subject_id":"dagster","relation":"is an instance of","object":"Workflow Orchestration","object_id":"workflow-orchestration"},{"subject":"Label Studio","subject_id":"label-studio","relation":"is an instance of","object":"Data Labeling & Annotation","object_id":"data-labeling-annotation"},{"subject":"Matplotlib","subject_id":"matplotlib","relation":"is an instance of","object":"Data Visualization","object_id":"data-visualization"},{"subject":"Dashboards","subject_id":"dashboards","relation":"is subcategory of","object":"Data Visualization","object_id":"data-visualization"},{"subject":"Flask","subject_id":"flask","relation":"is an instance of","object":"API Development","object_id":"api-development"},{"subject":"Seaborn","subject_id":"seaborn","relation":"is an instance of","object":"Data Visualization","object_id":"data-visualization"},{"subject":"Plotly","subject_id":"plotly","relation":"is an instance of","object":"Data Visualization","object_id":"data-visualization"},{"subject":"Jupyter","subject_id":"jupyter","relation":"is an instance of","object":"Computational Notebooks","object_id":"computational-notebooks"},{"subject":"Dash","subject_id":"dash","relation":"is an instance of","object":"Data Visualization","object_id":"data-visualization"},{"subject":"Shiny","subject_id":"shiny","relation":"is an instance of","object":"Rapid Prototyping","object_id":"rapid-prototyping"},{"subject":"Gradio","subject_id":"gradio","relation":"is an instance of","object":"Rapid Prototyping","object_id":"rapid-prototyping"},{"subject":"GitHub Copilot","subject_id":"github-copilot","relation":"is an instance of","object":"AI-Assisted Development","object_id":"ai-assisted-development"},{"subject":"Google Cloud Platform (GCP)","subject_id":"google-cloud-platform-gcp","relation":"is an instance of","object":"Cloud Platforms","object_id":"cloud-platforms"},{"subject":"Azure AI Search","subject_id":"azure-ai-search","relation":"is an instance of","object":"Foundry Tools","object_id":"foundry-tools"},{"subject":"Microsoft Foundry","subject_id":"microsoft-foundry","relation":"is an instance of","object":"Microsoft Azure","object_id":"microsoft-azure"},{"subject":"Cloud Run","subject_id":"cloud-run","relation":"is an instance of","object":"Google Cloud Platform (GCP)","object_id":"google-cloud-platform-gcp"},{"subject":"AWS Fargate","subject_id":"aws-fargate","relation":"is an instance of","object":"AWS","object_id":"aws"},{"subject":"Amazon Textract","subject_id":"amazon-textract","relation":"is an instance of","object":"AWS","object_id":"aws"},{"subject":"Amazon EMR","subject_id":"amazon-emr","relation":"is an instance of","object":"AWS","object_id":"aws"},{"subject":"Foundry Tools","subject_id":"foundry-tools","relation":"is an instance of","object":"Microsoft Foundry","object_id":"microsoft-foundry"},{"subject":"Metrics Definition","subject_id":"metrics-definition","relation":"is subcategory of","object":"AI Product Management","object_id":"ai-product-management"},{"subject":"Chroma","subject_id":"chroma","relation":"is an instance of","object":"Vector Databases","object_id":"vector-databases"},{"subject":"Weaviate","subject_id":"weaviate","relation":"is an instance of","object":"Vector Databases","object_id":"vector-databases"},{"subject":"Milvus","subject_id":"milvus","relation":"is an instance of","object":"Vector Databases","object_id":"vector-databases"},{"subject":"OpenSearch","subject_id":"opensearch","relation":"is an instance of","object":"Vector Databases","object_id":"vector-databases"},{"subject":"LanceDB","subject_id":"lancedb","relation":"is an instance of","object":"Vector Databases","object_id":"vector-databases"},{"subject":"Qdrant","subject_id":"qdrant","relation":"is an instance of","object":"Vector Databases","object_id":"vector-databases"},{"subject":"Pinecone","subject_id":"pinecone","relation":"is an instance of","object":"Vector Databases","object_id":"vector-databases"},{"subject":"BM25","subject_id":"bm25","relation":"is subcategory of","object":"Hybrid Search","object_id":"hybrid-search"},{"subject":"Dense Retrieval","subject_id":"dense-retrieval","relation":"is subcategory of","object":"Hybrid Search","object_id":"hybrid-search"},{"subject":"Vector Indexing","subject_id":"vector-indexing","relation":"is subcategory of","object":"Vector Databases","object_id":"vector-databases"},{"subject":"Graph Databases","subject_id":"graph-databases","relation":"is subcategory of","object":"Knowledge Graphs","object_id":"knowledge-graphs"},{"subject":"Cloud Platforms","subject_id":"cloud-platforms","relation":"is subcategory of","object":"Distributed Systems","object_id":"distributed-systems"},{"subject":"Computational Notebooks","subject_id":"computational-notebooks","relation":"is subcategory of","object":"Exploratory Data Analysis","object_id":"exploratory-data-analysis"},{"subject":"Low-Code AI Automation","subject_id":"low-code-ai-automation","relation":"is subcategory of","object":"AI Agent Design","object_id":"ai-agent-design"},{"subject":"Agent Frameworks","subject_id":"agent-frameworks","relation":"is subcategory of","object":"AI Agent Design","object_id":"ai-agent-design"},{"subject":"Data Preprocessing for ML","subject_id":"data-preprocessing-for-ml","relation":"is part of","object":"Feature Engineering","object_id":"feature-engineering"},{"subject":"ResNet","subject_id":"resnet","relation":"is subcategory of","object":"Convolutional Neural Networks","object_id":"convolutional-neural-networks"},{"subject":"EfficientNet","subject_id":"efficientnet","relation":"is subcategory of","object":"Convolutional Neural Networks","object_id":"convolutional-neural-networks"},{"subject":"Gated Recurrent Unit","subject_id":"gated-recurrent-unit","relation":"is subcategory of","object":"Recurrent Neural Networks","object_id":"recurrent-neural-networks"},{"subject":"RoBERTa","subject_id":"roberta","relation":"is subcategory of","object":"BERT","object_id":"bert"},{"subject":"Word2Vec","subject_id":"word2vec","relation":"is subcategory of","object":"Embedding Models","object_id":"embedding-models"},{"subject":"TF-IDF","subject_id":"tf-idf","relation":"is subcategory of","object":"NLP","object_id":"nlp"},{"subject":"Naive Bayes","subject_id":"naive-bayes","relation":"is subcategory of","object":"Classification","object_id":"classification"},{"subject":"Topic Modeling","subject_id":"topic-modeling","relation":"is subcategory of","object":"NLP","object_id":"nlp"},{"subject":"Text Preprocessing","subject_id":"text-preprocessing","relation":"is subcategory of","object":"NLP","object_id":"nlp"},{"subject":"Feature Scaling","subject_id":"feature-scaling","relation":"is part of","object":"Feature Engineering","object_id":"feature-engineering"},{"subject":"HDBSCAN","subject_id":"hdbscan","relation":"is subcategory of","object":"Cluster Analysis","object_id":"cluster-analysis"},{"subject":"SMOTE","subject_id":"smote","relation":"is subcategory of","object":"Class Imbalance Handling","object_id":"class-imbalance-handling"},{"subject":"SARIMA","subject_id":"sarima","relation":"is subcategory of","object":"ARIMA","object_id":"arima"},{"subject":"ARIMA","subject_id":"arima","relation":"is subcategory of","object":"Time Series Forecasting","object_id":"time-series-forecasting"},{"subject":"Class Imbalance Handling","subject_id":"class-imbalance-handling","relation":"is subcategory of","object":"Classification","object_id":"classification"},{"subject":"Data Cleaning","subject_id":"data-cleaning","relation":"is subcategory of","object":"Data Quality Management","object_id":"data-quality-management"},{"subject":"Sentiment Analysis","subject_id":"sentiment-analysis","relation":"is subcategory of","object":"NLP","object_id":"nlp"},{"subject":"Feature Extraction","subject_id":"feature-extraction","relation":"is subcategory of","object":"Feature Engineering","object_id":"feature-engineering"},{"subject":"Feature Selection","subject_id":"feature-selection","relation":"is subcategory of","object":"Feature Engineering","object_id":"feature-engineering"},{"subject":"Logistic Regression","subject_id":"logistic-regression","relation":"is subcategory of","object":"Classification","object_id":"classification"},{"subject":"K-Nearest Neighbors","subject_id":"k-nearest-neighbors","relation":"is subcategory of","object":"Classical Machine Learning","object_id":"classical-machine-learning"},{"subject":"K-Means Clustering","subject_id":"k-means-clustering","relation":"is subcategory of","object":"Cluster Analysis","object_id":"cluster-analysis"},{"subject":"Real-Time Inference","subject_id":"real-time-inference","relation":"is subcategory of","object":"Model Deployment","object_id":"model-deployment"},{"subject":"Instruction Tuning","subject_id":"instruction-tuning","relation":"is subcategory of","object":"LLM Fine-Tuning","object_id":"llm-fine-tuning"},{"subject":"Isolation Forest","subject_id":"isolation-forest","relation":"is subcategory of","object":"Anomaly Detection","object_id":"anomaly-detection"},{"subject":"DBSCAN","subject_id":"dbscan","relation":"is subcategory of","object":"Cluster Analysis","object_id":"cluster-analysis"},{"subject":"Hypothesis Testing","subject_id":"hypothesis-testing","relation":"is subcategory of","object":"Statistical Inference","object_id":"statistical-inference"},{"subject":"Cross-Validation","subject_id":"cross-validation","relation":"is subcategory of","object":"Model Evaluation","object_id":"model-evaluation"},{"subject":"Keras","subject_id":"keras","relation":"is an instance of","object":"Deep Learning","object_id":"deep-learning"},{"subject":"Long Short-Term Memory","subject_id":"long-short-term-memory","relation":"is subcategory of","object":"Recurrent Neural Networks","object_id":"recurrent-neural-networks"},{"subject":"BERT","subject_id":"bert","relation":"is subcategory of","object":"Transformer Architecture","object_id":"transformer-architecture"},{"subject":"Information Extraction","subject_id":"information-extraction","relation":"is subcategory of","object":"NLP","object_id":"nlp"},{"subject":"Linear Regression","subject_id":"linear-regression","relation":"is subcategory of","object":"Regression Analysis","object_id":"regression-analysis"},{"subject":"Principal Component Analysis","subject_id":"principal-component-analysis","relation":"is subcategory of","object":"Unsupervised Learning","object_id":"unsupervised-learning"},{"subject":"Question Answering","subject_id":"question-answering","relation":"is subcategory of","object":"NLP","object_id":"nlp"},{"subject":"Cross-Encoder Reranking","subject_id":"cross-encoder-reranking","relation":"is subcategory of","object":"Search Re-Ranking","object_id":"search-re-ranking"},{"subject":"PII Redaction","subject_id":"pii-redaction","relation":"is subcategory of","object":"PII Management","object_id":"pii-management"},{"subject":"Multi-Vector Retrieval","subject_id":"multi-vector-retrieval","relation":"is subcategory of","object":"Dense Retrieval","object_id":"dense-retrieval"},{"subject":"RAG Faithfulness Evaluation","subject_id":"rag-faithfulness-evaluation","relation":"is subcategory of","object":"RAG Evaluation","object_id":"rag-evaluation"},{"subject":"Agent Identity & Access Management","subject_id":"agent-identity-access-management","relation":"is part of","object":"AI Data Security","object_id":"ai-data-security"},{"subject":"MCP Gateway & Tool Governance","subject_id":"mcp-gateway-tool-governance","relation":"is part of","object":"Model Context Protocol","object_id":"model-context-protocol"},{"subject":"Agent Write-Action & Transaction Verification","subject_id":"agent-write-action-verification","relation":"is part of","object":"AI Guardrails","object_id":"ai-guardrails"},{"subject":"Disaggregated Prefill-Decode Serving","subject_id":"disaggregated-inference-serving","relation":"is subcategory of","object":"LLM Inference Serving","object_id":"llm-inference-serving"},{"subject":"AI Incident Response & Regulatory Reporting","subject_id":"ai-incident-response-reporting","relation":"is part of","object":"AI Auditability","object_id":"ai-auditability"},{"subject":"Agentic Task-Environment & Harness Design","subject_id":"agentic-task-environment-design","relation":"is part of","object":"Agent Evaluation","object_id":"agent-evaluation"},{"subject":"Skills Taxonomy & Work-Task Architecture Mapping","subject_id":"skills-taxonomy-architecture-mapping","relation":"is related to","object":"AI Requirements Engineering","object_id":"ai-requirements-engineering"}],"prerequisites":[{"skill":"Bayesian Statistics","skill_id":"bayesian-statistics","prerequisite":"Probability Theory","prerequisite_id":"probability-theory","strength":"hard","rationale":"Bayesian inference is built on probability distributions, Bayes' theorem, and likelihood — all of which require probability theory and information theory as prerequisites"},{"skill":"Bayesian Statistics","skill_id":"bayesian-statistics","prerequisite":"Statistical Inference","prerequisite_id":"statistical-inference","strength":"hard","rationale":"Practical statistics (hypothesis testing, estimation) provides the frequentist baseline that Bayesian methods extend and contrast with"},{"skill":"A/B Testing","skill_id":"a-b-testing","prerequisite":"Statistical Inference","prerequisite_id":"statistical-inference","strength":"hard","rationale":"A/B testing requires understanding of p-values, confidence intervals, power analysis, and multiple comparison correction — all core statistical concepts"},{"skill":"Causal Inference","skill_id":"causal-inference","prerequisite":"Statistical Inference","prerequisite_id":"statistical-inference","strength":"hard","rationale":"Causal inference methods build directly on statistical estimation, hypothesis testing, and regression to move from correlation to causation"},{"skill":"Causal Inference","skill_id":"causal-inference","prerequisite":"Regression Analysis","prerequisite_id":"regression-analysis","strength":"hard","rationale":"Treatment effect estimation, instrumental variables, and propensity scores are extensions of regression frameworks"},{"skill":"Causal Inference","skill_id":"causal-inference","prerequisite":"A/B Testing","prerequisite_id":"a-b-testing","strength":"medium","rationale":"Causal inference often addresses cases where controlled experiments are impossible — understanding what A/B tests do helps understand what causal inference replaces"},{"skill":"Mathematical Optimization","skill_id":"mathematical-optimization","prerequisite":"Linear Algebra","prerequisite_id":"linear-algebra","strength":"hard","rationale":"Gradient descent operates on multidimensional surfaces defined by linear algebra; Jacobians, Hessians, and vector calculus are the language of optimization"},{"skill":"Mathematical Optimization","skill_id":"mathematical-optimization","prerequisite":"Probability Theory","prerequisite_id":"probability-theory","strength":"medium","rationale":"Cross-entropy loss, KL divergence, and maximum likelihood estimation — the loss functions that optimization minimizes — come from information theory"},{"skill":"Deep Learning","skill_id":"deep-learning","prerequisite":"Mathematical Optimization","prerequisite_id":"mathematical-optimization","strength":"hard","rationale":"Backpropagation IS the chain rule of calculus applied through a computation graph — without understanding optimization, DL is a black box"},{"skill":"Deep Learning","skill_id":"deep-learning","prerequisite":"Linear Algebra","prerequisite_id":"linear-algebra","strength":"hard","rationale":"Neural networks are compositions of matrix multiplications, vector transformations, and nonlinearities — linear algebra is their native language"},{"skill":"Graph Neural Networks","skill_id":"graph-neural-networks","prerequisite":"Linear Algebra","prerequisite_id":"linear-algebra","strength":"hard","rationale":"GNNs operate on adjacency matrices, node feature matrices, and spectral decompositions — all core linear algebra"},{"skill":"Graph Neural Networks","skill_id":"graph-neural-networks","prerequisite":"Deep Learning","prerequisite_id":"deep-learning","strength":"hard","rationale":"GNNs use message passing, pooling, and learned representations that extend deep learning concepts to graph-structured data"},{"skill":"Time Series Forecasting","skill_id":"time-series-forecasting","prerequisite":"Statistical Inference","prerequisite_id":"statistical-inference","strength":"hard","rationale":"Stationarity tests, autocorrelation, seasonal decomposition, and confidence intervals for forecasts are statistical methods"},{"skill":"Unsupervised Learning","skill_id":"unsupervised-learning","prerequisite":"Linear Algebra","prerequisite_id":"linear-algebra","strength":"hard","rationale":"PCA is eigenvalue decomposition; t-SNE and UMAP operate on distance matrices in high-dimensional spaces — all linear algebra"},{"skill":"Model Evaluation","skill_id":"model-evaluation","prerequisite":"Statistical Inference","prerequisite_id":"statistical-inference","strength":"medium","rationale":"Understanding why AUC-ROC works, when accuracy is misleading, and how to compute confidence intervals on metrics requires statistical literacy"},{"skill":"Benchmark Analysis","skill_id":"benchmark-analysis","prerequisite":"Model Evaluation","prerequisite_id":"model-evaluation","strength":"hard","rationale":"You cannot critically assess whether MMLU or HumanEval scores are meaningful without understanding what precision, recall, and statistical significance mean"},{"skill":"Dataset Engineering","skill_id":"dataset-engineering","prerequisite":"Model Evaluation","prerequisite_id":"model-evaluation","strength":"medium","rationale":"Understanding evaluation metrics is needed to recognize when leakage artificially inflates them"},{"skill":"Transformer Architecture","skill_id":"transformer-architecture","prerequisite":"Deep Learning","prerequisite_id":"deep-learning","strength":"hard","rationale":"Self-attention, layer normalization, residual connections, softmax — all are DL building blocks assembled in the Transformer"},{"skill":"Transformer Architecture","skill_id":"transformer-architecture","prerequisite":"Linear Algebra","prerequisite_id":"linear-algebra","strength":"hard","rationale":"Q·Kᵀ/√d is a scaled dot product of matrices; multi-head attention is parallel matrix projections — Transformers ARE linear algebra in action"},{"skill":"Convolutional Neural Networks","skill_id":"convolutional-neural-networks","prerequisite":"Deep Learning","prerequisite_id":"deep-learning","strength":"hard","rationale":"Convolution, pooling, skip connections, batch normalization — all DL fundamentals applied spatially"},{"skill":"Recurrent Neural Networks","skill_id":"recurrent-neural-networks","prerequisite":"Deep Learning","prerequisite_id":"deep-learning","strength":"hard","rationale":"Recurrent networks require understanding backpropagation through time, vanishing gradients, and gating mechanisms"},{"skill":"Transfer Learning","skill_id":"transfer-learning","prerequisite":"Deep Learning","prerequisite_id":"deep-learning","strength":"hard","rationale":"Transfer learning is meaningless without understanding what pretrained representations are and how fine-tuning modifies learned features"},{"skill":"Mixture of Experts","skill_id":"mixture-of-experts","prerequisite":"Transformer Architecture","prerequisite_id":"transformer-architecture","strength":"hard","rationale":"MoE replaces the dense MLP block in a Transformer with routed sparse experts — you must understand the Transformer to modify it"},{"skill":"State Space Models","skill_id":"state-space-models","prerequisite":"Deep Learning","prerequisite_id":"deep-learning","strength":"hard","rationale":"SSMs are an alternative to attention with recurrent state updates — understanding what they replace requires DL fundamentals"},{"skill":"State Space Models","skill_id":"state-space-models","prerequisite":"Linear Algebra","prerequisite_id":"linear-algebra","strength":"hard","rationale":"State-space equations are linear dynamical systems: x' = Ax + Bu — pure linear algebra"},{"skill":"Edge AI","skill_id":"edge-ai","prerequisite":"Transformer Architecture","prerequisite_id":"transformer-architecture","strength":"medium","rationale":"SLMs are compressed/distilled Transformers — understanding what is being compressed requires understanding the original architecture"},{"skill":"Edge AI","skill_id":"edge-ai","prerequisite":"Model Quantization","prerequisite_id":"model-quantization","strength":"medium","rationale":"Edge deployment almost always requires quantization — these skills go hand in hand"},{"skill":"Multimodal AI","skill_id":"multimodal-ai","prerequisite":"Transformer Architecture","prerequisite_id":"transformer-architecture","strength":"hard","rationale":"VLMs combine vision encoders (often ViT = Vision Transformer) with LLM decoders via projection layers — both sides are Transformer-based"},{"skill":"Multimodal AI","skill_id":"multimodal-ai","prerequisite":"Convolutional Neural Networks","prerequisite_id":"convolutional-neural-networks","strength":"medium","rationale":"Many VLMs use CNN-based vision backbones or their concepts (feature maps, pooling) even when the main architecture is a ViT"},{"skill":"Diffusion Models","skill_id":"diffusion-models","prerequisite":"Deep Learning","prerequisite_id":"deep-learning","strength":"hard","rationale":"Diffusion models use U-Nets or DiTs with noise schedules, score matching, and denoising — all advanced DL concepts"},{"skill":"Diffusion Models","skill_id":"diffusion-models","prerequisite":"Probability Theory","prerequisite_id":"probability-theory","strength":"medium","rationale":"Diffusion theory involves ELBO, KL divergence between forward/reverse processes, and variational bounds"},{"skill":"Long-Context Modeling","skill_id":"long-context-modeling","prerequisite":"Transformer Architecture","prerequisite_id":"transformer-architecture","strength":"hard","rationale":"RoPE scaling, Ring Attention, and sliding window attention are modifications to the Transformer's position encoding and attention mechanism"},{"skill":"NLP","skill_id":"nlp","prerequisite":"Linear Algebra","prerequisite_id":"linear-algebra","strength":"hard","rationale":"Embeddings ARE vectors; cosine similarity IS a dot product; tokenization maps to vocabulary indices — NLP is applied linear algebra"},{"skill":"Semantic Search","skill_id":"semantic-search","prerequisite":"NLP","prerequisite_id":"nlp","strength":"hard","rationale":"Semantic search = query embedding → nearest-neighbor search in vector space. Without understanding embeddings, it's magic"},{"skill":"Vector Databases","skill_id":"vector-databases","prerequisite":"NLP","prerequisite_id":"nlp","strength":"hard","rationale":"Vector databases store and index embeddings — you must understand what vectors represent to choose the right index, metric, and parameters"},{"skill":"Vector Databases","skill_id":"vector-databases","prerequisite":"Distributed Systems","prerequisite_id":"distributed-systems","strength":"medium","rationale":"Production vector DBs involve sharding, replication, and latency trade-offs — distributed systems literacy helps make informed choices"},{"skill":"pgvector","skill_id":"pgvector","prerequisite":"SQL","prerequisite_id":"sql","strength":"hard","rationale":"pgvector extends PostgreSQL — you must understand SQL, indexing, and query planning to use it effectively"},{"skill":"pgvector","skill_id":"pgvector","prerequisite":"NLP","prerequisite_id":"nlp","strength":"hard","rationale":"Without understanding what embeddings are, pgvector is just a mysterious column type"},{"skill":"FAISS","skill_id":"faiss","prerequisite":"NLP","prerequisite_id":"nlp","strength":"hard","rationale":"FAISS implements ANN algorithms (IVF, HNSW, PQ) for vector search — you need to understand what vectors mean to choose the right index"},{"skill":"Embedding Models","skill_id":"embedding-models","prerequisite":"NLP","prerequisite_id":"nlp","strength":"hard","rationale":"Fine-tuning embedding models requires understanding how embeddings represent semantic relationships and what contrastive learning optimizes"},{"skill":"Embedding Models","skill_id":"embedding-models","prerequisite":"LLM Fine-Tuning","prerequisite_id":"llm-fine-tuning","strength":"medium","rationale":"Embedding fine-tuning uses similar training loop concepts (learning rate, epochs, validation) as SFT — familiarity with fine-tuning accelerates learning"},{"skill":"Retrieval-Augmented Generation","skill_id":"retrieval-augmented-generation","prerequisite":"NLP","prerequisite_id":"nlp","strength":"hard","rationale":"RAG combines retrieval (embeddings, vector search) with generation (LLM) — NLP foundations are the glue"},{"skill":"Retrieval-Augmented Generation","skill_id":"retrieval-augmented-generation","prerequisite":"Vector Databases","prerequisite_id":"vector-databases","strength":"hard","rationale":"The retrieval step in RAG requires a vector database to store and search document embeddings"},{"skill":"Retrieval-Augmented Generation","skill_id":"retrieval-augmented-generation","prerequisite":"Transformer Architecture","prerequisite_id":"transformer-architecture","strength":"medium","rationale":"Understanding how the LLM processes retrieved context (attention over concatenated tokens) helps debug RAG quality issues"},{"skill":"Document Chunking","skill_id":"document-chunking","prerequisite":"Retrieval-Augmented Generation","prerequisite_id":"retrieval-augmented-generation","strength":"hard","rationale":"Chunking only makes sense in the context of a RAG pipeline — it's the data preparation step that determines retrieval quality"},{"skill":"Document Chunking","skill_id":"document-chunking","prerequisite":"NLP","prerequisite_id":"nlp","strength":"medium","rationale":"Understanding token counts, embedding window sizes, and semantic boundaries requires NLP foundations"},{"skill":"Hybrid Search","skill_id":"hybrid-search","prerequisite":"Retrieval-Augmented Generation","prerequisite_id":"retrieval-augmented-generation","strength":"hard","rationale":"Hybrid search is an optimization OF the RAG retrieval step — you must understand basic RAG to know what you're improving"},{"skill":"Hybrid Search","skill_id":"hybrid-search","prerequisite":"Semantic Search","prerequisite_id":"semantic-search","strength":"hard","rationale":"Hybrid search combines dense (semantic) and sparse (keyword) retrieval — understanding both sides is required"},{"skill":"Search Re-Ranking","skill_id":"search-re-ranking","prerequisite":"Hybrid Search","prerequisite_id":"hybrid-search","strength":"medium","rationale":"Re-ranking is typically applied after an initial retrieval step (dense or hybrid) — it's a refinement layer"},{"skill":"Search Re-Ranking","skill_id":"search-re-ranking","prerequisite":"NLP","prerequisite_id":"nlp","strength":"hard","rationale":"Cross-encoders compute pairwise similarity between query and document — understanding embeddings and attention is essential"},{"skill":"Self-Reflective RAG","skill_id":"self-reflective-rag","prerequisite":"Retrieval-Augmented Generation","prerequisite_id":"retrieval-augmented-generation","strength":"hard","rationale":"Self-RAG adds a reflection loop ON TOP of a basic RAG pipeline — without understanding RAG, you can't add reflection to it"},{"skill":"Query Optimization","skill_id":"query-optimization","prerequisite":"Retrieval-Augmented Generation","prerequisite_id":"retrieval-augmented-generation","strength":"hard","rationale":"Query transformation modifies the retrieval query WITHIN a RAG pipeline — it requires understanding what retrieval is trying to achieve"},{"skill":"Multimodal RAG","skill_id":"multimodal-rag","prerequisite":"Retrieval-Augmented Generation","prerequisite_id":"retrieval-augmented-generation","strength":"hard","rationale":"Multimodal RAG extends text RAG with vision/audio embeddings — you need to understand text RAG first"},{"skill":"Multimodal RAG","skill_id":"multimodal-rag","prerequisite":"Multimodal AI","prerequisite_id":"multimodal-ai","strength":"hard","rationale":"Creating and searching multimodal embeddings requires understanding how VLMs encode different modalities"},{"skill":"Knowledge Graphs","skill_id":"knowledge-graphs","prerequisite":"Retrieval-Augmented Generation","prerequisite_id":"retrieval-augmented-generation","strength":"hard","rationale":"GraphRAG augments vector-based RAG with structured graph traversal — you must understand what basic RAG does to extend it"},{"skill":"Knowledge Graphs","skill_id":"knowledge-graphs","prerequisite":"Graph Neural Networks","prerequisite_id":"graph-neural-networks","strength":"soft","rationale":"GNN concepts (message passing, node embeddings) inform how knowledge graphs can be enriched, though not strictly required"},{"skill":"Document AI","skill_id":"document-ai","prerequisite":"Retrieval-Augmented Generation","prerequisite_id":"retrieval-augmented-generation","strength":"medium","rationale":"Document AI is typically an upstream step feeding a RAG pipeline — understanding the downstream use helps design the parser"},{"skill":"Document AI","skill_id":"document-ai","prerequisite":"Multimodal AI","prerequisite_id":"multimodal-ai","strength":"hard","rationale":"Document AI 2.0 uses VLMs to understand page layouts, tables, and charts — VLM understanding is essential"},{"skill":"RAG Evaluation","skill_id":"rag-evaluation","prerequisite":"Retrieval-Augmented Generation","prerequisite_id":"retrieval-augmented-generation","strength":"hard","rationale":"You cannot evaluate a RAG system without understanding its components (retrieval quality, generation faithfulness, grounding)"},{"skill":"RAG Evaluation","skill_id":"rag-evaluation","prerequisite":"Model Evaluation","prerequisite_id":"model-evaluation","strength":"medium","rationale":"RAG evaluation uses metrics concepts (precision@k, recall, F1) adapted to retrieval+generation context"},{"skill":"AI Grounding & Citations","skill_id":"ai-grounding-citations","prerequisite":"Retrieval-Augmented Generation","prerequisite_id":"retrieval-augmented-generation","strength":"hard","rationale":"Grounding is a quality property OF a RAG system — the concept only exists in the context of retrieval-augmented generation"},{"skill":"Secure RAG","skill_id":"secure-rag","prerequisite":"Retrieval-Augmented Generation","prerequisite_id":"retrieval-augmented-generation","strength":"hard","rationale":"Permission-aware retrieval is a security layer ON TOP of a RAG pipeline — you must understand the pipeline to secure it"},{"skill":"Secure RAG","skill_id":"secure-rag","prerequisite":"Prompt Injection Defense","prerequisite_id":"prompt-injection-defense","strength":"medium","rationale":"Securing RAG involves defending against prompt injection attacks that attempt to bypass retrieval permission boundaries"},{"skill":"Prompt Engineering","skill_id":"prompt-engineering","prerequisite":"Transformer Architecture","prerequisite_id":"transformer-architecture","strength":"medium","rationale":"Chain-of-Thought and reasoning techniques exploit how Transformers process sequential tokens — understanding attention helps design better prompts"},{"skill":"System Prompt Design","skill_id":"system-prompt-design","prerequisite":"Prompt Engineering","prerequisite_id":"prompt-engineering","strength":"hard","rationale":"System prompts are the highest-level prompt engineering artifact — you need to understand prompting before you can design contracts"},{"skill":"Structured LLM Outputs","skill_id":"structured-llm-outputs","prerequisite":"Python","prerequisite_id":"python","strength":"medium","rationale":"JSON Schema validation, Pydantic models, and type-safe outputs require Python typing knowledge"},{"skill":"Structured LLM Outputs","skill_id":"structured-llm-outputs","prerequisite":"Prompt Engineering","prerequisite_id":"prompt-engineering","strength":"hard","rationale":"Structured outputs are achieved through prompt engineering techniques (schema instructions, format enforcement) — prompting is the foundation"},{"skill":"LLM Function Calling","skill_id":"llm-function-calling","prerequisite":"Structured LLM Outputs","prerequisite_id":"structured-llm-outputs","strength":"hard","rationale":"Function calling IS structured output with tool schemas — the model must produce valid JSON matching a function signature"},{"skill":"LLM Function Calling","skill_id":"llm-function-calling","prerequisite":"API Development","prerequisite_id":"api-development","strength":"medium","rationale":"Tools exposed via function calling are often API endpoints — understanding API design helps design better tool interfaces"},{"skill":"AI Agent Design","skill_id":"ai-agent-design","prerequisite":"LLM Function Calling","prerequisite_id":"llm-function-calling","strength":"hard","rationale":"Agents work by calling tools iteratively — function calling is the atomic operation that agent architectures compose"},{"skill":"AI Agent Design","skill_id":"ai-agent-design","prerequisite":"Prompt Engineering","prerequisite_id":"prompt-engineering","strength":"hard","rationale":"Agent loops (ReAct, Plan-and-Solve) rely on carefully engineered system prompts, reasoning prompts, and reflection prompts"},{"skill":"AI Agent Design","skill_id":"ai-agent-design","prerequisite":"Long-Context Modeling","prerequisite_id":"long-context-modeling","strength":"medium","rationale":"Multi-step agent workflows accumulate context (observations, tool results, thoughts) — context management becomes critical"},{"skill":"LangGraph","skill_id":"langgraph","prerequisite":"AI Agent Design","prerequisite_id":"ai-agent-design","strength":"hard","rationale":"Multi-agent systems orchestrate multiple single agents — you must understand one agent before you can coordinate many"},{"skill":"LangGraph","skill_id":"langgraph","prerequisite":"Agent State Management","prerequisite_id":"agent-state-management","strength":"medium","rationale":"Multi-agent coordination requires state tracking across agents — state machines formalize the handoffs"},{"skill":"Agent Memory Systems","skill_id":"agent-memory-systems","prerequisite":"AI Agent Design","prerequisite_id":"ai-agent-design","strength":"hard","rationale":"Memory systems augment agents — without understanding what an agent is, memory has no context"},{"skill":"Agent Memory Systems","skill_id":"agent-memory-systems","prerequisite":"Vector Databases","prerequisite_id":"vector-databases","strength":"medium","rationale":"Long-term agent memory is often implemented as vector search over past interactions — vector DB knowledge helps"},{"skill":"Agent State Management","skill_id":"agent-state-management","prerequisite":"AI Agent Design","prerequisite_id":"ai-agent-design","strength":"hard","rationale":"State machines formalize the control flow OF an agent — you need the agent concept first"},{"skill":"Text-to-SQL","skill_id":"text-to-sql","prerequisite":"AI Agent Design","prerequisite_id":"ai-agent-design","strength":"hard","rationale":"Text-to-SQL bots are agents with SQL tools — agent architecture is the foundation"},{"skill":"Text-to-SQL","skill_id":"text-to-sql","prerequisite":"SQL","prerequisite_id":"sql","strength":"hard","rationale":"The agent generates SQL — it must be evaluated and debugged by someone who understands SQL deeply"},{"skill":"Code Execution Agents","skill_id":"code-execution-agents","prerequisite":"AI Agent Design","prerequisite_id":"ai-agent-design","strength":"hard","rationale":"Code-executing agents are agents with a code interpreter tool — agent patterns are the foundation"},{"skill":"Code Execution Agents","skill_id":"code-execution-agents","prerequisite":"Docker","prerequisite_id":"docker","strength":"medium","rationale":"Sandboxing uses containerization (Docker/microVMs) — understanding containers helps understand security boundaries"},{"skill":"Computer Use AI","skill_id":"computer-use-ai","prerequisite":"AI Agent Design","prerequisite_id":"ai-agent-design","strength":"hard","rationale":"Web agents are agents with browser tools — agent architecture is the foundation"},{"skill":"Multi-Agent Orchestration","skill_id":"multi-agent-orchestration","prerequisite":"LangGraph","prerequisite_id":"langgraph","strength":"hard","rationale":"Conflict resolution only arises in multi-agent systems — you need the multi-agent setup first"},{"skill":"Human-in-the-Loop AI","skill_id":"human-in-the-loop-ai","prerequisite":"AI Agent Design","prerequisite_id":"ai-agent-design","strength":"hard","rationale":"HITL designs approval gates WITHIN agent workflows — you must understand the workflow to know where to insert checkpoints"},{"skill":"AI Guardrails","skill_id":"ai-guardrails","prerequisite":"Structured LLM Outputs","prerequisite_id":"structured-llm-outputs","strength":"medium","rationale":"Guardrails validate that outputs conform to expected schemas and policies — structured output concepts are the foundation"},{"skill":"AI Guardrails","skill_id":"ai-guardrails","prerequisite":"Prompt Injection Defense","prerequisite_id":"prompt-injection-defense","strength":"medium","rationale":"Guardrails are a defensive layer that includes prompt injection mitigation — understanding attacks informs defense design"},{"skill":"A2A Protocol","skill_id":"a2a-protocol","prerequisite":"LangGraph","prerequisite_id":"langgraph","strength":"hard","rationale":"A2A standardizes communication between agents — you need multi-agent systems to have inter-agent communication"},{"skill":"A2A Protocol","skill_id":"a2a-protocol","prerequisite":"LLM Function Calling","prerequisite_id":"llm-function-calling","strength":"medium","rationale":"A2A builds on function calling patterns — agents communicate by invoking each other's capabilities"},{"skill":"Context Engineering","skill_id":"context-engineering","prerequisite":"Prompt Engineering","prerequisite_id":"prompt-engineering","strength":"hard","rationale":"Context engineering is prompt engineering elevated to a discipline — it subsumes prompt design, context selection, and memory management"},{"skill":"Context Engineering","skill_id":"context-engineering","prerequisite":"Long-Context Modeling","prerequisite_id":"long-context-modeling","strength":"hard","rationale":"Context engineering requires understanding how models process long contexts, where attention degrades, and how to structure information"},{"skill":"Context Engineering","skill_id":"context-engineering","prerequisite":"Token Optimization","prerequisite_id":"token-optimization","strength":"hard","rationale":"Context engineering explicitly optimizes what goes into the context window — token economics is a core constraint"},{"skill":"Prompt Caching","skill_id":"prompt-caching","prerequisite":"Context Engineering","prerequisite_id":"context-engineering","strength":"medium","rationale":"Caching is one technique within context engineering — understanding what to cache requires understanding context strategy"},{"skill":"Semantic Routing","skill_id":"semantic-routing","prerequisite":"Context Engineering","prerequisite_id":"context-engineering","strength":"medium","rationale":"Routing decisions are context-dependent — understanding what context each model handles best requires context engineering"},{"skill":"DSPy","skill_id":"dspy","prerequisite":"Prompt Engineering","prerequisite_id":"prompt-engineering","strength":"hard","rationale":"DSPy compiles and optimizes prompts programmatically — you must understand what manual prompt engineering does before automating it"},{"skill":"DSPy","skill_id":"dspy","prerequisite":"Model Evaluation","prerequisite_id":"model-evaluation","strength":"medium","rationale":"DSPy optimizes prompts against metrics — you need to understand what metrics mean to define optimization targets"},{"skill":"Automated Prompt Optimization","skill_id":"automated-prompt-optimization","prerequisite":"Prompt Engineering","prerequisite_id":"prompt-engineering","strength":"hard","rationale":"Meta-prompting uses one LLM to improve another's prompts — understanding prompting is essential for both sides"},{"skill":"Prompt Management","skill_id":"prompt-management","prerequisite":"Prompt Engineering","prerequisite_id":"prompt-engineering","strength":"hard","rationale":"You can only version and test prompts once you understand what makes a good prompt and how to evaluate changes"},{"skill":"Prompt Management","skill_id":"prompt-management","prerequisite":"Git","prerequisite_id":"git","strength":"medium","rationale":"Prompt versioning borrows patterns from code version control — Git literacy makes the analogy concrete"},{"skill":"Prompt Management","skill_id":"prompt-management","prerequisite":"A/B Testing","prerequisite_id":"a-b-testing","strength":"medium","rationale":"A/B testing prompts requires experimental design skills — statistical significance of prompt changes"},{"skill":"LLM Decoding Strategies","skill_id":"llm-decoding-strategies","prerequisite":"Transformer Architecture","prerequisite_id":"transformer-architecture","strength":"medium","rationale":"Decoding parameters control the sampling from the Transformer's output distribution — understanding the model helps tune its outputs"},{"skill":"LLM Fine-Tuning","skill_id":"llm-fine-tuning","prerequisite":"Deep Learning","prerequisite_id":"deep-learning","strength":"hard","rationale":"SFT is supervised training of a neural network — you need DL fundamentals (loss functions, learning rate, overfitting) to do it well"},{"skill":"LLM Fine-Tuning","skill_id":"llm-fine-tuning","prerequisite":"Transformer Architecture","prerequisite_id":"transformer-architecture","strength":"hard","rationale":"SFT trains a Transformer model — understanding the architecture is essential for diagnosing training issues"},{"skill":"LLM Fine-Tuning","skill_id":"llm-fine-tuning","prerequisite":"Training Data Curation","prerequisite_id":"training-data-curation","strength":"hard","rationale":"SFT quality is determined by data quality — dataset curation is the gating factor for fine-tuning success"},{"skill":"LoRA / QLoRA","skill_id":"lora-qlora","prerequisite":"LLM Fine-Tuning","prerequisite_id":"llm-fine-tuning","strength":"hard","rationale":"LoRA/QLoRA are parameter-efficient alternatives to full SFT — you must understand what full fine-tuning does before learning to approximate it cheaply"},{"skill":"LoRA / QLoRA","skill_id":"lora-qlora","prerequisite":"Linear Algebra","prerequisite_id":"linear-algebra","strength":"medium","rationale":"LoRA factorizes weight updates into low-rank matrices (W = BA where B,A are low-rank) — linear algebra explains why this works"},{"skill":"RLHF","skill_id":"rlhf","prerequisite":"LLM Fine-Tuning","prerequisite_id":"llm-fine-tuning","strength":"hard","rationale":"RLHF is applied AFTER SFT to align the model with preferences — SFT provides the baseline model that RLHF refines"},{"skill":"RLHF","skill_id":"rlhf","prerequisite":"Reinforcement Learning","prerequisite_id":"reinforcement-learning","strength":"medium","rationale":"RLHF uses PPO (a policy gradient RL algorithm) to optimize the language model against a reward model"},{"skill":"Direct Preference Optimization","skill_id":"direct-preference-optimization","prerequisite":"RLHF","prerequisite_id":"rlhf","strength":"medium","rationale":"DPO was created to simplify RLHF — understanding what RLHF does helps understand what DPO replaces and why"},{"skill":"Direct Preference Optimization","skill_id":"direct-preference-optimization","prerequisite":"LLM Fine-Tuning","prerequisite_id":"llm-fine-tuning","strength":"hard","rationale":"DPO modifies the SFT loss function with preference pairs — SFT is the computational foundation"},{"skill":"Continual Pre-Training","skill_id":"continual-pre-training","prerequisite":"Transformer Architecture","prerequisite_id":"transformer-architecture","strength":"hard","rationale":"CPT extends pretraining on domain data — you must understand pretraining (next-token prediction on a Transformer) to extend it"},{"skill":"Continual Pre-Training","skill_id":"continual-pre-training","prerequisite":"Distributed Training","prerequisite_id":"distributed-training","strength":"medium","rationale":"CPT on domain data often requires multi-GPU training — distributed training skills become practical requirements"},{"skill":"Knowledge Distillation","skill_id":"knowledge-distillation","prerequisite":"Deep Learning","prerequisite_id":"deep-learning","strength":"hard","rationale":"Distillation trains a student network to mimic a teacher network — both are neural networks requiring DL understanding"},{"skill":"Knowledge Distillation","skill_id":"knowledge-distillation","prerequisite":"Model Evaluation","prerequisite_id":"model-evaluation","strength":"medium","rationale":"Evaluating distillation quality requires comparing student vs. teacher on meaningful metrics"},{"skill":"Model Merging","skill_id":"model-merging","prerequisite":"Linear Algebra","prerequisite_id":"linear-algebra","strength":"hard","rationale":"Model merging operates directly on weight tensors using interpolation algorithms — it's pure applied linear algebra"},{"skill":"Model Merging","skill_id":"model-merging","prerequisite":"LoRA / QLoRA","prerequisite_id":"lora-qlora","strength":"medium","rationale":"Model merging often combines LoRA adapters or specialized fine-tunes — understanding PEFT helps understand what is being merged"},{"skill":"Catastrophic Forgetting","skill_id":"catastrophic-forgetting","prerequisite":"LLM Fine-Tuning","prerequisite_id":"llm-fine-tuning","strength":"hard","rationale":"Catastrophic forgetting IS a fine-tuning problem — it only occurs during fine-tuning or CPT"},{"skill":"Fine-Tuning Evaluation","skill_id":"fine-tuning-evaluation","prerequisite":"LLM Fine-Tuning","prerequisite_id":"llm-fine-tuning","strength":"hard","rationale":"You can only assess post-fine-tuning quality if you've done fine-tuning and understand what might go wrong"},{"skill":"Fine-Tuning Evaluation","skill_id":"fine-tuning-evaluation","prerequisite":"LLM Evaluation Frameworks","prerequisite_id":"llm-evaluation-frameworks","strength":"hard","rationale":"Assessing quality after fine-tuning requires evaluation frameworks to measure regressions systematically"},{"skill":"Model Quantization","skill_id":"model-quantization","prerequisite":"Transformer Architecture","prerequisite_id":"transformer-architecture","strength":"hard","rationale":"Quantization compresses Transformer weights from FP16 to INT4/INT8 — understanding what the weights represent is essential for assessing quality trade-offs"},{"skill":"Model Quantization","skill_id":"model-quantization","prerequisite":"Linear Algebra","prerequisite_id":"linear-algebra","strength":"medium","rationale":"Quantization is approximation of floating-point matrices with lower-precision representations — linear algebra explains the error propagation"},{"skill":"Distributed Training","skill_id":"distributed-training","prerequisite":"Deep Learning","prerequisite_id":"deep-learning","strength":"hard","rationale":"Distributed training parallelizes neural network training — you must understand single-GPU training before distributing it"},{"skill":"Distributed Training","skill_id":"distributed-training","prerequisite":"PyTorch","prerequisite_id":"pytorch","strength":"hard","rationale":"DeepSpeed and FSDP are PyTorch extensions — PyTorch proficiency is a practical prerequisite"},{"skill":"Synthetic Data Generation","skill_id":"synthetic-data-generation","prerequisite":"LLM Fine-Tuning","prerequisite_id":"llm-fine-tuning","strength":"medium","rationale":"Synthetic data is typically generated to be used FOR fine-tuning — understanding the downstream use improves generation quality"},{"skill":"Docker","skill_id":"docker","prerequisite":"Shell Scripting","prerequisite_id":"shell-scripting","strength":"medium","rationale":"Dockerfiles use shell commands; debugging containers often requires shell literacy"},{"skill":"Kubernetes","skill_id":"kubernetes","prerequisite":"Docker","prerequisite_id":"docker","strength":"hard","rationale":"Kubernetes orchestrates containers — you must understand what a container is before orchestrating thousands of them"},{"skill":"KServe","skill_id":"kserve","prerequisite":"Kubernetes","prerequisite_id":"kubernetes","strength":"hard","rationale":"KServe runs ON Kubernetes — K8s is the deployment platform"},{"skill":"KServe","skill_id":"kserve","prerequisite":"A/B Testing","prerequisite_id":"a-b-testing","strength":"medium","rationale":"Canary and A/B rollouts require understanding how to measure whether the new version is better"},{"skill":"LLM Inference Serving","skill_id":"llm-inference-serving","prerequisite":"Transformer Architecture","prerequisite_id":"transformer-architecture","strength":"hard","rationale":"vLLM implements PagedAttention and KV cache management for Transformers — understanding what KV cache is requires Transformer knowledge"},{"skill":"LLM Inference Serving","skill_id":"llm-inference-serving","prerequisite":"Docker","prerequisite_id":"docker","strength":"medium","rationale":"Production vLLM deployment typically runs in containers"},{"skill":"Ray Serve","skill_id":"ray-serve","prerequisite":"LLM Inference Serving","prerequisite_id":"llm-inference-serving","strength":"medium","rationale":"Ray Serve can wrap vLLM for distributed serving — understanding the inference engine helps"},{"skill":"Ray Serve","skill_id":"ray-serve","prerequisite":"Distributed Systems","prerequisite_id":"distributed-systems","strength":"hard","rationale":"Ray Serve IS a distributed computing framework — distributed systems knowledge is essential"},{"skill":"Inference Optimization","skill_id":"inference-optimization","prerequisite":"LLM Inference Serving","prerequisite_id":"llm-inference-serving","strength":"hard","rationale":"PagedAttention and continuous batching are optimizations implemented IN inference engines like vLLM"},{"skill":"Inference Optimization","skill_id":"inference-optimization","prerequisite":"Transformer Architecture","prerequisite_id":"transformer-architecture","strength":"hard","rationale":"KV cache optimization requires understanding how key-value pairs are computed and reused in self-attention"},{"skill":"Speculative Decoding","skill_id":"speculative-decoding","prerequisite":"Transformer Architecture","prerequisite_id":"transformer-architecture","strength":"hard","rationale":"Speculative decoding uses a draft model to predict tokens that the main model verifies — understanding autoregressive generation is essential"},{"skill":"Speculative Decoding","skill_id":"speculative-decoding","prerequisite":"LLM Inference Serving","prerequisite_id":"llm-inference-serving","strength":"medium","rationale":"Speculative decoding is implemented within inference engines like vLLM — practical experience with the engine helps"},{"skill":"MLflow","skill_id":"mlflow","prerequisite":"Python","prerequisite_id":"python","strength":"hard","rationale":"MLflow is a Python library — Python proficiency is required to use it"},{"skill":"MLflow","skill_id":"mlflow","prerequisite":"Git","prerequisite_id":"git","strength":"medium","rationale":"MLflow tracks experiments similarly to how Git tracks code — version control concepts transfer directly"},{"skill":"Weights & Biases","skill_id":"weights-biases","prerequisite":"Python","prerequisite_id":"python","strength":"hard","rationale":"W&B is used through Python SDK for logging experiments"},{"skill":"Weights & Biases","skill_id":"weights-biases","prerequisite":"MLflow","prerequisite_id":"mlflow","strength":"soft","rationale":"Understanding MLflow's approach to experiment tracking helps contextualize what W&B does differently"},{"skill":"ML CI/CD","skill_id":"ml-ci-cd","prerequisite":"Git","prerequisite_id":"git","strength":"hard","rationale":"CI/CD is triggered by Git commits and orchestrated around Git branches — Git is the foundation"},{"skill":"ML CI/CD","skill_id":"ml-ci-cd","prerequisite":"Docker","prerequisite_id":"docker","strength":"hard","rationale":"CI/CD pipelines run in containers and produce container images as artifacts"},{"skill":"Apache Airflow","skill_id":"apache-airflow","prerequisite":"Python","prerequisite_id":"python","strength":"hard","rationale":"Airflow DAGs and Prefect flows are defined in Python"},{"skill":"Apache Airflow","skill_id":"apache-airflow","prerequisite":"Docker","prerequisite_id":"docker","strength":"medium","rationale":"Pipeline tasks typically run in containers"},{"skill":"LLM Observability","skill_id":"llm-observability","prerequisite":"LLM Inference Serving","prerequisite_id":"llm-inference-serving","strength":"medium","rationale":"LLM observability tools monitor inference engines — understanding what the engine does helps interpret the traces"},{"skill":"LLM Observability","skill_id":"llm-observability","prerequisite":"AI Agent Design","prerequisite_id":"ai-agent-design","strength":"medium","rationale":"Tracing agent workflows (tool calls, reasoning steps) is a primary LLM observability use case"},{"skill":"ML Monitoring","skill_id":"ml-monitoring","prerequisite":"LLM Observability","prerequisite_id":"llm-observability","strength":"hard","rationale":"Production monitoring extends observability with alerting, drift detection, and SLA tracking — observability is the data source"},{"skill":"ML Monitoring","skill_id":"ml-monitoring","prerequisite":"Statistical Inference","prerequisite_id":"statistical-inference","strength":"medium","rationale":"Detecting concept drift requires statistical tests; setting alert thresholds requires understanding distributions"},{"skill":"LLM Evaluation Frameworks","skill_id":"llm-evaluation-frameworks","prerequisite":"Model Evaluation","prerequisite_id":"model-evaluation","strength":"hard","rationale":"Automated LLM evaluation uses adapted versions of classical metrics (precision, recall, F1) plus new ones (faithfulness, relevance) — metrics literacy is the foundation"},{"skill":"LLM Evaluation Frameworks","skill_id":"llm-evaluation-frameworks","prerequisite":"Retrieval-Augmented Generation","prerequisite_id":"retrieval-augmented-generation","strength":"medium","rationale":"RAGAS specifically evaluates RAG pipelines — understanding RAG is needed to interpret RAGAS metrics"},{"skill":"LLM-as-Judge","skill_id":"llm-as-judge","prerequisite":"LLM Evaluation Frameworks","prerequisite_id":"llm-evaluation-frameworks","strength":"hard","rationale":"LLM-as-judge is one METHOD within automated evaluation — you need the broader evaluation context first"},{"skill":"LLM-as-Judge","skill_id":"llm-as-judge","prerequisite":"Statistical Inference","prerequisite_id":"statistical-inference","strength":"medium","rationale":"Calibrating a judge model and measuring inter-annotator agreement (vs. human judges) requires statistical skills"},{"skill":"LLM Evaluation Design","skill_id":"llm-evaluation-design","prerequisite":"Model Evaluation","prerequisite_id":"model-evaluation","strength":"hard","rationale":"Designing LLM-specific metrics builds on classical metric theory — understanding precision/recall helps design faithfulness/relevance"},{"skill":"LLM Evaluation Design","skill_id":"llm-evaluation-design","prerequisite":"Dataset Engineering","prerequisite_id":"dataset-engineering","strength":"hard","rationale":"Test set engineering requires preventing data leakage between training and evaluation — dataset design principles apply directly"},{"skill":"LLM Testing","skill_id":"llm-testing","prerequisite":"Structured LLM Outputs","prerequisite_id":"structured-llm-outputs","strength":"hard","rationale":"Schema adherence tests validate that LLM outputs match expected JSON schemas — structured output understanding is required"},{"skill":"LLM Testing","skill_id":"llm-testing","prerequisite":"ML CI/CD","prerequisite_id":"ml-ci-cd","strength":"medium","rationale":"LLM system tests are typically run within CI/CD pipelines — understanding CI/CD helps integrate tests into workflows"},{"skill":"API Development","skill_id":"api-development","prerequisite":"Python","prerequisite_id":"python","strength":"hard","rationale":"FastAPI is a Python framework — Python is the obvious prerequisite"},{"skill":"AI FinOps","skill_id":"ai-finops","prerequisite":"Token Optimization","prerequisite_id":"token-optimization","strength":"hard","rationale":"FinOps quantifies what token cost management optimizes — you must understand per-token costs before managing them at scale"},{"skill":"AI FinOps","skill_id":"ai-finops","prerequisite":"LLM Observability","prerequisite_id":"llm-observability","strength":"medium","rationale":"FinOps requires observability data (token counts, latency, costs per request) as input for analysis"},{"skill":"LLM API Gateway","skill_id":"llm-api-gateway","prerequisite":"LLM API Integration","prerequisite_id":"llm-api-integration","strength":"hard","rationale":"API gateways abstract over multiple LLM APIs — you must understand the underlying APIs to configure routing and failover"},{"skill":"Serverless AI","skill_id":"serverless-ai","prerequisite":"Kubernetes","prerequisite_id":"kubernetes","strength":"soft","rationale":"Serverless AI abstracts away Kubernetes — but understanding what it replaces helps evaluate trade-offs"},{"skill":"Serverless AI","skill_id":"serverless-ai","prerequisite":"Docker","prerequisite_id":"docker","strength":"medium","rationale":"Serverless platforms still use containers under the hood — container knowledge helps debug deployment issues"},{"skill":"ETL Pipeline Design","skill_id":"etl-pipeline-design","prerequisite":"SQL","prerequisite_id":"sql","strength":"hard","rationale":"ETL pipelines query, transform, and load data — SQL is the primary language for the T and L steps"},{"skill":"ETL Pipeline Design","skill_id":"etl-pipeline-design","prerequisite":"Python","prerequisite_id":"python","strength":"hard","rationale":"Pipeline orchestration, custom transformations, and LLM integration are done in Python"},{"skill":"Data Curation","skill_id":"data-curation","prerequisite":"ETL Pipeline Design","prerequisite_id":"etl-pipeline-design","strength":"hard","rationale":"Data curation is a specialized ETL pipeline — general pipeline design skills are the foundation"},{"skill":"Data Curation","skill_id":"data-curation","prerequisite":"PII Management","prerequisite_id":"pii-management","strength":"hard","rationale":"PII removal is a core step in curation pipelines — understanding what constitutes PII and how to mask it is required"},{"skill":"Document Parsing","skill_id":"document-parsing","prerequisite":"Data Curation","prerequisite_id":"data-curation","strength":"medium","rationale":"Document ingest is a specialization of data curation for unstructured documents"},{"skill":"Training Data Curation","skill_id":"training-data-curation","prerequisite":"Data Curation","prerequisite_id":"data-curation","strength":"hard","rationale":"SFT dataset curation is data curation applied to training data — curation skills are the foundation"},{"skill":"Evaluation Data Engineering","skill_id":"evaluation-data-engineering","prerequisite":"Dataset Engineering","prerequisite_id":"dataset-engineering","strength":"hard","rationale":"Golden sets must avoid leakage — dataset design principles prevent contamination between train and eval"},{"skill":"Data Quality Management","skill_id":"data-quality-management","prerequisite":"SQL","prerequisite_id":"sql","strength":"medium","rationale":"Data quality checks often run as SQL assertions against data warehouses"},{"skill":"Data Versioning","skill_id":"data-versioning","prerequisite":"Git","prerequisite_id":"git","strength":"hard","rationale":"DVC extends Git for data versioning — Git is the foundation"},{"skill":"Feature Engineering","skill_id":"feature-engineering","prerequisite":"ETL Pipeline Design","prerequisite_id":"etl-pipeline-design","strength":"medium","rationale":"Feature stores are served by pipelines that compute and refresh features — pipeline design enables feature engineering at scale"},{"skill":"dbt","skill_id":"dbt","prerequisite":"SQL","prerequisite_id":"sql","strength":"hard","rationale":"dbt IS SQL with Jinja templating — SQL proficiency is the absolute prerequisite"},{"skill":"Apache Iceberg","skill_id":"apache-iceberg","prerequisite":"SQL","prerequisite_id":"sql","strength":"medium","rationale":"Table formats are queried with SQL — understanding SQL helps leverage their capabilities"},{"skill":"Apache Spark","skill_id":"apache-spark","prerequisite":"Python","prerequisite_id":"python","strength":"hard","rationale":"PySpark and Ray are Python frameworks for distributed computing"},{"skill":"Apache Spark","skill_id":"apache-spark","prerequisite":"Distributed Systems","prerequisite_id":"distributed-systems","strength":"hard","rationale":"Spark and Ray ARE distributed systems — understanding parallelism, partitioning, and fault tolerance is essential"},{"skill":"DuckDB / Polars","skill_id":"duckdb-polars","prerequisite":"Python","prerequisite_id":"python","strength":"hard","rationale":"DuckDB and Polars are Python libraries"},{"skill":"DuckDB / Polars","skill_id":"duckdb-polars","prerequisite":"SQL","prerequisite_id":"sql","strength":"medium","rationale":"DuckDB speaks SQL natively — SQL skills transfer directly"},{"skill":"Prompt Injection Defense","skill_id":"prompt-injection-defense","prerequisite":"Prompt Engineering","prerequisite_id":"prompt-engineering","strength":"hard","rationale":"Defending against prompt injection requires understanding how prompts work — attackers exploit the same mechanisms that prompt engineers use"},{"skill":"Adversarial AI Testing","skill_id":"adversarial-ai-testing","prerequisite":"Prompt Injection Defense","prerequisite_id":"prompt-injection-defense","strength":"hard","rationale":"Red teaming tests for prompt injection and other vulnerabilities — understanding the attacks is prerequisite for testing them"},{"skill":"Adversarial AI Testing","skill_id":"adversarial-ai-testing","prerequisite":"LLM Evaluation Frameworks","prerequisite_id":"llm-evaluation-frameworks","strength":"medium","rationale":"Red teaming uses automated evaluation to detect failures at scale — eval frameworks provide the testing infrastructure"},{"skill":"NeMo Guardrails","skill_id":"nemo-guardrails","prerequisite":"Prompt Injection Defense","prerequisite_id":"prompt-injection-defense","strength":"hard","rationale":"Guardrails defend against prompt injection among other threats — understanding the attack surface informs guardrail design"},{"skill":"NeMo Guardrails","skill_id":"nemo-guardrails","prerequisite":"Structured LLM Outputs","prerequisite_id":"structured-llm-outputs","strength":"medium","rationale":"Guardrails often validate outputs against expected schemas — structured output concepts inform validation design"},{"skill":"AI Toxicity Analysis","skill_id":"ai-toxicity-analysis","prerequisite":"Adversarial AI Testing","prerequisite_id":"adversarial-ai-testing","strength":"hard","rationale":"Toxic flow analysis traces how harmful content propagates through multi-step pipelines — red teaming identifies the entry points"},{"skill":"AI Toxicity Analysis","skill_id":"ai-toxicity-analysis","prerequisite":"LLM Observability","prerequisite_id":"llm-observability","strength":"hard","rationale":"Tracing toxic content flow requires observability instrumentation across the entire pipeline"},{"skill":"AI Data Security","skill_id":"ai-data-security","prerequisite":"Secure RAG","prerequisite_id":"secure-rag","strength":"hard","rationale":"Data exfiltration defense includes securing RAG retrieval — secure RAG is one component of the broader defense"},{"skill":"AI Data Security","skill_id":"ai-data-security","prerequisite":"Prompt Injection Defense","prerequisite_id":"prompt-injection-defense","strength":"hard","rationale":"Data exfiltration often exploits prompt injection to bypass access controls"},{"skill":"AI Supply Chain Security","skill_id":"ai-supply-chain-security","prerequisite":"Data Curation","prerequisite_id":"data-curation","strength":"medium","rationale":"Data poisoning defense requires understanding how training data is curated and what could be injected"},{"skill":"AI Rate Limiting","skill_id":"ai-rate-limiting","prerequisite":"AI FinOps","prerequisite_id":"ai-finops","strength":"medium","rationale":"Cost abuse prevention requires understanding token economics — FinOps provides the cost model"},{"skill":"AI Rate Limiting","skill_id":"ai-rate-limiting","prerequisite":"API Development","prerequisite_id":"api-development","strength":"medium","rationale":"Rate limiting is typically implemented at the API layer — FastAPI/gateway knowledge enables implementation"},{"skill":"EU AI Act Compliance","skill_id":"eu-ai-act-compliance","prerequisite":"NIST AI RMF","prerequisite_id":"nist-ai-rmf","strength":"soft","rationale":"NIST AI RMF provides a risk management framework that maps well to EU AI Act requirements — NIST is a useful conceptual foundation"},{"skill":"ISO 42001","skill_id":"iso-42001","prerequisite":"EU AI Act Compliance","prerequisite_id":"eu-ai-act-compliance","strength":"medium","rationale":"ISO 42001 provides the management system structure for implementing EU AI Act compliance — the Act creates the legal obligation, ISO provides the process"},{"skill":"AI Auditability","skill_id":"ai-auditability","prerequisite":"EU AI Act Compliance","prerequisite_id":"eu-ai-act-compliance","strength":"hard","rationale":"Documentation and auditability are required BY the EU AI Act — the legal framework creates the documentation requirement"},{"skill":"AI Auditability","skill_id":"ai-auditability","prerequisite":"LLM Observability","prerequisite_id":"llm-observability","strength":"medium","rationale":"Auditability requires observability data (traces, logs, decisions) as the raw material for documentation"},{"skill":"SAIF","skill_id":"saif","prerequisite":"Prompt Injection Defense","prerequisite_id":"prompt-injection-defense","strength":"medium","rationale":"SAIF addresses AI security holistically — prompt injection defense is one component"},{"skill":"Hallucination Detection","skill_id":"hallucination-detection","prerequisite":"Retrieval-Augmented Generation","prerequisite_id":"retrieval-augmented-generation","strength":"medium","rationale":"RAG is the primary technique for mitigating hallucinations via grounding — understanding RAG informs detection strategies"},{"skill":"Hallucination Detection","skill_id":"hallucination-detection","prerequisite":"LLM Evaluation Frameworks","prerequisite_id":"llm-evaluation-frameworks","strength":"hard","rationale":"Detecting hallucinations requires automated evaluation (faithfulness metrics, fact-checking) — eval frameworks are the detection tools"},{"skill":"LLM Benchmarking","skill_id":"llm-benchmarking","prerequisite":"Model Evaluation","prerequisite_id":"model-evaluation","strength":"hard","rationale":"Benchmarks ARE standardized evaluation — understanding what precision, recall, and accuracy mean is required to interpret benchmark results"},{"skill":"LLM Benchmarking","skill_id":"llm-benchmarking","prerequisite":"Benchmark Analysis","prerequisite_id":"benchmark-analysis","strength":"hard","rationale":"Using benchmarks wisely requires critical analysis skills — knowing their limitations is as important as knowing the scores"},{"skill":"AI Watermarking","skill_id":"ai-watermarking","prerequisite":"Diffusion Models","prerequisite_id":"diffusion-models","strength":"medium","rationale":"Watermarking is most commonly applied to generated images/video — understanding how diffusion models generate content informs where watermarks can be inserted"},{"skill":"AI Fairness","skill_id":"ai-fairness","prerequisite":"Model Evaluation","prerequisite_id":"model-evaluation","strength":"hard","rationale":"Detecting bias requires measuring disparate impact using metrics (equal opportunity, demographic parity) — metrics literacy is the foundation"},{"skill":"Explainable AI","skill_id":"explainable-ai","prerequisite":"Transformer Architecture","prerequisite_id":"transformer-architecture","strength":"hard","rationale":"Explaining Transformer decisions (attention visualization, probing, feature attribution) requires understanding the architecture"},{"skill":"PII Management","skill_id":"pii-management","prerequisite":"EU AI Act Compliance","prerequisite_id":"eu-ai-act-compliance","strength":"medium","rationale":"EU AI Act and GDPR create legal requirements for PII handling — the regulatory context informs what must be anonymized"},{"skill":"Amazon SageMaker","skill_id":"amazon-sagemaker","prerequisite":"Python","prerequisite_id":"python","strength":"hard","rationale":"SageMaker SDK is Python-based"},{"skill":"Amazon SageMaker","skill_id":"amazon-sagemaker","prerequisite":"Docker","prerequisite_id":"docker","strength":"medium","rationale":"SageMaker uses Docker containers for training and inference"},{"skill":"Amazon Bedrock","skill_id":"amazon-bedrock","prerequisite":"LLM API Integration","prerequisite_id":"llm-api-integration","strength":"medium","rationale":"Bedrock provides API access to multiple LLMs — API integration patterns apply"},{"skill":"Azure OpenAI Service","skill_id":"azure-openai-service","prerequisite":"LLM API Integration","prerequisite_id":"llm-api-integration","strength":"hard","rationale":"Azure OpenAI is the OpenAI API hosted on Azure — API integration is the same"},{"skill":"Google Vertex AI","skill_id":"google-vertex-ai","prerequisite":"Python","prerequisite_id":"python","strength":"hard","rationale":"Vertex AI SDK is Python-based"},{"skill":"Google Vertex AI","skill_id":"google-vertex-ai","prerequisite":"MLflow","prerequisite_id":"mlflow","strength":"soft","rationale":"Vertex AI provides its own experiment tracking that parallels MLflow concepts"},{"skill":"Terraform","skill_id":"terraform","prerequisite":"Shell Scripting","prerequisite_id":"shell-scripting","strength":"medium","rationale":"Terraform relies on CLI workflows and often integrates with shell scripts"},{"skill":"AI Requirements Engineering","skill_id":"ai-requirements-engineering","prerequisite":"AI Product Management","prerequisite_id":"ai-product-management","strength":"hard","rationale":"Specs operationalize product thinking — you must understand the value proposition before you can specify acceptance criteria"},{"skill":"AI Requirements Engineering","skill_id":"ai-requirements-engineering","prerequisite":"LLM Evaluation Frameworks","prerequisite_id":"llm-evaluation-frameworks","strength":"medium","rationale":"Acceptance criteria for GenAI often map to evaluation metrics — understanding automated eval helps write testable specs"},{"skill":"Data Storytelling","skill_id":"data-storytelling","prerequisite":"Model Evaluation","prerequisite_id":"model-evaluation","strength":"medium","rationale":"You can't tell a story about metrics without understanding what the metrics mean"},{"skill":"Technical Stakeholder Management","skill_id":"technical-stakeholder-management","prerequisite":"AI FinOps","prerequisite_id":"ai-finops","strength":"medium","rationale":"Negotiating cost-quality trade-offs requires understanding the actual cost drivers — FinOps provides the data"},{"skill":"AI UX Design","skill_id":"ai-ux-design","prerequisite":"Prompt Engineering","prerequisite_id":"prompt-engineering","strength":"medium","rationale":"Designing UX for stochastic outputs requires understanding what the LLM can and cannot guarantee — prompt engineering informs UX constraints"},{"skill":"AI Team Leadership","skill_id":"ai-team-leadership","prerequisite":"LLM Evaluation Frameworks","prerequisite_id":"llm-evaluation-frameworks","strength":"hard","rationale":"You cannot evangelize evaluation-first culture without deeply understanding evaluation frameworks yourself"},{"skill":"AI Output Verification","skill_id":"ai-output-verification","prerequisite":"Prompt Engineering","prerequisite_id":"prompt-engineering","strength":"medium","rationale":"Understanding how prompts influence outputs helps develop calibrated skepticism about LLM-generated content"},{"skill":"Stochastic System Debugging","skill_id":"stochastic-system-debugging","prerequisite":"Statistical Inference","prerequisite_id":"statistical-inference","strength":"medium","rationale":"Debugging stochastic systems requires statistical reasoning — understanding distributions helps design reproducible test scenarios"},{"skill":"Stochastic System Debugging","skill_id":"stochastic-system-debugging","prerequisite":"LLM Observability","prerequisite_id":"llm-observability","strength":"hard","rationale":"Debugging requires traces — observability tools provide the data needed to isolate root causes"},{"skill":"AI Cost Optimization","skill_id":"ai-cost-optimization","prerequisite":"AI FinOps","prerequisite_id":"ai-finops","strength":"hard","rationale":"$/query thinking IS FinOps applied at the architecture level — FinOps provides the cost model"},{"skill":"AI Cost Optimization","skill_id":"ai-cost-optimization","prerequisite":"Retrieval-Augmented Generation","prerequisite_id":"retrieval-augmented-generation","strength":"medium","rationale":"Choosing between RAG vs. fine-tuning is a key architecture decision — understanding both options is needed to make cost-aware choices"},{"skill":"AI Ethics","skill_id":"ai-ethics","prerequisite":"EU AI Act Compliance","prerequisite_id":"eu-ai-act-compliance","strength":"medium","rationale":"The EU AI Act provides the legal baseline — ethics literacy goes beyond it, but understanding the legal framework is a starting point"},{"skill":"Research-to-Engineering Translation","skill_id":"research-to-engineering-translation","prerequisite":"Deep Learning","prerequisite_id":"deep-learning","strength":"hard","rationale":"Reading ML papers requires understanding the notation, architectures, and training procedures described — DL is the language of the papers"},{"skill":"Research-to-Engineering Translation","skill_id":"research-to-engineering-translation","prerequisite":"Statistical Inference","prerequisite_id":"statistical-inference","strength":"medium","rationale":"Papers contain ablation studies, significance tests, and confidence intervals — statistical literacy helps assess claims critically"},{"skill":"Reasoning Models","skill_id":"reasoning-models","prerequisite":"Transformer Architecture","prerequisite_id":"transformer-architecture","strength":"hard","rationale":"Reasoning models are transformer LLMs."},{"skill":"Reasoning Models","skill_id":"reasoning-models","prerequisite":"RLHF","prerequisite_id":"rlhf","strength":"medium","rationale":"Reasoning is elicited via RL post-training."},{"skill":"Test-Time Compute Scaling","skill_id":"test-time-compute-scaling","prerequisite":"LLM Decoding Strategies","prerequisite_id":"llm-decoding-strategies","strength":"hard","rationale":"It manipulates how tokens are sampled/searched at inference."},{"skill":"Test-Time Compute Scaling","skill_id":"test-time-compute-scaling","prerequisite":"In-Context Learning","prerequisite_id":"in-context-learning","strength":"medium","rationale":"Chains of thought are prompted in-context."},{"skill":"Reinforcement Learning from Verifiable Rewards","skill_id":"reinforcement-learning-from-verifiable-rewards","prerequisite":"RLHF","prerequisite_id":"rlhf","strength":"hard","rationale":"RLVR swaps the human-preference reward for an automatic verifier."},{"skill":"Reinforcement Learning from Verifiable Rewards","skill_id":"reinforcement-learning-from-verifiable-rewards","prerequisite":"Direct Preference Optimization","prerequisite_id":"direct-preference-optimization","strength":"soft","rationale":"Sits in the same preference/RL post-training family."},{"skill":"Reward Modeling","skill_id":"reward-modeling","prerequisite":"RLHF","prerequisite_id":"rlhf","strength":"hard","rationale":"The reward model is the signal RLHF optimizes against."},{"skill":"Reward Modeling","skill_id":"reward-modeling","prerequisite":"Classical Machine Learning","prerequisite_id":"classical-machine-learning","strength":"soft","rationale":"It is a supervised ranking/regression model."},{"skill":"Agent Evaluation","skill_id":"agent-evaluation","prerequisite":"AI Agent Design","prerequisite_id":"ai-agent-design","strength":"hard","rationale":"You must understand agent loops to evaluate them."},{"skill":"Agent Evaluation","skill_id":"agent-evaluation","prerequisite":"LLM Evaluation Frameworks","prerequisite_id":"llm-evaluation-frameworks","strength":"medium","rationale":"Extends single-turn eval to multi-step trajectories."},{"skill":"Tokenization","skill_id":"tokenization","prerequisite":"NLP","prerequisite_id":"nlp","strength":"medium","rationale":"Tokenization is the first step of the NLP pipeline."},{"skill":"Agent Sandboxing","skill_id":"agent-sandboxing","prerequisite":"Code Execution Agents","prerequisite_id":"code-execution-agents","strength":"hard","rationale":"Sandboxing exists to contain code-executing agents."},{"skill":"Agent Sandboxing","skill_id":"agent-sandboxing","prerequisite":"Docker","prerequisite_id":"docker","strength":"medium","rationale":"Containers are the baseline isolation primitive."},{"skill":"Software Testing","skill_id":"software-testing","prerequisite":"Python","prerequisite_id":"python","strength":"hard","rationale":"Tests are written and run in the host language."},{"skill":"Software Testing","skill_id":"software-testing","prerequisite":"CI/CD","prerequisite_id":"ci-cd","strength":"medium","rationale":"Tests gate the delivery pipeline."},{"skill":"Gradient Boosting","skill_id":"gradient-boosting","prerequisite":"Classical Machine Learning","prerequisite_id":"classical-machine-learning","strength":"hard","rationale":"It is a supervised ensemble method."},{"skill":"Gradient Boosting","skill_id":"gradient-boosting","prerequisite":"Regression Analysis","prerequisite_id":"regression-analysis","strength":"medium","rationale":"Boosting optimizes a differentiable loss over residuals."},{"skill":"Reinforcement Learning","skill_id":"reinforcement-learning","prerequisite":"Probability Theory","prerequisite_id":"probability-theory","strength":"hard","rationale":"MDPs and returns are defined probabilistically."},{"skill":"Reinforcement Learning","skill_id":"reinforcement-learning","prerequisite":"Mathematical Optimization","prerequisite_id":"mathematical-optimization","strength":"medium","rationale":"Policy improvement is an optimization problem."},{"skill":"Hyperparameter Optimization","skill_id":"hyperparameter-optimization","prerequisite":"Classical Machine Learning","prerequisite_id":"classical-machine-learning","strength":"hard","rationale":"You tune a model you already understand."},{"skill":"Hyperparameter Optimization","skill_id":"hyperparameter-optimization","prerequisite":"Model Evaluation","prerequisite_id":"model-evaluation","strength":"medium","rationale":"Search is driven by a validation metric."},{"skill":"KV Cache Optimization","skill_id":"kv-cache-optimization","prerequisite":"Transformer Architecture","prerequisite_id":"transformer-architecture","strength":"hard","rationale":"The KV cache is attention state."},{"skill":"KV Cache Optimization","skill_id":"kv-cache-optimization","prerequisite":"Inference Optimization","prerequisite_id":"inference-optimization","strength":"medium","rationale":"It is a core serving-throughput technique."},{"skill":"Mechanistic Interpretability","skill_id":"mechanistic-interpretability","prerequisite":"Deep Learning","prerequisite_id":"deep-learning","strength":"hard","rationale":"You inspect the weights and activations of a network."},{"skill":"Mechanistic Interpretability","skill_id":"mechanistic-interpretability","prerequisite":"Linear Algebra","prerequisite_id":"linear-algebra","strength":"medium","rationale":"Features and circuits are analyzed in activation space."},{"skill":"Voice Agents","skill_id":"voice-agents","prerequisite":"AI Agent Design","prerequisite_id":"ai-agent-design","strength":"hard","rationale":"A voice agent is an agent with a speech interface."},{"skill":"Voice Agents","skill_id":"voice-agents","prerequisite":"Audio AI","prerequisite_id":"audio-ai","strength":"hard","rationale":"Requires streaming speech recognition and synthesis."},{"skill":"Video Generation","skill_id":"video-generation","prerequisite":"Diffusion Models","prerequisite_id":"diffusion-models","strength":"hard","rationale":"Most video generators are spatiotemporal diffusion models."},{"skill":"Video Generation","skill_id":"video-generation","prerequisite":"Multimodal AI","prerequisite_id":"multimodal-ai","strength":"medium","rationale":"Conditioning spans text, image and time."},{"skill":"Langfuse","skill_id":"langfuse","prerequisite":"LLM Observability","prerequisite_id":"llm-observability","strength":"medium","rationale":"It is an LLM-observability platform."},{"skill":"llama.cpp","skill_id":"llama-cpp","prerequisite":"Model Quantization","prerequisite_id":"model-quantization","strength":"medium","rationale":"It runs quantized GGUF weights."},{"skill":"llama.cpp","skill_id":"llama-cpp","prerequisite":"Inference Optimization","prerequisite_id":"inference-optimization","strength":"soft","rationale":"Its purpose is efficient local inference."},{"skill":"SGLang","skill_id":"sglang","prerequisite":"LLM Inference Serving","prerequisite_id":"llm-inference-serving","strength":"hard","rationale":"It is a production serving runtime."},{"skill":"Ragas","skill_id":"ragas","prerequisite":"RAG Evaluation","prerequisite_id":"rag-evaluation","strength":"hard","rationale":"It operationalizes RAG evaluation metrics."},{"skill":"Ragas","skill_id":"ragas","prerequisite":"Retrieval-Augmented Generation","prerequisite_id":"retrieval-augmented-generation","strength":"medium","rationale":"You evaluate a RAG system you understand."},{"skill":"Hugging Face TRL","skill_id":"hugging-face-trl","prerequisite":"LLM Fine-Tuning","prerequisite_id":"llm-fine-tuning","strength":"hard","rationale":"It is a fine-tuning/post-training library."},{"skill":"Hugging Face TRL","skill_id":"hugging-face-trl","prerequisite":"RLHF","prerequisite_id":"rlhf","strength":"medium","rationale":"It implements preference and RL training loops."},{"skill":"Calculus for Machine Learning","skill_id":"calculus-for-machine-learning","prerequisite":"Linear Algebra","prerequisite_id":"linear-algebra","strength":"soft","rationale":"Gradients live in vector spaces alongside linear algebra."},{"skill":"Data Labeling & Annotation","skill_id":"data-labeling-annotation","prerequisite":"Training Data Curation","prerequisite_id":"training-data-curation","strength":"medium","rationale":"Labeling is how supervised training data is produced."},{"skill":"Data Labeling & Annotation","skill_id":"data-labeling-annotation","prerequisite":"Data Curation","prerequisite_id":"data-curation","strength":"soft","rationale":"Part of assembling quality datasets."},{"skill":"Stream Processing","skill_id":"stream-processing","prerequisite":"Apache Kafka","prerequisite_id":"apache-kafka","strength":"medium","rationale":"Streams are typically consumed from a log like Kafka."},{"skill":"Stream Processing","skill_id":"stream-processing","prerequisite":"Event-Driven Architecture","prerequisite_id":"event-driven-architecture","strength":"medium","rationale":"Stream processing realizes event-driven systems."},{"skill":"Semantic Caching","skill_id":"semantic-caching","prerequisite":"Embedding Models","prerequisite_id":"embedding-models","strength":"hard","rationale":"Similarity is computed over embeddings."},{"skill":"Semantic Caching","skill_id":"semantic-caching","prerequisite":"Vector Databases","prerequisite_id":"vector-databases","strength":"medium","rationale":"Cached queries are indexed for nearest-neighbor lookup."},{"skill":"FastAPI","skill_id":"fastapi","prerequisite":"Python","prerequisite_id":"python","strength":"hard","rationale":"It is a Python framework."},{"skill":"FastAPI","skill_id":"fastapi","prerequisite":"API Development","prerequisite_id":"api-development","strength":"medium","rationale":"It is used to build production APIs."},{"skill":"DeepSpeed","skill_id":"deepspeed","prerequisite":"Distributed Training","prerequisite_id":"distributed-training","strength":"hard","rationale":"It is a distributed-training engine."},{"skill":"OWASP Top 10 for LLM Applications","skill_id":"owasp-top-10-for-llm-applications","prerequisite":"Prompt Injection Defense","prerequisite_id":"prompt-injection-defense","strength":"medium","rationale":"Prompt injection is the #1 item on the list."},{"skill":"GPU Kernel Programming","skill_id":"gpu-kernel-programming","prerequisite":"Inference Optimization","prerequisite_id":"inference-optimization","strength":"medium","rationale":"Custom kernels are an inference/training speedup."},{"skill":"GPU Kernel Programming","skill_id":"gpu-kernel-programming","prerequisite":"Linear Algebra","prerequisite_id":"linear-algebra","strength":"soft","rationale":"Kernels implement tensor math."},{"skill":"ComfyUI","skill_id":"comfyui","prerequisite":"Diffusion Models","prerequisite_id":"diffusion-models","strength":"hard","rationale":"It orchestrates diffusion-model inference graphs."},{"skill":"Program-Aided LMs (PAL)","skill_id":"program-aided-lms-pal","prerequisite":"Prompt Engineering","prerequisite_id":"prompt-engineering","strength":"hard","rationale":"PAL is a prompting technique."},{"skill":"Program-Aided LMs (PAL)","skill_id":"program-aided-lms-pal","prerequisite":"Code Execution Agents","prerequisite_id":"code-execution-agents","strength":"medium","rationale":"Reasoning steps are offloaded to executed code."},{"skill":"Self-Consistency","skill_id":"self-consistency","prerequisite":"Prompt Engineering","prerequisite_id":"prompt-engineering","strength":"hard","rationale":"It is a decoding/prompting strategy over reasoning paths."},{"skill":"Self-Consistency","skill_id":"self-consistency","prerequisite":"LLM Decoding Strategies","prerequisite_id":"llm-decoding-strategies","strength":"medium","rationale":"Sample-and-vote is a decoding-time method."},{"skill":"Multi-Agent Coordination Patterns","skill_id":"multi-agent-coordination-patterns","prerequisite":"AI Agent Design","prerequisite_id":"ai-agent-design","strength":"hard","rationale":"Coordination presupposes designed agents to coordinate."},{"skill":"Multi-Agent Coordination Patterns","skill_id":"multi-agent-coordination-patterns","prerequisite":"Multi-Agent Orchestration","prerequisite_id":"multi-agent-orchestration","strength":"medium","rationale":"Topologies are how orchestration is structured."},{"skill":"Agentic Planning & Task Decomposition","skill_id":"agentic-planning-task-decomposition","prerequisite":"AI Agent Design","prerequisite_id":"ai-agent-design","strength":"hard","rationale":"Planning is the core of an agent's control loop."},{"skill":"Reflection & Self-Refinement","skill_id":"reflection-self-refinement","prerequisite":"AI Agent Design","prerequisite_id":"ai-agent-design","strength":"hard","rationale":"Reflection is a reusable pattern inside the agent loop."},{"skill":"Multi-Agent Debate","skill_id":"multi-agent-debate","prerequisite":"Multi-Agent Orchestration","prerequisite_id":"multi-agent-orchestration","strength":"hard","rationale":"Debate is a multi-agent protocol."},{"skill":"Multi-Agent Debate","skill_id":"multi-agent-debate","prerequisite":"Self-Consistency","prerequisite_id":"self-consistency","strength":"soft","rationale":"Both aggregate multiple reasoning attempts into one answer."},{"skill":"Deep Research Agents","skill_id":"deep-research-agents","prerequisite":"AI Agent Design","prerequisite_id":"ai-agent-design","strength":"hard","rationale":"A deep-research agent is an autonomous multi-step agent."},{"skill":"Deep Research Agents","skill_id":"deep-research-agents","prerequisite":"Retrieval-Augmented Generation","prerequisite_id":"retrieval-augmented-generation","strength":"medium","rationale":"Research agents ground findings in retrieved sources."},{"skill":"Resource-Aware Agent Optimization","skill_id":"resource-aware-agent-optimization","prerequisite":"AI Agent Design","prerequisite_id":"ai-agent-design","strength":"hard","rationale":"You optimize the runtime of a designed agent."},{"skill":"Resource-Aware Agent Optimization","skill_id":"resource-aware-agent-optimization","prerequisite":"AI Cost Optimization","prerequisite_id":"ai-cost-optimization","strength":"medium","rationale":"It is cost/latency control applied to agents."},{"skill":"Self-Improving Agents","skill_id":"self-improving-agents","prerequisite":"AI Agent Design","prerequisite_id":"ai-agent-design","strength":"hard","rationale":"Self-improvement extends the agent architecture."},{"skill":"Self-Improving Agents","skill_id":"self-improving-agents","prerequisite":"Automated Prompt Optimization","prerequisite_id":"automated-prompt-optimization","strength":"soft","rationale":"Self-rewriting agents optimize their own prompts."},{"skill":"Agent Threat Modeling (MAESTRO)","skill_id":"agent-threat-modeling-maestro","prerequisite":"AI Red Teaming","prerequisite_id":"ai-red-teaming","strength":"medium","rationale":"Threat modeling feeds and structures red-teaming of agents."},{"skill":"Agent Threat Modeling (MAESTRO)","skill_id":"agent-threat-modeling-maestro","prerequisite":"AI Agent Design","prerequisite_id":"ai-agent-design","strength":"medium","rationale":"You model threats against a concrete agent architecture."},{"skill":"Data Preprocessing for ML","skill_id":"data-preprocessing-for-ml","prerequisite":"Exploratory Data Analysis","prerequisite_id":"exploratory-data-analysis","strength":"medium","rationale":"Understanding feature distributions and missingness informs preprocessing choices."},{"skill":"ResNet","skill_id":"resnet","prerequisite":"Convolutional Neural Networks","prerequisite_id":"convolutional-neural-networks","strength":"medium","rationale":"Residual blocks extend convolutional network design."},{"skill":"EfficientNet","skill_id":"efficientnet","prerequisite":"Convolutional Neural Networks","prerequisite_id":"convolutional-neural-networks","strength":"medium","rationale":"The family builds on convolutional-network representations and training."},{"skill":"Gated Recurrent Unit","skill_id":"gated-recurrent-unit","prerequisite":"Recurrent Neural Networks","prerequisite_id":"recurrent-neural-networks","strength":"medium","rationale":"Hidden state and recurrent sequence processing are the conceptual foundation."},{"skill":"RoBERTa","skill_id":"roberta","prerequisite":"Transformer Architecture","prerequisite_id":"transformer-architecture","strength":"medium","rationale":"Encoder attention and masked-language-model pretraining explain the adaptation boundary."},{"skill":"Word2Vec","skill_id":"word2vec","prerequisite":"NLP","prerequisite_id":"nlp","strength":"medium","rationale":"Text units and distributional representations provide the task context."},{"skill":"Word2Vec","skill_id":"word2vec","prerequisite":"Linear Algebra","prerequisite_id":"linear-algebra","strength":"medium","rationale":"Vectors and similarity are needed to interpret the representation."},{"skill":"TF-IDF","skill_id":"tf-idf","prerequisite":"Tokenization","prerequisite_id":"tokenization","strength":"medium","rationale":"Term units must be defined before frequency weighting."},{"skill":"Naive Bayes","skill_id":"naive-bayes","prerequisite":"Probability Theory","prerequisite_id":"probability-theory","strength":"medium","rationale":"Conditional probability and Bayes’ theorem explain the estimator."},{"skill":"Topic Modeling","skill_id":"topic-modeling","prerequisite":"NLP","prerequisite_id":"nlp","strength":"medium","rationale":"Document preparation and text representations shape the discovered topics."},{"skill":"Topic Modeling","skill_id":"topic-modeling","prerequisite":"Unsupervised Learning","prerequisite_id":"unsupervised-learning","strength":"soft","rationale":"Unlabelled model selection helps interpret topic structure."},{"skill":"Text Preprocessing","skill_id":"text-preprocessing","prerequisite":"Tokenization","prerequisite_id":"tokenization","strength":"medium","rationale":"Text units are a basic preprocessing choice."},{"skill":"Feature Scaling","skill_id":"feature-scaling","prerequisite":"Exploratory Data Analysis","prerequisite_id":"exploratory-data-analysis","strength":"medium","rationale":"Distributions, scale and outliers inform the transformation choice."},{"skill":"HDBSCAN","skill_id":"hdbscan","prerequisite":"Cluster Analysis","prerequisite_id":"cluster-analysis","strength":"medium","rationale":"Cluster structure, distances and unsupervised evaluation are required context."},{"skill":"SMOTE","skill_id":"smote","prerequisite":"Classification","prerequisite_id":"classification","strength":"medium","rationale":"Class labels and imbalance define the intervention."},{"skill":"SARIMA","skill_id":"sarima","prerequisite":"Time Series Forecasting","prerequisite_id":"time-series-forecasting","strength":"medium","rationale":"Temporal dependence, seasonality and time-respecting evaluation are the task foundation."},{"skill":"ARIMA","skill_id":"arima","prerequisite":"Statistical Inference","prerequisite_id":"statistical-inference","strength":"medium","rationale":"Parameter estimation, residual testing and uncertainty intervals rely on statistical inference."},{"skill":"Class Imbalance Handling","skill_id":"class-imbalance-handling","prerequisite":"Model Evaluation","prerequisite_id":"model-evaluation","strength":"medium","rationale":"Accuracy can mislead under imbalance, so evaluation and metric selection are essential."},{"skill":"Sentiment Analysis","skill_id":"sentiment-analysis","prerequisite":"Text Classification","prerequisite_id":"text-classification","strength":"medium","rationale":"Sentiment analysis commonly builds on text classification representations, training and evaluation."},{"skill":"Logistic Regression","skill_id":"logistic-regression","prerequisite":"Probability Theory","prerequisite_id":"probability-theory","strength":"medium","rationale":"Probabilities, odds and likelihood are needed to understand training and calibrated outputs."},{"skill":"K-Nearest Neighbors","skill_id":"k-nearest-neighbors","prerequisite":"Linear Algebra","prerequisite_id":"linear-algebra","strength":"soft","rationale":"Distance metrics and vector representations are easier to reason about with basic linear algebra."},{"skill":"K-Means Clustering","skill_id":"k-means-clustering","prerequisite":"Cluster Analysis","prerequisite_id":"cluster-analysis","strength":"medium","rationale":"Choosing K, scaling inputs and interpreting clusters depend on general clustering concepts."},{"skill":"Real-Time Inference","skill_id":"real-time-inference","prerequisite":"Model Deployment","prerequisite_id":"model-deployment","strength":"medium","rationale":"A deployable model and serving environment are prerequisites for operating an online inference path."},{"skill":"Instruction Tuning","skill_id":"instruction-tuning","prerequisite":"Supervised Fine-Tuning (SFT)","prerequisite_id":"supervised-fine-tuning-sft","strength":"medium","rationale":"Instruction tuning is commonly implemented through supervised fine-tuning on instruction–response pairs."},{"skill":"DBSCAN","skill_id":"dbscan","prerequisite":"Cluster Analysis","prerequisite_id":"cluster-analysis","strength":"medium","rationale":"Interpreting density connectivity, noise and cluster validation requires general clustering concepts."},{"skill":"Hypothesis Testing","skill_id":"hypothesis-testing","prerequisite":"Probability Theory","prerequisite_id":"probability-theory","strength":"medium","rationale":"Sampling distributions, error probabilities and p-values depend on probability concepts."},{"skill":"Cross-Validation","skill_id":"cross-validation","prerequisite":"Model Evaluation","prerequisite_id":"model-evaluation","strength":"medium","rationale":"Correct fold design and interpretation depend on evaluation metrics, leakage control and validation objectives."},{"skill":"Keras","skill_id":"keras","prerequisite":"Deep Learning","prerequisite_id":"deep-learning","strength":"medium","rationale":"Effective use requires understanding layers, losses, optimization and model evaluation."},{"skill":"Long Short-Term Memory","skill_id":"long-short-term-memory","prerequisite":"Recurrent Neural Networks","prerequisite_id":"recurrent-neural-networks","strength":"medium","rationale":"The LSTM cell extends the recurrence and sequence-modeling concepts of RNNs."},{"skill":"BERT","skill_id":"bert","prerequisite":"Transformer Architecture","prerequisite_id":"transformer-architecture","strength":"medium","rationale":"Attention, positional representations and encoder blocks are needed to understand BERT."},{"skill":"Information Extraction","skill_id":"information-extraction","prerequisite":"NLP","prerequisite_id":"nlp","strength":"medium","rationale":"Extraction depends on language representation, span handling and linguistic ambiguity."},{"skill":"Linear Regression","skill_id":"linear-regression","prerequisite":"Statistical Inference","prerequisite_id":"statistical-inference","strength":"medium","rationale":"Coefficient uncertainty, diagnostics and inference require statistical foundations."},{"skill":"Principal Component Analysis","skill_id":"principal-component-analysis","prerequisite":"Linear Algebra","prerequisite_id":"linear-algebra","strength":"hard","rationale":"Eigenvectors, projections and covariance matrices are central to PCA."},{"skill":"Question Answering","skill_id":"question-answering","prerequisite":"NLP","prerequisite_id":"nlp","strength":"medium","rationale":"Question interpretation and answer generation depend on language representation and evaluation."},{"skill":"Cross-Encoder Reranking","skill_id":"cross-encoder-reranking","prerequisite":"Search Re-Ranking","prerequisite_id":"search-re-ranking","strength":"medium","rationale":"Candidate generation, ranking metrics and two-stage retrieval establish the use of a cross-encoder."},{"skill":"PII Redaction","skill_id":"pii-redaction","prerequisite":"PII Management","prerequisite_id":"pii-management","strength":"medium","rationale":"Correct redaction depends on identifying sensitive fields, policy scope and acceptable residual risk."},{"skill":"Multi-Vector Retrieval","skill_id":"multi-vector-retrieval","prerequisite":"Embedding Models","prerequisite_id":"embedding-models","strength":"medium","rationale":"The method depends on producing and interpreting multiple embeddings for one retrievable item."},{"skill":"RAG Faithfulness Evaluation","skill_id":"rag-faithfulness-evaluation","prerequisite":"RAG Evaluation","prerequisite_id":"rag-evaluation","strength":"medium","rationale":"Metric design requires an end-to-end understanding of RAG inputs, outputs and evaluation units."},{"skill":"Agent Identity & Access Management","skill_id":"agent-identity-access-management","prerequisite":"AI Data Security","prerequisite_id":"ai-data-security","strength":"soft","rationale":"Identity and delegation policies require identifying protected data and least-privilege boundaries."},{"skill":"Agent Identity & Access Management","skill_id":"agent-identity-access-management","prerequisite":"API Development","prerequisite_id":"api-development","strength":"soft","rationale":"Implementing delegated tool access requires understanding request authentication and API contracts."},{"skill":"MCP Gateway & Tool Governance","skill_id":"mcp-gateway-tool-governance","prerequisite":"Model Context Protocol","prerequisite_id":"model-context-protocol","strength":"hard","rationale":"Governing MCP tool servers requires understanding MCP client-server architecture, resources, prompts and tool schemas."},{"skill":"MCP Gateway & Tool Governance","skill_id":"mcp-gateway-tool-governance","prerequisite":"Agent Identity & Access Management","prerequisite_id":"agent-identity-access-management","strength":"medium","rationale":"Gateway policy enforcement relies on verifiable caller and agent workload identities and scoped token exchange."},{"skill":"Agent Write-Action & Transaction Verification","skill_id":"agent-write-action-verification","prerequisite":"AI Guardrails","prerequisite_id":"ai-guardrails","strength":"hard","rationale":"Pre-commit write gates extend runtime input/output guardrails to state-mutating tool invocations."},{"skill":"Agent Write-Action & Transaction Verification","skill_id":"agent-write-action-verification","prerequisite":"Human-in-the-Loop AI","prerequisite_id":"human-in-the-loop-ai","strength":"medium","rationale":"Irreversible or out-of-envelope write actions require structured escalation and diff review workflows."},{"skill":"Disaggregated Prefill-Decode Serving","skill_id":"disaggregated-inference-serving","prerequisite":"LLM Inference Serving","prerequisite_id":"llm-inference-serving","strength":"hard","rationale":"Disaggregating serving phases builds directly on continuous batching, scheduling and online LLM service architecture."},{"skill":"Disaggregated Prefill-Decode Serving","skill_id":"disaggregated-inference-serving","prerequisite":"KV Cache Optimization","prerequisite_id":"kv-cache-optimization","strength":"hard","rationale":"Phase splitting requires paged KV allocation, block serialization, prefix-cache routing and memory-bandwidth budgeting."},{"skill":"AI Incident Response & Regulatory Reporting","skill_id":"ai-incident-response-reporting","prerequisite":"AI Auditability","prerequisite_id":"ai-auditability","strength":"hard","rationale":"Timely incident investigation and regulatory reporting depend on tamper-evident logs of model inputs, versions and actions."},{"skill":"AI Incident Response & Regulatory Reporting","skill_id":"ai-incident-response-reporting","prerequisite":"EU AI Act Compliance","prerequisite_id":"eu-ai-act-compliance","strength":"medium","rationale":"Classifying reportable serious incidents requires understanding provider and deployer obligations under the EU AI Act."},{"skill":"Agentic Task-Environment & Harness Design","skill_id":"agentic-task-environment-design","prerequisite":"Agent Evaluation","prerequisite_id":"agent-evaluation","strength":"hard","rationale":"Designing task environments operationalizes trajectory and outcome evaluation principles into concrete sandboxes and verifiers."},{"skill":"Agentic Task-Environment & Harness Design","skill_id":"agentic-task-environment-design","prerequisite":"Agent Sandboxing","prerequisite_id":"agent-sandboxing","strength":"medium","rationale":"Reproducible evaluation environments rely on container or VM isolation to reset state safely between trials."},{"skill":"Skills Taxonomy & Work-Task Architecture Mapping","skill_id":"skills-taxonomy-architecture-mapping","prerequisite":"AI Requirements Engineering","prerequisite_id":"ai-requirements-engineering","strength":"medium","rationale":"Mapping work tasks and human-AI boundaries requires decomposing workflows into verifiable operational requirements."},{"skill":"Skills Taxonomy & Work-Task Architecture Mapping","skill_id":"skills-taxonomy-architecture-mapping","prerequisite":"Metrics Definition","prerequisite_id":"metrics-definition","strength":"soft","rationale":"Maintaining taxonomy lineage and observable proficiency rubrics requires clear measurement definitions and denominators."}],"fieldNotes":{},"fieldNotesVersion":"2026-10-10"},"glossary":{"version":"2026-06-26+editorial-glossary-2026-01","count":0,"categories":["Agentownosc","Debata","Inne","Karpathy","Kultura","LLMOps","Produkty","Regulacje","Safety","Trening"],"entries":[]},"roles":{"version":"2026-10-24","profileVersion":"2026-10-24.1","catalogDigest":"f5c4c4ea889834ddd8ba6d18d4a098e762142d8db3be3d7edf82e48fd6a8d3b4","note":"Editorial role profiles covering technology, business, operations and engineering. Skills and task examples are indicative, not a complete occupational standard.","sources":{"sfia-profiles":{"title":"SFIA 9 illustrative skills profiles","url":"https://sfia-online.org/en/tools-and-resources/standard-industry-skills-profiles/sfia_9_illustrative_skills_profiles.pdf","scope":"Illustrative professional responsibilities; related context, not formal occupation equivalence.","accessedOn":"2026-10-24"},"sfia-ai":{"title":"SFIA illustrative AI professional role archetypes","url":"https://sfia-online.org/en/tools-and-resources/ai-skills-framework/illustrative-levelled-role-archetypes-for-cwa-18398-ai-professional-role-profiles-mapped-to-sfia","scope":"Related AI responsibilities; this catalogue remains an editorial synthesis.","accessedOn":"2026-10-24"},"ilo-tasks":{"title":"ILO: Generative AI and Jobs — task-level exposure methodology (2025)","url":"https://www.ilo.org/publications/generative-ai-and-jobs-refined-global-index-occupational-exposure","scope":"Methodological context only. ILO did not assess or validate the scores in this catalogue.","accessedOn":"2026-10-24"},"metr-context":{"title":"METR: Developer productivity experiment update (February 2026)","url":"https://metr.org/blog/2026-02-24-uplift-update/","scope":"Evidence that measured productivity depends on context and study design; not calibration for these scores.","accessedOn":"2026-10-24"},"onet-11":{"title":"O*NET occupational family: Management","url":"https://www.onetonline.org/find/family?f=11","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-13":{"title":"O*NET occupational family: Business and Financial Operations","url":"https://www.onetonline.org/find/family?f=13","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-15":{"title":"O*NET occupational family: Computer and Mathematical","url":"https://www.onetonline.org/find/family?f=15","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-17":{"title":"O*NET occupational family: Architecture and Engineering","url":"https://www.onetonline.org/find/family?f=17","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-25":{"title":"O*NET occupational family: Educational Instruction and Library","url":"https://www.onetonline.org/find/family?f=25","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-27":{"title":"O*NET occupational family: Arts, Design and Media","url":"https://www.onetonline.org/find/family?f=27","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-41":{"title":"O*NET occupational family: Sales and Related","url":"https://www.onetonline.org/find/family?f=41","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-43":{"title":"O*NET occupational family: Office and Administrative Support","url":"https://www.onetonline.org/find/family?f=43","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-49":{"title":"O*NET occupational family: Installation, Maintenance and Repair","url":"https://www.onetonline.org/find/family?f=49","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-51":{"title":"O*NET occupational family: Production","url":"https://www.onetonline.org/find/family?f=51","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-53":{"title":"O*NET occupational family: Transportation and Material Moving","url":"https://www.onetonline.org/find/family?f=53","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"}},"categories":[]},"exposure":{"version":"2026-10-24","catalogDigest":"f5c4c4ea889834ddd8ba6d18d4a098e762142d8db3be3d7edf82e48fd6a8d3b4","method":{"version":"task-scenario-1","assessmentDate":"2026-10-24","title":"Illustrative task-based AI exposure","scenario":"AI-assisted software and agents with authorized access to relevant digital inputs and tools. A person verifies material outputs and retains decisions, permissions and accountability. Required quality is fit for the stated work context. Physical robotics and unrestricted autonomous action are outside the scenario.","weighting":"Each of the six representative tasks has weight 1. These are assumed units of work, not measured time shares.","outcomes":{"commoditize":"AI can produce a constrained routine output, with human verification.","mixed":"AI assistance is material, but integration, reliability or context can dominate completion.","amplify":"AI supports analysis or design while contextual judgment remains central.","durable":"Physical presence, interpersonal trust or accountable decisions remain central under this scenario."},"calculation":"Sum task weights within each outcome, divide by total weight, and multiply by 100. Display integer percentages using largest remainders in the order commoditize, mixed, amplify, durable. If raw commoditize and amplify are equal, preserve their equality with the floor-or-ceiling allocation having the smallest squared rounding error and a total of 100. Displayed net = displayed commoditize minus displayed amplify. Raw values are retained.","sensitivity":"Range of raw net over all combinations of task weights 0.5 or 2, plus each single-task alternative classification at baseline weights. The two perturbations are evaluated separately. This is a scenario range, not a confidence interval or exhaustive bound.","limitations":"Task selection and classifications are AI-assisted editorial judgments. They have not been independently validated by occupation specialists or calibrated against observed work time or productivity. Scores are not probabilities of replacement, pay forecasts, headcount estimates or assessments of people. Similar net values can conceal very different work.","review":{"type":"AI-assisted editorial review","date":"2026-10-24","independentDomainValidation":false,"scope":"Profile boundaries, explicit task assumptions, rationale consistency and arithmetic. No tool-performance experiment was conducted for these profiles."},"sourceIds":["ilo-tasks","metr-context"]},"sources":{"sfia-profiles":{"title":"SFIA 9 illustrative skills profiles","url":"https://sfia-online.org/en/tools-and-resources/standard-industry-skills-profiles/sfia_9_illustrative_skills_profiles.pdf","scope":"Illustrative professional responsibilities; related context, not formal occupation equivalence.","accessedOn":"2026-10-24"},"sfia-ai":{"title":"SFIA illustrative AI professional role archetypes","url":"https://sfia-online.org/en/tools-and-resources/ai-skills-framework/illustrative-levelled-role-archetypes-for-cwa-18398-ai-professional-role-profiles-mapped-to-sfia","scope":"Related AI responsibilities; this catalogue remains an editorial synthesis.","accessedOn":"2026-10-24"},"ilo-tasks":{"title":"ILO: Generative AI and Jobs — task-level exposure methodology (2025)","url":"https://www.ilo.org/publications/generative-ai-and-jobs-refined-global-index-occupational-exposure","scope":"Methodological context only. ILO did not assess or validate the scores in this catalogue.","accessedOn":"2026-10-24"},"metr-context":{"title":"METR: Developer productivity experiment update (February 2026)","url":"https://metr.org/blog/2026-02-24-uplift-update/","scope":"Evidence that measured productivity depends on context and study design; not calibration for these scores.","accessedOn":"2026-10-24"},"onet-11":{"title":"O*NET occupational family: Management","url":"https://www.onetonline.org/find/family?f=11","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-13":{"title":"O*NET occupational family: Business and Financial Operations","url":"https://www.onetonline.org/find/family?f=13","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-15":{"title":"O*NET occupational family: Computer and Mathematical","url":"https://www.onetonline.org/find/family?f=15","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-17":{"title":"O*NET occupational family: Architecture and Engineering","url":"https://www.onetonline.org/find/family?f=17","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-25":{"title":"O*NET occupational family: Educational Instruction and Library","url":"https://www.onetonline.org/find/family?f=25","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-27":{"title":"O*NET occupational family: Arts, Design and Media","url":"https://www.onetonline.org/find/family?f=27","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-41":{"title":"O*NET occupational family: Sales and Related","url":"https://www.onetonline.org/find/family?f=41","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-43":{"title":"O*NET occupational family: Office and Administrative Support","url":"https://www.onetonline.org/find/family?f=43","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-49":{"title":"O*NET occupational family: Installation, Maintenance and Repair","url":"https://www.onetonline.org/find/family?f=49","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-51":{"title":"O*NET occupational family: Production","url":"https://www.onetonline.org/find/family?f=51","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-53":{"title":"O*NET occupational family: Transportation and Material Moving","url":"https://www.onetonline.org/find/family?f=53","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"}},"note":"Task selection and classifications are AI-assisted editorial judgments. They have not been independently validated by occupation specialists or calibrated against observed work time or productivity. Scores are not probabilities of replacement, pay forecasts, headcount estimates or assessments of people. Similar net values can conceal very different work.","grouping":{"method":"Editorial work families shared with the Role Dictionary. Each role has one primary family; real jobs may combine several profiles.","families":[{"id":"SW","label":"Software Development & Testing","n":16},{"id":"CL","label":"Cloud, Platform & IT Operations","n":14},{"id":"SEC","label":"Cybersecurity & Privacy","n":8},{"id":"DATA","label":"Data Engineering & Analytics","n":11},{"id":"AI","label":"AI & Machine Learning","n":6},{"id":"ENT","label":"Enterprise Applications & Business Analysis","n":6},{"id":"PROD","label":"Product, Project & Change Management","n":8},{"id":"SALES","label":"Sales & Customer Service","n":10},{"id":"MKT","label":"Marketing, Design & Content","n":12},{"id":"HR","label":"People, Learning & Education","n":10},{"id":"FIN","label":"Finance & Accounting","n":6},{"id":"OPS","label":"Business Operations & Administration","n":6},{"id":"LOG","label":"Supply Chain & Logistics","n":4},{"id":"ELEC","label":"Electrical & Industrial Automation","n":4},{"id":"MECH","label":"Mechanical & Manufacturing Engineering","n":5},{"id":"BUILT","label":"Construction & Energy Engineering","n":2},{"id":"QUAL","label":"Quality, Safety & Compliance","n":6},{"id":"EMB","label":"Embedded Systems & Electronics","n":3}]},"roles":[]},"newsroom":{"schemaVersion":"1.1.0","generatedAt":"2026-11-23T18:47:38.499Z","topics":[{"decisionQuestion":"Which tasks have become newly feasible, cheaper, more reliable, or more autonomous?","id":"ai_capability_frontier","label":"AI Capability Frontier"},{"decisionQuestion":"How are tasks, role boundaries, accountability, and human-machine collaboration changing?","id":"work_and_role_change","label":"Work and Role Change"},{"decisionQuestion":"Which capabilities are gaining or losing demand, and where is the evidence visible?","id":"skills_demand_and_labour_market","label":"Skills Demand and Labour Market"},{"decisionQuestion":"How are skills data, inference, assessment, mobility, learning, and workforce-planning systems changing?","id":"skills_systems_and_hr_tech","label":"Skills Systems and HR Tech"},{"decisionQuestion":"Which rules, classifications, standards, and decision rights change what organisations must do?","id":"policy_standards_and_governance","label":"Policy, Standards and Governance"}],"articles":[]},"summary":{"skillCount":473,"sectionCount":15,"ontologyCount":467,"prerequisiteCount":344,"atlasEditorialDate":"2026-11-02","sectionSkillCounts":{"mathematical-statistical-foundations":15,"classical-machine-learning-modeling":40,"deep-learning-foundation-model-architectures":40,"natural-language-processing-computer-vision":41,"model-training-fine-tuning-alignment":21,"prompt-engineering-model-interaction":21,"retrieval-augmented-generation-knowledge-systems":35,"agentic-ai-systems":42,"llmops-model-serving-inference-optimization":41,"ai-evaluation-observability":26,"ai-safety-security-governance-ethics":26,"data-engineering-pipelines":43,"software-engineering-for-ai":36,"cloud-ai-platform-infrastructure":24,"ai-product-collaboration-professional-practice":22},"atlasFacts":{"skills":473,"sections":15,"ontologyRelations":467,"prerequisiteRelations":344,"prerequisites":{"hard":173,"medium":153,"soft":18,"other":0}},"transformerPrerequisites":[{"skill":"Transformer Architecture","skill_id":"transformer-architecture","prerequisite":"Deep Learning","prerequisite_id":"deep-learning","strength":"hard","rationale":"Self-attention, layer normalization, residual connections, softmax — all are DL building blocks assembled in the Transformer"},{"skill":"Transformer Architecture","skill_id":"transformer-architecture","prerequisite":"Linear Algebra","prerequisite_id":"linear-algebra","strength":"hard","rationale":"Q·Kᵀ/√d is a scaled dot product of matrices; multi-head attention is parallel matrix projections — Transformers ARE linear algebra in action"}],"glossaryTermCount":421,"glossaryMaturityCounts":[59,69,215,58,20],"roleCount":137,"exposureFacts":{"roles":137,"assessed":137,"unassessed":0,"exposed":55,"amplified":39,"neutral":43},"exposureLeadersExposed":[{"role":"Accounting Administrator","net":50},{"role":"Document Controller","net":34},{"role":"IT Support Specialist","net":33},{"role":"Office Administrator","net":33},{"role":"Communications & Events Coordinator","net":33}],"exposureLeadersAmplified":[{"role":"Machine Learning Engineer","net":-16},{"role":"Software Architect","net":-16},{"role":"Network Engineer","net":-16},{"role":"Site Reliability Engineer","net":-16},{"role":"Cloud Infrastructure Engineer","net":-16}],"newsroomArticleCount":360,"newsroomTopicCounts":{"ai_capability_frontier":171,"work_and_role_change":157,"skills_demand_and_labour_market":98,"skills_systems_and_hr_tech":152,"policy_standards_and_governance":188}},"partialSlices":["glossary","roles","exposure","newsroom"]}