Skip to content

Latest commit

 

History

History

module-6-software-engineering

Folders and files

README.md

Module 6: Software Engineering

About This Module

In this module, we'll walk through a single iteration of the software engineering life cycle, using AI systems to assist in software implementation and testing. The emphasis is on writing a software specification as the blueprint for design and implementation: making ideas tangible before you write any code.

1. Domain fluency: requirements from real users and real needs Translate what users need into requirements a team can build and test.

  • What is software engineering, and where have we already been in its life cycle?
  • What makes a requirement "good"?
  • Where do functional and non-functional requirements come from in agricultural software?
  • How does documentation help stakeholders come to consensus on what to build?
  • Goal: Write traceable, testable, evidence-based requirements for a human-centered feature.

2. Technical fluency: building from a specification, with AI Implement one feature from your own specification, and check the result against it.

  • How do you break a feature into tasks an AI assistant can build?
  • How do you read, and trust, code that someone else (or an LLM) wrote?
  • How do you verify code against a requirement, and validate it with a user?
  • What is the minimal set of documentation a living codebase needs?
  • Goal: Extend your Django app with one AI-assisted feature, verified with code tests and validated with a user test.

Course Materials

Lecture materials including handouts, demos, and quizzes.

Lab 6

Instructions for the lab, including submission instructions, are in the lab 6 subfolder.

Each lab has a specific AI use policy, specified in the lab itself. As a reminder, the overarching AI policy is available in the main repository README.

If you are a Purdue ASM 532 student: Check Brightspace for current instructions, due dates, and other submission details.

Rubrics

Total: 15 (5 in-class activity + 10 lab).

In-class activity (Lecture 6.2) — 5 pts

The walkthrough and requirements build-out: your observations of your partner using your app, and the first rows of your requirements table, marked by your partner.

Points Criteria
0 Missed
2 Incomplete — doesn't have to be "right"
5 Complete - doesn't have to be "right"!

Lab 6 — 10 pts

  • Specify — SPEC.md sections 6-7 (STEPs 1-3)
    • Evidence from the walkthrough; F0; the fixed set of requirements (3-5 Musts, at least 1 NFR, at least 1 Won't) in EARS, each Must with an acceptance check; a build plan whose tasks name their requirements.
  • Build — the feature (STEPs 4-5)
    • The feature runs; the changelog has an entry per task; 4+ commits naming task and requirement IDs.
  • Verify — tests.py and SPEC.md section 8 (STEPs 6-8)
    • One code test per Must; one user test; the V&V log with each gap named; both reflection questions answered.
Points Criteria
0 Missed or low effort
5 Incomplete: one or more parts missing
10 Complete: all three parts

References

See CREDITS.md for image sourcing/attribution and non-image reference citations used in this module's slides and lab.

License

This work by Ankita Raturi, Purdue University is licensed under CC BY-NC-SA 4.0.