<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by David Kelly on Medium]]></title>
        <description><![CDATA[Stories by David Kelly on Medium]]></description>
        <link>https://medium.com/@david-kelly-system-thinker?source=rss-6a6314370fc3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*OV8dC7HIFiLS83gqTNMA0g.jpeg</url>
            <title>Stories by David Kelly on Medium</title>
            <link>https://medium.com/@david-kelly-system-thinker?source=rss-6a6314370fc3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 19:23:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@david-kelly-system-thinker/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Data Modeling & Management: 
What’s Correct? What’s Right?]]></title>
            <link>https://david-kelly-system-thinker.medium.com/data-modeling-management-whats-correct-what-s-right-265a37ab9738?source=rss-6a6314370fc3------2</link>
            <guid isPermaLink="false">https://medium.com/p/265a37ab9738</guid>
            <category><![CDATA[hierarchy]]></category>
            <category><![CDATA[data-modeling]]></category>
            <category><![CDATA[data-management]]></category>
            <dc:creator><![CDATA[David Kelly]]></dc:creator>
            <pubDate>Mon, 04 Jan 2021 19:46:22 GMT</pubDate>
            <atom:updated>2021-01-04T19:46:22.063Z</atom:updated>
            <content:encoded><![CDATA[<h3>Data Modeling &amp; Management: <br>What’s Correct? What’s Right?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EW3mpAXDGtiNiPe45sViDw.jpeg" /></figure><p>Like practically everyone else, I have stacks of old work computers and home computers and work-home hybrid computers that I’ve accumulated over the years. When switching from an old wretched steam-driven computer to the next streamlined screamin’ machine, the usual approach has been to dump all the files from the old computer to an external hard drive, then copy the useful files down from the drive to the new computer. The less useful ones get “archived”, usually on that same hard drive. You know, just in case.</p><p>Of course, I don’t delete the files I’ve downloaded — I keep them as “backups” on the hard drive. Given enough cycles of this activity, you can easily find yourself with several hard drives, each containing multiple copies of the same badly (and sometimes differently) named files in a number of cryptically named directories, most of which you haven’t looked at in years. But you’re glad to have them, because you never know when you’ll need them again. You know, just in case.</p><p>Finding myself with some uncommitted moments when I didn’t feel like doing anything productive, I recently decided to organize all those old files, to keep just one copy of each, to maybe even toss out a bunch of the totally useless or obsolete ones (just kidding — I never throw anything away). So I hooked up all of my external drives to my current workhorse laptop via a hub, opened browser windows for the various cloud storage solutions that have insinuated themselves into my life over the years, and set to work.</p><p>Before giving up the effort as hopeless a few minutes later, I pondered how best to organize the files so that the ones I’d need would be right to hand, while those I didn’t would not be in the way to slow me down when trying to find that one file that was about that one thing that was absolutely crucial for this one task.</p><p>Which is where I got stuck. Yeah, personal versus business, that makes sense. Project files under business, stuff about hobbies under personal? So far so good. Documents versus photos versus audio files and songs? Absolutely. But what about that article I wrote about my favorite guitar amplifier, complete with photos and sound files? If I separate them, will I be able to find them to reassemble them when I want to? Or if I keep them together, will I be able to assemble that photo album of great gear I have loved and lost? Since I hadn’t really decided how I would use this stuff, I hadn’t given myself a good organizing principle for it. So I allowed myself to get distracted and walked away from that project, though of course I will return to it any day now.</p><p>Which got me to philosophizing — something I do when I don’t feel like doing real work.</p><p>Organization is a mostly human concept — it’s hard to picture tardigrades or tigers spending time lining up and grouping the things in their worlds by topic or color or usage or what have you. We human types take the individual objects we’ve gathered and we put them together in such a way as to make finding the right one easy. And when you’re organizing, <strong>hierarchies</strong> can be your pal. We group our stuff — in this case, work and personal files — in tree structures. With your stuff in the right structure, you can walk down from the top to the exact thing you were looking for in seconds.</p><p>Some hierarchies make themselves obvious — paint chips on sample cards at the hardware store, for example. They’re essentially organized by the math of which colors are added to a base color. But other kinds of hierarchies we impose on collections of objects to organize them can often be less intuitive. Test this yourself — go to someone else’s kitchen and try to find a whisk or a cookie sheet. Why on earth would they have put that <strong><em>there?</em></strong></p><p>Maybe there was logic behind the choice, but sometimes things just get put where they fit, with no organizing principle involved at all. And they stay there because, over the years, we’ve learned that the cookie sheets are under the placemats. Because, I dunno, that’s where they’ve always been.</p><p>One challenge I’ve had in consulting over the years is that we all tend to want to organize things “correctly” by the internal logic of the stuff being organized, just like the paint chips. It’s much harder to figure out how the users will actually use the data or objects in the structure, but that’s the <strong><em>right</em></strong> way to think about the hierarchy, even if it doesn’t feel like the <strong><em>correct</em></strong> way.</p><p>A silly example, but imagine that you have the world’s most magnificent menagerie of interesting and exotic pets. At first you just toss the critters randomly into a big room you aren’t using for anything else, but that gets messy and hard to deal with in terms of feeding, cleaning, and petting them. So you think about organizing them. Maybe you decide to use the whole Kingdom / Phylum / Class / Order / Family / Genus / Species taxa classification system you learned and forgot in biology class. You set up your shelves and cages and so on to reflect that. You start herding your pets into their allotted spots. And then your trusty helper hands you the porpoise.</p><p>Okay, clearly a mammal, according to the science boffins. You know, a warm-blooded vertebrate with hair or fur whose moms secrete milk to feed their generally live young? Check. But honestly, wouldn’t it be a little easier to manage if we included it with the fish? I mean, it lives in water, for one thing. And it really just looks more like a fish than anything else. Okay, fine, we’ll make this one exception. Then your assistant hands you your vampire bat. Sigh… Also a mammal, but for the purposes of this project, can we maybe file it with the birds?</p><p>Is this <strong><em>correct</em></strong>? Technically no, not by the logic we’re using, but it might be <strong><em>right</em></strong>. Or one form of right — the form that you as the menagerie keeper might prefer to the correct one.</p><p>In this age of artificial learning and machine intelligence, we tend to see data as being somehow judgment-neutral and pure, and it sort of is — that’s why we keep exhorting each other to “follow the data wherever it leads”. But the data might lead you straight into a swamp based on the idiosyncrasies of the people who brought it together in the first place. The data might be organized just the way the users need it to be, but it might not be in a form you can use yourself, say, for analytical purposes. To go back to the paint chip example, there might be a branch of the hierarchy for the reds, one for the greens, one for the blues, etc., and then a branch called “The Ones I Like” where the users put their favorites, regardless of the base color. When running analytics on the most popular colors, that weird-but-relatable shortcut could return anomalous results.</p><p>It’s always a good idea to switch off your logical brain and go to the users of the data you’re organizing to figure out what it really means, not just what you think it means. Then bring that insight into the usage and analytics you apply to the data, because, while the obvious interpretation may be <strong><em>correct</em></strong>, it might still be <strong><em>wrong</em></strong>. The objects — the colors, or the files, or what have you — are all there, but the way we sort them could appear wonky depending on how they’re used.</p><p>So where did you want to put that platypus?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=265a37ab9738" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Problem of Mostly Right Data:]]></title>
            <link>https://david-kelly-system-thinker.medium.com/the-problem-of-mostly-right-data-dab2f258ca73?source=rss-6a6314370fc3------2</link>
            <guid isPermaLink="false">https://medium.com/p/dab2f258ca73</guid>
            <category><![CDATA[solution-architecture]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[interaction-design]]></category>
            <category><![CDATA[systems-thinking]]></category>
            <dc:creator><![CDATA[David Kelly]]></dc:creator>
            <pubDate>Wed, 19 Aug 2020 21:57:22 GMT</pubDate>
            <atom:updated>2020-08-20T00:06:02.805Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Problem of Mostly Right Data</h3><p><strong>What do you do when your system data is 99% perfect?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/917/1*Q3R_DHU4YXFDXkyNSLnibA.png" /></figure><p>Perfection is so hard to attain — heck, I haven’t even gotten there myself yet! Sometimes when I start to ponder exactly when I will get there, I start thinking about business systems and what perfection looks like for them. System perfection is often judged by whether a system is highly performant, highly flexible and maintainable, and most importantly, highly accurate. And you might be excused for one or two shortcomings in the maintainability and performance side, but in general, accuracy is a pretty important factor in our evaluations of systems. We have to trust what comes out of them or else there’s no point in having them online in the company’s IT ecosystem.</p><p>In my experience, business systems do tend to be pretty accurate, if only because they have to be. But they cannot possibly be perfect. They were designed and built by humans, and because they generally depend on data coming from other (imperfect) systems or from (imperfect) humans who have to enter data into the system, or both. For example, a colleague of mine had her first name misspelled by the HR team when they onboarded her to the company we worked for at the time. Simple problem with a simple fix, right? Except that by the time anyone noticed it, the mistake had rippled through every other business system in the company that knew of her existence — we were very efficient that way. Her name was even spelled wrong in her company email address. I asked her why they didn’t correct it, and she said that everyone she mentioned it to had thought it would be too much trouble to update every system that had it wrong, especially since some of those systems <strong><em>didn’t have mechanisms for making corrections to data</em></strong>. We joked that maybe she should legally change her name to reflect how our company knew her.</p><p>Sometimes mistakes don’t matter much, like my friend’s email address. That would have no impact on company profitability, nor on her quality of life. Or when you are training an artificial intelligence engine on a huge data set, maybe a record or two being wrong won’t have a material impact on the results because the weight of the correct data might make the mistakes mostly irrelevant. But sometimes they do matter — say, for tax filings, or if checks are being written based on the data in the system. Aye, and there’s the rub — because perfection is so hard to attain.</p><p>In my experience, technologists tend to think in terms of “zero”, “one”, or an undefined “many” instances of a particular condition when they develop data or process models. But operations people tend to approach the world in terms of “none”, “a couple”, “a few”, or “tons”. With respect to the condition of zero data corrections anticipated to be needed per month (or feed, or other unit)? Great, it’s easy to build a system to support that. Or if one or two corrections are generally needed, especially if we know they’re likely to be there and what kind of mistakes they might be? Not bad, just build in a simple manual correction option, and you’re probably good to go. Tons of corrections needed? That’s going to need bulletproof data extraction, management, and editing techniques, and you will want to make them a core part of the system architecture.</p><p>The more annoying condition, though, is the “a few” problem. Maybe you have a system that handles 1M rows of data per period, and historically there have been around 300 bad rows per feed. The system is not perfectly accurate, but it’s not known to be a major data manipulation monster either. It’s just slightly wrong. The big huge expensive data management techniques for the “many” or “tons” scenario could be built in, but sometimes that’s like swatting a fly with a sledgehammer. The manual correction route might be the right way to go, but it might not. Sometimes the mistakes aren’t expected to be caught until after checks have been written. And sometimes there are just too many problems to be satisfactorily corrected manually, perhaps, especially if there is no expectation that the mistakes will be apparent enough to know what they are or how they will need to be corrected.</p><p>When you are designing a business system, this is a situation that you must look out for. Proactively ask the users of the system you are replacing or upgrading about how often data consumed or created by the system will be known to be incorrect, and what are the operational impacts of that. Can you head off the inaccuracies at the pass by preventing them from occurring? Absolutely, try to do that. But if they’re based on data from upstream systems over which you have minimal control, or on flawed business processes wrapped around the system (“We have a lot of manual overrides because the VP doesn’t like the results we report!”), that might be a fix with tentacles that need to reach deep into the ecosystem. You might not be able to systematically prevent bad data from getting in or bad processes from invalidating the good data you have.</p><p>And the next question to ask is whether there are going to be downstream impacts from bad data in your system. And further, if and when you correct the data in your system, will that have downstream implications too? Will the downstream system be aware of the change so that it can be brought in line with the more accurate data once you find it? Will it have generated meaningful results that must be corrected and communicated further downstream? If the system gets audited, will you be able to justify the trail of corrections? If the answer to any of these questions is, “aw man…”, then you need to incorporate the system data correction requirements into your solution.</p><p>Sometimes that’s really hard, by the way. But dealing with a system that cannot be corrected without adjacent systems failing is hard too. The lesson here is that one measure of system perfection is in how it deals with imperfection in this imperfect world.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dab2f258ca73" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The System Data Life Cycle: The Care and Feeding of the Facts and Figures Living in your Enterprise]]></title>
            <link>https://david-kelly-system-thinker.medium.com/the-system-data-life-cycle-the-care-and-feeding-of-the-facts-and-figures-living-in-your-enterprise-eef4e1984f56?source=rss-6a6314370fc3------2</link>
            <guid isPermaLink="false">https://medium.com/p/eef4e1984f56</guid>
            <category><![CDATA[dependencies]]></category>
            <category><![CDATA[best-practices]]></category>
            <category><![CDATA[data-management]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[systems-thinking]]></category>
            <dc:creator><![CDATA[David Kelly]]></dc:creator>
            <pubDate>Thu, 23 Jul 2020 19:17:17 GMT</pubDate>
            <atom:updated>2020-07-23T19:24:40.400Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/923/1*xxTY0OFwV5xolPADwwP6sQ.png" /><figcaption>Everything affects everything</figcaption></figure><p>It is a truth universally acknowledged that a row of data pulled from a company’s source systems — especially a system of record for a given domain — ought to be the truth, ideally. And so it is, more or less. Eventually. System interactions, operations, decision making, compliance — these all depend on the trustworthiness of the data in relevant systems. And mostly, the trust in the data is not misplaced. Mostly.</p><p>My thesis is this: data has a life-cycle. It is created by whatever processes are brought to bear — a person is hired, or some widgets are sold, or some other event of importance to your company occurs — and it gets entered somehow into the correct system for managing events of its type. Over time, some of the records of the events (but likely not all, nor even a majority) will be discovered to be incorrect in some way. Perhaps someone fat-fingered the data entry from a hand-written form, or the person who filled out the form wasn’t entirely certain of the meaning of a field, or circumstances changed that made an attribute wrong in retrospect. So that event’s data must be changed in whatever manner the system supports. And the fastest-cheapest-easiest way to change the data is to overwrite it in the system — making it a <strong><em>stateless</em></strong> change. With this kind of change, we know what the world looks like <strong><em>right now</em></strong>, but we cannot tell you what it looked like yesterday.</p><p>Systems are designed to solve the problems or processes they are supposed to address — obviously. But they are not always implemented in such a way that they can address other systems’ problems — again, not surprisingly. I mean, how would you even do that? You work with the requirements you are given, and if you are building an HR system or an accounting system, your requirements tend to go deep into the specifics of your particular domain, but with much more superficial requirements provided around how other systems, users, and reports might access whatever data is living in the system you are building. We all do the best we can to get along with each other, of course, but in a crunch, my known requirements take priority over your hypothetical ones when designing or implementing a system. That’s just a matter of human nature and the constraints of tight budgets and schedules.</p><p>Then add to that the design paradigms that we’ve inherited from earlier times when processing and storage were much more expensive than they are today. Maximum efficiency in operations and storage were a prime consideration, while the subtle nuances inherent in data interactions were not always desirable enough to build in.</p><p>And that’s not necessarily a bad thing. If all you need to know is that the Great Lakes region sold some X19N HypoWidgets — oops, make that <strong><em>X19M</em></strong> HypoWidgets — then having the right data in the system is the happy outcome. You might not care about the history of our misunderstanding of the event — all that matters is that we have it right at this moment.</p><p>But here’s the rub. The system of record for widget sales is deemed ‘accurate’ as of this (or any) moment, and that’s pretty much all it cares about. But anyone who uses data from the system to manage other operational or analytical processes might feel differently about it. The commission system cares because X19N widgets are commissioned at 4.5% of revenue, while X19M widgets get only a 3% commission rate. We just overpaid the account rep for the sale and good luck getting that money back without a lot of backtalk from the sales person. And the supply chain system just ordered a bunch of Nano-Rugalators to enable the assembly of replacement X19Ns, whereas the X19Ms use Micro-Rugalators. So the order we placed is for the wrong part, and now we’ll have an excess of Nanos and a shortage of Micros, and that could cut into our X19M production and sales. And don’t even get me started on what you’ve done to the analytics boffin who is trying to use predictive analytics to forecast sales and revenue.</p><p>The biggest challenge downstream systems face is that there might be no systematic way to learn that the data they depend on has changed, nor what particular attributes of the data have changed. Maybe a change to data is meaningless, but how do they know unless they are informed about what’s changed? If the HR system changes an employee’s shirt size from “XL” to “L” (gotta give them the right sized tee-shirt at the company picnic), maybe the commission system won’t care. But if the job title changes from “Assistant Manager” to “Manager-in-Training”, that could have a financial impact on someone somewhere. But either way, how does the downstream system even learn about the correction?</p><p>Data movement between systems can be designed to look for changes in state between yesterday’s snapshot of the world and today’s, and pass on the deltas to such systems that care, but that’s not always a cheap or easy thing to do. And what if it’s the users of the downstream system who discover that the upstream data is wrong? Back to our commission example, sales reps know perfectly well how much commission they should earn for the sale of widgets. If you overpay, they might even tell you that you got it wrong. If you underpay, they absolutely will inform you. So now the commission system is discovering that that sales data is incorrect. How should they handle that? Communicate the change back upstream in the hopes that the data will be corrected and reloaded? Some systems can be made to do that, but some can’t. Or overwrite the sales data they pay on? That leaves us with two trusted systems that are now out of sync with each other. And depending on how the system interactions have been defined, it’s absolutely possible that the downstream system will get an even later feed from the upstream system that overwrites the corrected data to go back to the bad condition — say, changing the color of the sold widgets, but leaving the X19N model number that was wrong in the first place. Now the incentive system will scramble to re-right the re-wronged calculation of the data.</p><p>Is there a prescription here? Yes, but not a very precise one. When pondering the requirements and design of downstream systems — systems that are dependent on source systems for some or all of their data — you must look beyond the rules and calculations that your new system is designed to perform. Think about what happens when the source systems get it wrong. Ask yourself a couple of questions: how will the downstream system know a correction was made, and what should happen the second — third — nth time it sees the record of an event. Whenever possible, implement systems <strong><em>statefully</em></strong> — with an historical record of the known changes identified by effective dates.</p><p>Many of these ideas are really about operational policies and procedures, not data or processing. But when money might change hands based on what each system does, it’s well worth the exercise of documenting the new future state of operations, bearing changes to data firmly in mind. The system you’re designing might not care, but I promise that all the related systems in the enterprise certainly will. It’s not enough to get the right answer the first time — you must get it right every time.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eef4e1984f56" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>