Research and evidence × Software engineering
Business lens: Research and evidence · Technology lens: Software engineering
Reading scope: Original fictional teaching. Selected documentation and same-author checks are not independent editorial validation.
Research software needs an explicit specification
A fictional researcher commissions a small application to code customer interviews. The developer delivers a screen that works, but different users interpret the coding labels differently. Research and software engineering meet when a tool operationalises a method. Define the method, permitted user actions and expected evidence outputs before implementing a screen. A feature that saves a label does not establish consistent interpretation or preserve the source passage that justified it. Identify which parts of the workflow support exploratory coding and which implement an agreed analytical rule. Software requirements should reflect the research question and its audit needs, not merely the appearance of the interface.
Treat method changes as versioned changes
The investigator owns code definitions, users explain their work and the developer maintains the application. A revised label may split one theme into two; old records need an explicit treatment rather than silent reinterpretation. Save source passage identifiers, coder decisions and relevant method versions. Specify export formats and a correction procedure. Tests should distinguish storage correctness from agreement about meanings. A file can round-trip accurately while preserving poor labels. Conversely, a sensible codebook can be undermined by a tool that loses passage boundaries. Review both the methodological specification and the implementation behaviour through suitable evidence.
Worked acceptance-check coverage
The invented tool has twenty declared acceptance checks. Fourteen pass, four fail and two have not been run. Passing-check coverage is 14/20 = 70%; executed coverage is 18/20 = 90%; pass rate among executed checks is 14/18 ≈ 77.78%. None of these measures is research validity. Fixing three failures and successfully rerunning them gives seventeen passes, one remaining failure and two unrun checks. Passing coverage becomes 85%; executed coverage remains 90%; pass rate among executed checks becomes 17/18 ≈ 94.44%. The two unrun checks must not be quietly treated as passes in a release summary.
Prioritise by evidence consequence
A failure that loses source identifiers may block defensible analysis even if most cosmetic checks pass. Assign consequence and ownership to each failed or unrun check. Avoid letting an aggregate percentage override a critical failure. Record the code and method version for each test run. Before sharing the application, inspect whether exported records preserve the declared evidence relationship and whether users can correct mistakes without erasing history. A research contribution could evaluate how tool design supports auditability, but acceptance arithmetic alone cannot establish that contribution. Actual user experience and analytical consistency would need a separate appropriate study.
Practice a research-tool contract
Use the existing API-contract lesson to specify a coding record with source passage, label, coder reference and method version. Create the twenty-check fictional acceptance register and reproduce all six coverage and pass-rate values. Identify one failed check that would block analysis despite a high aggregate score. Your portfolio should include a label-change migration rule and a correction-history example. This extends bounded software teaching; it supplies no newly built coding application, executed acceptance suite or production research system. Distinguish proposed checks from any actual local implementation and preserve the evidence from runs separately.
Questions and progressive learning
Who owns the codebook, and Whom should a developer ask about label changes? Whose coding decision is retained? What is the acceptance criterion, Where is the source passage linked, and When does a method version change? Why is execution coverage not passing coverage? Which failure blocks inference? How will corrections remain auditable? Foundation learners distinguish a saved label from its meaning. Undergraduate learners specify records and calculate test states. Postgraduate learners critique critical failures, migration and auditability. DBA/research learners develop a tool-evaluation design with declared methodological and software outcomes. For revision, explain why seventeen passing checks still coexist with three unresolved checks and why a 94.44% executed-check pass rate does not mean the application has passed every declared requirement.
Study questions and answers
What are initial passing and executed coverage?
14/20 = 70% passing; 18/20 = 90% executed. The conditional pass rate is 14/18 ≈ 77.78%.
Marking guide: Credit 70% all-case pass,90% executed,77.78% conditional pass.
What follows three successful repairs?
17 passes, 1 failure and 2 unrun; 85% passing coverage and 17/18 ≈ 94.44% conditional pass rate.
Marking guide: Credit 17 passes, one failure, two unrun;85% overall,94.44% conditional.
Why can a high aggregate rate still block analysis?
A critical failure such as losing source identifiers can invalidate the evidence workflow regardless of other passing checks.
Marking guide: Critical source-ID loss can invalidate workflow despite high aggregate rate; assess failure consequence.
Practice task
Write a research coding-record contract and consequence-based acceptance register.
Practice bridge
- Write a research coding-record contract and consequence-based acceptance register.
- Reproduce the worked arithmetic, change one assumption and label invented evidence separately from actual practice observations.
Boundary: Original fictional exercise connected to an existing bounded or guided lesson. No new executable fixture, external platform execution or catalogue lab claimed.