AAmit’s LibraryLEARN · PRACTISE · REFLECT
Amit’s Library

Finance and computing: sixteen original readings

16 readings, each over 600 words; 48 answered case questions and 16 bounded calculations. 200 matrix scaffolds remain. Finance has three left: NLP, HCI and DevOps. Authorship and local tests are not independent validation.

Practical worksheet and expected outputs · Coverage · Saved nine-card expansion

16 cases displayed.

Invoice approval and the economics of early payment

An approval workflow has a financial consequence when its timing changes the cash amount paid. In this fictional purchasing example, an invoice has a face value of 50,000 currency units and an offered early-payment discount of 2%. The business can obtain 1,000 units of discount but incurs a stipulated 300-unit financing cost and 200-unit extra processing cost. Net benefit is 500 units. The discounted supplier payment is 49,000; payment plus these two costs is 49,500. Keep these quantities separate: a discount percentage is not a profit margin or an annual financing rate. Purchasing checks the order and receipt. Accounts payable verifies the invoice and due-date evidence. Treasury establishes available funds and the financing assumption. The budget owner authorises the proposed choice. Software supports reminders, evidence and status transitions; it does not supply the missing human authorisation. An approval completed after the discount deadline may be technically successful while the stated economics have disappeared. A duplicate reminder must not create another payment. The exercise assumes the discount is available, the costs are incremental and there are no other charges, currency differences or contractual complications. It does not examine a real agreement. Change financing cost to 900 and explain why the net benefit becomes minus 100. A negative answer is meaningful here; do not clamp it to zero. The portfolio should identify which evidence changes before payment and who can pause the workflow. Foundation study follows invoice states; undergraduate study reconstructs the arithmetic; postgraduate study compares liquidity and process delay; research study asks what evidence would support a claim that a workflow change improves payment decisions.

Full reading and saved responses · Revision · Worked practice

Portfolio: Draw invoice states, owners and a deadline-aware cash decision; change the financing assumption.

Product mix, contribution and a misleading pooled margin

A pooled financial ratio can conceal a change in product mix. Product A sells 100 units for 100 each with variable cost 60 each. Product B sells 50 units for 200 each with variable cost 160 each. A contributes 4,000; B contributes 2,000. Total revenue is 20,000 and total contribution is 6,000, so the pooled contribution margin is 30%. The individual margins are 40% and 20%. Their unweighted average also happens to be 30% because this example gives equal revenue to the two products, not because averaging percentages is generally valid. Sales defines units and prices. Operations checks whether variable costs correspond to those units. Finance distinguishes contribution from profit and identifies excluded fixed costs. The analyst records the weighting rule and reporting period. Computing can reproduce the calculation reliably while still using an inappropriate aggregation. A dashboard needs both component amounts and the denominator supporting its percentage. Change B volume to 100. Revenue becomes 30,000 and contribution 8,000; the pooled margin becomes about 26.67%, although neither product's individual margin changed. This is a mix effect, not evidence that either department became less effective. It also does not prove which product should be promoted: capacity, demand, fixed costs and other constraints remain unknown. Use the descriptive-statistics lesson to inspect aggregation rather than claim a sales forecast. Foundation study separates revenue and contribution; undergraduate study calculates weighted rates; postgraduate study critiques mix and capacity; research study proposes a bounded method for separating product mix from price or cost changes.

Full reading and saved responses · Revision · Worked practice

Portfolio: Build a contribution table with component amounts and revenue weights; explain the changed mix.

AI assistance, realised time and incremental cost

