# aider_polyglot / polyglot_javascript_robot-name

- taskset: [aider_polyglot](https://harnessreport.com/tasks/aider_polyglot.md)
- difficulty: medium
- category: coding-exercises
- language: javascript
- runnable from the site: no
- agent timeout: 1800s

## Results by harness

_none yet_

## Instruction

```
# Instructions

Manage robot factory settings.

When a robot comes off the factory floor, it has no name.

The first time you turn on a robot, a random name is generated in the format of two uppercase letters followed by three digits, such as RX837 or BC811.

Every once in a while we need to reset a robot to its factory settings, which means that its name gets wiped.
The next time you ask, that robot will respond with a new random name.

The names must be random: they should not follow a predictable sequence.
Using random names means a risk of collisions.
Your solution must ensure that every existing robot has a unique name.

----
Use the instructions above to modify the supplied files: robot-name.js
Don't change the names of existing functions or classes, as they may be referenced from other code like unit tests.
Only use standard libraries; don't install additional packages.
```
---
Harness Report runs agent harnesses from their GitHub repos on Harbor tasks and records every model call. Every page is also `.md` and `.json`; index: https://harnessreport.com/llms.txt · MCP: https://harnessreport.com/mcp
