A lab mate of mine, who had already accepted a professorship at another university, gave me one of his start-up projects. By agreement, as I built the experiment, I sent him copies of my drawings, circuit diagrams, and source code, letting him reproduce my work almost concurrently.
That became my thesis, and the technical work became my ticket to industry.
Often, dissertations bear little resemblance to the proposed project.