R&D case example: establishing the boundaries of an R&D project in computer science


Field of science or technology
Machine learning
Tax position
Profitable company
Scheme of relief
Merged RDEC
This illustrative case example explores how an R&D eligibility assessment establishes the boundaries of a qualifying R&D project within a wider development programme, how the assessment is substantiated and how qualifying expenditure and the resulting tax benefit are determined.
1. Understanding the commercial context
A tech company is developing an intelligent decision-support platform that analyses information from multiple sources to support complex operational decisions.
The company's commercial ambition is to provide its customers with reliable and responsive decision-making capabilities in environments where the information available is continually changing.
Its development programme encompasses several areas:
- Data collection, processing and integration.
- Machine learning and predictive modelling.
- Development of the underlying computational architecture.
- User interfaces and reporting capabilities.
- Integration with customers' existing systems.
- Deployment, security and operational performance.
The development work is complex and requires an experienced team of software developers, computer scientists, machine learning specialists and data engineers.
But does this mean the company is undertaking qualifying R&D?
2. Exploring R&D eligibility
The starting point for the eligibility assessment is not to work through the different areas of software development looking for technical challenges.
Instead, it is to understand whether achieving the company's commercial ambition requires an advance in the underlying computer science.
Through discussions with the company's technical professionals, we explore:
- What technological capabilities are they seeking to establish?
- What can already be achieved using existing methods and techniques?
- Where are the limitations in the knowledge and capabilities of the wider field?
- What is not known or readily deducible by competent professionals working in that field?
- What investigative work is being undertaken to address these limitations?
These discussions help distinguish the company's commercial development objectives from its underlying technological ambitions.
The technical professionals central to this assessment are those with specialist knowledge and experience in machine learning, particularly continual learning and temporal modelling.
Their understanding of the wider field, rather than simply their familiarity with the company's technology, is fundamental to the assessment.
3. Establishing the existing state of knowledge and capabilities
The company's technical team has identified limitations in maintaining reliable predictive capabilities where:
- The statistical characteristics of the underlying data change over time.
- Information from different sources becomes available at irregular intervals.
- Models need to adapt to new information whilst retaining previously established learning capabilities.
Before concluding that these limitations represent a gap in technological knowledge, we need to understand what existing methods and techniques can achieve.
The technical team's research and preliminary investigations have considered several established approaches.
Periodic batch retraining
Established capability: Updating predictive models using accumulated datasets.
Limitation identified: Investigations indicate that retraining at intervals does not adequately address the changing relationships between observations as new information becomes available.
Online learning
Established capability: Updating models incrementally as new observations become available.
Limitation identified: Adaptation to changing data distributions can adversely affect performance in previously learned conditions.
Continual learning methods, including experience replay and regularisation
Established capability: Mitigating the loss of previously established learning when models adapt to new information.
Limitation identified: Comparative investigations indicate limitations in balancing retention and adaptation when observations from different sources become available asynchronously.
Temporal modelling methods
Established capability: Representing and learning relationships between observations over time, including approaches designed for irregularly sampled data.
Limitation identified: The methods investigated do not readily establish how temporal representations should evolve alongside continual model adaptation without introducing instability.
Understanding the limitations collectively
These approaches are not inherently incapable of addressing the company's requirements. The assessment needs to establish why their application, adaptation or combination does not provide a readily deducible solution in the circumstances being investigated.
For example, combining established temporal modelling and continual learning methods might initially appear to provide a viable approach.
However, the technical team's comparative investigations indicate that changes to the representation of incoming data can affect the consistency of previously learned relationships. Measures introduced to preserve those relationships can, in turn, constrain the model's ability to adapt.
The technical team therefore identifies an interdependency between the representation of information, the learning process and the retention of previously established knowledge.
The question for R&D purposes is whether resolving this interdependency requires an advance in the wider field of machine learning.
The absence of a commercially available solution, or the inability of the company's existing technology to achieve the required performance, would not establish this on its own.
In this illustrative example, we assume that the technical team's research, comparative investigations and assessment of relevant alternative methodologies substantiate its conclusion that the required combination of capabilities is not readily achievable through existing knowledge and techniques.
4. Identifying the technological advance being sought
Having established the limitations in existing knowledge and capabilities, we can begin to define the technological ambition that underpins the investigative work.
The advance being sought
The project seeks to advance knowledge and capabilities in machine learning, specifically in the areas of continual learning and temporal modelling, by establishing methods through which predictive models can adapt to changing data distributions and learn from heterogeneous, asynchronously available observations, whilst retaining previously established learning capabilities and maintaining reliable predictive performance.
The technological advance is not the development of the decision-support platform itself.
It is the advancement in the underlying computational capabilities that the company seeks to establish through its investigative work.
The commercial development programme provides the context and motivation for the R&D, but it does not define the boundaries of the R&D project.
5. Understanding the technological uncertainty and investigative approach
Having identified the advance being sought, we need to understand what is technologically uncertain about achieving it.
The overarching technological uncertainty
The overarching technological uncertainty concerns how to establish a computational methodology that enables predictive models to learn continually from heterogeneous, asynchronously available data under conditions of changing data distributions, without the adaptation process destabilising previously established learning or compromising the reliability of subsequent predictions.
Whilst established methods address individual aspects of continual learning, distributional change and irregular temporal observations, how these capabilities can be achieved collectively under the conditions being investigated is not known or readily deducible by competent professionals in the relevant areas of machine learning.
Understanding the investigative strategy
Resolving this uncertainty requires investigation across several interrelated areas.
The technical team develops hypotheses concerning how the representation of information, the learning process and the retention of previously established knowledge might be adapted to overcome the limitations identified.
Workstream 1 – Representation of changing data
Hypothesis: A representation that incorporates the changing characteristics and availability of observations may support more consistent learning.
Investigative focus: Experimental development and evaluation of alternative data representation methods.
Workstream 2 – Learning stability and adaptation
Hypothesis: Adaptive mechanisms for controlling model updates may enable new learning without destabilising previously established knowledge.
Investigative focus: Investigation of alternative update strategies and methods for balancing adaptation and retention.
Workstream 3 – Temporal relationships
Hypothesis: Representations that account for elapsed time and the availability of observations may preserve relationships that are lost through conventional alignment methods.
Investigative focus: Experimental temporal modelling and comparative evaluation under irregular observation conditions.
Workstream 4 – Interaction of computational methods
Hypothesis: Coordinating changes to the data representation and learning mechanisms may overcome limitations observed when the methods are developed independently.
Investigative focus: Investigation of interactions between experimental methods and their collective effect on learning stability and predictive reliability.
Each workstream presents its own technical challenges and areas of investigation.
However, this does not necessarily mean that each workstream constitutes a separate R&D project.
In this example, the workstreams collectively seek to resolve an overarching technological uncertainty and contribute towards the same technological advance.
The findings from one area of investigation influence the approaches pursued in others. The investigative work is therefore interdependent and does not necessarily follow a linear development path.
Why the level of assessment matters
Technical professionals resolve problems throughout their everyday work.
If we assess R&D eligibility at the level of individual development tasks, there is a risk that routine technical problems become characterised as technological uncertainties.
Conversely, if we assess eligibility at the level of the entire commercial development programme, we risk including activities that do not contribute to the technological advance.
Establishing the appropriate level at which to define technological uncertainty is fundamental to identifying a coherent R&D project.
6. Establishing the boundaries of the R&D project
Having identified the advance and associated technological uncertainty, we can assess the purpose of the activities undertaken within the wider development programme.
Activities within the R&D project
- Research into existing machine learning methods, where undertaken to inform the resolution of the technological uncertainty.
- Experimental development of computational methods to resolve the technological uncertainty.
- Experimental data representation and processing, where necessary to investigate and resolve the limitations identified.
- Experimental integration and testing to investigate technological uncertainty arising from the interaction of computational methods.
Activities outside the R&D project
- Routine data integration using established methods and techniques.
- User interface and reporting development to meet commercial requirements.
- Customer-specific integrations using established knowledge and techniques.
- Routine deployment and operational maintenance.
The classification of an activity depends on its purpose and relationship to the R&D project, rather than the type of activity or the technical skills required to undertake it.
For example, testing undertaken to investigate whether an experimental computational method resolves a technological uncertainty serves a different purpose from testing undertaken to confirm that a commercial software release functions as intended.
Certain activities that do not directly contribute to resolving technological uncertainty may also qualify where they meet the definition of qualifying indirect activities. These need to be considered separately.
When does the R&D begin and end?
The R&D project begins when work to resolve the technological uncertainty starts. This may be some time after the commercial development programme has commenced.
The R&D ends when the uncertainty is resolved or work to resolve it ceases.
Subsequent work to incorporate the established computational methods into a commercially usable platform does not automatically qualify.
The assessment therefore considers both the nature of the activities and when they are undertaken.
7. What do the technical records substantiate?
The technical team's explanation of the R&D project provides the starting point for reviewing the available evidence.
We are looking for records that corroborate the technological objectives, the limitations identified, the investigative reasoning and the activities undertaken.
In this example, the following records inform the assessment.
Research notes and comparative assessments of existing methods
These demonstrate the capabilities and limitations of established approaches considered by the technical team, supporting the assessment of the technological baseline and whether the uncertainty is readily resolvable.
Initial experimental results
These demonstrate deterioration in previously established predictive performance following model adaptation, corroborating the limitations identified and the rationale for investigating alternative learning mechanisms.
Technical design discussions
These provide insight into the reasoning behind proposed changes to data representation and model update strategies, supporting the hypotheses underpinning the investigative workstreams.
Comparative experimental results
These demonstrate improvements in adaptability accompanied by reductions in retention of previously established learning, illustrating the interdependency between workstreams and why further investigation is required.
Development records and source code repositories
These document the implementation and modification of experimental computational methods alongside routine platform development, helping distinguish qualifying investigative work from wider development activities.
Technical team updates
These demonstrate how experimental findings influence subsequent investigations and technical decisions, supporting the continuity and progression of the R&D project.
Activity records
These provide insight into the involvement of individual staff members across different areas of development, informing the assessment of the extent of qualifying staff activity.
Considering the records collectively
The purpose is not simply to demonstrate that a substantial amount of development work took place.
It is to substantiate the nature, purpose and extent of the qualifying R&D activities.
Importantly, source code commits alone do not establish R&D eligibility. They may demonstrate what was developed or modified, but the technical context is needed to understand why the work was undertaken.
Similarly, the number of commits associated with an R&D project does not necessarily provide a reliable measure of the time spent on qualifying activities.
The different sources of information need to be considered collectively.
In this example, the technical records corroborate the account provided by the company's competent professionals and support the distinction between the R&D project and the wider commercial development programme.
8. Conclusions from the eligibility assessment
The assessment establishes a qualifying R&D project within the company's wider development programme.
The conclusions are supported by:
- An identifiable advance being sought in the wider field of machine learning.
- An established understanding of the existing knowledge and capabilities in the relevant areas of computer science.
- Technological uncertainty that is not readily resolvable by competent professionals in the field.
- A coherent investigative strategy directed towards resolving that uncertainty.
- Technical records that corroborate the account provided by the company's technical professionals.
- Identifiable boundaries between the qualifying R&D and other development activities.
Importantly, the assessment does not establish that the company's entire software development programme qualifies for R&D tax relief.
It establishes a basis for considering the extent of qualifying activity, the associated expenditure and whether progressing to claim preparation is appropriate.
9. Determining the extent of qualifying activity
The company employs a team of technical professionals who work across both the R&D project and the wider commercial development programme.
The assessment of qualifying staff activity draws on the technical discussions, development records and project activity records.
The company's development team has recorded 12,000 working hours during the accounting period.
The assessment of staff activities establishes the following:
- Activities directly contributing to resolving technological uncertainty: 3,600 hours (30%).
- Qualifying indirect activities: 600 hours (5%).
- Activities outside the R&D project: 7,800 hours (65%).
Total qualifying R&D activity: 4,200 hours (35%).
However, this does not necessarily mean that 35% of the company's total development staff costs qualify.
The extent of qualifying activity needs to be considered for each individual, taking into account their involvement in the R&D project and their attributable employment costs.
10. Determining qualifying expenditure
The company has incurred expenditure on its development programme across several categories.
The assessment of qualifying expenditure considers both the relationship between the expenditure and the qualifying R&D activities and the relevant statutory expenditure conditions.
Staffing costs
The company's relevant staffing costs comprise salaries, employer Class 1 National Insurance contributions and employer pension contributions.
Consider, for example, one of the company's machine learning specialists.
A review of their activities establishes that:
- 55% of their working time relates to activities directly contributing to resolving technological uncertainty.
- 5% relates to qualifying indirect activities.
- 40% relates to activities outside the R&D project.
Their relevant employment costs for the accounting period comprise:
- Salary: £80,000
- Employer Class 1 National Insurance contributions: £11,250
- Employer pension contributions: £4,000
Total relevant staffing costs: £95,250
The assessment establishes that 60% of the individual's working time relates to qualifying R&D activities.
Qualifying staffing expenditure
£95,250 × 60% = £57,150
The qualifying proportion is supported by the assessment of the individual's activities, rather than simply their job title or involvement in the development programme.
Assessing staffing costs across the development team
Applying this approach across the relevant employees produces the following results.
Technical leadership
£120,000 × 50% = £60,000
Machine learning specialists
£180,000 × 60% = £108,000
Data engineers
£120,000 × 20% = £24,000
Software developers
£180,000 × 10% = £18,000
Total staffing expenditure reviewed: £600,000
Total qualifying staffing expenditure: £210,000
The proportions shown represent the aggregated outcome of assessing the qualifying activities and costs of the individuals within each staff group.
Software licensing fees
The company incurs £30,000 in software licensing fees across its development programme.
A review of the software used, the purpose for which it is used and the extent of its use in qualifying R&D activities identifies £18,000 of qualifying expenditure.
Qualifying software expenditure: £18,000
Cloud computing
The company incurs £60,000 in cloud computing expenditure.
A review of the underlying expenditure identifies £24,000 attributable to computational resources used directly in resolving the technological uncertainty, including experimental model development, training and evaluation.
The assessment draws on cloud billing records, resource identifiers and information from the technical team concerning the purpose for which the resources were used.
Cloud expenditure associated with commercial hosting, customer environments and routine operational activities is excluded.
Qualifying cloud computing expenditure: £24,000
Contracted-out R&D
The company has engaged an unconnected UK specialist to undertake investigative work contributing to the resolution of the technological uncertainty.
A review of the contractual arrangements and surrounding circumstances establishes that the company intended or contemplated that R&D of the relevant sort would be undertaken in meeting the contractual requirements.
The assessment establishes the company's entitlement to claim in respect of the contracted-out R&D.
The relevant payment attributable to qualifying R&D is £80,000.
Under the applicable expenditure provisions, 65% of this payment is included as qualifying expenditure.
Qualifying contracted-out R&D expenditure
£80,000 × 65% = £52,000
Summary of qualifying expenditure
The company has incurred £770,000 of expenditure across the areas of its development programme reviewed.
The assessment establishes the following qualifying expenditure:
- Staffing costs: £210,000
- Software licensing fees: £18,000
- Cloud computing: £24,000
- Contracted-out R&D: £52,000
Total qualifying R&D expenditure: £304,000
The qualifying expenditure represents approximately 39.5% of the expenditure reviewed.
This is the outcome of assessing eligibility, establishing project boundaries, determining the extent of qualifying activity and applying the statutory expenditure provisions.
It is not a percentage applied to the development programme as a whole.
11. Calculating the R&D tax benefit
The company has an accounting period from 1 April 2025 to 31 March 2026.
It is profitable and subject to corporation tax at the main rate of 25%.
The merged R&D expenditure credit scheme applies.
For this illustration, we assume that:
- The company meets the relevant conditions for claiming relief.
- The qualifying expenditure is deductible for corporation tax purposes in the accounting period.
- The applicable expenditure and payment conditions are satisfied.
- No other restrictions affect the company's ability to utilise the expenditure credit in full against its corporation tax liability.
The merged scheme provides a taxable expenditure credit calculated at 20% of qualifying expenditure.
Calculating the expenditure credit and net benefit
Step 1 – Calculate the expenditure credit
£304,000 × 20% = £60,800
Step 2 – Calculate the corporation tax attributable to the expenditure credit
£60,800 × 25% = £15,200
Step 3 – Calculate the net tax benefit
£60,800 − £15,200 = £45,600
Net R&D tax benefit: £45,600
How does this affect the company's corporation tax position?
Assume the company has taxable profits of £500,000 before bringing the R&D expenditure credit into account.
Without an R&D claim
- Taxable profits: £500,000
- Corporation tax at 25%: £125,000
Corporation tax payable: £125,000
With an R&D claim
- Taxable profits before expenditure credit: £500,000
- Taxable R&D expenditure credit: £60,800
- Taxable profits including expenditure credit: £560,800
- Corporation tax at 25%: £140,200
- Less expenditure credit utilised: £60,800
Corporation tax payable: £79,400
Reduction in corporation tax payable
£125,000 − £79,400 = £45,600
This represents a net benefit equivalent to 15% of the company's qualifying R&D expenditure.
Understanding the benefit in context
The company has incurred £770,000 of expenditure across the areas of its development programme reviewed.
Of this, £304,000 meets the qualifying expenditure conditions, generating a net tax benefit of £45,600.
The financial benefit is determined by the extent of qualifying expenditure and the company's tax position, rather than the overall investment in its development programme.
Different tax positions and circumstances can affect the value of relief and how and when the benefit is realised.
12. Considering eligibility in subsequent accounting periods
The company's commercial development programme is expected to continue over several years.
However, this does not mean that the R&D project will necessarily continue for the same period.
In subsequent accounting periods, the assessment needs to consider:
- What technological uncertainties have been resolved?
- What uncertainties remain?
- What knowledge and capabilities have been established through the investigative work?
- Have developments elsewhere in the field changed what is readily achievable?
- Has the purpose of the work moved from resolving technological uncertainty to applying the knowledge established?
For example, the technical team may have resolved uncertainties concerning temporal representation whilst continuing to investigate learning stability.
Work applying the established temporal representation methods to the commercial platform would not automatically qualify simply because other aspects of the R&D project remain ongoing.
The boundaries of the R&D project may change as the work progresses.
Eligibility and the extent of qualifying activity therefore need to be reassessed in each claim period.
Key learning points
- A commercial development programme may encompass qualifying R&D without qualifying in its entirety.
- An advance must be considered in the context of existing knowledge and capabilities in the relevant scientific or technological field.
- Several investigative workstreams may collectively contribute towards resolving an overarching technological uncertainty.
- The purpose of an activity, rather than its complexity or the skills required to undertake it, determines its relationship to the R&D project.
- Technical records should corroborate the explanation provided by the company's competent professionals.
- Qualifying expenditure is established through the assessment of activities, attributable costs and the application of the relevant statutory provisions.
- Continuing commercial development does not necessarily mean continuing R&D eligibility.
The calculation of the tax benefit is the outcome of this process, not its starting point.
Exploring your company's R&D eligibility
Establishing R&D eligibility requires an understanding of the scientific or technological context of your work, the purpose of the investigative activities and the evidence available to substantiate them.
As an independent Chartered Tax Adviser, I work directly with your technical professionals, guiding, questioning and challenging the assessment of their work against the qualifying criteria.
My R&D eligibility assessment service is designed to establish whether there is a sufficiently robust and commercially worthwhile basis for progressing to claim preparation.
If you would like to explore whether commissioning an eligibility assessment is appropriate for your company, please book a call to arrange an initial discussion.
This illustrative case example draws on issues encountered in professional R&D tax advisory work. The circumstances and figures have been created for educational purposes and do not represent an individual company's claim.
Achieving a robust R&D tax credit claim!







