<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -",
    "macCatalyst: 17.4.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "Assignables",
  "identifier" : "/documentation/Assignables/AssignedWorkDocument/computeScore()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Assignables"
    ],
    "preciseIdentifier" : "s:11Assignables20AssignedWorkDocumentV12computeScoreSdyF"
  },
  "title" : "computeScore()"
}
-->

# computeScore()

Gathers all of the points based on all the `AssignedWorkDocument.ScoreAnnotation`s
in the document and its `kind` property.

```
func computeScore() -> Double
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)