{"id":12393,"date":"2026-12-06T19:32:34","date_gmt":"2026-12-06T19:32:34","guid":{"rendered":"https:\/\/purplemeanie.co.uk\/?page_id=12393"},"modified":"2026-12-06T19:32:34","modified_gmt":"2026-12-06T19:32:34","slug":"test-runner","status":"publish","type":"page","link":"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/test-runner\/","title":{"rendered":"Test Runner \u2014 Python Bench Orchestration"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The test runner is the Python tool I use to coordinate a test on the <a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/test-bench\/\">test bench<\/a>. It guides me through the sequence and gathers the evidence needed to understand what happened. The bench is the physical setup; the runner is the software orchestrating a test around it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"why-a-python-runner\">Why a Python runner?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Initially I had AI orchestrate the test instruments and bench sequence. That worked, but took too long between steps. The test runner now coordinates the sequence in Python on my Mac, prompting me for physical actions such as turning the ignition on, pressing the brake, selecting forward drive and pressing the throttle.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The <a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/vehicle-control-unit\/\">VCU<\/a> still runs the vehicle-control <a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/glossary\/#firmware\">firmware<\/a>. The runner is the surrounding test tool, not a replacement for that controller.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-gets-recorded\">What gets recorded?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The runner collects <a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/can-bus\/\">CAN bus<\/a> captures, instrument waveforms and other diagnostic information. The <a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/can-bus-sniffers\/\">CAN bus sniffers<\/a> provide independent communications records. Those records can then be compared with <a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/vehicle-control-unit\/\">VCU<\/a> logs and analysed through the <a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/software-ai-workflow\/\">software and AI workflow<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The November 27 revision added a clearer terminal view of live state and test progress. The aim is to understand what the bench actually did, not just what I hoped it would do.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"where-the-analysis-happens\">Where the analysis happens<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The runner gathers the records; the <a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/software-ai-workflow\/\">software and AI workflow<\/a> helps interpret them and develop changes. Keeping the repeatable test sequence in Python reduces the time spent waiting for AI to decide each next step, while leaving analysis and engineering review as separate work.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The <a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/vehicle-control-unit\/\">VCU<\/a> remains responsible for the vehicle-control behaviour under test. A successful runner sequence is evidence about a particular run, not proof that every operating condition has been covered.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"related-updates\">Related updates<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/purplemeanie.co.uk\/index.php\/2026\/11\/08\/2026-11-project-seven-bench-update\/\">Bench Update<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/purplemeanie.co.uk\/index.php\/2026\/11\/27\/project-seven-update-we-2026-11-27\/\">The November 27 test-runner improvements<\/a><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/test-bench\/\">Physical test bench<\/a> \u00b7 <a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/\">Component directory<\/a> \u00b7 <a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/glossary\/\">Glossary<\/a> \u00b7 <a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/powertrain-overview\/\">Powertrain overview<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The test runner is the Python tool I use to coordinate a test on the test bench. It guides me through the sequence and gathers the evidence needed to understand what happened. The bench is the physical setup; the runner is the software orchestrating a test around it. Why a Python runner? Initially I had [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":12377,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"project-seven-reference","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_seo_schema_type":"","_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"footnotes":""},"class_list":["post-12393","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/P8yl38-3dT","jetpack-related-posts":[{"id":10949,"url":"https:\/\/purplemeanie.co.uk\/index.php\/test\/","url_meta":{"origin":12393,"position":0},"title":"TeST","author":"John Martin","date":"September 18, 2025","format":false,"excerpt":"Some text....","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":8107,"url":"https:\/\/purplemeanie.co.uk\/index.php\/build-images-january-2018\/","url_meta":{"origin":12393,"position":1},"title":"Build Images &#8211; January 2018","author":"John Martin","date":"September 30, 2022","format":false,"excerpt":"Number Plates Giles and me having a Blat Redacted IVA Speed Check Redacted IVA Test Report Redacted IVA Test Certificate Redacted IVA Emissions Test Looking a little happier this time with the IVA test certificate Selfie of the car back at the start and with the various test stations stretching\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"Registered purple Caterham Seven in the garage with number plates fitted.","src":"https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2018\/01\/IMG_0311-150x150.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2018\/01\/IMG_0311-150x150.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2018\/01\/IMG_0311-150x150.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2018\/01\/IMG_0311-150x150.jpg?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2018\/01\/IMG_0311-150x150.jpg?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2018\/01\/IMG_0311-150x150.jpg?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":8080,"url":"https:\/\/purplemeanie.co.uk\/index.php\/projects\/","url_meta":{"origin":12393,"position":2},"title":"Projects","author":"John Martin","date":"September 30, 2022","format":false,"excerpt":"A technical map of Purplemeanie engineering projects, including the Caterham build, Project sEVen, ECU diagnostics, 3D scanning, engine cooling, and tooling notes.","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"Caterham 420R build archive representative photo","src":"\/wp-content\/uploads\/2017\/08\/IMG_1984-e1506632751828-600x400.jpg","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2017\/08\/IMG_1984-e1506632751828-600x400.jpg 1x, \/wp-content\/uploads\/2017\/08\/IMG_1984-e1506632751828-600x400.jpg 1.5x"},"classes":[]},{"id":6609,"url":"https:\/\/purplemeanie.co.uk\/index.php\/build-blog-index\/","url_meta":{"origin":12393,"position":3},"title":"Build Blog","author":"John Martin","date":"August 10, 2020","format":false,"excerpt":"Before we get into the index, some of you might want to watch the build time lapse video where I talk through the whole build: Build A Cateraham 420R in 30 Minutes If you're looking for a quick way of indexing the build blog... here it is: Pre-BuildIntroductionFirst Test DrivesPre-Build\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"Engine hoist holding the engine beside the Caterham chassis during the build.","src":"https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2017\/08\/IMG_1984-e1506632751828.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2017\/08\/IMG_1984-e1506632751828.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2017\/08\/IMG_1984-e1506632751828.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2017\/08\/IMG_1984-e1506632751828.jpg?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2017\/08\/IMG_1984-e1506632751828.jpg?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2017\/08\/IMG_1984-e1506632751828.jpg?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":8103,"url":"https:\/\/purplemeanie.co.uk\/index.php\/build-images-november-2017\/","url_meta":{"origin":12393,"position":4},"title":"Build Images &#8211; November 2017","author":"John Martin","date":"September 30, 2022","format":false,"excerpt":"Adhesive Looking into the RHS footwell with knee trim panel in place Rivets going into remaining interior panels (LHS) Picture of LHS looking back into joint between scuttle (tube, top left) and and chassis Unsuccessful attempt at holding scuttle trim edges down as they cooled Trimming transmission tunnel carpet Spraying\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"Aerosol can of contact adhesive standing on the masked boot carpet.","src":"https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2017\/10\/7092EEB7-DE22-4BCB-B2C2-8F3BDBBFA5D1-150x150.jpeg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2017\/10\/7092EEB7-DE22-4BCB-B2C2-8F3BDBBFA5D1-150x150.jpeg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2017\/10\/7092EEB7-DE22-4BCB-B2C2-8F3BDBBFA5D1-150x150.jpeg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2017\/10\/7092EEB7-DE22-4BCB-B2C2-8F3BDBBFA5D1-150x150.jpeg?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2017\/10\/7092EEB7-DE22-4BCB-B2C2-8F3BDBBFA5D1-150x150.jpeg?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2017\/10\/7092EEB7-DE22-4BCB-B2C2-8F3BDBBFA5D1-150x150.jpeg?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":8101,"url":"https:\/\/purplemeanie.co.uk\/index.php\/build-images-october-2017\/","url_meta":{"origin":12393,"position":5},"title":"Build Images &#8211; October 2017","author":"John Martin","date":"September 30, 2022","format":false,"excerpt":"Bottom diff mountings needed 2 (LHS) and 3 (RHS) washers Digital callipers used to work out how many spacing washers are needed. Measuring diff carrier to box section the old way Laser measuring distance from chassis box section to diff carrier Blanking\/skid plate in place. Material trimmed from skid plate.\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"Bottom differential mountings with spacing washers fitted on both sides.","src":"https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2017\/09\/IMG_2604-150x150.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2017\/09\/IMG_2604-150x150.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2017\/09\/IMG_2604-150x150.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2017\/09\/IMG_2604-150x150.jpg?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2017\/09\/IMG_2604-150x150.jpg?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2017\/09\/IMG_2604-150x150.jpg?resize=1400%2C800&ssl=1 4x"},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/purplemeanie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/12393","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/purplemeanie.co.uk\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/purplemeanie.co.uk\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/purplemeanie.co.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/purplemeanie.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=12393"}],"version-history":[{"count":2,"href":"https:\/\/purplemeanie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/12393\/revisions"}],"predecessor-version":[{"id":12481,"href":"https:\/\/purplemeanie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/12393\/revisions\/12481"}],"up":[{"embeddable":true,"href":"https:\/\/purplemeanie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/12377"}],"wp:attachment":[{"href":"https:\/\/purplemeanie.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=12393"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}