Skip to content

Add PILOT_COLLECTION fabric physics constants to peacock_core#110

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/update-pilot-collection-data
Draft

Add PILOT_COLLECTION fabric physics constants to peacock_core#110
Copilot wants to merge 2 commits intomainfrom
copilot/update-pilot-collection-data

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 7, 2026

Introduces PILOT_COLLECTION, a typed registry of 5 pilot fabric profiles with physics properties used by the TryOnYou fit engine.

Changes

  • api/peacock_core.py — adds PILOT_COLLECTION: dict[str, dict[str, float]] with entries eg0eg4, each carrying:

    • drapeCoefficient, weightGSM, elasticityPct, recoveryPct, frictionCoefficient
  • tests/test_peacock_core.py — adds TestPilotCollection covering entry count, key schema, value types, exact values for eg0 (Silk Haussmann), minimum drape on eg3 (Tech Shell), and maximum elasticity on eg4 (Cashmere Cloud)

PILOT_COLLECTION: dict[str, dict[str, float]] = {
    "eg0": {  # Silk Haussmann
        "drapeCoefficient": 0.85, "weightGSM": 60,
        "elasticityPct": 12, "recoveryPct": 95, "frictionCoefficient": 0.22,
    },
    "eg3": {  # Tech Shell — lowest drape
        "drapeCoefficient": 0.15, "weightGSM": 180,
        "elasticityPct": 2, "recoveryPct": 98, "frictionCoefficient": 0.75,
    },
    # eg1 (Business Elite), eg2 (Velvet Night), eg4 (Cashmere Cloud) …
}

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tryonyou-pilot Error Error Apr 7, 2026 1:49pm

Request Review

Copilot AI changed the title [WIP] Update pilot collection with new fabric metrics Add PILOT_COLLECTION fabric physics constants to peacock_core Apr 7, 2026
Copilot AI requested a review from LVT-ENG April 7, 2026 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants