{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "haplollc-thinkingorbs--verify-orb-engine-parity-with-tests",
 "repo": "haplollc/ThinkingOrbs",
 "repo_url": "https://github.com/haplollc/ThinkingOrbs",
 "repo_slug": "haplollc-thinkingorbs",
 "title": "Run the test suite and parity sweep on the orb engine",
 "page_title": "How to run the test suite and parity sweep on the orb engine with Thinking Orbs",
 "summary": "Check the Swift engine against the original web geometry before you rely on it.",
 "who": "A maintainer or contributor who needs proof that the Swift port matches the original engine before shipping or changing it.",
 "problem": "A port of a 3D animation engine can drift from the original in small ways that are hard to spot by eye.",
 "outcome": "The unit tests and the differential sweep both run, reporting pass or fail on the geometry checks.",
 "steps": [
  "Clone https://github.com/haplollc/ThinkingOrbs and open the folder in Terminal.",
  "Run `xcodebuild test -scheme ThinkingOrbs -destination \"platform=iOS Simulator,name=iPhone 17 Pro\"` to run the golden vector tests.",
  "Run `Scripts/differential-sweep.sh` to compare the Swift engine with the original engine under Node.",
  "Read the output and note any frame that does not match.",
  "If you change the engine, rerun both commands before you commit."
 ],
 "agent_prompt": "In the ThinkingOrbs repo (https://github.com/haplollc/ThinkingOrbs), run `xcodebuild test -scheme ThinkingOrbs -destination \"platform=iOS Simulator,name=iPhone 17 Pro\"` and `Scripts/differential-sweep.sh`, then report the pass or fail result for each. Verify that the sweep reports zero mismatched frames before you claim parity.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "The sweep needs the original engine running under Node and an iPhone simulator, so it will not run on a machine without them.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "swift",
 "requirements": [
  "Xcode 16 or later with Swift 6, on a Mac",
  "An app targeting iOS 17+, macOS 14+, tvOS 17+, watchOS 10+ or visionOS 1+",
  "Node, only if you want to run Scripts/differential-sweep.sh (inferred from the README, which says the script runs the original engine under Node)"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.7,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/haplollc-thinkingorbs/verify-orb-engine-parity-with-tests/",
 "md": "https://dedupedai.com/use-cases/haplollc-thinkingorbs/verify-orb-engine-parity-with-tests/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/haplollc-thinkingorbs--verify-orb-engine-parity-with-tests.json",
 "api_version": "v1"
}
