Software Engineering PhD: Using behaviour specifications and executable tests to check AI coding-agent changes
Project 2627 · Blekinge Institute of Technology · Department of Software Engineering
Application workspace
Save this opportunity and prepare around its actual requirements. Confirm deadlines and eligibility at the original source.
- Country or region
- Sweden
- Application deadline
- 2026-12-15 (confirm the exact time with the source)
- Funding
- One full-time, temporary doctoral-student post (40 hours per week). The research appointment is up to four years; up to 20% teaching or other duties may extend employment to five years. The listing says the role is not funded by an EU Framework Programme. Salary and the specific funding source are not stated.
The research opportunity
Project overview
Blekinge Institute of Technology’s Department of Software Engineering seeks one full-time PhD student in Karlskrona to study how software testing can help keep AI coding agents aligned with requirements and stakeholder intent. The project links two artefacts: human-readable behaviour specifications that people can discuss and validate, and executable tests that check generated code and later changes.
Doctoral work
Depending on questions developed with the supervisors, the research may capture and refine intended behaviour from requirements, stakeholder input, developer–agent conversations and development artefacts; identify gaps, ambiguity and conflict with people in the loop; connect specifications to executable tests and preserve traceability; and evaluate how these guardrails guide and verify agent-generated changes as software evolves. Methods combine tool and method development with experiments and industrial case studies. Evaluation may consider defect detection, stakeholder understanding, reliability, practicality and support for human oversight. The advert does not specify a fixed technical stack, repository, industrial dataset or evaluation protocol.
Applicant requirements
Strong software-engineering and programming skills and an interest in software testing and agentic software engineering are required. Relevant degrees, Python and software-development experience, version control/CI/CD, AI coding tools, specification-based testing, requirements traceability and empirical methods are listed as merits. Applicants must meet Swedish doctoral-admission eligibility: an advanced-level degree in a technical, mathematical or scientific field, or equivalent knowledge, and admission to doctoral education. ELLIIT is a multi-university research partnership; it does not by itself establish a joint degree.
Employment and application
The post is temporary and full time at 40 hours per week, for up to four years. Up to 20% may be teaching or other duties, which can extend employment up to five years. BTH’s Software Engineering doctoral syllabus sets 240 credits, including at least 60 course credits and a thesis of at least 150 credits; it also requires an annual individual study plan and at least two supervisors. The five-year figure is a maximum possible employment period when those duties are included; it is distinct from the four-year net doctoral programme.
The current employer page lists 15 December 2026, without a closing time or time zone. An earlier saved listing also carried an expired marker and a more precise deadline, so confirm the live form and exact cutoff. The application materials listed by BTH are a statement of background and relevant experience, CV, certified degree certificates and transcripts, contact details for two referees (letters are not required initially), earliest available start date, publications list if applicable, and a link to the latest/highest-degree thesis. Confirm English-language evidence and certified/translated qualification requirements if relevant. Nauman Ali (nauman.ali@bth.se) is listed as a contact, but is not confirmed as the project supervisor. Salary amount and named funding source are not stated.
Research and application brief
Report generated: . This date does not confirm that recruitment remains open.
Information updated: . Recheck the original notice before applying.
Show report contents
Software Engineering PhD: Using behaviour specifications and executable tests to check AI coding-agent changes
Quick Decision
Strong but verify fit. This is a timely, clearly motivated software-engineering doctorate: it asks how human-readable behaviour specifications and executable tests can keep increasingly autonomous coding agents aligned with stakeholder intent as requirements and software change. BTH's empirical software-engineering environment is relevant, and the current employer page lists a 15 December 2026 deadline. Before applying, confirm the supervisor team, salary and funding source. As of 5 November 2026, the employer page listed 15 December, but a saved listing also carried an expired marker and the external form was not verified. Confirm the live form and exact cutoff time.
Research Problem and Doctoral Work
What is unsolved and why it matters
Coding agents can generate and modify software, but a patch that passes the current test suite may still fail to reflect what stakeholders meant, especially when requirements are incomplete, ambiguous, conflicting or changing. The proposed project treats testing as a way to keep humans in control: a readable behaviour specification should let stakeholders inspect and discuss expected behaviour, while executable tests provide repeatable checks on generated code and later modifications. The central challenge is to ground both artefacts in requirements and stakeholder intent and preserve a trace from intent to specification, test and code change. The official project description makes these linked artefacts and the human-control problem the core of the work.
The advertised tasks include eliciting and refining expected behaviour from requirements, stakeholder input, developer-agent conversations and development artefacts; identifying gaps and ambiguity with people in the loop; connecting readable specifications to executable tests; maintaining those tests as software evolves; and evaluating effectiveness, reliability and practicality. The role combines method and tool development with experiments and industrial case studies. The exact research questions and methods are to be agreed with the supervision team, so these are project directions rather than a fixed protocol.
Work, methods and potential outputs
A useful early research design would define the unit of traceability (for example, a requirement or stakeholder decision linked to one or more behaviour examples, tests and code changes), choose representative change scenarios, and compare agent behaviour with and without specification-linked tests. Relevant measures could include missed or spurious behaviours, regression detection, specification coverage, test usefulness, trace-link maintenance cost, stakeholder comprehension and the effort required for human review. These are analytic suggestions, not outcomes promised by the vacancy.
Recent work offers helpful baselines without closing the question. TiCoder used tests to help programmers clarify informal intent; a mixed-method study with 15 programmers and additional experiments across four models suggests test-guided clarification can improve evaluation of generated code. Its interaction design is adjacent to this project, but it does not establish that autonomous agents can maintain stakeholder-aligned specifications over long-running repositories. TiCoder's study is a relevant starting point for experimental design.
Agent testing has infrastructure problems of its own. An ISSTA study tested an LLM agent on 50 open-source projects across 14 languages to set up and execute existing test suites, illustrating that repository configuration and test execution cannot be assumed to work uniformly. The cross-project test-execution study can inform environment design and failure categories. An ASE study analysed 120 trajectories and 2,822 interactions from three software-engineering agents; its focus on recurring interaction patterns and failure modes supports evaluating process traces as well as final patches. The agent-trajectory study does not test the advertised specification-and-test intervention, but it illustrates why end-state pass/fail alone may be too narrow.
The most useful first-year conversation is therefore not “which agent is best?” but “which intent and change scenarios can be observed, what counts as a meaningful human-control failure, and what data can the team access?” An industrial case could provide realistic requirements and review practices, but access to a partner, repository or developer-agent trace is not confirmed on the project page.
School, Programme and Field Context
Blekinge Institute of Technology (BTH) is both the employer named in the vacancy and the institution responsible for the doctoral subject. The advert says the post is part of ELLIIT, a multi-university strategic research partnership. Participation in that partnership is not evidence of a joint or double degree; the BTH software-engineering syllabus governs the doctoral subject. BTH reports about 110 active doctoral students across nine subjects. BTH's research-studies overview describes the broader doctoral setting, while the Software Engineering syllabus sets four years of net study (240 credits), including at least 60 course credits and a thesis of at least 150 credits. Each student has an annual individual study plan and at least two supervisors. The position can include up to 20% teaching or other services, with a maximum five-year employment period in the vacancy.
The department's Software Engineering Research and Education Lab Sweden describes an empirical, evidence-based environment with industry collaboration. Its stated themes include AI for Software Engineering, requirements management, software quality, and verification and validation. The official research-area page is a closer match to this project than an overall university league table. BTH also has an ongoing GenAI project with industrial partners that studies coding/documentation workflows, adoption and software quality; its named project manager differs from this vacancy, so it should be read as nearby activity rather than confirmed supervision or shared funding. The GENESIS project page supports the existence of this adjacent research environment.
The ranking evidence is limited. QS lists BTH in a 601-650 subject band for 2021 and 2022; this is dated and does not provide a current project-level measure. BTH's own research overview calls its software-engineering research “second in the world,” but the page does not give a methodology or comparison set. Treat both as background signals, not proof of this particular group's standing. The QS institution profile provides the dated band, and BTH's research overview is the source of the institutional claim.
Supervisor and Lab Assessment
The vacancy says research questions and methods will be developed with a supervision team, but it does not identify the principal or co-supervisors. Nauman Ali is listed as a BTH professor in Software Engineering. His official profile names software testing, software metrics, empirical research and industry collaboration among his interests, which fit the methodological and quality-assurance aspects of the project. His profile is not proof that he has been appointed to supervise this specific post; the official department staff directory should be used to verify who is on the actual team.
Four recent contributions help characterize the local expertise. A 2025 case study by Ali and colleagues used topic modelling and domain-expert input on 5,560 review comments from JabRef to identify recurring quality issues, including testability, maintainability and code structure. It demonstrates empirical software-quality analysis, though it studies one open-source system rather than AI-generated code. The code-review feedback study is the closest in subject to reviewing agent changes. In another 2025 paper, Ali and collaborators proposed a value/feasibility/applicability framework for formulating practically relevant software-engineering questions, initially evaluated in a workshop of 42 senior researchers; the authors note that further evaluation is needed. The Lean Research Inception study is relevant to co-developing a feasible project with industry. A 2026 mapping study by Ali and colleagues reviews 104 papers on operational monitoring data and anomaly detection in cloud systems, while a 2024 preprint maps 174 studies of software analytics across testing, requirements, defects and other tasks. The 2026 monitoring-data paper and the 2024 software-analytics mapping show recent evidence-synthesis and software-quality work; neither is direct evidence of agent-guardrail supervision.
Funding, Application and Living Cost
The employer page lists a 100% temporary doctoral-student position, up to four years of full-time research, and up to 20% other services such as teaching. BTH's policy says doctoral study is financed primarily through doctoral-student employment and that full-programme funding must be secured at admission. BTH's financing rules help interpret the job type, but the vacancy does not give a salary amount, progression scale, pension details or exact funding source. The “not funded by an EU programme” label does not mean the role is unfunded. BTH's general employee-benefits page does not resolve the salary questions for this specific offer.
The current employer page gives a 15 December 2026 application deadline but does not state a closing time or timezone. An earlier listing snapshot supplied 23:59 Europe/Stockholm and also carried an expired marker; that conflicts with the current employer page. On 5 November, the official page displayed an application control and future deadline, but the external form did not load in the web reader. Confirm the form and cutoff directly before submitting. The application list includes a background/experience statement, CV, certified degree certificates and transcripts, contact details for two references (letters are not required at this stage), earliest start date, publication appendix if applicable and a link to the latest/highest-degree thesis.
BTH's 2026/27 fact sheet estimates SEK 10,656 per month for food, accommodation, local transport, phone/internet and miscellaneous expenses. It also says BTH does not provide its own student housing. This is an exchange-student planning figure, not a PhD employee budget or guarantee of housing. Because no salary is published, take-home pay and purchasing power cannot be responsibly estimated. The BTH fact sheet is a starting point for housing and budget questions.
Applicant Fit and Preparation
A technical, mathematical or scientific advanced-level degree is required for the employment/admission route, or equivalent knowledge sufficient for doctoral study. BTH's general admission page also lists a second-cycle degree, 240 credits with at least 60 at second-cycle level, or equivalent knowledge; the Software Engineering syllabus sets subject-specific requirements. The admission page and the syllabus should be checked against the candidate's degree transcripts.
The vacancy requires strong software-engineering and programming skills plus interest in software testing and agentic software engineering. Meriting experience includes software engineering, computer science, AI or data-science master's study; programming, Python, version control and CI/CD; AI coding tools; specification-based or automated testing, behaviour-driven development and requirements traceability; empirical studies and industry collaboration; and strong written and spoken English. These latter items are merits, not all separate hard conditions.
The strongest application evidence would show both implementation skill and research judgement: a reproducible test harness, a short example tracing a requirement into behavioural examples/tests, a code-change evaluation, and clear discussion of failures and limits. An empirical project or industry case would help. These are suggested ways to demonstrate fit, not application requirements.
Next Actions and Questions to Verify
Before applying
- Confirm that the external form is open and ask for the exact 15 December cutoff time and timezone.
- Ask who the principal and co-supervisors are, and whether industrial case sites or data access are secured.
- Request the salary scale, progression, pension, contract and written funding details.
- Ask which agent frameworks, languages, test infrastructure and repositories will be available at project start.
- Confirm how English proficiency and certified or translated qualifications are assessed for international applicants.
At interview
Discuss the first-year change scenarios, the baseline agent/test setup, and how the team will evaluate test quality, defect detection, traceability, stakeholder understanding and human oversight. Ask how developer logs and industrial code will be anonymized or protected and what publication restrictions apply. Clarify the expected balance between tool building, experiments, qualitative work and industry case studies.
Before accepting an offer
Obtain the written gross salary, pay progression, pension, benefits, employment duration and confirmed funding source. Confirm supervisor assignment, meeting cadence, industrial access, data-protection rules, housing logistics and the study-plan review process.
Evidence and Sources
Project, institution and training
- Official project and application requirements
- BTH research-studies overview
- Admission to research studies
- Financing of third-cycle studies
- Software Engineering third-cycle syllabus
- Software Engineering research at BTH
- QS institutional profile
- BTH research overview and annual-report figures
Supervisor, lab and recent research
- Department staff directory
- Nauman Ali's official profile
- GENESIS research project
- Supporting quality-issue identification from review feedback
- Towards Lean Research Inception
- Monitoring data for cloud anomaly detection
- Software analytics systematic mapping study
- TiCoder test-driven code-generation study
- Agent test-execution study
- Software-engineering agent trajectory study
Funding, costs and labour-market context
Sources
The listing may come from a university or recruitment platform. Check the notice and official sources in the report for current application requirements. View the recruitment source
Explore related doctoral opportunities
Explore opportunities with related research or the same country, prioritising similar funding where relevant. Recheck each notice before applying.
Chalmers University of Technology · Sweden
PhD in Solid-State Batteries: Synthesising and Processing Electrolytes and Studying Material Interfaces
Fully funded employee appointment for four years, with possible extension to five years if teaching or other departmental duties occupy up to 20% of working time. Starting salary is SEK 35,725/month at the rate valid from 1 May 2026; project data describes this as gross, while the saved employer extract does not specify gross or net. Employee benefits are offered. No citizenship restriction is stated; a valid residence permit is required by the study start date.
2026-12-15 (confirm the exact time with the source)
Chalmers University of Technology · Sweden
Doctoral student in AI-powered Asset Health Indices for Smart Maintenance
Chalmers University of Technology Gothenburg, Sweden Doctoral student in AI-powered Asset Health Indices for Smart Maintenance Fully funded PhD: build transparent AI Asset Health Index models for smart maintenance, prognostics/RUL & decision support using industrial data; real-world pilot validation; up to 20% teaching. Published 2 hours ago Closing on: 2026-11-30 (Europe/Stockholm) PhD
2026-11-30 (confirm the exact time with the source)
Lund University · Sweden
Doctoral student in applied nuclear physics
Four years of full-time doctoral studies under salaried doctoral employment. Up to 20% teaching/departmental work with corresponding extension. Monthly salary; exact amount not stated in the vacancy.
2026-11-20 (confirm the exact time with the source)
Chalmers University of Technology · Sweden
Cybersecurity PhD: Choose from Web, Browser-Extension or AI-Security Projects
Fully funded four-year doctoral employment; departmental duties up to 20% may extend the appointment to five years. The vacancy lists gross starting salary SEK 35,725/month effective 2026-05-01. No tuition fee; confirm individual salary and duties in the contract.
2026-11-27 (confirm the exact time with the source)
Karolinska Institutet · Sweden
PhD in HIV-1 Reservoir Diagnostics for Biomedical Laboratory Science Graduates
KI salaried PhD (100%), up to 4 full-time years; initial contract max 1 year, renewals max 2. No tuition for any nationality. SEK 25,000 for travel/other costs, not salary or annual amount; use/coverage unknown. Confirm current pay scale and extra costs.
2026-11-13 (confirm the exact time with the source)