An AI assistance proposal should distinguish theoretical time saved from time that produces a usable organisational benefit. The invented pilot covers 80 tasks, with five minutes of gross time saving per task. Human review requires two minutes per task. Net time released is 240 minutes, or four hours. At a stipulated value of 600 currency units per hour, this is a 2,400-unit scenario value. Subtract an incremental tool charge of 1,000 and the scenario net value is 1,400. This is neither observed return on investment nor cash necessarily available to the business. Salaried time may be redeployed rather than removed from payroll. The pilot owner must establish what the time can support. Finance checks incremental costs. The operational manager identifies valuable work and error consequences. Technology staff review access and version controls. Users inspect suggestions and preserve the authority to reject them. The prompt-evaluation lesson supports a controlled comparison; this arithmetic does not invoke a model. If review instead takes six minutes, net time is minus 80 minutes. The same valuation yields minus 800, and the scenario net value becomes minus 1,800. A faster initial draft can therefore coexist with a slower complete task. Do not ignore review merely because the interface appears productive. Quality, rework, training and privacy costs are not measured here. Foundation study distinguishes draft and completed work; undergraduate study calculates net time; postgraduate study tests economic assumptions and alternative uses of capacity; research study specifies a comparison with suitable quality measures and consent.

Full reading and saved responses · Revision · Worked practice

Portfolio: Create a quality-aware pilot ledger separating time, cash, capacity and error consequences.

Meter readings, missing evidence and financial extrapolation

A device can produce numbers without establishing a complete cost record. A fictional facility expects 100 reading intervals but receives 90 usable observations. Those observed intervals contain 180 kWh, with a stipulated constant tariff of three currency units per kWh. Observed cost is 540 units. If, and only if, missing intervals are assumed to have the same average usage as observed intervals, estimated total usage is 200 kWh and estimated cost is 600. Coverage is 90%. The extra 60 units is an imputed amount, not observed expenditure. Facilities owns meter context and maintenance observations. Operations explains production or occupancy changes. Data engineering marks missing intervals rather than silently substituting zero. Finance confirms which tariff and charges belong in the estimate. Management decides whether the estimate is suitable for its intended decision. A sensor count is not equivalent to a verified bill, and a constant tariff assumption can omit time-based or fixed charges. Missing readings during peak activity would undermine simple extrapolation. Preserve observed and imputed amounts in separate fields with the estimation rule and version. A zero-observation case has undefined coverage-based extrapolation; it should remain unresolved rather than create an artificial zero bill. Use the data-quality lesson to document completeness and provenance. Foundation study separates a reading from a cost; undergraduate study reproduces coverage and extrapolation; postgraduate study compares missingness scenarios; research study asks how metering gaps affect uncertainty in operational cost estimates without claiming this synthetic worksheet validates a real sensor installation.

Full reading and saved responses · Revision · Worked practice

Portfolio: Produce an observed/imputed cost ledger and a missing-reading investigation plan.

Payment retries and duplicate financial events

Payment-related interfaces often distinguish a request from the business event it represents. The invented ledger contains six unique payment intents worth 12,000 currency units and two retransmissions worth 4,000. The raw received-event amount is 16,000. Deduplicating the retransmissions produces a 12,000 unique-intent amount; the excess raw amount is 4,000. There are eight received events, so retransmissions are 25% of event count. Their amount share is also 25% here, but these two shares need not agree in another dataset. A timeout can leave the caller unsure whether a receiver performed the action. Finance needs the business identity and reconciliation evidence. Engineering defines request identifiers, repeat handling and response states. Operations owns unresolved exceptions. Treasury or another authorised payment owner decides any real action. The same amount and payee alone are insufficient grounds to collapse two records: they might represent two legitimate obligations. The fixture assumes the unique/retransmission classifications have already been established. It makes no payment, invokes no API and proves no idempotency implementation. In the API-contract lesson, write one response for a confirmed intent and another for an unresolved outcome. Preserve the original evidence instead of deleting duplicate-looking records. Foundation study distinguishes attempts and obligations; undergraduate study reconstructs count and amount denominators; postgraduate study critiques reconciliation and retry semantics; research study proposes a bounded comparison of unresolved-outcome handling. A dependable interface makes uncertainty explicit and avoids translating every communication failure into another financial action.

Full reading and saved responses · Revision · Worked practice

Portfolio: Specify payment-intent identity, retry responses and a human-owned unresolved-state ledger.

Financial approvals: authority and supporting evidence

Financial governance should distinguish an authorised decision from a decision with complete supporting evidence. Twenty fictional transactions are examined. Sixteen have the stated approval evidence, fifteen have the stated documentary support and twelve have both. The groups are twelve both, four approval-only, three support-only and one neither. Joint coverage is 60%; approval coverage is 80%; support coverage is 75%. A rule requiring both would leave eight transactions needing attention, but that does not prove those transactions are fraudulent or invalid. Finance defines the evidence requirements. The spending department explains the business purpose. An authority owner maintains who may approve which action. Technology staff preserve roles, version information and audit records. Reviewers investigate exceptions with appropriate access. Computing can surface missing evidence, but a red indicator is not a complete audit judgement. A permission to use software is also different from financial authority to approve a transaction. An aggregate can hide a small transaction with no evidence alongside a large, well-supported one. The worksheet counts transactions only and does not weight amounts or risks. Record the time of each check: documentary support may arrive later, while an approval may apply only to an earlier version. Use the access-review lesson to distinguish permission, purpose and responsibility. Foundation study separates authority and evidence; undergraduate study reconstructs overlap; postgraduate study critiques amount-weighting and segregation; research study designs a bounded investigation of exception resolution. Applicable legal, tax and accounting requirements require separate current verification.

Full reading and saved responses · Revision · Worked practice

Portfolio: Prepare an authority/evidence exception register with version, amount and accountable reviewer.

Finance training, transfer and retained understanding

Training attendance, immediate correctness and later task performance are different observations. Of 24 invited fictional learners, 20 attend a finance-system lesson, 16 meet a specified immediate exercise criterion and 12 meet a later task criterion. Attendance coverage is about 83.33%; immediate criterion coverage of invitees is about 66.67%; later criterion coverage of invitees is 50%. Later criterion coverage among attendees is 60%. None of these rates alone establishes competence for every financial task. Learning staff define the teaching objective and accessible materials. Finance specifies the particular transaction or report task. Managers provide opportunities to practise and obtain help. Technology staff support the learning environment and preserve the meaning of an attempt. A dashboard should show the criterion, period and denominator, with controlled access. People absent from a session may need another route; they should not automatically be classified as unable or unwilling to learn. The nested counts are invented and assume the later group belongs to the immediate and attendance groups. If real observations were not nested, a transition table would be needed instead of this simplified funnel. The management-dashboard lesson provides a reporting structure, not employee assessment evidence. Foundation study separates attendance and learning; undergraduate study calculates alternative denominators; postgraduate study critiques task transfer and opportunity; research study develops an ethical retention evaluation with an appropriate comparison. Add a recovery route and a feedback mechanism so learning evidence leads to better support rather than an unsupported staff ranking.

Full reading and saved responses · Revision · Worked practice

Portfolio: Make a denominator-labelled learning dashboard with accessible revision and support routes.

Service downtime and contribution at risk

Operating-system availability matters financially through the business work a service supports. A fictional outage lasts 45 minutes. The assumed affected arrival rate is two transactions per minute and contribution per transaction is 30 currency units. The implied affected volume is 90 transactions and gross contribution at risk is 2,700. If 30 transactions are later recovered under the stated assumptions, unresolved volume is 60 and contribution associated with that unresolved volume is 1,800. This is a scenario exposure, not a measured loss. Systems staff inspect service and storage behaviour. Operations records whether work paused, queued or moved to an alternative channel. Customer-facing staff document communications and recovery. Finance checks contribution and distinguishes delayed receipts, lost sales and extra recovery costs. A restored process does not establish that all pending business work has been reconciled. Nor does a failed host establish that every arriving customer abandoned the transaction. The calculation assumes a constant arrival rate, comparable transactions and no costs beyond the stated contribution. A demand burst or partial service would need another model. Use the backup/restore lesson to identify what evidence survives and how pending records would be reconciled; the worksheet itself performs no restore. Foundation study separates technical downtime and business interruption; undergraduate study calculates scenario exposure; postgraduate study compares recovery and alternative-channel assumptions; research study asks how operational evidence can improve interruption-cost estimates. Write the recovery owner and unresolved transactions before claiming a successful return to service.

