Team:
Demo of the use of AI to build a dashboard
Simulated data. Data from Ajuntament de Barcelona of reported accidents from 2019 to 2025.
An AI agent generates the code based on the team specs. Your job is to specify, verify and decide.
| File | What it is | Who writes it |
|---|---|---|
AGENTS.md |
Rules and commands for the agent | Teaching staff (you may add rules) |
SPECS.md |
What we are building: objective, inputs, outputs, requirements and acceptance criteria | Team |
DESIGN.md |
How it looks and behaves | Team |
ARCHITECTURE.md |
How it is built: folders, modules, data flow | Team (the agent may make proposals) |
TASKS.md |
Task list in small steps | The agent proposes, the team approves |
README.md |
This file, for people | Team |
uv sync- Write or extend
SPECS.mdandDESIGN.md. - Ask the agent to review the spec and identify ambiguities. Correct them.
- Ask the agent to generate the acceptance tests in
tests/acceptance/, marked with@pytest.mark.criterio("CA…"). - Ask the agent to propose tasks in
TASKS.md. Approve them. - The agent implements one task. You verify it and complete
Verified by:. - If something changes, update
SPECS.mdfirst (the "Decisions" section), and then the code.
uv run python -m src.pipeline # once available: cleaned data to data/processed/
uv run pytest # tests
uv run python scripts/traceability.py # does every criterion have a test?Initially, src/ is empty: the tests and the traceability check fail until the pipeline and the acceptance criteria in SPECS.md exist. This is expected.
Each push runs all of the above in GitHub (the Actions tab).