~/talk

Pricing products using Python graphs and sets

Talkat EuroPython 2011 · 2011-06-20..06-26· [python]
links:none on file
slides:none on file

A model-driven pricing engine that represents items and rules as a product graph consumes XML/DB exports, matches a small set of supported patterns (includes, requires, max occurrences) via behavior tests written with freshen/BDD pattern tests, and returns charges as JSON over HTTP. It uses adjacency lookups and a Rete-like approach so only relevant rules run, handles odd cases (three-scoop tubs vs cones, a €7 oversized cone), and is production-ready with fast iteration and cached results for performance.

AI-written summary · about

  1. 0:00Intro
  2. 6:50Cucumber
  3. 8:25Scenarios
  4. 11:48Introducing David
  5. 12:41Davids background
  6. 13:38Typical workflow
  7. 15:49How to express rules
  8. 17:58Examples of bad rules
  9. 20:07Why you should build a better Python
  10. 21:11The alternative
  11. 22:59The bad way
  12. 25:46Product lifecycle management
  13. 28:53How to interpret rules
  14. 35:39Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.