Full reading and saved responses · Revision · Worked practice

Portfolio: Draft a downtime-to-business-impact ledger and a pending-work recovery checklist.

Atomic transfers and the conservation check

A simplified internal transfer should preserve the combined balance when no charges or external movements are included. Account A begins with 5,000 units and B with 2,000. A transfer of 600 gives A = 4,400 and B = 2,600; the combined total remains 7,000. If the debit were recorded without the corresponding credit, the visible combined total would be 6,400. That 600-unit discrepancy identifies an incomplete record under these assumptions; it is not evidence that the money physically vanished. Finance defines the transfer and reporting invariant. Database engineers decide how related updates form a transaction. Application engineers define request identity and response behaviour. Operations investigates an unresolved outcome before initiating another transfer. The fixture computes balances only; it does not execute a database transaction. An atomic transaction boundary is a technical mechanism, while authorisation, correct amounts and reconciliation require additional evidence. A conservation check can pass even when the wrong recipient is credited. Conversely, an intended fee changes the invariant and must be represented explicitly rather than labelled an error. The SQL-constraints lesson supports a small design exercise; the official SQLite transaction reference is background, not a claim about a deployed banking system. Foundation study follows debit and credit effects; undergraduate study calculates the invariant; postgraduate study compares transaction isolation, identity and reconciliation; research study proposes a controlled failure experiment using synthetic records. Add tests for a repeated request, insufficient source balance and an interrupted operation without treating this worksheet as financial infrastructure.

Full reading and saved responses · Revision · Worked practice

Portfolio: Design a synthetic transfer transaction, invariant and failure/retry tests in the database lesson.

Line rounding versus aggregate rounding

Financial programming must make its rounding boundary explicit. Consider three invented lines, each with an exact value of 0.335 currency units. With an expressly chosen half-up policy, rounding each line to two decimal places produces 0.34 three times, summing to 1.02. Summing first produces 1.005; rounding that aggregate half-up gives 1.01. The difference is 0.01. Neither result is a universally applicable invoice rule; the exercise demonstrates why a policy and its scope must be specified. Finance or the relevant policy owner states the intended rule and unit. Developers implement decimal construction, precision and rounding consistently. Test reviewers inspect both normal and boundary examples. Data engineers preserve whether a source amount was already rounded. Users should see a traceable explanation when two systems disagree. A binary floating-point display problem and a deliberate line-versus-total rounding difference are not the same issue. The Python decimal documentation is free background for representation and rounding. The worksheet uses strings for exact decimal inputs and explicitly chooses half-up for this teaching example. It does not verify tax treatment, currency rules or an actual document. The Python-cleaning lesson can be extended with a clearly isolated amount column and preserved original strings. Foundation study distinguishes amount and display; undergraduate study reproduces the two totals; postgraduate study critiques cumulative discrepancies and policy consistency; research study proposes a synthetic boundary test suite. Preserve the chosen policy with the software version rather than silently changing results until two displays happen to match.

Full reading and saved responses · Revision · Worked practice

Portfolio: Write decimal boundary tests and a rounding-policy note with original amount provenance.

Timeouts, status enquiries and the cost of uncertainty

A network timeout is an observation about communication, not a definitive transaction outcome. A fictional operation sends 40 requests. Five time out; later status enquiries confirm three of those as completed, leaving two unresolved. The timeout share is 12.5% of sent requests; the unresolved share is 5%. At an assumed six minutes of investigation per unresolved request, the remaining investigation workload is twelve minutes. With a stated 500-unit exposure per unresolved request, the amount needing reconciliation is 1,000. That amount is neither proven loss nor an instruction to repeat payment. Network staff inspect connection behaviour. Application staff maintain correlation identifiers and a status mechanism. Finance checks the underlying obligation and evidence. Operations owns the exception queue and communicates when action must pause. The task should preserve the difference between completed, failed and unresolved outcomes. Removing a timeout from a dashboard after a successful status enquiry does not remove its historical occurrence. The HTTP-tracing lesson allows observation of request and response behaviour with synthetic examples. This fixture performs no network calls and observes no service. Its classification assumes later status evidence is trustworthy. If an enquiry is itself ambiguous, the request remains unresolved. Foundation study separates request and result; undergraduate study calculates the changing denominator; postgraduate study critiques retries and operational workload; research study specifies a controlled latency experiment with explicit outcome categories. A useful report tells managers both what is known and which decision is still waiting for evidence.

