{
  "docId": "019f6b8f-8159-75fd-8b94-b1032b0be29d",
  "docSlug": "jarvis-zero-defects-code",
  "documentTitle": "zero defects code",
  "authorId": "zero-defects-code",
  "authorName": null,
  "documentKindSlug": "deck",
  "documentKindLabel": "Deck",
  "sourceTypeSlug": "investor_relations",
  "sourceTypeLabel": "Investor relations",
  "presentationDate": null,
  "orientation": null,
  "aspectRatio": null,
  "pageNumber": 9,
  "pageCount": 10,
  "prevPage": 8,
  "nextPage": 10,
  "slideType": "key_takeaways",
  "function": "summarize",
  "density": "overcrowded",
  "nDataPoints": 0,
  "notes": "This appears to be a page from a technical guide or internal Microsoft document regarding 'Zero-defects code'.",
  "elementsJson": null,
  "metadataConfidence": 0.9,
  "imagePath": null,
  "slideHref": "/slides/019f6b8f-8159-75fd-8b94-b1032b0be29d/9",
  "deckHref": "/decks/019f6b8f-8159-75fd-8b94-b1032b0be29d",
  "deckJsonHref": "/decks/019f6b8f-8159-75fd-8b94-b1032b0be29d.json",
  "deckAnchorHref": "/decks/019f6b8f-8159-75fd-8b94-b1032b0be29d#slide-9",
  "components": [
    {
      "bbox": {
        "h": 0.25,
        "w": 0.72,
        "x": 0.14,
        "y": 0.54
      },
      "kind": "list",
      "text": "Do code reviews. Even if you're in crunch mode to fix bugs, good code reviews can find more problems and are worth the time.\nStep through new code, even small bug fixes.\nAdd asserts and state verification code.\nBe very careful when fixing bugs. Examine assumptions and verify them. Stop and think about what else you're affecting.\nWhen an area is showing severe problems, consider throwing it out and doing it over.\nUpdate function header comments; stop and document areas that everyone uses but which are not well understood.\nHave training and discussion sessions.\nHave your PAs do glass box testing.\nImplement the fix one, find one scheme.",
      "attrs": null,
      "subkind": "bullet",
      "toolName": null,
      "toolSlug": null,
      "confidence": null,
      "componentId": "2823e18d-8e75-4ef2-a57f-ab313e7c5b06",
      "frameworkName": null,
      "frameworkSlug": null
    },
    {
      "bbox": {
        "h": 0.02,
        "w": 0.72,
        "x": 0.14,
        "y": 0.83
      },
      "kind": "paragraph",
      "text": "Zero defects is a lofty goal, but it can have tangible results.",
      "attrs": null,
      "subkind": "paragraph",
      "toolName": null,
      "toolSlug": null,
      "confidence": null,
      "componentId": "2dae6a3d-c8d9-440d-ae9d-c84c2f5146ad",
      "frameworkName": null,
      "frameworkSlug": null
    },
    {
      "bbox": {
        "h": 0.05,
        "w": 0.72,
        "x": 0.14,
        "y": 0.17
      },
      "kind": "paragraph",
      "text": "When a lot of bugs have been found in the same area, there’s something seriously wrong. Find out what it is. Perhaps someone isn’t spending enough time to verify the code before checking it in. Perhaps there are serious design problems.",
      "attrs": null,
      "subkind": "paragraph",
      "toolName": null,
      "toolSlug": null,
      "confidence": null,
      "componentId": "3d1425ce-d862-4dfc-864d-74ce20118dce",
      "frameworkName": null,
      "frameworkSlug": null
    },
    {
      "bbox": {
        "h": 0.05,
        "w": 0.72,
        "x": 0.14,
        "y": 0.09
      },
      "kind": "paragraph",
      "text": "If you find something, look hard for other instances—bugs travel in swarms. Then let everyone else on the project know. It’s likely that someone else made the same wrong assumptions. Bring these up at the weekly development meetings.",
      "attrs": null,
      "subkind": "paragraph",
      "toolName": null,
      "toolSlug": null,
      "confidence": null,
      "componentId": "42f94382-4e97-44ed-9f2c-1a3d3f5730c3",
      "frameworkName": null,
      "frameworkSlug": null
    },
    {
      "bbox": {
        "h": 0.07,
        "w": 0.72,
        "x": 0.14,
        "y": 0.41
      },
      "kind": "paragraph",
      "text": "Consider using a quota system: for every bug found in your area, you must find another bug and fix it. (This is not recursive: you're free after the second fix.) The second bug doesn't have to be in the same area, or even in your code at all. This technique will motivate you to not create bugs, and it will also force you to examine the product more closely.",
      "attrs": null,
      "subkind": "paragraph",
      "toolName": null,
      "toolSlug": null,
      "confidence": null,
      "componentId": "451bbd83-4566-489e-b789-24870797666e",
      "frameworkName": null,
      "frameworkSlug": null
    },
    {
      "bbox": {
        "h": 0.06,
        "w": 0.72,
        "x": 0.14,
        "y": 0.22
      },
      "kind": "paragraph",
      "text": "When design problems do occur, be ready to throw it out and start again. You can easily spend as much time trying to patch a bad design as you can fixing it right. Take the heat: adjust the schedule if necessary, but don't force users and your team to live with mistakes that could be corrected and will compound if they're not.",
      "attrs": null,
      "subkind": "paragraph",
      "toolName": null,
      "toolSlug": null,
      "confidence": null,
      "componentId": "468a6275-9c88-4d68-8bb4-5447903638fa",
      "frameworkName": null,
      "frameworkSlug": null
    },
    {
      "bbox": {
        "h": 0.03,
        "w": 0.72,
        "x": 0.14,
        "y": 0.51
      },
      "kind": "paragraph",
      "text": "Projects that are already well advanced can still use some of the concepts of zero defects.",
      "attrs": null,
      "subkind": "paragraph",
      "toolName": null,
      "toolSlug": null,
      "confidence": null,
      "componentId": "afdf9914-90a0-40fa-adc2-b9ff63ba05b3",
      "frameworkName": null,
      "frameworkSlug": null
    },
    {
      "bbox": {
        "h": 0.07,
        "w": 0.72,
        "x": 0.14,
        "y": 0.31
      },
      "kind": "paragraph",
      "text": "A possible extension of code reviews is to have someone other than the author fix some of the bugs in an area, especially problem areas. There are many variations: assign the bug to someone who has reviewed the code in question, or assign it to someone at random. You may find that getting a new perspective on the area will help to identify the larger problem.",
      "attrs": null,
      "subkind": "paragraph",
      "toolName": null,
      "toolSlug": null,
      "confidence": null,
      "componentId": "f8d8e4c7-47b7-47a0-b976-ac421b1f4e9f",
      "frameworkName": null,
      "frameworkSlug": null
    },
    {
      "bbox": {
        "h": 0.02,
        "w": 0.13,
        "x": 0.14,
        "y": 0.29
      },
      "kind": "title",
      "text": "Reassign bugs",
      "attrs": null,
      "subkind": "headline",
      "toolName": null,
      "toolSlug": null,
      "confidence": null,
      "componentId": "7753bd92-d323-44b9-8666-5c262456df97",
      "frameworkName": null,
      "frameworkSlug": null
    },
    {
      "bbox": {
        "h": 0.02,
        "w": 0.19,
        "x": 0.14,
        "y": 0.49
      },
      "kind": "title",
      "text": "Projects in progress",
      "attrs": null,
      "subkind": "headline",
      "toolName": null,
      "toolSlug": null,
      "confidence": null,
      "componentId": "a992e05d-7780-462f-baf3-5a0b71608596",
      "frameworkName": null,
      "frameworkSlug": null
    },
    {
      "bbox": {
        "h": 0.02,
        "w": 0.08,
        "x": 0.14,
        "y": 0.81
      },
      "kind": "title",
      "text": "Benefits",
      "attrs": null,
      "subkind": "headline",
      "toolName": null,
      "toolSlug": null,
      "confidence": null,
      "componentId": "cb8477a3-ff37-4b8e-8d21-fb15966aa7f7",
      "frameworkName": null,
      "frameworkSlug": null
    },
    {
      "bbox": {
        "h": 0.02,
        "w": 0.16,
        "x": 0.14,
        "y": 0.39
      },
      "kind": "title",
      "text": "Fix one, find one",
      "attrs": null,
      "subkind": "headline",
      "toolName": null,
      "toolSlug": null,
      "confidence": null,
      "componentId": "d0ac6374-4760-4327-ae51-72480494a8ac",
      "frameworkName": null,
      "frameworkSlug": null
    },
    {
      "bbox": {
        "h": 0.02,
        "w": 0.12,
        "x": 0.14,
        "y": 0.15
      },
      "kind": "title",
      "text": "Three strikes",
      "attrs": null,
      "subkind": "headline",
      "toolName": null,
      "toolSlug": null,
      "confidence": null,
      "componentId": "d60c8eb9-61bd-4ab7-9c16-01856634e793",
      "frameworkName": null,
      "frameworkSlug": null
    }
  ],
  "metrics": [],
  "tools": [
    {
      "name": "Problem-Agitate-Solve (PAS)",
      "slug": "problem-agitate-solve-pas",
      "agent": "Storyteller",
      "layer": "slide",
      "matchId": "4a67ccde-44c8-4107-bad5-0a859df996d7",
      "evidence": "When a lot of bugs have been found in the same area, there’s something seriously wrong.",
      "confidence": 0.6
    }
  ],
  "frameworks": [],
  "arcBeats": [
    {
      "to": 10,
      "from": 9,
      "beatId": "a503c138-5111-42d0-810f-38dac2b4da12",
      "arcName": "Problem-Agitate-Solution",
      "arcSlug": "problem-agitate-solution",
      "beatName": "Solution",
      "beatSlug": "problem-agitate-solution-solution-provide-relief",
      "evidence": "The key takeaways on pages 9 and 10 provide a solution to the problem.",
      "position": 2,
      "confidence": 0.8,
      "parentBeatName": "Resolution",
      "parentBeatSlug": "resolution"
    }
  ],
  "loops": [
    {
      "to": 10,
      "from": 9,
      "name": "Jobs To Be Done",
      "slug": "53-jobs-to-be-done",
      "bestFor": "Product innovation, market entry, competitive positioning",
      "matchId": "a7ac1994-ed09-4259-bccd-9dd067180c6a",
      "evidence": "The key takeaways on pages 9 and 10 outline the jobs to be done.",
      "position": 1,
      "objective": "What are the key takeaways for achieving zero defects?",
      "structure": "The Customer's Job -> Current Solutions (Hired/Fired) -> Unmet Needs -> Our Solution Fit",
      "confidence": 0.6,
      "description": "Reframe the problem around what the customer is trying to accomplish, not what they're buying"
    }
  ],
  "imagePathAlt": null,
  "thumbSrc": null,
  "thumbSrcAlt": null,
  "locked": true
}