---
title: "Discussion on \"A mutated input can rewrite the reference answer\" | Hashnode"
description: "Discussion on \"A mutated input can rewrite the reference answer\". A correctness harness needs to preserve the task it is checking. This original standard-library example shows what happens when a candidate and its reference share a mutable input.\nThe task is element"
url: "https://hashnode.com/posts/a-mutated-input-can-rewrite-the-reference-answer/6aff21f7865fc7b959a0f091"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [A mutated input can rewrite the reference answer](https://nodus-compute.hashnode.dev/a-mutated-input-can-rewrite-the-reference-answer?utm_source=hashnode&utm_medium=feed)

A correctness harness needs to preserve the task it is checking. This original standard-library example shows what happens when a candidate and its reference share a mutable input. The task is element

Nov 19 · 3 min read · nodus-compute.hashnode.dev  
Read the article

-   [#benchmarking](https://hashnode.com/tag/benchmarking)
-   [#python](https://hashnode.com/tag/python)

## Written by

[Viswaretas Kotra](https://hashnode.com/@viswa-kotra)

@viswa-kotra · San Francisco, USA

  
[View profile](https://hashnode.com/@viswa-kotra)

Founder @ Nodus Compute, previously in HFT, Distributed Systems, and AI.

Founder @ Nodus Compute

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