Full reading and saved responses · Revision · Worked practice

Portfolio: Create a request/status reconciliation table with explicit pause and enquiry owners.

Cloud budget alerts and a bounded run-rate scenario

A budget threshold, a forecast and an enforceable spending limit are distinct concepts. In this invented month, a project has a 1,000-unit budget and 600 units recorded after 18 elapsed days of a 30-day period. Budget consumed is 60%. A simple constant-run-rate estimate is 600 / 18 × 30 = 1,000, leaving estimated headroom zero. These are assumed spending units, not current vendor prices or a recommendation to buy services. Finance defines the budget and reporting scope. The service owner explains intended workload. Engineering checks resource use and cost drivers. A named operational owner receives and acts on alerts. Google Cloud's selected budget documentation explicitly distinguishes alerts from automatic spending caps; the learning example should not promise that a budget entry stops spending. Billing delays, workload bursts, credits or excluded resources can also make a linear estimate unsuitable. The cloud-responsibility lesson supports a responsibility map rather than actual account configuration. This worksheet creates no cloud resources, billing account or alert. Change elapsed days to 15: the same spend implies a 1,200 run-rate scenario and minus 200 headroom. An elapsed period of zero makes the run-rate undefined. Foundation study separates budget and usage; undergraduate study computes consumption and run rate; postgraduate study critiques lag and workload assumptions; research study asks whether an alert-and-response process improves decision timeliness. Record the person responsible for investigation and the permitted actions rather than assuming that a notification is an implemented financial control.

Full reading and saved responses · Revision · Worked practice

Portfolio: Write a budget/forecast/alert responsibility map and a workload-based sensitivity scenario.

Security investment and expected-loss assumptions

Expected-loss arithmetic is only as defensible as its probability, impact and control-effect assumptions. A fictional threat scenario assumes annual probability 0.1 and conditional impact 100,000 currency units. Expected loss is 10,000. A proposed control is assumed to reduce probability to 0.04 while leaving impact unchanged. Residual expected loss is 4,000; expected reduction is 6,000. Subtract an assumed annual control cost of 3,000 and the scenario net expected benefit is 3,000. These probabilities are invented, not an empirical security forecast. They cannot establish that buying a control is appropriate. Security staff define the threat and mechanism. Operations identifies service and recovery consequences. Finance checks the cost period and included impacts. Management determines risk tolerance and obligations that may not be reducible to a currency estimate. A positive result should prompt examination of assumptions, not automatic procurement. If the post-control probability is 0.09, expected reduction is only 1,000 and the net expected benefit is minus 2,000. A control can still have nonfinancial or required purposes outside this simplified comparison. The threat-model lesson helps identify assets, trust boundaries and missing evidence; the worksheet executes no security assessment. Foundation study separates impact and likelihood; undergraduate study reconstructs expected values; postgraduate study critiques uncertainty and effectiveness; research study asks what observational evidence could support a control-effect estimate. Preserve the uncertainty and scenario period in the decision note rather than presenting invented numbers as a precise risk measurement.

Full reading and saved responses · Revision · Worked practice

Portfolio: Prepare a threat-to-cost assumption register with a sensitivity case and human decision boundary.

Acceptance criteria and correct financial meaning

