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

Systems, recovery and analytical tools

Two runnable bounded fixtures and three guided modelling/tool exercises. Suggested allowance45–90minutes each plus installation, not measured learner time. Power BI/Tableau require your compatible tool access; no finished vendor report files are supplied. All data is invented. Local worksheet files require their own backup; catalogue responses participate in existing browser backup.

Runnable fixtures

python3 tool_practice.py
python3 -m unittest tool_practice_test.py

Download the implementation, tests and expected JSON together from the relevant lesson. Recovery writes only to its new temporary folder and removes it. Latency observations are synthetic, not live measurements.

BPMN handoffs

Format: guided · Expected: One retailer pool with three lanes; explicit exclusive decision and two endings; supplier communication uses message flow. Clarification has a defined owner and return route.

Model a retailer’s order review with sales, finance and operations as lanes inside one organisational pool. Add a start event, a submission task, finance review and an exclusive approve/reject choice. The approved branch reaches dispatch and a shipped end; the rejected branch reaches a rejected end. Explain the evidence required before approval. A lane describes responsibility; it does not authenticate a user or implement an approval rule.

Now add a supplier as a separate participant pool. Distinguish internal sequence flow from communication between participants: message flow represents the interparticipant communication, not an internal sequence arrow crossing between pools. Keep the distinction visible when moving from a narrative to notation. The OMG specification is authoritative reading; this lesson is a guided modelling task, not a BPMN validator, supplied executable XML or runtime engine.

For a changed case, finance requests clarification instead of rejecting. Decide who receives that request, what state the case is in and how a clarified submission returns for review. Discuss duplicate submissions and absent supplier replies. A drawing that omits these cases may communicate the happy path while concealing the actual workload. Sales owns completeness, finance owns approval and operations owns authorised dispatch.

Foundation: narrate the handoff. Undergraduate: draw the required notation. Postgraduate: critique the exceptions and authority. Research: propose observations of handoff delay and case complexity. Submit the diagram, exception narrative and a notation checklist. Review sequence versus message flow, branch conditions, ownership and reachable endings. The self-review is human reasoning, not automatic conformance certification.

  1. Draw the three-lane retailer process with approve/reject branches.
  2. Add a separate supplier pool and explicit message communication.
  3. Add a clarification loop and describe unresolved replies.
  4. Review notation, authority and exception coverage.

Official primary learning · Save response and attempt

Network latency interpretation

Format: runnable · Expected: Six attempts;five successes;one timeout;successful median20ms and nearest-rankp95=100ms.

The synthetic sample contains successful durations10,20,20,30and100milliseconds and one timeout. There are six attempts, five successes and one timeout. Median successful duration is20milliseconds. The supplied nearest-rank95thpercentile is100milliseconds. This tiny sample is useful for checking arithmetic, not estimating a dependable production tail or proving that a service-level commitment was met.

A timeout is not a successful request with zero latency. Report failures separately, and label the percentile as conditional on successful observations. Averaging or sorting only successful results can hide the customer experience of unavailable requests. Record whether timing covers DNS, connection, server processing or an entire user task before comparing systems. These invented values include no actual network measurement.

Run latency() on an empty sample and on only timeouts: no successful median or percentile is available. Replace100with1000and inspect the effect on the median and tail. The code rejects negative, non-finite, boolean and string durations. Such validation does not guarantee that a monitoring instrument measured the intended interval.

Operations defines the affected service, IT defines timing instrumentation and customer support explains failed tasks. Foundation: interpret a timeout. Undergraduate: reproduce counts and percentile. Postgraduate: critique sample size and measurement boundaries. Research: define an event-level observation plan and treatment of failures. Submit hand results, changed cases and a monitoring memo. This lab is a runnable synthetic interpretation exercise, not a network probe or stochastic performance model.

  1. Predict the success and timeout counts.
  2. Run the supplied function and compare expected JSON.
  3. Try empty/all-timeout and changed-tail cases.
  4. Define a real measurement boundary without probing any third-party system.

Official primary learning · Save response and attempt

Backup and restore

Format: runnable · Expected: Restored rows O1=100,O2=200,total300;integrity ok;post-backup O3 absent despite source count3.

The script creates a new temporary directory containing source, backup and restored SQLite databases. Two synthetic orders are committed before backup. A third is committed afterwards. Restoring the backup produces the original two rows and total300; the third order is absent. The integrity check reports ok. This combination demonstrates why a readable file and a successful integrity check do not establish that every business event was recovered.

The recovery cutoff defines which committed events are available. Discuss what missing the third order means for customer communication, reconciliation and business continuity. Recovery-point and recovery-time objectives are business requirements to be agreed and tested; this fixture supplies no timed recovery guarantee. A daily backup policy may be unsuitable if the organisation cannot tolerate a day of missing work.

