<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Bisecting on Ghafoor's Personal Blog</title><link>http://ghafoorsblog.com/tags/bisecting/</link><description>Recent content in Bisecting on Ghafoor's Personal Blog</description><generator>Hugo</generator><language>en</language><managingEditor>noreply@example.com (AG Sayyed)</managingEditor><webMaster>noreply@example.com (AG Sayyed)</webMaster><copyright>Copyright © 2024-2026 AG Sayyed. All Rights Reserved.</copyright><lastBuildDate>Fri, 15 May 2026 13:20:20 +0100</lastBuildDate><atom:link href="http://ghafoorsblog.com/tags/bisecting/index.xml" rel="self" type="application/rss+xml"/><item><title>Finding Invalid Data</title><link>http://ghafoorsblog.com/courses/google/it-automation-content/it-automation-python-pcert/04-troubleshooting-debugging/01-module/012-finding-invalid-data/</link><pubDate>Tue, 11 Nov 2025 14:32:19 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/courses/google/it-automation-content/it-automation-python-pcert/04-troubleshooting-debugging/01-module/012-finding-invalid-data/</guid><description>&lt;p class="lead text-primary"&gt;
This document presents a hands-on troubleshooting case study demonstrating the bisecting technique in action. It walks through identifying corrupt data in a 100-line CSV file that causes import failures, using command-line utilities to systematically narrow down the problem from 100 lines to a single malformed field, then implementing both immediate fixes and long-term preventive solutions.
&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="the-problem-scenario"&gt;The Problem Scenario&lt;/h2&gt;
&lt;p&gt;A program that reads data from a CSV file, processes it, and imports it into a database encounters a failure. A user reports that their file import fails with an obscure import error and provides the problematic file for investigation.&lt;/p&gt;</description></item><item><title>Applying Binary Search in Troubleshooting</title><link>http://ghafoorsblog.com/courses/google/it-automation-content/it-automation-python-pcert/04-troubleshooting-debugging/01-module/011-applying-binary-search/</link><pubDate>Tue, 11 Nov 2025 14:24:36 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/courses/google/it-automation-content/it-automation-python-pcert/04-troubleshooting-debugging/01-module/011-applying-binary-search/</guid><description>&lt;p class="lead text-primary"&gt;
This document demonstrates practical applications of the binary search algorithm in troubleshooting contexts. It covers bisecting techniques for identifying problematic configuration files, code commits, browser extensions, and system components by systematically reducing the search space by half with each test iteration, enabling efficient root cause identification in complex systems.
&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="binary-search-in-troubleshooting"&gt;Binary Search in Troubleshooting&lt;/h2&gt;
&lt;p&gt;The binary search algorithm provides remarkable efficiency when finding elements in sorted lists. In troubleshooting scenarios, this principle applies when testing long lists of hypotheses to identify root causes. The approach, called bisecting (dividing in two), systematically reduces the problem space by half with each iteration until only one option remains.&lt;/p&gt;</description></item></channel></rss>