AAmit’s LibraryLEARN · PRACTISE · REFLECT

Ethics and trust × Programming

Business lens: Ethics and trust · Technology lens: Programming

Reading scope: Original synthetic teaching; selected primary background and same-author checks are not independent validation.

A rule becomes treatment at scale

Programming converts instructions into repeatable behaviour. Ethical responsibility includes asking whether the instruction is appropriate before making it faster and more consistent. In a fictional benefits-screening script, a missing household field might be treated as zero. That conversion is easy to code but can transform absent evidence into a consequential claim. Begin with the task, the permitted interpretation of missing values and the human review route. Developers need business meanings, not only field types. Managers remain responsible for the treatment produced by the rule even when an automated system executes it without discretionary intervention.

Keep missingness explicit

Distinguish observed zero, unavailable observation, invalid value and a field not applicable to the case. These states may lead to different next steps. A parsing function should not silently collapse them because the next calculation expects a number. Use clear dispositions and a diagnostic reason that does not expose unnecessary personal details. Service staff explain the circumstances, analysts explain the measurement and the authorised decision owner specifies permitted action. A programmer should raise an ambiguity for consultation rather than invent a convenient rule. Traceability helps the organisation identify which version and assumption affected a particular result.

Worked screening ledger

Forty synthetic applications enter a bounded validation script. Twenty-eight have complete valid inputs, seven have missing required evidence and five contain inconsistent values. Ready-for-review coverage is 28/40 = 70%. It is not approval coverage: validation says nothing by itself about entitlement. If three missing-evidence cases are completed and pass validation, ready coverage becomes 31/40 = 77.5%. Four missing and five inconsistent cases remain. Calling the original twelve cases rejected would prematurely decide their outcome. The ledger should preserve the reason, owner and consultation step for each state rather than turn incomplete evidence into an automatic negative judgement.

Test the meaning, not only the computation

Write examples where a genuine zero and a missing value produce different dispositions. Add an inconsistent pair of fields and a valid correction. State expected behaviour independently of the implementation so a test can detect a mistake rather than repeat it. The existing Python cleaning lesson supplies a synthetic setting for explicit invalid rows. Extend it with the forty-application ledger and stable identifiers. A diagnostic message should explain the next action in understandable language. A technical exception stack is useful for a developer but rarely provides an adequate explanation to the person whose application is waiting for review.

Review automation and appeal

Where a rule affects a person, provide a suitable route to question its input or interpretation. The appeal should reach an owner who can inspect the relevant evidence and change the authorised disposition. Do not make staff defend a script they cannot understand. A change log should explain which ambiguity was resolved and whether earlier cases need re-examination. W3C's ethical principles offer selected free background on human agency and system consequences. They do not determine a benefits entitlement or an applicable legal procedure. This case remains synthetic and does not process real applications or implement a government or employer decision system.

Balance speed and care

Automation can reduce repeated administrative work and free staff for difficult cases. It can also hide the people burdened by exceptional inputs when the dashboard rewards only throughput. Compare processing speed with unresolved-case age and correction accessibility. Ask whether a default is justified by evidence or merely makes the software simpler. Local and global uses may have different units, languages and administrative contexts. Review those assumptions before reuse. Continuous improvement means changing a rule when observed errors show its meaning is wrong, then checking affected cases. An apparently efficient programme is not useful if its efficiency comes from misclassifying uncertainty.

Questions and progression

Who owns the validation rule? Whom does a default affect? Whose evidence is missing? What does ready mean? Where is inconsistency explained? When is an appeal reviewed? Why is zero different from missing? Which earlier cases need correction? How is the version traced? Foundation study explains input and disposition. Undergraduate study computes the ledger and tests distinct states. Postgraduate study critiques defaults, appeal and workload incentives. Research study proposes a bounded synthetic rule-evaluation experiment with predefined examples and error costs. Passing local tests establishes behaviour on those inputs, not fairness, legal correctness or justified treatment of every real applicant.

Study questions and answers

Calculate ready coverage and the corrected case.

28/40 = 70%; after three valid completions, 31/40 = 77.5%.

Marking guide: Credit 28/40=70% then 31/40=77.5% after three valid completions.

Does validation readiness mean approval?

No. It means the declared inputs are ready for the subsequent authorised review.

Marking guide: Separate input readiness from subsequent authorised approval.

Why not turn missing into zero?

It converts absent evidence into an observed quantity and may change consequential treatment without justification.

Marking guide: Missing evidence must not become an observed zero; identify possible consequential treatment changes.

Practice task

Extend Python cleaning with explicit zero/missing/invalid states, stable identifiers and a human review disposition.

Practice bridge

  1. Extend Python cleaning with explicit zero/missing/invalid states, stable identifiers and a human review disposition.
  2. Reproduce the stated arithmetic, change one valid assumption and distinguish actual lesson observations from the invented case.

Open connected lab

Boundary: Original synthetic teaching connected to an existing bounded or guided lesson. No new executable fixture, catalogue lab or external platform execution claimed.

Sources and further reading

  • W3C Ethical Web Principles
    Scope: Selected agency, inclusion and transparent-information background; non-normative ethical principles, not legal requirements.
    Access: Free selected official background; no certificate or enrolment claim.

Related chapters

Interactive practice

Open workshop · Open runnable practice · Open lab lab-16

Open interactive matrix reading