Model the Customer's World: Objects, Links and Actions
Three of seven work orders were quietly wrong. A 60-line model found them and refused a bad change.
Video #310 ยท Forward deployed engineer interviews
Steps in the video
Files
- actions.py (21 lines)
- rules.py (20 lines)
- run.py (16 lines)
- world.py (21 lines)
Tested with
Python 3.12.15
What this does not show
Made-up sites, engineers and work orders, with three problems planted on purpose. A sketch in plain Python, not the Palantir product or API: no storage, history or permissions, hard-coded rules, and the certification lists themselves are not validated, for example a site id that does not exist.
Sources
Learning IT by Example.