anchor.diff:  `last_doc` in the `state` object.
   <2> The `map_script` defines `current_date` based on the timestamp of the 
   document, then compares `current_date` with `state.timestamp_latest`, finally 
  -returns `state.last_doc` from the shard. By using `new HashMap(...)` we copy the 
  -source document, this is important whenever you want to pass the full source 
  +returns `state.last_doc` from the shard. By using `new HashMap(...)` you copy 
  +the source document, this is important whenever you want to pass the full source 
   object from one phase to the next.
   <3> The `combine_script` returns `state` from each shard.
   <4> The `reduce_script` iterates through the value of `s.timestamp_latest` 
  
positive.code: by each shard and assigns the different response types to the appropriate 
  properties of the `counts` object; error responses to the error counts, success 
  responses to the success counts, and other responses to the other counts. 
  Finally, returns the `counts` array with the response counts.
negative.code: * <<painless-time-features>>
  * <<painless-group-by>>
  * <<painless-bucket-script>>
  * <<painless-count-http>>
  * <<painless-compare>>
  
  NOTE: While the context of the following examples is the {transform} use case, 
  the Painless scripts in the snippets below can be used in other {es} search 
  