Loading...
Loading...
Compare original and translation side by side
load-plain-referenceload-plain-reference.plain.plain.plainrequiresimportACCEPTABLETOO COMPLEX.plainrequiresimportACCEPTABLETOO COMPLEXToo complex:
- :User: should be able to create, edit, delete, and archive :Task: items,
with validation on all fields and confirmation dialogs for destructive actions.
Acceptable (one behavior each):
- :User: should be able to create :Task:. Only valid :Task: items can be added.
- :User: should be able to edit :Task:.
- :User: should be able to delete :Task:.
- :User: should be able to archive :Task:.过于复杂:
- :User: 应能够创建、编辑、删除和归档:Task:项,
所有字段均需验证,且执行破坏性操作时需弹出确认对话框。
可接受(每个对应一个行为):
- :User: 应能够创建:Task:。仅允许添加有效的:Task:项。
- :User: 应能够编辑:Task:。
- :User: 应能够删除:Task:。
- :User: 应能够归档:Task:。Too complex:
- The system should process :Order: differently based on :OrderType:.
Standard orders are validated and stored. Express orders skip validation
and are queued for immediate dispatch. Bulk orders are split into
sub-orders of 100 items each, validated individually, and processed
in parallel with progress tracking.
Acceptable (separate the modes):
- The system should process standard :Order: by validating and storing it.
- The system should process express :Order: by queuing it for immediate dispatch
without validation.
- The system should process bulk :Order: by splitting it into sub-orders of 100
items each and processing them individually.过于复杂:
- 系统应根据:OrderType:以不同方式处理:Order:。
标准订单需验证并存储。加急订单跳过验证,
直接进入立即调度队列。批量订单拆分为
每份100个项的子订单,分别验证并
并行处理,同时跟踪进度。
可接受(拆分模式):
- 系统应通过验证并存储来处理标准:Order:。
- 系统应将加急:Order:加入立即调度队列,
无需验证。
- 系统应将批量:Order:拆分为每份100个项的子订单,
并分别处理。Too complex:
- The system should fetch :Resource: items from the external API with
pagination support, retry on transient errors with exponential backoff,
cache results for 5 minutes, and log all API calls.
Acceptable (separate concerns):
- The system should fetch :Resource: items from the external API.
- The system should paginate when fetching :Resource: items from the external API.
- The system should retry fetching :Resource: on transient errors using
exponential backoff.过于复杂:
- 系统应从外部API获取:Resource:项,
支持分页,对瞬时错误使用指数退避重试,
缓存结果5分钟,并记录所有API调用。
可接受(拆分关注点):
- 系统应从外部API获取:Resource:项。
- 系统在从外部API获取:Resource:项时应支持分页。
- 系统应使用指数退避重试获取:Resource:的瞬时错误。Too complex:
- Display a dashboard showing :User: profile, recent :Task: items in a
sortable table, a notification bell with unread count, and a sidebar
with navigation links that highlights the active page.
Acceptable (build incrementally):
- Display a dashboard page for :User:.
- Show recent :Task: items in a sortable table on the dashboard.
- Show a notification indicator with the unread count on the dashboard.过于复杂:
- 显示一个仪表板,包含:User:资料、可排序表格中的最近:Task:项、
带有未读计数的通知铃铛,以及突出显示当前页面的导航链接侧边栏。
可接受(逐步构建):
- 显示:User:的仪表板页面。
- 在仪表板上以可排序表格显示最近的:Task:项。
- 在仪表板上显示带有未读计数的通知指示器。ACCEPTABLETOO COMPLEXACCEPTABLETOO COMPLEXadd-functional-specadd-functional-specsbreak-down-func-specadd-functional-specadd-functional-specsbreak-down-func-spec