Previous Next
0 / 3

Module questions

VC-03 ยท Prompt Contracts and Planning

Module VC-03VIBECODE

Order an Implementation Plan

VIBECODE โ€ข Vibe Coding: AI-First Software Delivery

Browser-only practice

Problem Statement

Stage: Prompt Contracts and Planning

A proposed plan lists dependencies but not a safe execution order.

Deliverable

A deterministic topological plan or CYCLE.

Input and output contract

Read task|comma-separated-dependencies records and print one valid order using alphabetical tie-breaking.

Acceptance criteria

  1. Place dependencies first.
  2. Include dependency-only tasks.
  3. Detect cycles.

Suggested vibe loop

Read AGENTS.md, connect your Ollama or OpenAI-compatible provider in the browser, and ask the agent to restate the contract and make one small verifiable change. Watch edits stream into app.py while the editor is locked, then review the result and run the visible example. Keep the checkpoint when the evidence is correct or use Undo to restore it. The browser-client agent does not require an administrator gateway or API key.

Constraints

Use Python 3 standard library only. Read and follow AGENTS.md, keep main.py as the entry point, and implement solve(raw) in app.py.

Sample Testcases

Submit runs every public testcase in this browser. Results and code never leave this device.

Sample #1
Public sample
test|code
code|schema
schema|
schema
code
test
Orders a linear plan.

Web terminal

C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.

Saved in this browser
Editor settings