Monday, November 9, 2026

Professor Peter Bossaerts project will explore a new approach to assessing students' programming skills, focusing on what their work can achieve rather than simply examining the code they produce.

The six projects have been selected for funding through ai@cam's AI for Teaching and Learning initiative, which supports Cambridge educators in developing and testing new approaches to teaching and assessment. Spanning six disciplines, the projects will investigate how AI can support learning while ensuring students continue to develop the knowledge, expertise and independent judgement they need in an increasingly AI-enabled world.

Professor Bossaerts' project, ‘If AI writes the code, what should we assess? Behaviour-based iterative assessment in a live course’, will be tested in the Faculty's Algorithmic Trading Robot Design course. The course takes an innovative, practical approach to teaching economics, using the principles of a robotics class in engineering. It previously won first place in the Financial Management Association's 2020 Innovation in Teaching Awards.

As generative AI makes it increasingly easy for students to produce sophisticated computer programs, traditional methods of assessing programming assignments are becoming less effective at distinguishing a student's own understanding and capabilities. Professor Bossaerts' project addresses this challenge by shifting the focus from the code itself to the behaviour and performance of the resulting trading algorithms.

Students will develop Python-based trading strategies and deploy them in a controlled simulated financial market. Rather than simply marking the programs they submit, the assessment will examine how their trading robots respond to a series of carefully designed, undisclosed market scenarios. These will test whether the algorithms can respond effectively not only to expected market conditions but also to unexpected events and combinations of circumstances.

A key feature of the project is the use of large language models (LLMs) to provide detailed, tailored diagnostic feedback. After each attempt, an AI-based system will analyse the trading robot's performance, identify weaknesses in its strategy and explain why it failed in particular market situations. Students will then be able to revise their programmes and submit them again, with their final assessment reflecting their ability to interpret results, diagnose problems and improve their strategies.

Over the six-month project, Professor Bossaerts and a research assistant with experience in financial market trading and the application of AI in teaching will develop and validate the diagnostic system. The team will evaluate its effectiveness by comparing students' trading performance with their theoretical assessments, previous years' work and the results of successive submissions. The aim is to establish whether behaviour-based assessment can provide a fair and reliable measure of students' understanding, even when AI has played a substantial role in producing the underlying code.

The project will contribute to the wider University initiative by developing practical guidance for courses involving programming, as well as for other subjects where AI is changing what students can produce and how their learning can be assessed. The participating teams will share their findings and resources with the wider Cambridge community, including lessons from approaches that do not work as expected.

Together, the six projects will help Cambridge understand how to make effective use of AI in education, while ensuring that students continue to develop the critical thinking, technical skills and independent judgement that underpin university learning.