Urgent.News

What's breaking now, across thousands of outlets.

AI

You Can't Test Money Controls With a Free Model

Every budget gate in my v0.2.0 field test was green. Every spend-velocity guard passed. Every tenant cap held. Every ROI flag was clean. All of it was green-on-vacuum. The local model was priced at $0, so no run could ever breach. My "budget enforcement" was a unit test about arithmetic — it proved the math, not the gate. When I sat down to test the cost system on HivePlane v0.2.0 — four budgets,…

The article reveals a hidden flaw in budget gate testing when using a free model. Despite all checks and controls appearing to pass in a simulated environment, the reality changes once the model costs money. Four budgets, spend-velocity guards, tenant spend caps, cost-per-completed-task metrics, ROI flags, and an attestation-based result cache are all rendered untestable when the underlying model has zero cost.

The green test proving the math is ultimately meaningless if the model's cost is never enforced. A zero-cost default model makes each gate structurally untestable because there's no spend to exceed, no velocity to detect, no caps to breach, no ROI to flag, and no cost to flag. The test only demonstrates arithmetic correctness, not actual enforcement.

The fix isn't a code change, but a test-design feature: an opt-in "priced profile" that prices the local model, allowing the budget gate to operate at the right stage, before expensive work begins. Ignoring this can lead to real-world problems where budgets are never refused, spend caps are unenforced, and ROI metrics are meaningless. The author emphasizes the importance of pricing the model in test profiles and binding caches to attestation validation to prevent silent regressions and ensure actual budget enforcement.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

Pinterest’s AI now turns beauty Pins into action plans

Pinterest’s new AI-powered Beauty Guides translate hair and nail Pins into salon terminology, with estimated costs, appointment times and maintenance needs.

  • Beauty Guides AI transforms beauty Pins into salon plans
  • Turns visual inspiration into stylist terminology and costs
  • Available via 'Get the Guide' button in Pinterest app

Consent Needs a Creator-Facing Control Surface

Consent Needs a Creator-Facing Control Surface Consent is not meaningful if the person behind the voice cannot see what the system is doing.

  • Visibility is key for creator control over voice recordings
  • SAG-AFTRA contract requires explicit consent for digital replica use
  • Creator dashboard should link consent to product activation and compensation

More from Tuesday 6 October →