Skip to main content

Explore CIP

Data2Value: Turning Data into Decisions About Software Quality

Data from a software project becomes the basis for work in Computational Mathematics. Students analyse their teams’ metrics and bring the findings back into development to decide what to improve.

  • Cristóvão SousaESTG — UTPorto
  • Eliana Costa e SilvaESTG — UTPorto
Illustration of a laptop with stylised code and blue charts connected by a looping yellow arrow.

The challenge

A team found more defects in this iteration. Did the software get worse, or did the team get better at testing it? Answering that question means understanding where the numbers came from, how they were collected and which explanations the data support.

In Software Engineering II, students learn to plan, review and test software. In Computational Mathematics II, they organise data and use statistical inference. Separate assignments can leave the connection between those skills unexplored. Data2Value builds both courses around the same project so that each analysis can inform a concrete decision about development.

Learning objectives

  • Formulate research questions about software quality and select metrics to answer them.
  • Build a dataset as a team that allows comparisons between iterations, checking for consistent collection and investigating outliers.
  • Explore, visualise and analyse data with methods suited to each question.
  • Recommend improvements to the product and development process, explaining what the data support and which questions remain open.
  • Verify and correct suggestions from generative AI before using them in plans, code or analysis.

What underpins the practice

Students learn through a shared project. Software Engineering produces the data that Computational Mathematics needs. The findings feed back into the development teams’ retrospectives while there is still time to adjust how they work. Quality and security are considered from the first requirements and design decisions and revisited throughout development.

Before starting their group work, students follow individual learning paths to practise version control, testing and defect reporting. Badges recognise demonstrated skills, from reviewing code to checking that data have been collected correctly.

Generative AI supports question writing, planning, coding and analysis. In both courses, students have to give the question context, test the response and correct any errors. This makes the reasoning behind their decisions visible.

How it works

  1. Prepare for development. After the individual learning paths, teams draft a software configuration management plan. They agree on version control, review and testing, check the plan and set up their tools before planning the project tasks.
  2. Connect questions and metrics. Each Computational Mathematics group includes at least one student from Software Engineering II. The group formulates two or three research questions, agrees on the variables and tests the collection template in an initial submission. One question is whether the number of lines of code written in an iteration is associated with the number of defects found.
  3. Collect data during the project. Working in agile iterations that involve design, implementation, review and testing, the teams record product and process metrics at four to six milestones. The groups clean their data and combine them into an anonymised dataset. Inconsistent formats and outliers suggest what needs clarifying in the next round of collection.
  4. Bring the analysis back to the teams. Groups use R or Python to explore and visualise the data. Depending on the question, they may use hypothesis tests, regression or clustering. In retrospectives, teams discuss which changes the findings justify and which hypotheses need more data.
  5. Close the loop. At the end of the project, teams check the software against the agreed quality criteria. The final analysis helps them explain their decisions and suggest improvements for the next edition.

Assessment of learning

In Software Engineering, the configuration management plan, reviews and tests provide evidence of the skills used in each iteration. At the end of the project, teams check whether the software meets the agreed quality criteria.

In Computational Mathematics, each group submits a report with findings, interpretation and recommendations for Software Engineering. The work includes a ten-minute video, self-assessment using a rubric and a defence in which students explain their choices. After the defence, the group has two working days to revise and resubmit its report.

Results and lessons

The project is designed to produce three outputs that both courses can share: an anonymised dataset, a report with recommendations and a short video. The learning to look for is whether students can use their analysis to justify a decision and recognise when they need more evidence.

The teaching team plans to reflect on the experience and gather students’ perspectives through an annual questionnaire. Their suggestions will inform the next edition. Selected student work may be submitted to the Information Systems Student Research Journal.

How to adapt

Start with one question that matters to both courses and choose a few metrics that every team can define and collect in the same way. Time the collection and analysis so a finding can be discussed before the next iteration.

In a single class, groups can take turns developing the software and analysing the data. Pilot the template with a few records, remove identifiers before sharing the data and set aside time for teams to explain a concrete decision informed by their findings.

Resources and materials

To try the practice, prepare a project brief with the research questions, a shared data collection template and a self-assessment rubric. Use one row per team and iteration in the collection template. Include an anonymous team code, the agreed indicators and space to note anything that could affect comparisons.

Moodle is used for the brief and questions, GitLab supports code review, R or Python can be used for data analysis, and Overleaf supports report writing. The guides below offer a starting point for code review and analysis.

Join our newsletter

Enter your email to keep up with everything we do.