Run the fixture and inspect both restored row content and integrity output. The script confines writes to newly created temporary files and removes them afterwards. It does not alter your existing databases. This teaching cleanup is intentional and means the files are not retained as a real backup. It demonstrates SQLite backup and restoration to a separate target, not encryption, off-site copies or enterprise disaster recovery.

IT tests the procedure; business owners verify recovered meaning and acceptable loss; finance reconciles missing commitments. Foundation: explain the cutoff. Undergraduate: reproduce expected rows. Postgraduate: design a recovery validation checklist. Research: propose a study of recovery readiness with defined outcomes. Submit content evidence, missing-event explanation and a recovery decision memo. Never equate the test count or integrity result with production resilience.

  1. Predict which order is absent after restore.
  2. Run the temporary recovery fixture and scenario tests.
  3. Compare row content, total and integrity output.
  4. Specify recovery objectives and business reconciliation evidence.

Official primary learning · Save response and attempt

Power BI report

Format: guided · Expected: Revenue150000,profit25000,on-time54%;North90% andSouth50%. Measures use matching aggregates.

Use the supplied synthetic region CSV to build a report with revenue, simplified profit and on-time delivery. Power BI Desktop is a Windows application; the linked Microsoft guidance describes installation and requirements. On a Mac, read the modelling steps and use the Python baseline or a compatible alternative for arithmetic until you have suitable Windows access. This lesson does not promise free private online sharing or provide a hosted Power BI account.

Import bi_regions.csv using Get Data and the Text/CSV connector. Confirm that Region is text and the other columns are whole numbers. Create measures: Revenue=SUM(BI[RevenueINR]), Profit=SUM(BI[RevenueINR])-SUM(BI[CostINR]), and OnTimeRate=DIVIDE(SUM(BI[OnTime]),SUM(BI[Orders])). Replace BI with your actual table name. Format revenue/profit as INR and the rate as a percentage. Build cards and a region comparison, then apply a Region filter and inspect recalculation.

Totals are revenue150000,profit25000and on-time54%. North has90% from9/10;South has50% from45/90. Averaging region percentages gives70%, which does not describe the combined order rate. Keep the denominator visible. A polished visual cannot fix an incorrect measure or an unclear profit definition.

Finance approves value definitions, operations confirms eligibility and managers decide the question the report serves. Foundation: explain a card. Undergraduate: build and verify measures. Postgraduate: critique filter context and case mix. Research: propose a decision-quality evaluation. Save your learner-created report locally and retain screenshots, measure definitions and changed-filter results. Tool execution and report rendering have not been verified in this package; expected totals are independently checked by the supplied Python baseline.

  1. Import CSV and verify column types.
  2. Create the three measures and label units.
  3. Build cards and a region chart; test a Region filter.
  4. Compare totals against Python and save locally.

Official primary learning · Save response and attempt

Tableau story

Format: guided · Expected: Story explains overall54% using54/100, contrasts regional counts and identifies uncertainty without causal claims.

Use the same synthetic region CSV to develop a short analytical story: overall service, regional difference and the decision requiring investigation. Consult the linked current Tableau Public guidance for available local-saving and publishing options. Treat a publication to Tableau Public as public sharing; use only this invented dataset. This lesson requires no publishing action and does not promise private online hosting.

Connect the CSV and verify numeric field types. Create Profit as SUM([RevenueINR])-SUM([CostINR]) and OnTimeRate as SUM([OnTime])/SUM([Orders]) for this positive-denominator fixture. A general model needs an explicit zero-denominator rule. Build a regional bar view and a summary view, label INR amounts and show eligible orders. Add story points or a narrative dashboard as supported by your chosen Tableau workflow. Compare filtered North and South with the overall summary.

Explain54%overall,90%North and50%South using their counts. The narrative should not accuse staff or infer a cause from two regions. A different workload, eligibility rule or reporting process could contribute. Add an annotation identifying that uncertainty and the evidence a manager should request. A story is an argument with limits, not a decorative sequence of charts.

Customer service explains observed delays, operations checks workflow and finance confirms cost scope. Foundation: state the question. Undergraduate: build the calculated fields and views. Postgraduate: critique visual framing and denominator selection. Research: propose a study of whether the presentation improves interpretation. Save the learner-created artifact locally where supported; otherwise retain the documented design without uploading private data. No Tableau workbook is supplied or tool-run verified here. Python checks only the source arithmetic, not Tableau execution.

  1. Connect CSV and check types.
  2. Create calculated fields and summary/regional views.
  3. Write three narrative steps with uncertainty and counts.
  4. Check against Python and retain a local artifact or documented design.

Official primary learning · Save response and attempt

Access and verification

OMG BPMN specification directory, Microsoft Desktop guidance and Tableau Public saving guidance were checked as selected official resources5October2026. They are not new complete-programme syllabus audits. Desktop/tool workflows are learner exercises and were not executed here. Publishing is optional and public-data restrictions matter; local work is the default.