Financial software acceptance should distinguish arithmetic correctness from correct business meaning. Twenty invented acceptance scenarios are examined. Seventeen pass specified arithmetic checks, fourteen pass specified semantic checks and thirteen pass both. The groups are thirteen both, four arithmetic-only, one semantic-only and two neither. Joint coverage is 65%. A system that adds correctly can still apply the wrong period, currency, account or rounding policy. A understandable screen can likewise contain an arithmetic defect. Finance supplies the intended financial quantity and sample reasoning. Engineering makes the behaviour testable and versioned. The process owner identifies decisions that the output supports. Test reviewers preserve both expected results and assumptions. Support prepares correction and escalation paths. A test pass has a defined scope; it does not certify all accounting requirements or the safety of a financial product. The API-contract lesson can specify a fictional calculation response with unit, period and version. The fixture executes overlap arithmetic, not the application or twenty real tests. Add a scenario where 65% has the correct computation but is labelled as profit margin when it measures checklist coverage. Then add a scenario where a semantically correct label accompanies the wrong denominator. Foundation study separates number and meaning; undergraduate study reconstructs the four groups; postgraduate study critiques test sufficiency and change management; research study proposes a bounded semantic-defect taxonomy. Release decisions require severity and recoverability evidence beyond an aggregate pass percentage.

Full reading and saved responses · Revision · Worked practice

Portfolio: Write versioned financial API examples and separate arithmetic from semantic acceptance evidence.

Transaction grain, retransmissions and genuine reversals

A financial reporting pipeline must distinguish a duplicated transmission from a genuine correcting event. A fictional ledger contains twelve original sales totalling 12,000 units, three retransmissions totalling 3,000 and one genuine reversal of 1,000. If all sales-like transmissions are naively counted and the reversal is subtracted, apparent net sales are 14,000. Removing only the established retransmissions produces 11,000. The overstatement is 3,000. The reversal remains because it changes business meaning; it is not an unwanted duplicate. Finance defines the reporting grain, sign convention and reversal relationship. Source-system owners supply event identity and provenance. Data engineers preserve raw evidence and implement transformations. Analysts explain which population and period the report covers. Operations investigates unknown duplicates instead of imposing a universal same-amount deletion rule. An extraction job can complete with no technical error while delivering an overstated business total. The SQL-reconciliation lesson supports a synthetic raw-to-canonical ledger with explicit reconciliation categories. This fixture has already classified events and executes no pipeline. A late reversal, changed amount or two legitimate same-value sales would require additional rules and evidence. Foundation study distinguishes event and transaction; undergraduate study reconciles raw and adjusted amounts; postgraduate study critiques late corrections and temporal reporting; research study designs a controlled transformation test. Preserve both the reconciliation bridge and unresolved categories so a manager can understand why the published number differs from the raw total rather than seeing a silently edited report.

Full reading and saved responses · Revision · Worked practice

Portfolio: Build a raw/canonical reconciliation bridge with duplicate and reversal categories kept distinct.

Receivables coverage and weighted financial dashboards

A receivables dashboard should distinguish count-based workload from amount-based exposure. Department A has 30 invoices worth 30,000 units, of which 18,000 is overdue. Department B has ten invoices worth 50,000, of which 10,000 is overdue. A's amount-overdue share is 60%; B's is 20%. Overall overdue amount is 28,000 against 80,000, or 35%. The unweighted average of the two departmental percentages is 40%, which answers a different question and is unsuitable as the combined amount share. Collections staff identify disputed, promised and unresolved invoices. Sales explains customer context. Finance defines the due-date and valuation policy. Data staff preserve the reporting date and ledger grain. Managers determine the next action without treating one chart as a judgement about employees or customers. The different invoice counts can help describe workload, but the amount data does not tell how many invoices are overdue. The Power BI lesson supplies a visualisation workflow; this worksheet runs no Power BI service or refresh. Draft paired views showing invoice counts, total amounts and overdue amounts. Include currency, reporting date and missing-data notes. Foundation study separates counts and amounts; undergraduate study computes the weighted share; postgraduate study critiques aggregation, ageing and contextual decisions; research study asks whether denominator-visible displays improve interpretation. Do not infer creditworthiness or prescribe collection action from fictional rates. The portfolio should make financial meaning inspectable while preserving a human-owned dispute and correction process.

Full reading and saved responses · Revision · Worked practice

Portfolio: Design paired count/amount receivables views with reporting date and dispute/correction ownership.

Previous batch · Local link audit · Relationship audit