Task automation
Goal: understand and apply the concepts in the modules through the proposed exercises. Mark each module after studying it. Use the assessment to check your understanding. You may start this course directly without mandatory prerequisites.
Learning plan
- Decomposition and interfaces
- States and idempotency
- Limits and failures
- Evaluation and drift
- Security and audit
- Case design and comparison validity
- Marginal efficiency and constraints
- Sensitivity and conditional recommendation
Recommended knowledge (not mandatory): Critical use of artificial intelligence, AI output verification.
1. Decomposition and interfaces
Separate deterministic steps such as validated calculation from probabilistic steps such as text classification. Define input and output contracts, types, limits and missing-value handling. Keep high-impact actions behind independent validation and human authorisation instead of trusting model text alone.
Exercise: in a fictional scenario, create a workflow with deterministic and human validations. Justify your choices and identify one limitation.
2. States and idempotency
Model receipt, validation, review, execution and failure states. Use operation identifiers and idempotency mechanisms to avoid repeating actions when retrying after interruption. Do not confuse safe repetition of a query with repetition of sending or modifying data.
Exercise: in a fictional scenario, create a state machine with idempotency key. Justify your choices and identify one limitation.
3. Limits and failures
Set time, cost, retry and volume limits. If a dependency fails, classify the error and choose between retry with backoff, human escalation or stopping. Test partial failures and ensure final state records what actually completed.
Exercise: in a fictional scenario, create a failure table with retry or escalation. Justify your choices and identify one limitation.
4. Evaluation and drift
Build a representative case set with expected outputs and critical errors. Evaluate accuracy, cost, latency and human intervention rate before changing models or instructions. Monitor changes in input distribution and keep versions to compare results and roll back if needed.
Exercise: in a fictional scenario, create a regression test set with critical errors. Justify your choices and identify one limitation.
5. Security and audit
Treat external content as untrusted data even when it contains apparently legitimate instructions. Restrict tools to the minimum needed, validate destinations and separate permissions. Log decisions and errors without recording secrets or unnecessary data; prepare rollback and oversight procedures.
Exercise: in a fictional scenario, create a permissions matrix and rollback procedure. Justify your choices and identify one limitation.
6. Case design and comparison validity
Entirely fictional scenario: Two automated triage workflows for fictional requests. Each alternative, A and B, is evaluated on 100 units. A valid outcome means validated operations without duplication or critical errors. A produces 58 valid outcomes with 290 minutes of total effort; B produces 74 with 418 minutes. These figures are training data, not observed market outcomes. The rate divides valid outcomes by evaluated units; absolute rate differences are expressed in percentage points. For example, going from 20% to 30% represents ten percentage points, not a ten percent relative increase. To compare average effort, divide minutes by valid outcomes. Define identical counting rules for both alternatives and record data provenance. The analysis unit must be defined before the test. Comparability requires checking composition, measurement conditions, missingness and possible dependencies. For this domain, it is particularly important to test failures, idempotency, limits and human authorisation. Specify which variables should be stratified and how outcomes are reconciled with the reference source. If assignment is not random, treat the difference as descriptive until adequate causal evidence exists.
Exercise: write a protocol specifying population, unit, success definition, exclusions, reference source and comparison method; identify two case-specific threats to validity.
7. Marginal efficiency and constraints
The marginal effort cost of moving from A to B is the difference in minutes divided by the difference in valid outcomes, not B’s average effort. Assume a ceiling of 354 minutes and a minimum target of 59 valid outcomes. Compare both constraints simultaneously. If neither option meets both, redesign the approach or seek a decision on which constraint may change. Descriptive improvement does not prove causation or guarantee repetition. Before deciding, test failures, idempotency, limits and human authorisation. Record observations, assumptions and missing information. Distinguish a hard constraint from a negotiable preference. B uses 128 additional minutes and A leaves 64 minutes of capacity under the ceiling. If there is additional benefit per outcome, compare it against the opportunity cost of additional minutes; without appropriate valuation financial return cannot be inferred. The decision must also consider quality, distribution of effects and dependencies.
Exercise: calculate average effort, marginal effort and shortfall against each constraint. Propose a third alternative preserving quality, identifying which assumption requires testing.
8. Sensitivity and conditional recommendation
Test the robustness of the comparison of two automated triage workflows for fictional requests. Suppose a quality review reduces B’s valid outcomes by 18, with effort unchanged. Calculate the new rate and difference relative to A. The tie threshold is the loss of 16 valid outcomes; larger losses reverse the ranking. This scenario is not a probability forecast: it is an explicit perturbation of an assumption. Also test scenarios involving increased effort, measurement failures and capacity constraints. Validation must include the need to test failures, idempotency, limits and human authorisation. Produce a recommendation with a stop condition, guardrail indicator, required data and review date, avoiding extrapolation from 100 units to the whole population without justification.
Exercise: build a three-scenario matrix covering the stated loss, increased effort and their combination. Identify the reversal threshold, data to collect and rollback condition.
Final assessment
Answer all ten questions, with three options and one correct answer. To obtain the participation certificate, mark every module and achieve at least 80% (eight correct answers). You can repeat the assessment without limit. No passing grade is required between modules.
Participation certificate
Participation document issued by the independent Academia Digital 360 project. It is not an official, accredited or professional certification and does not confer any academic degree or recognised qualification. Identity and participation are not independently verified.