Chapter 13 companion / Information Systems
See the system around the data.
Your role: an information systems analyst checking a service-intake process. Find where information needs review, who has authority to decide, and how corrections return to the process. Optional practice. Nothing is submitted.
System boundary: service intake and review
Systems thinking looks at how the parts affect one another. This map includes people, rules, and information, not just software. The external service visit and final financial posting are outside this example's boundary.
People
The coordinator checks intake. A specialist decides coverage. A manager retains credit approval above $250.
Inputs
Request ID, coverage ID, and requested credit. Missing or conflicting values can change the work downstream.
Controls
Check missing fields, repeated IDs, and the $250 review boundary. A flag is not permission to approve or send.
Outputs
A review list goes to the responsible person. A correction must be checked again before the information is used.
Feedback: a human reconciles a problem, corrects the source, and checks it again. Repeated missing coverage may signal an intake-form or training problem. Fixing one row does not necessarily fix its cause.
Route, authority, and verification
Route: start with the supplied sample. The advanced view accepts synthetic text or one local file. An API is a set of rules for asking another program for data or actions. This page makes no API request.
Authority: The page reads only the text or file you choose. It uses no key or account and has no right to approve, send, or change anything.
Verification: Count the exceptions from the records yourself, then compare with the result. If the input fails, fix your local copy and check again. The page saves nothing. Reset clears the current input and results.
Use only the sample or your own invented records. Do not paste credentials, student records, customer records, or employer data. A local file picker does not make sensitive data appropriate for this lesson.
Inspect the records, then check
Load the six fictional records. Before selecting Check requests, count missing coverage IDs, repeated IDs, and distinct IDs above $250. Exactly $250 is not above it.
| Row / ID | Coverage ID | Credit | Review status |
|---|
Advanced view: JSON text and local file
JSON is a text format with named fields. This example expects an object with one requests list. Each record has id, coverage_id, and credit. A missing, null, or blank coverage ID is a review flag. It is not a coverage decision.
Request IDs and present coverage IDs must be short labels containing letters, numbers, hyphens, or underscores. IDs are compared exactly. Uppercase and lowercase differ, so CC-103 and cc-103 are different IDs. Credits must be numbers at least 0. Extra fields and repeated field names inside an object are rejected. To keep this teaching example small, input is limited to 100,000 UTF-8 bytes and 1,000 records.
Load the sample first, count it by hand, and then check it. To test an error, remove a comma. To test the amount boundary, compare a credit of 250 with 250.01.
A successfully read file replaces the current text. A canceled, rejected or failed read leaves the text unchanged. Wait for "Selected file loaded locally" before checking the file. Check requests acts on the visible text, not the selected filename. No file is uploaded.
Editing the text or selecting Check requests, Load chapter sample or Reset cancels a pending file read. Selecting a file clears old review flags. Read the loaded text, then check it again.
No input loaded.
Review flags
No check yet. These flags never authorize an action.
Repeated IDs remain in your input. The checker counts one distinct ID above the threshold even if it occurs twice. If duplicate records disagree, it flags the conflict and includes an ID in the above-threshold list when any occurrence is above 250. A human must reconcile the records before using them.
Complete sample and manual route
{"requests": [
{"id": "CC-101", "coverage_id": "COV-22", "credit": 0},
{"id": "CC-102", "coverage_id": null, "credit": 0},
{"id": "CC-103", "coverage_id": "COV-31", "credit": 300},
{"id": "CC-103", "coverage_id": "COV-31", "credit": 300},
{"id": "CC-104", "coverage_id": "COV-09", "credit": 250},
{"id": "CC-105", "coverage_id": "COV-40", "credit": 120}
]}
On paper, number the six rows. Circle the missing coverage ID in row 2. Mark the repeated ID in rows 3 and 4. Underline the distinct request CC-103 at $300. Box CC-104 at exactly $250.
Expected result: 6 records, 5 distinct IDs, 1 record missing coverage, 1 duplicate ID, 1 distinct ID above $250, and 1 distinct ID exactly at $250. Above means strictly greater than. Exactly $250 is not above it.
The coordinator checks intake. The specialist decides coverage. The manager retains approval of credits above $250. This checker makes none of those decisions.
This equipment-service case uses a $250 manager-review boundary. It does not assign approval authority for credits of $250 or less. The later Harbor Vale Theater example uses $20. The independent Greenway Grocery Assignment uses $50. These are separate fictional cases. Apply only the supplied rules for your case. The AI assistant may draft from supplied text but has no approve or send right.
If the controls fail, use this printed sample and count by hand. If you have a terminal with Python, save the printed synthetic sample as cedar_requests.json in the folder where your terminal is working. Then python3 -m json.tool cedar_requests.json can check JSON syntax locally. It does not check the business rules.
Close the page and explain why a duplicate must be investigated, why $250 and $250.01 differ under this rule, and why a list of flags cannot authorize a credit.
Based on the fictional equipment-service example in Chapter 13. Your course contains the actual assignment instructions.