<?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[asurion-product-development - Medium]]></title>
        <description><![CDATA[Technical insights and real-world perspectives on AI, software engineering, and product development from the teams at Asurion. - Medium]]></description>
        <link>https://medium.com/asurion-product-development?source=rss----ce3c0b236410---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>asurion-product-development - Medium</title>
            <link>https://medium.com/asurion-product-development?source=rss----ce3c0b236410---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 06:20:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/asurion-product-development" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[What We've Learned 3 Years into Harness Engineering]]></title>
            <link>https://medium.com/asurion-product-development/what-weve-learned-3-years-into-harness-engineering-1e8e01943661?source=rss----ce3c0b236410---4</link>
            <guid isPermaLink="false">https://medium.com/p/1e8e01943661</guid>
            <category><![CDATA[llm-evaluation]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[agent-harness]]></category>
            <category><![CDATA[harness-engineering]]></category>
            <category><![CDATA[enterprise-ai]]></category>
            <dc:creator><![CDATA[Bassim Eledath]]></dc:creator>
            <pubDate>Tue, 20 Oct 2026 13:03:09 GMT</pubDate>
            <atom:updated>2026-10-20T13:03:07.701Z</atom:updated>
            <content:encoded><![CDATA[<h3>What we’ve learned 3 years into Harness Engineering</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wA3iNhcy8Ek7KEX_ZzTPeA.png" /></figure><p>Putting a great model in a bad harness is like putting Usain Bolt in flip-flops. We saw this a little while ago with <a href="https://openai.com/index/how-two-settings-tripled-our-arc-agi-3-scores/">GPT-5.6 Sol performing poorly on ARC-AGI-3 because of two mismanaged settings: retained reasoning and compaction</a>. The default harness of the benchmark discarded the model’s reasoning after each move and dropped earlier actions as context filled up, so it kept starting over. Once both were enabled, the score nearly tripled from 13.3% to 38.3%.</p><p>At Asurion, a good harness is the difference between a customer getting the help they need and a conversation going in circles. We’ve been toiling with agentic frameworks since GPT-3.5, helping customers with problems as varied as a tablet that won’t charge, collecting the details a human expert needs to pick up a case, or activating a brand-new phone. This post traces how that thinking evolved over three years, culminating in AURA: a single harness we now use across many of our conversational AI use cases.</p><h3>The early days: decision trees</h3><p>One of our early production use cases was tech troubleshooting over chat. A customer opens a session with something like “my phone won’t stop ringing,” and we walk them through a sequence of steps to diagnose and fix it. That sounds simple, and on the happy path, where the customer answers exactly as we expect at every turn, it is. But real sessions are rarely that straightforward. Customers often describe their problem loosely, so we first have to work out what they actually mean via clarifying questions (like “do you have an iPhone or an Android?” since each has different steps), and even after we have those preliminary details, they might switch intents midway through. For example, they might abandon the ringing problem three steps in to ask why their texts suddenly won’t send.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e5HC1zq_KZpo3QANf0EQWA.png" /><figcaption>Decision trees choose the next troubleshooting step</figcaption></figure><p>Back when we didn’t have reasoning models, we had to rely on the harness to handle all of that messiness. Our first system, like many at the time, was built on LangChain and Haystack, and its intelligence was really two large hand-written decision trees. The first was a gatekeeper that ran on every message and asked a few things: should we even be troubleshooting right now? Is the customer asking for a human? Is this really a billing or account issue we can’t touch? Then we had a second tree that decided the actual troubleshooting move (or next best action): which device we’re on, which step comes next, and whether the customer had switched problems or was ready to give up and talk to a person. We also had several binary classifier LLMs that we called checkers, which fed those trees the yes-or-no facts they branched on, each answering one narrow question like “is the issue resolved?” or “are they ready for the next step?”</p><p>It was a lot. It gave us predictable behavior and kept the model on a short leash, but it was also an incredibly large codebase that was becoming overbearing to manage. Worse, it was rigid and very difficult to adapt to new use cases, particularly the one that had just popped up: guiding a caller through a structured information-collection flow over the phone, gathering the details a specialist needs to pick up their case (now an important use case for us).</p><h3>The voice harness: state machines and latency</h3><p>So we built a second harness from scratch, this one specifically focused on voice. We did a few things differently this time:</p><ul><li><strong>Fewer dependencies:</strong> No more LangChain or Haystack. By that point, the third-party frameworks were costing us more than they saved. The non-domain-focused code of a harness is comparatively very light and was not worth outsourcing for us.</li><li><strong>An explicit state machine:</strong> We modeled the customer call as a finite state machine where each “phase” of the call (such as the intent detection phase, clarifying questions phase, etc.) is a state, and the LLM during any phase can emit a signal to tell the engine to stay, advance, or hand off to a human agent (signals here are just string flags like “ESCALATE”). For example, when a caller says, “I need to report a problem with my tablet,” the following happens in order:</li><li>The LLM in the intent detection phase figures out what the call is about, tags it report_issue, and returns COMPLETE because intent has been figured out, so the engine advances to the next phase, clarifying questions, to collect the details the specialist will need.</li><li>The LLM in the clarification phase asks for those details, like “when did you first notice it?”, returning STAY to keep asking until it has them, then COMPLETE.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9f0ZLD6yDocRoalw_FwOWA.png" /><figcaption>A state machine guides each phase of the call</figcaption></figure><p><strong>Latency optimizations:</strong> Waiting 5 seconds for a response on chat is okay (expected, even) but over a phone call it’s unbearable. So we split the work in two, a pattern we call the gateway-response architecture: one model decides, the other model tunes the wording. Say the bot just asked “when did you first notice this problem?” and the caller says “yesterday.” The first model, the gateway (smarter but slower), doesn’t write the reply at all. It just emits structured output, something like {&quot;answer&quot;: &quot;past&quot;, &quot;valid&quot;: true}, meaning the caller gave a valid answer and it’s a date in the past. Then the second model, the response model (faster), formats the already-chosen next question into natural wording. The gateway model stays fast because it emits a few tokens instead of sentences, and the response model is quick because formatting is lighter than reasoning about what to do. Meanwhile the safety checkers (is the caller frustrated? asking for a human?) are designed so they don&#39;t add latency to the turn. In our experiments, running two models sequentially like this not only improved response quality; it was also surprisingly faster than having a single model (with a larger prompt) do everything end-to-end.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MAvpZU5BbQfFuKMitwwrBw.png" /><figcaption>One model decides, another words the response</figcaption></figure><p>This harness did its job well, but like the troubleshooter before it (and the many other harnesses we were maintaining), it was purpose-built and overfit for a single job. Before long, we were managing several harnesses at once, each specialized for its own purpose. As usage of our services scaled, so did the maintenance burdens. If our LLM gateway changed its request schema, all our client services across the harnesses would need to be updated. A lot of duplicated effort.</p><p>There was clearly a strong need for consolidation, and when reasoning models became fast enough for conversational AI, this finally became possible. When you can finally trust a model to reason, harness engineering becomes much simpler (by goal, not practice). In essence, your harness only has two responsibilities:</p><ol><li>Getting the right context to the LLM</li><li>Exposing the right set of tools/actions.</li></ol><p>And you leave the model to reason about the rest. It is worth pausing here to admire the simplicity of that as the rest of the blog post addresses the implications of it.</p><h3>AURA: one harness, many contributors</h3><p>This realization resulted in the framework we now use called AURA (Asurion Unified Real-time AI). It is one harness designed to power any conversational AI use case, across channels (chat and voice today).</p><p>At the heart of AURA is what we call a “contributor,” which is a plugin that exposes context and/or tools, and can be active or inactive. Some examples:</p><ul><li>In some deployments, we have an intent detection contributor that becomes active at the beginning of the conversation and exposes context about available intents and tools such as record_intent, which the LLM calls once it’s confident about why the customer reached out. Once the intent is recorded to state, the intent detection contributor becomes inactive.</li><li>The troubleshooting contributor injects the user’s device and the steps tried so far, with tools to log each step or flag that the customer is blocked.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S6F0i6SPkr5GhT3xCoWanw.png" /></figure><ul><li>RAG? Also just a contributor! It exposes a search_kb tool, and when the LLM calls it, the contributor runs the search and injects the matching articles right back into context.</li><li>We have contributors for channels too. For example, when a session is live voice, a contributor switches on that adds system prompt instructions to keep responses short and conversational.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SN3h1PZ3oVYIb0cCpsVBUg.png" /><figcaption>Each contributor provides context and tools</figcaption></figure><p>Notably, many of our deployments have an escalation contributor that is always active because a user may ask for a human agent at any time, and that exposes the necessary context and tools for the LLM to route to a human.</p><p>Under the hood, a contributor is just an object that answers three questions about the current state:</p><ul><li>Am I active? Should this contributor participate in the current turn at all?</li><li>What context do I inject? The instructions or state the LLM needs while I’m active.</li><li>What tools do I expose? The actions the LLM is allowed to take while I’m active.</li></ul><p>Here is a grossly simplified version of what an intent detection contributor looks like:</p><pre>class IntentContributor(Contributor):<br>    def is_active(self, state, user_input) -&gt; bool:<br>        return state.intent is None              # active until an intent is on state<br><br>    def get_injections(self, state, user_input) -&gt; list[ContextInjection]:<br>        return [ContextInjection(&quot;intents&quot;, f&quot;Figure out why the customer is reaching out. Options:{INTENTS}.&quot;)]<br><br>    def get_tools(self, state) -&gt; list[ToolDef]:<br>        return [record_intent]                   # records the intent to state</pre><p>Why can’t the contributors be active all the time? The obvious answer here is noise. Every extra instruction and tool you hand the model is one more thing it can misread or misfire, and a longer prompt is slower and more expensive on every single turn for context the model was never going to use.</p><p>A natural follow-up question may be “why not have some semantic matching for contributors similar to how Claude Code has <a href="https://platform.claude.com/docs/en/agents-and-tools/tool-use/tool-search-tool">tool search</a>?” Well, besides keeping context lean, contributors are the way to have some form of steerability. For example, if an action isn’t part of a given use case, we simply don’t load the contributor that provides it, so the model never has that tool to call, however the customer phrases the request. (We still instruct the model not to promise outcomes it can’t deliver: removing a tool removes the action, not the temptation to talk about it.) So being able to disable contributors is as important as being able to enable them.</p><p>The big payoff with contributors being these modular units of context/actions is composability. Any new client, for any use case, for any channel, is now just a list of contributors.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BD9QdQyV7X5LDKcoYQOacw.png" /><figcaption>Different use cases compose different contributors</figcaption></figure><h3>The rest of the harness</h3><p>Beyond contributors, there are other primitives of AURA worth briefly mentioning:</p><ul><li><strong>State:</strong> Typed, lives in an in-memory cache. If a newer turn starts on the same conversation while an older one is still running, the older turn is detected as stale and its write is discarded instead of overwriting newer state.</li><li><strong>Checkers:</strong> Small validators that review the model’s replies (if configured). They can flag a reply, attach an action like an escalation, or rewrite it. They’re an additional layer of review on top of the boundaries contributors already set.</li><li><strong>Background reasoning:</strong> A stronger model runs in the background after each turn and leaves a hint that the usually smaller, faster main model picks up on the next turn. The customer never waits on it, and if a hint arrives too late to be relevant, it’s simply dropped.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2rdvUO_6hA6SUAJ70lIV-g.png" /><figcaption>Background reasoning leaves hints for the next turn</figcaption></figure><h3>Observability</h3><p>A harness engineering blog post wouldn’t be complete without us addressing observability in some way. We trace/record every turn of every conversation end to end through our observability platform, so any production session can be pulled back up, replayed, and inspected span by span, from the context each contributor injected down to every tool call the model made.</p><p>That tracing is also what powers what we call “expectations”, our umbrella term for the two forms of tests that guard the harness. Benchmarks are fixed expectations checked against a real turn or conversation. Some are blocking: verifiable, binary things that must always hold, and we treat a regression on any of them as a release blocker. For example, when a caller asks for a human, the bot <em>must</em> raise the escalate flag. If that does not hold true we cannot push to prod.</p><pre>async def test_agent_request_escalates():<br>    outcome = await run_turn(<br>        TurnInput(session_id=&quot;t-1&quot;, client_id=&quot;example_client&quot;, user_message=&quot;just get me a human&quot;),<br>        client=example_client, store=InMemoryStateStore(),<br>    )<br>    assert any(a.type == &quot;escalate&quot; for a in outcome.actions)</pre><p>Others are non-blocking: expectations we don’t pass every time given the current state of the model and architecture, but that we steadily push toward 100%. A customer says roughly when something happened and the LLM has to turn that into the right date, the kind of thing that’s correct most of the time but not always.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SERd4cPUqa8IEtO_b9kjuQ.png" /><figcaption>A Non-blocking benchmark</figcaption></figure><p>Simulations are our third type of test and they are like integration tests: an LLM plays the customer across a whole conversation (say, a customer who isn’t very technical setting up a new phone and getting stuck halfway through), and success is more subjective, but it’s an important qualitative gate before we ship. Simulations can still include verifiable expectations, like “somewhere in this conversation the bot must call record_intent.” Between the two, we cover the bases: the things that must not regress, and the messy end-to-end behavior we can only really judge by playing it out.</p><h3>A shift in roles</h3><p>Stepping back, AURA is logically (as well as in code) separated into three layers: config, contributors, and core.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bnPvTVvno3NhdkeCVQS9Uw.png" /></figure><ul><li>Config is the client layer, pure configuration that composes contributors into a specific product, owned by the teams closest to each client or use case.</li><li>Contributors are the reusable plugins we talked about.</li><li>Core is the engine underneath: the turn loop, state in an in-memory cache, tracing in our observability platform, the client for our internal multi-provider model gateway, etc.</li></ul><p>Core lives in its own repository on purpose, because it turns out not to be specific to conversational AI at all (one of our internal tools, a slide-deck creator, runs on the same core with an entirely different set of contributors).</p><p>A surprising byproduct of this is how our roles have been redefined by this architecture. We used to spend our time writing long prompts and standing up whole harnesses; now the job is mostly writing contributors. When a new client, use case, or channel shows up, the first question is no longer “what pipeline do we build?” but “what does the model need to see and be able to do here, and which contributors provide it?” The ML teams get better at building reusable contributors, and the client teams get faster at composing them into products.</p><h3>What’s next for AURA</h3><p>Two things we’re working on next:</p><ol><li><strong>AURA as an agent runtime:</strong> Everything so far is turn-based: a message arrives, a turn runs, a reply goes out. But some problems don’t wait for the customer to respond (they have to be proactive). For example, an internal assistant that supports human experts live during a call, where the model has to decide not just what to say but whether to say anything at all. So we’re designing the next version of AURA as an agent runtime that can act on events, not just messages.</li><li><strong>AURA as a platform:</strong> A great harness gets you a great agent, but keeping it great, or even improving it based on user feedback, is its own problem. So we’re building a platform where the teams closest to each use case can keep their agent healthy without touching framework code. They’ll be able to easily review and filter problematic conversations in production, group them by topic, and create benchmarks and simulations. We’re currently piloting this.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1e8e01943661" width="1" height="1" alt=""><hr><p><a href="https://medium.com/asurion-product-development/what-weve-learned-3-years-into-harness-engineering-1e8e01943661">What We&#39;ve Learned 3 Years into Harness Engineering</a> was originally published in <a href="https://medium.com/asurion-product-development">asurion-product-development</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TTEs vs. Traditional Embeddings: What’s the Difference?]]></title>
            <link>https://medium.com/asurion-product-development/ttes-vs-traditional-embeddings-whats-the-difference-89c5a8f83f73?source=rss----ce3c0b236410---4</link>
            <guid isPermaLink="false">https://medium.com/p/89c5a8f83f73</guid>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[generative-ai]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Mastan Pasha Shaik]]></dc:creator>
            <pubDate>Wed, 16 Aug 2023 15:54:49 GMT</pubDate>
            <atom:updated>2023-08-16T15:54:49.089Z</atom:updated>
            <content:encoded><![CDATA[<p>Word embeddings are a type of machine learning technique that is used to represent words as vectors. This allows computers to understand the meaning of words and their relationships with each other. There are two main types of word embeddings: TTEs and traditional embeddings.</p><p>TTEs (Transformer-based Token Embeddings)</p><p>TTEs are trained on a large corpus of text using a transformer neural network architecture. This allows them to capture more complex relationships between words than traditional embeddings. TTEs are also contextualized, which means that they take into account the context in which a word is used. This makes them more accurate for tasks that require understanding the context of a word, such as natural language inference.</p><p>Example:</p><p>The word “king” can be represented as a TTE vector with 100 dimensions. Each dimension of the vector represents a different aspect of the meaning of the word “king.” For example, one dimension might represent the concept of royalty, another dimension might represent the concept of maleness, and another dimension might represent the concept of authority.</p><p>The TTE vector for the word “king” would be close to the TTE vectors for other words that are related to royalty, such as “queen” and “prince.” It would also be close to the TTE vectors for words that are related to maleness, such as “man” and “boy.” And it would be close to the TTE vectors for words that are related to authority, such as “boss” and “leader.”</p><p>Here is an example of how to train a TTE model with TensorFlow.js:</p><pre>import * as tf from &quot;@tensorflow/tfjs&quot;;<br><br>// Load the text data<br>const textData = tf.data.TextLineDataset(&quot;data/text.txt&quot;);<br><br>// Tokenize the text data<br>const tokenizer = new tf.TextTokenizer({<br>  numWords: 10000,<br>});<br>tokenizer.fit(textData);<br><br>// Create the TTE model<br>const model = tf.keras.Sequential({<br>  layers: [<br>    tf.keras.layers.Embedding(10000, 128),<br>    tf.keras.layers.LSTM(128),<br>    tf.keras.layers.Dense(100, activation: &quot;softmax&quot;),<br>  ],<br>});<br><br>// Train the TTE model<br>model.compile({<br>  optimizer: &quot;adam&quot;,<br>  loss: &quot;categorical_crossentropy&quot;,<br>  metrics: [&quot;accuracy&quot;],<br>});<br>model.fit(textData, epochs: 10);<br><br>// Save the TTE model<br>model.save(&quot;model.h5&quot;);</pre><p>This code first loads the text data from a file called &quot;data/text.txt&quot;. Then, it tokenizes the text data using the tf.TextTokenizer class. The tokenizer will convert each word in the text data to a unique integer ID.</p><p>Next, the code creates the TTE model. The TTE model consists of three layers:</p><ul><li>An embedding layer that converts the integer IDs to 128-dimensional vectors.</li><li>An LSTM layer that learns long-term dependencies in the text data.</li><li>A dense layer that outputs a probability distribution over 100 classes.</li></ul><p>The code then trains the TTE model on the text data for 10 epochs. After the model is trained, it is saved to a file called &quot;model.h5&quot;.</p><p>Traditional Embeddings</p><p>Traditional embeddings are trained on a smaller corpus of text, using a simpler neural network architecture. This means that they are not able to capture as complex relationships between words as TTEs. Traditional embeddings are also static, which means that they do not take into account the context in which a word is used. This makes them less accurate for tasks that require understanding the context of a word.</p><p>Traditional Embedding Example:</p><p>The word “king” can also be represented as a traditional embedding vector with 100 dimensions. However, the meaning of the word “king” is not as well-represented in the traditional embedding vector as it is in the TTE vector. This is because the traditional embedding vector is not trained on a large corpus of text, and it does not take into account the context in which the word is used.</p><p>The traditional embedding vector for the word “king” would be close to the traditional embedding vectors for other words that are similar in spelling, such as “kingly” and “kingdom.” It would also be close to the traditional embedding vectors for words that are related to power, such as “authority” and “control.”</p><p>Here is an example of how to use pretrained traditional embeddings with TensorFlow in Python:</p><pre>import tensorflow as tf<br><br># Load the pretrained embeddings<br>embeddings = tf.keras.models.load_model(&quot;https://tfhub.dev/google/tfjs-text/universal-sentence-encoder/4&quot;)<br><br># Create a text classification model<br>model = tf.keras.Sequential([<br>  embeddings,<br>  tf.keras.layers.Dense(10, activation=&quot;softmax&quot;),<br>])<br><br># Train the text classification model<br>model.compile(optimizer=&quot;adam&quot;, loss=&quot;categorical_crossentropy&quot;, metrics=[&quot;accuracy&quot;])<br>model.fit(textData, epochs: 10);<br><br># Save the text classification model<br>model.save(&quot;model.h5&quot;);</pre><p>This code first loads the pretrained embeddings from the TensorFlow Hub. The pretrained embeddings are a set of 100-dimensional vectors that represent the meaning of words.</p><p>Next, the code creates a text classification model. The text classification model consists of two layers:</p><ul><li>An embedding layer that uses the pretrained embeddings to represent the text data.</li><li>A dense layer that outputs a probability distribution over 10 classes.</li></ul><p>The code then trains the text classification model on the text data for 10 epochs. After the model is trained, it is saved to a file called “model.h5”.</p><p>This is just a simple example of how to use pretrained traditional embeddings with TensorFlow in Python. There are many other ways to use pretrained embeddings, and the specific approach that you use will depend on the specific task that you are trying to solve.</p><p>Which One is Better?</p><p>TTEs are a more powerful approach to word representation than traditional embeddings. However, they also require more training data and computational resources. For this reason, traditional embeddings are still often used for tasks where accuracy is not critical, such as text classification.</p><p>In general, TTEs are a good choice for tasks that require understanding the context of a word, such as natural language inference and question answering. Traditional embeddings are a good choice for tasks where accuracy is not critical, such as text classification and sentiment analysis.</p><p>If you notice the above examples, the TTE vector for the word “king” is more accurate and informative than the traditional embedding vector. This is because the TTE vector is trained on a large corpus of text and takes into account the context in which the word is used.</p><p>Here is a table that summarizes the key differences between TTEs and traditional embeddings:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/797/1*fLGs_Liykvl3XymbH3IMcA.png" /></figure><p>I hope this blog post has been helpful! Let me know your comments.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=89c5a8f83f73" width="1" height="1" alt=""><hr><p><a href="https://medium.com/asurion-product-development/ttes-vs-traditional-embeddings-whats-the-difference-89c5a8f83f73">TTEs vs. Traditional Embeddings: What’s the Difference?</a> was originally published in <a href="https://medium.com/asurion-product-development">asurion-product-development</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Customer Data Platform(CDP) 101]]></title>
            <link>https://medium.com/asurion-product-development/customer-data-platform-cdp-101-5e0a49a89eb7?source=rss----ce3c0b236410---4</link>
            <guid isPermaLink="false">https://medium.com/p/5e0a49a89eb7</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[digital-marketing]]></category>
            <category><![CDATA[cdp]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[customer-experience]]></category>
            <dc:creator><![CDATA[Mastan Pasha Shaik]]></dc:creator>
            <pubDate>Fri, 17 Feb 2023 21:36:56 GMT</pubDate>
            <atom:updated>2023-02-17T21:36:56.441Z</atom:updated>
            <content:encoded><![CDATA[<h3>Customer Data Platform (CDP) 101</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*y1cUtl1V47LGoJ-3fqf4qg.jpeg" /></figure><p>A customer data platform (CDP) is a marketing technology solution that allows businesses to consolidate and integrate customer data from various sources into a unified customer profile. This technology is designed to help businesses understand their customers better and personalize their interactions with them, ultimately leading to increased customer engagement and revenue.</p><p>At its core, a CDP collects and combines customer data from various sources such as online and offline transactions, website behavior, social media activity, email and mobile app usage, and other customer touch points. This data is then cleaned, standardized, and deduplicated to create a single, unified customer profile.</p><p>With a unified customer profile, businesses can gain insights into their customers’ preferences, behaviors, and needs, which can be used to create more personalized and targeted marketing campaigns. For example, a business can use a CDP to identify customers who are most likely to purchase a specific product and create a targeted email campaign to those customers.</p><p>In addition to personalization, CDPs also enable businesses to track customer journeys across various touch points, measure the effectiveness of marketing campaigns, and optimize their marketing strategies based on data-driven insights.</p><p>CDPs have become increasingly popular in recent years as businesses seek to improve their customer engagement and gain a competitive advantage in the marketplace. According to a report by ResearchAndMarkets, the global CDP market is expected to grow from $2.4 billion in 2020 to $10.3 billion by 2025, representing a compound annual growth rate of 34.0%.</p><p>Some of the key benefits of CDPs include:</p><ol><li>Improved customer experiences — With a better understanding of their customers, businesses can create more personalized and engaging experiences that drive customer loyalty and retention.</li><li>Increased efficiency — By consolidating customer data into a single platform, businesses can save time and resources that would otherwise be spent on data integration and management.</li><li>Enhanced data security — CDPs are designed to ensure that customer data is kept secure and compliant with regulations such as GDPR and CCPA.</li><li>Improved marketing ROI — By using data-driven insights to optimize marketing campaigns, businesses can improve their return on investment (ROI) and maximize their marketing budget.</li></ol><p>There are several <strong>key technologies</strong> that are used in customer data platforms (CDPs) to collect, integrate, and analyze customer data. These include:</p><ol><li>Data integration tools — CDPs rely on data integration tools to collect and consolidate customer data from various sources, including websites, social media, email, and mobile apps. These tools allow for data to be extracted, transformed, and loaded (ETL) into the CDP.</li><li>Machine learning and artificial intelligence — CDPs use machine learning and artificial intelligence (AI) to analyze customer data and identify patterns and insights that can inform marketing strategies. These technologies can be used to create predictive models and to automate personalization and targeting.</li><li>Big data and analytics — CDPs often incorporate big data and analytics technologies to manage and analyze large volumes of customer data. These technologies allow for real-time analysis and reporting of customer data, which can inform marketing decisions.</li><li>Customer identity management — CDPs rely on customer identity management technologies to create a unified customer profile that can be used to personalize marketing campaigns. These technologies allow businesses to track customer behavior across multiple channels and devices, creating a more complete view of the customer.</li><li>Marketing automation — CDPs often incorporate marketing automation technologies that allow businesses to create and execute marketing campaigns across multiple channels. These technologies can automate personalized messaging and targeting, increasing the efficiency and effectiveness of marketing campaigns.</li></ol><p>There are many vendors in the customer data platform (CDP) market, ranging from established players to newer startups. Some of the key vendors in this space include:</p><ol><li>Segment: A customer data platform that enables businesses to collect, unify, and activate customer data across various channels and tools.</li><li>Adobe Experience Platform: A cloud-based platform that offers customer data management, marketing automation, and analytics capabilities.</li><li>Salesforce Customer 360: A platform that provides a single view of the customer across multiple touch points, with capabilities for data integration, segmentation, and personalization.</li><li>Tealium: A platform that offers tag management, data governance, and customer data management capabilities.</li><li>Optimizely: A platform that provides customer data management, experimentation, and personalization capabilities.</li><li>BlueConic: A CDP that enables businesses to collect and unify customer data, create segments, and deliver personalized experiences across various channels.</li><li>Lytics: A platform that offers customer data management, segmentation, and personalization capabilities, with a focus on real-time data activation.</li><li>Redpoint Global: A CDP that provides data management, segmentation, and activation capabilities, with a focus on data quality and governance.</li></ol><p>In conclusion, a customer data platform is a powerful tool that can help businesses gain a deeper understanding of their customers and create more personalized, targeted, and effective marketing campaigns. As businesses increasingly rely on data-driven insights to gain a competitive advantage, the adoption of CDPs is expected to continue to grow in the years ahead.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5e0a49a89eb7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/asurion-product-development/customer-data-platform-cdp-101-5e0a49a89eb7">Customer Data Platform(CDP) 101</a> was originally published in <a href="https://medium.com/asurion-product-development">asurion-product-development</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Our team’s journey to perfect task management]]></title>
            <link>https://medium.com/asurion-product-development/our-teams-journey-to-perfect-task-management-8a5412bcd334?source=rss----ce3c0b236410---4</link>
            <guid isPermaLink="false">https://medium.com/p/8a5412bcd334</guid>
            <category><![CDATA[task-management]]></category>
            <category><![CDATA[product-development]]></category>
            <category><![CDATA[kanban]]></category>
            <category><![CDATA[retrospectives]]></category>
            <dc:creator><![CDATA[Curtis Hughes]]></dc:creator>
            <pubDate>Tue, 08 Nov 2022 16:59:50 GMT</pubDate>
            <atom:updated>2022-11-08T16:59:50.007Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f3LjPka_nfC3BbmLwa8Xzg.jpeg" /></figure><p>In this article I plan to discuss some recent changes our team implemented to manage our weekly tasks. I’ll start out with <strong>“the old way”</strong> to discuss some of the issues we were experiencing (discovered through a retrospective), and then lead into <strong>“the new way”</strong> that we incorporated to address those issues.</p><p>I would like to preface with a standard “results may vary” clause. These solutions are currently working for our team, but they might be completely wrong for others. Teams should continuously review, question, and iterate to improve their individual processes.</p><h3>The old way</h3><p>Before implementing the below solutions this is what our team looked like:</p><p>Each week we would meet for calibration/weekly goals (~1 hour). This consisted of updating any relevant task on the JIRA board and discussing pending items that would continue to be worked on from the previous week. It also consisted of looking through the backlog and pulling in items that should be worked on during the upcoming week. We would occasionally create new tasks during this time, but typically backlog items were added adhoc throughout the week by various team members.</p><h4>The problem…s</h4><ul><li><strong>not understanding what to do for a given task</strong> — Developers would often pick up a task and immediately have to reach out to the ux/tech/product lead to get more information on what was suppose to be done for the task. Or they would start on what they assumed to be the solution only to find out the acceptance criteria was different than they expected and they would have to start over.</li><li><strong>tasks taking a long time to complete</strong> — Often times tasks would roll over week to week.</li><li><strong>work being occasionally duplicated</strong> — Sometimes we would pick up an item and start working on it, only to find out (during standup or slack) that someone else was also working on the same thing (or there was overlap between two tasks).</li><li><strong>estimates/timelines were complete guesses</strong> — Any time a new feature or client commitment came into the pipeline we could only guess how long it would take to implement.</li><li><strong>forgetting why a task was created</strong> — Occasionally someone would grab a task and ask for some more information about the context behind its creation to find that the creator didn’t even remember what it was created for.</li><li><strong>burnout</strong>— people felt like they weren’t accomplishing a lot</li></ul><h3>The new way</h3><p>After the team’s retrospective and some ideation on how to address the above issues, this is what we pivoted to:</p><p>Each week we continue to meet for calibration and weekly goals (still ~30 min each), but we also incorporate task estimations within these meetings. This was something that we had intentionally avoided in the past because we felt that it would take too much time and in the end the same amount of work would be completed. However, it was a suggestion from one of our technical leaders (shout out to Jonathan Hughes) who found it successful at addressing some of the problems we were facing. So we decided to trial a lightweight version of it. Along with task estimations we also documented guidelines for adding new tasks to the backlog.</p><p>Task estimation for our team consists of pulling up a task, walking through the acceptance criteria (sometimes writing it in), asking questions, and verifying assumptions. Each member of the team will then throw out an educated guess on the size of the task. There are a ton of different methods for how you can estimate a task, but we decided on the <a href="https://asana.com/resources/t-shirt-sizing">t-shirt sizing</a> method because it seemed simple and easy. The goal of a task estimate is to align on a single value that represents the level of effort. By reaching a consensus on this value it ensures each member of the team understands the scope and context of the task. If someone throws out a huge number, and someone else throws out a very small number, then the task probably isn’t properly defined or it needs to be broken down into smaller subtasks.</p><p>This solved a few of the issues mentioned above (namely: “not understanding what to do for a given task”, “tasks taking a long time to complete”, and “burnout”). Because each team member has to provide an estimate, they are incentivized to understand each task independently. When a task isn’t well defined we get various estimates and know that we need to flesh out the task more thoroughly. If a task is too large we know that it needs to be broken down into sub-tasks that can be executed independently. By breaking down tasks into smaller sub-tasks the sub-task gets completed earlier which provides the feeling of accomplishment and progress.</p><p>Documenting our task creation guidelines was the other half of the solution. Because everyone on our team has the ability to add an item to the backlog we initially had various methods for task creation. Some people would add a descriptive title with no context, others would use a vague title with a quickly written description. By documenting the requirements for creating a task each member can create a task independently and the rest of the team can quickly and efficiently understand it.</p><p>Example task creation documentation:</p><figure><img alt="Our task creation guidelines" src="https://cdn-images-1.medium.com/max/1024/1*m6TnQ_WhWU9QCNLXiIaz_g.png" /></figure><p>This solved some of the other issues not directly addressed by task estimates (namely: “forgetting why a task was created” and “work being occasionally duplicated”). By specifying a template to use when creating a task each member knows exactly what information is required for others to understand the task. When a new task is added to the backlog we can quickly look at the other tasks and confirm it hasn’t already been added based on the title. If we are selecting an item for development then we can read the description and acceptance criteria to understand why the task was created.</p><h4>The problem…s</h4><p>Of course there are still problems:</p><ul><li><strong>takes extra time and we don’t always get to every task</strong> — This is an inevitable result for task estimations. Our weekly goals/calibration takes more time. We often don’t get through estimating each task in the todo column and will have to extend the meeting or asynchronously discuss them in Slack. However, for our team this is a worthy tradeoff. We find that it still takes less time than enduring the numerous problems we had before.</li><li><strong>estimates/timelines are still pretty inaccurate</strong> — This probably isn’t very shocking. Time estimations are notoriously difficult and often wrong. Our velocity varies week by week and sometimes our task estimates are completely wrong. If your primary goal is to accurately and consistently gauge timelines then task estimation alone probably isn’t the solution.</li></ul><h3>Still searching for perfection</h3><p>This is just a single example of our team’s continuous journey to improve our task management process. Obviously we will continue to iterate and improve as our team progresses. Does your team have similar problems? Do you have a better solution? Let me know in the comments.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8a5412bcd334" width="1" height="1" alt=""><hr><p><a href="https://medium.com/asurion-product-development/our-teams-journey-to-perfect-task-management-8a5412bcd334">Our team’s journey to perfect task management</a> was originally published in <a href="https://medium.com/asurion-product-development">asurion-product-development</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A/B Testing with AWS Evidently]]></title>
            <link>https://medium.com/asurion-product-development/a-b-testing-with-aws-evidently-f3b2f43a8b15?source=rss----ce3c0b236410---4</link>
            <guid isPermaLink="false">https://medium.com/p/f3b2f43a8b15</guid>
            <category><![CDATA[a-b-testing]]></category>
            <category><![CDATA[evidently]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[feature-flagging]]></category>
            <dc:creator><![CDATA[Madelyn Reyes]]></dc:creator>
            <pubDate>Tue, 25 Oct 2022 07:19:22 GMT</pubDate>
            <atom:updated>2022-10-25T07:19:22.150Z</atom:updated>
            <content:encoded><![CDATA[<p>As a software engineer, you depend on an ever-evolving set of tools to do your daily tasks. Sometimes, those tools reach their end-of-life sooner than you’d expect and you’re left scrambling to find new ones.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7XphK4FPOxOO4xDY.jpg" /><figcaption>if only we were all as hardy</figcaption></figure><p>At Asurion, we had our own custom-built feature-flagging solution that could support many of the things we needed as an organization that rapidly tests many new features. It could serve configuration values, supported weighting traffic between variations, default values and many more things that i won’t mention here.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IjacG_HrPBVDDCF_miMvWg.png" /><figcaption>Sumthin like this</figcaption></figure><p>But now, it was <em>no longer being supported</em>. 😭 So what now?</p><p>Out of the many other options that we considered, AWS Evidently looked to be the most promising.</p><p>Let’s walk through a simple setup that avoids some of the pitfalls of the <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-sample-application.html">AWS evidently tutorial</a> which leaves a lot to be desired.</p><ol><li><strong>Setting up Cognito Identity Pools</strong></li></ol><p>If you start following along with the AWS tutorial thats in their official documentation, you quickly realize that the way that they’ve set up their credentials isn’t something you should be emulating. (So why put it in your tutorial, AWS??)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d8QwAYwZ0HuN6Sp29u63zw.png" /><figcaption>Egregious behaviour</figcaption></figure><p>The alternative for an application that <em>does not </em>already<strong><em> </em></strong>have Cognito as it’s main identity store is to set up an identity pool to give your application access to the evidently app you want to set up.</p><p>In your AWS account, head over to <strong>Cognito</strong> and click Create new identity pool</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/470/1*3kuomjDMs_YfgwDFMnCj0Q.png" /></figure><p>During the creation process, make sure you enable these two <strong>very important</strong> settings as it will allow you to allow unauthenticated users permissions to call evidently.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b_Lnp4nQ5Tn_GvgxEET3bQ.png" /></figure><p>Enable Basic (Classic) Flow. This. Setting. Was. A. Pain.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BLXQ6Bgl-fwN4cu8GQEeGA.png" /><figcaption>urrgggg</figcaption></figure><p>To make a long story short, AWS applies scope-down policies to credentials vended by GetCredentialsForIdentity(The method we will be calling later.) You can’t use Cognito identity pools with unauthenticated identities to call AWS evidently. If there’s one thing that you take away from this article, it is this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0DiWJUDzNy5BMnfINGXhyQ.png" /><figcaption>booooo</figcaption></figure><p>Read more about it <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/iam-roles.html#access-policies">here</a></p><p>Setting up the identity pool will require you to create two IAM roles. One for authenticated users, and one for unauthenticated users.</p><p>The main thing to note, is to make sure to go into the inline policy of that role and add the appropriate permission for your app to be able to read the data from Evidently.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VlG5PSlYblsbtrvxmEZv7Q.png" /><figcaption>i can read, says my policy.</figcaption></figure><p>2.<strong> Setting up the Evidently project</strong></p><p>Once you’ve got the boring stuff out of the way, its time to head over to <strong>CloudWatch &gt; Application Monitoring &gt; Evidently </strong>and create your project. Read the <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently.html">Evidently docs</a>. Make a test feature. Play around with launching it. Go for a swim. Read a book. Correctly tag your resources like a good Cloud developer. But eventually, do come back here and let’s take a look at the main components to making this work.</p><p>2a. <strong>Getting the credentials</strong></p><p>Install the aws-sdk in your application if you haven’t done so already. (I’m using the <a href="https://www.npmjs.com/package/aws-sdk">javascript sdk</a>) and get your credentials.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/38bfc0a1436b0192fa4392f8a3fd91de/href">https://medium.com/media/38bfc0a1436b0192fa4392f8a3fd91de/href</a></iframe><p>The getPromise() call just makes sure that you’ve got <em>fresh</em> credentials. 🥒</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cUCW9SROI7ei44lV_kW4Tg.png" /></figure><p>2b. I<strong>nstantiating the Evidently client</strong></p><p>Once you’ve tested to make sure you’re getting the credentials you need, its time to instantiate your client.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5f9ff1f74bf41280a6782324aa3d53fd/href">https://medium.com/media/5f9ff1f74bf41280a6782324aa3d53fd/href</a></iframe><p>The config.evidently.ENDPOINT and config.evidently.REGION are specific to your region but look like this:</p><pre>evidently: { <br>    REGION: &quot;us-west-2&quot;,<br>    ENDPOINT: &quot;<a href="https://evidently.us-west-2.amazonaws.com/">https://evidently.us-west-2.amazonaws.com</a>&quot;,<br>},</pre><p>Then you can call the Evidently client’s evaluateFeature function and you should be good to go.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9f521db0600dc554c6ec0f069b905d31/href">https://medium.com/media/9f521db0600dc554c6ec0f069b905d31/href</a></iframe><p>Ok maybe not fully good to go if you work out of react + typescript like me. You gotta make your provider, wrap things in an useAsync function (If you’re not using <a href="https://github.com/streamich/react-use">react-use</a> with your react apps, you’re missing out), maybe make a handy useFeature hook for people to use in their components, handle having default values in case something breaks, etc etc… But for the most part, you’ve at least got the big pieces down and can run with it.</p><p>If you’re interested in a part 2 where i dig more into how we’ve implemented this in our react + typescript application, leave me a comment below!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f3b2f43a8b15" width="1" height="1" alt=""><hr><p><a href="https://medium.com/asurion-product-development/a-b-testing-with-aws-evidently-f3b2f43a8b15">A/B Testing with AWS Evidently</a> was originally published in <a href="https://medium.com/asurion-product-development">asurion-product-development</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Algolia Has Enriched Our Web Experiences]]></title>
            <link>https://medium.com/asurion-product-development/how-algolia-has-enriched-our-web-experiences-7d70b45e2317?source=rss----ce3c0b236410---4</link>
            <guid isPermaLink="false">https://medium.com/p/7d70b45e2317</guid>
            <category><![CDATA[asurion]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[algolia]]></category>
            <category><![CDATA[search-engines]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[George Boktor]]></dc:creator>
            <pubDate>Mon, 11 Jul 2022 17:47:44 GMT</pubDate>
            <atom:updated>2022-07-11T17:47:44.548Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B_jRfFavQEv-tZicl3EyCg.jpeg" /></figure><p>Here at Device-collection (one of many journey teams in Asurion’s product organization), we collect data — lots of data. This involves scraping device metadata from the internet, turning it into a workable format for our flow experiences, and allowing our customers and consumers the ability to quickly and seamlessly identify their device. <a href="https://www.algolia.com/">Algolia</a> is an integral part of this process.</p><h4><strong>But why is this important?</strong></h4><p>It would be useful to paint a picture of why device management and collecting device data is so important to the core KPIs of our team. An Asurion customer is typically invested in one of two things when they’re interfacing with our team’s experiences: what devices are managed and covered by their insurance plans, and how to easily file a claim on said devices. One of our central goals is to be able to aggregate user devices for their convenience as well as for our internal metrics, because understanding what devices our customers have is a crucial data point for us and the company at large.</p><p>Another advantage to having access to customer device information is the ability to easily streamline the claims experience. If a customer chooses to interact with our devices experience, add whatever devices are important to them or relevant to the plans they paid for, the immediate value of that decision is a frictionless claims process. It’s easy to envision the countless benefits to having users aggregate their data with us. It’s an entry point — the moment the data is provided is the moment the data maximizes its potential.</p><h3>Enough chatter — what <em>is</em> Algolia?</h3><p>Algolia is a search engine. Pretty simple on the surface, but this rabbit hole runs deep. Not only does Algolia provide useful interfaces for creating search indices, it also <em>optimizes</em> search queries, result payloads, and entry ordering in real time as users interact with Algolia. What this means is any team with lots of data they’d like to present to users can offload the rigorous task of storing and ordering data, as well as optimizing the search functionality of that data, to Algolia.</p><p>Algolia’s API is pretty fine-grained and allows for almost limitless customization of how queries are handled and matched to results, and how data is packaged, returned, or mutated. For example, Algolia allows <a href="https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/#adjust-the-proximity-criterion">proximity matching user queries to records</a>, <a href="https://www.algolia.com/doc/guides/managing-results/must-do/searchable-attributes/">configuration for searchable attributes</a>, <a href="https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/">typo-tolerance</a>, <a href="https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/in-depth/filters-and-facetfilters/">facet filtering to retrieve results by different attributes</a>, <a href="https://www.algolia.com/doc/api-reference/widgets/pagination/react/">pagination</a>, <a href="https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/highlighting-snippeting/react-hooks/#highlighting">string-match highlighting</a>, and more. Most of these configurations can be done from Algolia’s dashboard or in code, and Algolia exposes simple utility functions to turn local input strings into Algolia queries, and corresponding utility functions to funnel results, or <em>hits</em>, into our relevant components. The Algolia client can be configured locally with all the functionality mentioned above, and the configurations can be applied to any number of indices a consumer decides to create.</p><h4>What’s the flow of data here? Why do we need a search engine?</h4><p>A central part of the Devices enrollment experience is some sort of add flow. In this sequence, a user is generally prompted to provide a <em>brand</em>, <em>model number, </em>and <em>serial number </em>for some device. Some examples:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/962/1*H1JIKZ7RePHjyxBl05eQaw.png" /><figcaption>An example for our <a href="https://www.asurion.com/applianceplus/">Appliance+ </a>enrollment experience. A user can fill out a model number field, and Algolia auto-populates with search results that match to a model number and a corresponding brand.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1014/1*rJTKwARV6qDRjh8mTtY2Vg.png" /><figcaption>A brand selection drawer for our <a href="https://www.asurion.com/homeplus/">Connected Home</a> device confirmation page. A user can specify a brand for their device, and Algolia provides relevant results.</figcaption></figure><p>What makes our add-flow experiences streamlined for users is the ability for us to match input to results as users type, and provide relevant auxiliary data that can be mapped from field to field. For instance, if a user types in a <em>Model Number</em>, our Algolia configuration can retrieve the corresponding <em>Brand/Make</em> associated with that number stored in a record.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-dLqZSiaPIQk5nFgIWiBeg.png" /><figcaption>An example of an Algolia record composed of an <strong>objectID, make, model, and category.</strong> A search query that matches to any of these fields will return this record, and client-side, we can specify which field we’d like to render.</figcaption></figure><p>For additional ease-of-use and granularity<em>, Facet filtering</em> allows us to only retrieve Model number results from records that match the selected <em>category</em> a user chose in the previous flow page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/533/1*xnpAL2YFvZBYU1t0fyCuqg.png" /><figcaption>A <strong>Configure</strong> component provided by the<strong> react-instantsearch-dom </strong>library that gives us facet filtering control. Every search query will return a list of records, or hits, that only match to the provided category.</figcaption></figure><p>The result of this control that Algolia provides to us is a tight, easily navigable add-flow experience. Algolia allows us to refine records based on previous selections, control the number of returned hits per query, enrich our experiences with click analytics, and abstracts away the laboring process of bundling, ordering, and returning records. The final result is a painless enrollment experience:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*C3VJSD8ytaM_ZHvc.gif" /></figure><h3>Conclusion</h3><p>In software development, the tools you decide to use is sometimes the bottleneck between you and a fantastic user experience. Tools like Algolia turn a large architectural feat like creating an optimized record-based search engine into a trivial task, and frees up a lot of development space for other projects. Leaning on these tools greatly impacts our ability to deliver great experiences, and is invaluable in ultimately reaching our goal to aid our customers in finding, understanding, and identifying their devices and benefits.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7d70b45e2317" width="1" height="1" alt=""><hr><p><a href="https://medium.com/asurion-product-development/how-algolia-has-enriched-our-web-experiences-7d70b45e2317">How Algolia Has Enriched Our Web Experiences</a> was originally published in <a href="https://medium.com/asurion-product-development">asurion-product-development</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Making of a Junior Engineer]]></title>
            <link>https://medium.com/asurion-product-development/the-making-of-a-junior-engineer-9fe686e04975?source=rss----ce3c0b236410---4</link>
            <guid isPermaLink="false">https://medium.com/p/9fe686e04975</guid>
            <category><![CDATA[personal-development]]></category>
            <category><![CDATA[asurion]]></category>
            <category><![CDATA[career-change]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[apprenticeship]]></category>
            <dc:creator><![CDATA[Braedon McCoy]]></dc:creator>
            <pubDate>Fri, 17 Jun 2022 15:48:57 GMT</pubDate>
            <atom:updated>2022-06-17T15:48:57.752Z</atom:updated>
            <content:encoded><![CDATA[<h4>Asurion’s Software Engineering Apprenticeship Program</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/734/1*oVK34uHo0Kg9-6Sttd6n_A.png" /></figure><p>Think back to your first week at your very first job. Maybe you earned a degree preparing you for that field — possibly some internships or co-ops to give you some hands-on experience in that industry — or maybe you had nothing to prepare you for what was to come. Whatever your circumstances, I’m sure you learned, un-learned, and re-learned more in those first weeks and months in that role than you ever thought possible.</p><p>We have all heard of the value in “hands-on” experience, “learning the ropes,” or “on-the-job” training, and Software Engineering is no exception. Newcomers to the industry will spend their first years learning, un-learning, and re-learning the specific tools, technologies, approaches, and culture of their company. This doesn’t mean that a degree is useless, just that it’s not the only recipe for success. And if it’s not, what other recipes are out there?</p><p>At Asurion, our team’s question was, “<strong>How can we create a program that would allow us to identify talented individuals from other career paths, provide them education and training, and grow them into successful junior engineers regardless of background?</strong>”. The idea was that if we could grow someone into a junior engineer, our existing growth pipelines would take over and we could grow them from junior to senior to principal engineers and beyond. So we partnered with our HR teams, adapted themes from the Product Team Model to ensure that we were approaching this challenge iteratively and that our results would be sustainable and reproducible in cohort after cohort, and we got to work.</p><h3>Finding the right people</h3><p>We started by identifying potential candidates for this program: successful frontline employees from our call centers and customer-facing roles. These team members had demonstrated proficiency with technology, possessed diverse backgrounds, and were enthusiastic and energized by this opportunity. Many of these folks had all of the skills you’d look for in someone interested in a Computer Science degree, but did not have the opportunities to pursue such a degree. As apprentices, they would bring insights from other areas of our business that could be incredibly valuable to the engineers, product managers, and designers in their pursuit of customer feedback. They were the perfect candidates to upskill and grow into Software Engineers, and they were definitely interested! Every single person we talked to expressed interest in becoming an engineer. Many of them had worked with engineers from our teams, and were drawn to the many growing opportunities in the engineering field.</p><h3>Defining Success</h3><p>Once we had our pool of candidates, we needed to examine our success metrics. What could we reasonably expect to turn these capable employees into with a year’s investment? What tangible goals and achievable performance metrics would set them up for success in our engineering organization?</p><p>We spun up an Apprentice Role Profile Working Group, meeting regularly for a few weeks to define what success would look like, and established a role profile for an apprentice who graduated from our program. We brainstormed what core skills we hoped to develop over the course of the program, how the apprentice role would map to a junior engineer position with a four-year degree, and what skills or competencies we could expect from them after only a year of growth and learning.</p><p>We quickly agreed that applying the traditional expectations for an entry level role was not the right approach for these apprentices. Apprentices would likely require more investment from the team in their development over the first year than a new hire with a four-year degree. They would be expected to ask more questions, giving senior engineers more opportunities to grow their mentoring and coaching skills. They would require more hands-on guidance with programming tasks, allowing the teams to implement successful pair-programming practices. The challenges and benefits of having an apprentice on an engineering team were clear, and now we had a model for success.</p><h3>Recruiting Apprentices</h3><p>As we formalized our recruiting and interviewing process and spread the word to our frontline employees, we quickly found ourselves inundated with highly motivated candidates. The allure of an engineering job was attracting folks from all over the company, from roles and experience levels we hadn’t predicted! We soon had over 200 applications for five open positions in our pilot cohort. Our Asurion Certified Interviewers conducted phone screens, logic and aptitude tests, and multiple rounds of in-person interviews to ensure that we had enough data for a fair and unbiased consideration of top candidates for the program. We were thrilled about the diversity, experiences, and enthusiasm of our wider candidate pool and the impacts this program would have on diversity, equality, and inclusion efforts in our engineering organization. In the end, our pilot cohort consisted of five apprentices, including three women and four people of color.</p><h3>The First Cohort</h3><p>Our pilot cohort of the Asurion Software Engineering Apprenticeship Program started in May of 2020, quickly pivoting from in-person instruction to remote learning as the entire company adjusted to working from home. The plan was to leverage a mix of classroom instruction and on-the-job training to upskill these employees with the real-world skills they would need to be successful engineers. The first semester included a six-month engagement with Nashville State Community College, where the apprentices took courses in Programming Fundamentals, JavaScript, Typescript, C++, Python, and more. Apprentices spent half the day with their instructor, and then half the day working on course assignments with their Apprentice Mentor’s guidance. These mentors helped provide context and examples for how the classroom learning would translate to practical skills as a Software Engineer with Asurion.</p><p>The second semester of the Apprenticeship program provided six months of on-the-job training, where apprentices were embedded onto their mentor’s team. The mentor was responsible for people-leadership duties to support the apprentice, facilitating as the team welcomed the apprentice into their unique ceremonies, processes, and workload. Apprentices were empowered to take what they had learned in the first semester and put it to use. Apprentices were not expected to work individually, but instead pair programmed with their mentor to ensure they were supported and encouraged. This individualized attention and commitment to pair programming also embodied our approach to building a collaborative engineering culture, as we prioritized personal growth and knowledge sharing over any specific deadlines or product launches. We hoped that apprentices would start contributing code over these six months and would reach the level of our newly defined Associate Software Engineer role by the end of the program.</p><p>To help track their progress over these two quarters, we worked with the Tennessee Department of Labor to create a competency list, enumerating the skills and abilities we felt an Associate Software Engineer would need to be successful. This was heavily influenced by our role profile, and the list was designed to allow us to track progress towards the goal and highlight any areas of improvement or any gaps in knowledge. This competency list also went through many rounds of review before being finalized into an organized, easy-to-use, visible progress tracker. We also layered some of the ceremonies from our engineering org, including daily and weekly syncs, retros, and demos, helping us keep an eye on the progress of the entire cohort and allowing the apprentices to become more comfortable with our processes.</p><p>Throughout the first cohort of the program, we also dealt with a number of challenges and growing pains. We experienced turnover in the apprenticeship leaders, adjusted to remote work styles, and supported the apprentices as they faced drastic changes in their careers. We also learned a great deal about what made the program successful, and we worked to internalize these lessons and carry them into the second cohort that launched in 2021.</p><figure><img alt="The first cohort of apprentices pose in their cap and gown with the program manager." src="https://cdn-images-1.medium.com/max/1024/1*-_ZYH1_rIgITIVbOYh1Yhg.jpeg" /><figcaption>The first cohort of apprentices pose in their cap and gown with the program manager.</figcaption></figure><h3>The Second Cohort</h3><p>As we began recruiting for our second cohort, we were stunned to see even more interest in the program. We had our work cut out for us, with over 300 applicants, and an accelerated timeline to ensure our candidates were prepared in time to start with our new educational partner, Nashville Software School. This change in educational partner was one of the modifications we made after extensive review of the pilot cohort experience. Additional changes included redefining the Apprenticeship Mentor role, altering structure of the program, and increased the size of the cohort. We had learned so much from the pilot cohort, and in the spirit of one of Asurion’s Leadership Principles, we were ready to Reach for Success.</p><p>With more demand than ever and a clearer plan on how to set these apprentices up for success, we again hit the ground running. The mentor role from the first cohort was split into two roles, now Apprentice Mentor and Apprentice Leader. The new Leader role was meant to provide more career growth guidance and leadership support (in addition to senior engineering expertise), as those leaders had completed extensive leadership training such as Asurion’s Leadership Development Kit. The Mentor role continued to provide more hands-on support and peer level engagement with the apprentice in their day-to-day projects. By redefining these roles, we had effectively doubled both the amount and types of mentorship that apprentices would receive.</p><p>Our new partnership with the Nashville Software School also came with new changes to the program structure. Rather than the first cohort’s part-time split between course instruction and on-the-job training, the second cohort enrolled in 6 months of full-time, targeted coursework for the front-end and back-end frameworks React and Django. Having laid a full foundation in their dedicated coursework first, the apprentices were better prepared to take advantage of their practical engineering training with Asurion teams.</p><p>This additional mentorship support and more effective structure also allowed for a larger cohort size, which increased from five apprentices in the first cohort, to nine apprentices in the second, which included four women, five people of color, and one veteran.</p><h3>Future Recipes for Success</h3><p>In the end, our teams had met their original goal — we identified talented individuals from other career paths, equipped them with valuable training and skills, and provided them with unique opportunities as new junior engineers. In fact, all five apprentices from our first cohort were promoted to junior engineers at Asurion. Since then, they have helped us deliver value to our customers through improvements to our claim filing process and our account web experience, enabling localization support for French into our mobile app, improving the time to market for their product, and much more!</p><p>Looking back over the experiences of our apprenticeship program in Nashville, we are proud to have successfully launched Tennessee’s first apprenticeship program for software engineering roles. We are also honored that our Software Engineering Apprenticeship Program received the Nashville Technology Council’s Diversity &amp; Inclusion Initiative of the Year in 2021. With these milestones, we hope to continue to improve on our successes and learn from our challenges, and expand the program to more offices and career paths within the company.</p><p>When these apprentices look back to their first week at their very first position at Asurion, perhaps they never expected to be here — as highly trained, full-fledged software engineers. Still, we hope that this program has opened new doors for our apprentices, and equipped our industry with new and exciting recipes for success.</p><p>You can find more information about our career growth opportunities and see how to join us at <a href="https://careers.asurion.com/">careers.asurion.com</a>!</p><p><em>Braedon McCoy is a Senior Engineering Manager at Asurion. He was an Apprentice Mentor in the first cohort and Apprentice Leader in the second cohort of Asurion’s Software Engineering Apprenticeship Program.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9fe686e04975" width="1" height="1" alt=""><hr><p><a href="https://medium.com/asurion-product-development/the-making-of-a-junior-engineer-9fe686e04975">The Making of a Junior Engineer</a> was originally published in <a href="https://medium.com/asurion-product-development">asurion-product-development</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AsurionUI: Why A Design System Just Makes Sense]]></title>
            <link>https://medium.com/asurion-product-development/asurionui-why-a-design-system-just-makes-sense-c942cf994d30?source=rss----ce3c0b236410---4</link>
            <guid isPermaLink="false">https://medium.com/p/c942cf994d30</guid>
            <category><![CDATA[component-libraries]]></category>
            <category><![CDATA[design-systems]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[asurion]]></category>
            <category><![CDATA[engineering]]></category>
            <dc:creator><![CDATA[Nick Sigler]]></dc:creator>
            <pubDate>Thu, 28 Apr 2022 19:19:39 GMT</pubDate>
            <atom:updated>2022-04-28T20:05:23.342Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Examples of component in the design system. Buttons, checkboxes, tooltips, cards, and other interface elements are shown." src="https://cdn-images-1.medium.com/max/1024/1*m0Ozo8uPVApYvNOhDgQVHg.png" /></figure><p>If you’ve never heard of Asurion, we’re a large company headquartered in Nashville, Tennessee. Our claim to fame has historically been mobile phone protection. Mobile carriers would offer our protection plans (similar to insurance, but for phones) to their customers in their stores, and we would support those customers with tech help and an online claims service. In this model it was generally understood that our brand was invisible. Since many of our customer-facing interfaces were oriented around one of several large mobile carrier brands, the end customer was often unaware that Asurion existed. Our product teams, who were extremely proficient in user experience and interaction design, were also individually responsible for designing and building the user interfaces for their products. The resulting interfaces were beautiful, but could sometimes feel siloed or unrelated to one another.</p><p>In 2019, Asurion acquired uBreakiFix, a phone and electronics repair chain with around 800 locations in the US. The acquisition meant that in addition to offering protection plans to customers through our mobile carrier clients, we could also perform mobile device, smart home, and appliance repairs for any customer, with or without a protection plan. It also meant that Asurion would become a more visible brand, and we’d need to develop new direct-to-consumer approaches to properly support the additional market opportunities offered by the repair locations. One of the new approaches was to develop a robust design system, known internally as <strong>AsurionUI</strong>, which is what will be discussed in this article.</p><h3>What is a design system?</h3><p>Anyone you ask will define design systems a little differently, and entire books have been written on the subject, but the TLDR is this:</p><p><em>Design systems combine a brand’s style guide and visual language with a repository of reusable user interface (UI) components to facilitate the development of digital assets like web or mobile applications.</em></p><p>For example, think about a button. All websites and mobile applications have buttons to enable users to navigate or submit information. At first glance, they seem extremely simple, but there are a lot of decisions which go into the creation of a button. The brand style guide dictates the colors and font which will be used in the button, and the visual language informs things like the button shape and hover animations. In addition to those considerations, accessibility standards might provide guidance for how the button is coded to support assistive technology, like screen readers, for users with disabilities. The design system combines all of these important decisions and the associated hours of design and engineering work into simple components which can be easily reused by anyone in an organization.</p><h3>Why does Asurion need a design system?</h3><p>As our company continues to evolve its direct-to-consumer strategy, the product and marketing teams will be in constant cycles of ideation and testing. The mission of the AsurionUI team is to help teams stand up new web assets quickly and confidently. We’ll know we’re doing our jobs correctly when we see these three qualities in all of the company’s UI:</p><h4>Consistency</h4><p>During the course of an interaction with a brand, have you ever noticed a change as you moved from one part of the business to another? While these “seams” in the experience are not always visual in nature, sometimes a simple shift in color or layout can sow a seed of doubt about the trustworthiness of a brand. Asurion’s goal is to eliminate these “seams” in the experience and create a suite of services that feel unified to our customers. The design system creates a central source of truth for how digital interactions with Asurion should look and function.</p><h4>Efficiency</h4><p>Let’s go back to the button example from earlier. How long does it take to create a button as part of a digital interaction? Remember that a button is not as simple as it might seem, buttons might appear differently based on whether they have been hovered or clicked, and there might even be some animation as they move between those states. All of these considerations must be designed and engineered. When you look at the cumulative amount of hours it takes to design and build a single button, you could easily be looking at days worth of time, if not more. If you multiply that time across all the product and marketing teams in the organization, you begin to see the efficiencies which are created by having a central set of guidelines and reusable components. Asurion is a fast-paced company, and the design system helps our teams move new ideas into the market faster by reducing the amount of time spent reinventing the wheel.</p><h4>Accessibility</h4><p>One of Asurion’s key experience principles is “actually helpful”. It is essential that we are able to help <strong>everyone</strong> who needs us. This is why we take pride in making sure each component in the design system meets accessibility standards for our customers who may have disabilities or other restrictions. Maintaining appropriate color contrast ratios and ensuring that all content can be consumed via screen reader software are just a few responsibilities of the design system team. Anyone using the system to develop an experience can be confident that their work is reaching as many customers as possible.</p><p>As we move into the future, AsurionUI will continue to be an integral part of Asurion’s brand and product work. Those of us on the team are excited to help our partners across the organization to quickly and easily create seamless experiences which are considerate of everyone.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c942cf994d30" width="1" height="1" alt=""><hr><p><a href="https://medium.com/asurion-product-development/asurionui-why-a-design-system-just-makes-sense-c942cf994d30">AsurionUI: Why A Design System Just Makes Sense</a> was originally published in <a href="https://medium.com/asurion-product-development">asurion-product-development</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My personal war on if.. then.. else]]></title>
            <link>https://medium.com/asurion-product-development/my-personal-war-on-if-then-else-44a28505b169?source=rss----ce3c0b236410---4</link>
            <guid isPermaLink="false">https://medium.com/p/44a28505b169</guid>
            <category><![CDATA[asurion]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Gary Paige]]></dc:creator>
            <pubDate>Fri, 22 Apr 2022 19:58:30 GMT</pubDate>
            <atom:updated>2022-08-18T18:56:07.651Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*4Tr3kQXqlA3ID7xm0x5IhQ.jpeg" /></figure><p>Is there something wrong with if else? No. However, I have seen even senior engineers continue to extend if else conditional logic because it was easy. First a disclaimer. I do use if then else ( most often in a ternary operator form ) within my code. However, every-time I encounter one whether in a pull request or within my own code it is scrutinized. Other programming constructs can be simpler both in static complexity and readability.</p><p>Our goal should be first to simplify any nested logic. It always adds to the context we must understand. Let’s look at an example:</p><pre>const getNextStepUrl = (<br>  newDevice: MobileDeviceValue | null,<br>  oldDevice: MobileDeviceValue | null,<br>): string =&gt; {<br>  const newDev = newDevice?.toLowerCase();<br>  const oldDev = oldDevice?.toLowerCase();<br>  if (newDev === &quot;samsung (android)&quot;) {<br>    if (oldDev === &quot;samsung (android)&quot;)<br>      return &quot;/setupSamsung&quot;;<br>    if (oldDev === &quot;iphone&quot;)<br>      return &quot;/setupIphoneToSamsungWithPhone&quot;;<br>    if (oldDev === &quot;other android&quot;)<br>      return &quot;/setupAndroidToSamsungWithPhone&quot;;<br>  } else if (newDev === &quot;iphone&quot;) {<br>    if (oldDev === &quot;iphone&quot;) return &quot;/setupIphone&quot;;<br>    if (oldDev === &quot;samsung (android)&quot;)<br>      return &quot;/setupSamsungToIPhoneWithPhone&quot;;<br>    if (oldDev === &quot;other android&quot;)<br>      return &quot;/setupIPhoneToAndroidWithPhone&quot;;<br>  } else if (newDev === &quot;other android&quot;) {<br>    if (oldDev === &quot;iphone&quot;) return &quot;/setupYourPhone&quot;;<br>    if (oldDev === &quot;samsung (android)&quot;)<br>      return &quot;/setupYourPhone&quot;;<br>    if (oldDev === &quot;other android&quot;)<br>      return &quot;/setupYourPhone&quot;;<br>  }</pre><pre>return &quot;error&quot;;<br>};</pre><p>Reading this code requires keeping track of previous conditional logic and there are so many returns from this method. Testing this code requires many variations of setup for each of the branching statements. Can we focus on the core logic and eliminate the nested conditionals?</p><p>The basic algorithm is find the url based on the old and new device combinations. If no combination can be found return “error”. Using this as our core algorithm lets rewrite this as a find function.</p><pre>const SAMSUNG_ANDROID = &#39;samsung (android)&#39;;<br>const OTHER_ANDROID = &#39;other (android)&#39;;<br>const IPHONE = &#39;iphone&#39;;</pre><pre>// build a datastruct of old, new, path<br>const nextSteps = [<br> [{old:IPHONE, <br>   new: SAMSUNG_ANDROID,  <br>   path: ‘/setupIphoneToSamsungWithPhone’<br>  },<br>  {old: IPHONE, <br>   new: OTHER_ANDROID,   <br>   path: ‘/setupYourPhone’<br>  },<br>  {old: SAMSUNG_ANDROID, <br>   new: IPHONE, <br>   path: ‘/setupSamsungToIPhoneWithPhone’<br>  },<br>…<br>]</pre><pre>const getNextStepUrl = (<br>  newDevice: MobileDeviceValue | null,<br>  oldDevice: MobileDeviceValue | null,<br>): string =&gt; {<br>  const oldDev = oldDevice?.toLowerCase();<br>  const newDev = newDevice?.toLowerCase();<br>  const nextStep = nextSteps.find(step =&gt; step.old === oldDev &amp;&amp; step.new === newDev)<br>  return nextStep ? nextStep.path : “error”;<br>}</pre><p>The getNextStepUrl function is much cleaner and more improvements can be made but already we have a function with a clear execution path. After the lower case evaluation, the oldDev and newDev are used within an array find method to locate an entry with the matching old and new device. This matches our textual description of the algorithm and removes most of the if then else. We still have a ternary operator to support returning the “error” string but the others are now removed.</p><p>We did a few other refactoring too. We moved the common strings into constants and then created a data structure to describe our data. Using an array of objects allows our old and new checks to be more readable.</p><p>We now have a much easier function to test with only three primary tests needed. This refactoring may look minor but its these continual minor refactoring which can greatly reduce the complexity of code. If then is not an evil construct but is an easily understood one. This comfort and ease allow it to be used quickly but it may not provide a simple solution.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=44a28505b169" width="1" height="1" alt=""><hr><p><a href="https://medium.com/asurion-product-development/my-personal-war-on-if-then-else-44a28505b169">My personal war on if.. then.. else</a> was originally published in <a href="https://medium.com/asurion-product-development">asurion-product-development</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Software Engineer Intern: A perspective shift at Asurion]]></title>
            <link>https://medium.com/asurion-product-development/software-engineer-intern-a-perspective-shift-at-asurion-c7ab9c734cbe?source=rss----ce3c0b236410---4</link>
            <guid isPermaLink="false">https://medium.com/p/c7ab9c734cbe</guid>
            <category><![CDATA[asurion]]></category>
            <category><![CDATA[new-job]]></category>
            <category><![CDATA[intern]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[George Boktor]]></dc:creator>
            <pubDate>Fri, 01 Apr 2022 15:41:11 GMT</pubDate>
            <atom:updated>2022-04-01T15:41:11.008Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fh1bZfoQ9EtnPPdqmwX8vA.png" /></figure><h3><strong>Introduction</strong></h3><p>Day one at Asurion was an exercise in humility.</p><p>I logged into our Zoom orientation, and I was greeted with a quilted blanket of faces, mostly strangers, scrounged up from all corners of the country. Among them, return candidates, the early-careers team, and a medley of upper management, HR, and former-intern hires. What I learned quickly was Asurion placed many resources into the internship program. I’d like to say it gave me some peace of mind, but the more important takeaway for me was that I needed to invest as much into myself as they were investing into me and the others. I needed to honor that value they placed in me. We were assigned to our respective teams, assembled into Business Capstone teams, and given mentors/managers/ERG buddies. Asurion offered me extensive opportunities to learn and ample tools for success. It was my sole responsibility to take advantage of all these offerings.</p><h3>Team and Tools</h3><p>After orientation, I started working with my designated Journey Team: Device Collection. A kind of rag-tag group of really dedicated, accommodating engineers. At first, the laid-back atmosphere and nonchalance in stand-ups swindled me into thinking this would be a low-intensity work environment. I was very wrong. At first, I felt a mixture of excitement and terror when I launched Visual Studio Code and viewed our device-collection repository. I knew I had 12 weeks to seep into this codebase and learn my way around it, but on day one, staring at my screen, I felt an impossible weight on my shoulders. My first real attempt at tackling a ticket involved deep-diving into some accessibility edge cases, namely how we would want to add and organize aria-labels on certain components. It felt straightforward. What I ran into was a rabbit hole of new tools and an intense project structure. This enlightened me to the prospect of learning as my first mode of communication. Every interaction with my mentor/manager/director spun off the basic theme of learning. I was a student in more than just the software engineering sense.</p><p>I was here to soak up information. At Asurion, I also learned how to produce value for my team, and that began by showing up to meetings, contributing to tech designs, and asking pointed, meaningful questions. Rather quickly, and with a metaphorical lightbulb pulsing over my head, I discovered that asking questions, no matter how obvious or scrutable, could be contributing to more than just my understanding. There could be someone else on the team grappling with the same concept and my contribution might be as simple as asking that question for both of us.</p><h3>The Hard Questions</h3><p>Being an intern also means accepting that my only way up the ladder of understanding was leaving my ego at the door and asking the most obvious, painstakingly simple questions. How do I run the codebase? Where can I find documentation on our MX (micro-experience)? How do I access our AWS dashboard? These questions feel like givens, but they’re a ripe opportunity to network with others, interface with the codebase, and learn more than just what I asked for. How do I run the codebase? Introduced me to the fundamentals of our Single-Spa architecture and the relationship between our MX and the rest of the platform. Where can I find documentation on our MX? Rapidly pipelined me through the basics of how we spin up mono-repos, new libraries, and other documentation about our infrastructure and our e2e (end-to-end) workflow. How do I access our AWS dashboard? Exposed me to our ServiceNow application, the beating heart of our access and privileges system. An intern’s most important job is to simply ask — the learning and discovering quickly follows. If I didn’t know what to ask, I kept it simple: I asked the obvious. Asking the obvious led me to my next obvious question, and the next until I started asking questions no one had the answer to. That’s where Asurion wants me to be.</p><h3>Wrapping Up</h3><p>My last major takeaway from my time at Asurion was this: take advantage of your resources. Being surrounded by industry veterans and support systems is a breeding ground for success. Asurion invests a significant amount of time and energy into interns, and the best way to honor that investment is to take advantage of it! My ERG Buddy was indispensable for questions relating to company culture and employee expectations. My mentor, Curtis, opened his schedule completely to me for questions, concerns, or simple coffee meetings. The culture at Asurion’s intern program, from my perspective, is simple: give 100% to interns and they’ll give 100% back.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c7ab9c734cbe" width="1" height="1" alt=""><hr><p><a href="https://medium.com/asurion-product-development/software-engineer-intern-a-perspective-shift-at-asurion-c7ab9c734cbe">Software Engineer Intern: A perspective shift at Asurion</a> was originally published in <a href="https://medium.com/asurion-product-development">asurion-product-development</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>