```ruby
class AssessmentSerializer < ActiveModel::Serializer
  embed :ids, include: true
  attributes :id, :score, :notes, :created_at
  has_one :submission
  has_one :assessor
end```

Add published flag to assessment serializer.
user
```ruby
class AssessmentSerializer < ActiveModel::Serializer
  embed :ids, include: true
  attributes :id, :score, :notes, :published, :created_at
  has_one :submission
  has_one :assessor
end
```
assistant