Skip to content

Samples

Explore the original prompts and scores across models. For each task, we show the completed rubric and analysis for one selected run. For more tasks, contact us.

Samples

HTTP server (Zynq-7000) · Networking

Accept one HTTP request through a W5500 and return a fixed response. The Cora configures the chip over SPI, and the host peer checks the reply on the wire.

Scores
Claude Fable 5.2 · High · Claude CodeAverage score: 100%Average output tokens: 110.5kAverage cost: $8.36100% score, pass. 100% score, pass. 100% score, pass.
Claude Opus 5.5 · High · Claude CodeAverage score: 27.1%Average output tokens: 53.1kAverage cost: $2.0315% score, fail. 15% score, fail. 51.4% score, fail.
Prompt

Implement a simple HTTP server using the W5500. It should accept requests at the configured path and return the configured response.

Specifics

  • Local MAC address: 02:46:57:00:00:02
  • Local IPv4 address: 10.55.0.2
  • Port: 40011
  • Subnet mask: 255.255.255.0
  • Gateway IPv4 address: 10.55.0.1
  • Request path: /fieldwork
  • Response content type: text/plain
  • ASCII response body: fieldwork
  • Return a 200 OK response with the configured content type and body.
  • Use CRLF line endings and close the connection after responding.

Hardware layout

  • W5500 SCSn pin: CK_SS
  • W5500 SCLK pin: CK_SCK
  • W5500 MOSI pin: CK_MOSI
  • W5500 MISO pin: CK_MISO
  • W5500 INTn pin: CK_IO6
  • W5500 RSTn pin: CK_IO7

References

  • W5500.pdf
  • Cora-Z7-07S-Master.xdc

Build

Target: Cora Z7: Zynq-7000 Single Core — Vivado SystemVerilog (SystemVerilog).

Include your XDC file, pass it to the contraints field of the build JSON.

There is a SanDisk 32 GB SD card in the slot.

Provide the build parameters by writing a fieldwork-build.json file with the following schema:

{
  "type": "object",
  "properties": {
    "sources": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "minItems": 1,
      "uniqueItems": true
    },
    "top": {
      "type": "string",
      "pattern": "^[A-Za-z_][A-Za-z0-9_$]*$"
    },
    "constraints": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "minItems": 1,
      "uniqueItems": true
    }
  },
  "required": [
    "sources",
    "top",
    "constraints"
  ],
  "additionalProperties": false
}

Leave the current directory as a complete, self-contained project. Include every source file and build input it requires, and use project-relative paths. The project must build from source without depending on files or build outputs outside this directory.

Use the available tools in your environment. Submit a complete solution.

Rubrik & Analysis of Selected Trajectory

Claude Opus 5.5 · High · Claude Code

Runtime
13m 53s
Cost
$2.07
Output tokens
53.6k
Overall score15%

Platform Section15% of overall score

CheckPass / FailWeight within section
buildsThe design synthesized and the bitstream built.PASS22.2%
flashesThe image programmed onto the Cora.PASS11.1%
timing constraintsPost-route timing closed. Setup WNS was 1.375 ns and hold WNS was 0.052 ns.PASS66.7%

Runtime Section · HTTP85% of overall score

CheckPass / FailWeight within section
connectedThe host peer opened no TCP connections.FAIL14.3%
listen endpointNothing accepted a connection on 10.55.0.2:40011.FAIL14.3%
exact responseThere was no response to compare with the expected 200 OK.FAIL28.6%
response accuracyNo response bytes arrived.FAIL14.3%
closedNo connection opened, so none closed.FAIL14.3%
single connectionThe host peer opened no TCP connections.FAIL14.3%

Analysis

This task is the hello world of networking. The instruction is simply to accept an HTTP get request and return some fixed response. One motivating use-case of FPGA networking is in high-frequency trading. Their systems are more advanced than this setup, which makes it clear that these simpler tasks need to be nailed.

To send ethernet signal, we equip our test device with a W5500 networking module. Our test device in this instance is Cora Z7 SoC (System on a Chip, or FPGA + processor combo). The Cora is expected to configure the W5500 as needed and use it to read in requests and send out responses.

On average, Opus ran for 17 minutes 45 seconds, spent 53k tokens, and scored a 27%. Here is a trajectory we found representative of the group.

TimeTrajectory Activity
0:00–2:30Checking out the workspace, the references, and available software in the environment.
2:30–4:50Wrote the main code. The code begins with a version check of the W5500 device (basically a health check). We like this idea. The rest of the code appears standard.
4:50–6:55Wrote a simulation for the W5500 and a test bench (good idea). Found some small bugs, fixed them.
6:55–12:00Ran a full build to make sure the code could actually be synthesized and executed on the device.
12:00–13:50Last cleanup of unused variables, re-ran sim, and submitted.

So, what went wrong? It turns out that this W5500 has an electrical nuance where the data it produces is not quite ready exactly on the rising edge of the clock. The simulated environment idealized the W5500’s behavior, and hence the tests passed on paper. In practice this design caused us to never even get past the health check.

Something like this could have been prevented without even the lab-level monitoring equipment we used to detect what went wrong. A particularly strong Fable 5.2 run actually decided to account for this same possible issue by delaying the read of the data just a little bit from the clock edges. This is the behavior we want to reinforce.

Onboard flash (XCORE-200) · Storage

Store one integer over UART and return it after a real power cycle. The value has to live in the Explorer's onboard flash.

Scores
Claude Fable 5.2 · High · Claude CodeAverage score: 100%Average output tokens: 97.2kAverage cost: $8.12100% score, pass. 100% score, pass. 100% score, pass.
Claude Opus 5.5 · High · Claude CodeAverage score: 29.2%Average output tokens: 33.8kAverage cost: $1.6640.5% score, fail. 23.5% score, fail. 23.5% score, fail.
Prompt

Implement a program that provides persistent value storage controlled over UART. Use storage available on the EVK.

UART protocol

  • Format: 8 data bits, 1 stop bit, no parity, LSB-first
  • Baud rate: 115200
  • RX pin: X0D24
  • TX pin: X0D23

On every boot, keep sending these readiness bytes until you get a command: 182, 57, 210, 79, 129, 172. There is no need to keep sending them after that.

The device must accept these packets:

  • SET: A5 01 type length_lo length_hi payload
  • READ: A5 02

The length is the payload size in bytes, encoded as an unsigned 16-bit little-endian value. Persist a valid SET payload before transmitting the commit bytes 83, 167, 28, 232, 146, 109. The UART client may send malformed bytes. Do not acknowledge malformed packets.

The configured value type is integer. Type and payload encodings are:

  • integer: type 01, one signed 32-bit little-endian integer
  • string: type 02, the string's ASCII bytes
  • integer_array: type 03, consecutive signed 32-bit little-endian integers

For a valid READ, return 5A type length_lo length_hi payload, using the stored type and payload.

Build

Target: XMOS XCORE-200 Explorer — XMOS XC (XC).

xcc will be invoked with the fixed board target, then compiler_args in order. compiler_args includes the source files and must include -o and main.xe so the linked image is main.xe in the workspace root.

Source files may use .xc, .c, .cpp, .cc, .cxx, .C, .s, or .S. Headers are included from those sources.

Deployment programs main.xe with xflash. xflash_flags are the arguments passed to xflash.

Provide the build parameters by writing a fieldwork-build.json file with the following schema:

{
  "type": "object",
  "properties": {
    "compiler_args": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "minItems": 1
    },
    "xflash_flags": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "default": []
    }
  },
  "required": [
    "compiler_args"
  ],
  "additionalProperties": false
}

Leave the current directory as a complete, self-contained project. Include every source file and build input it requires, and use project-relative paths. The project must build from source without depending on files or build outputs outside this directory.

Use the available tools in your environment. Submit a complete solution.

Rubrik & Analysis of Selected Trajectory

Claude Opus 5.5 · High · Claude Code

Runtime
31m 48s
Cost
$2.13
Output tokens
41.0k
Overall score40.5%

Platform Section15% of overall score

CheckPass / FailWeight within section
buildsThe firmware built for the Explorer.PASS66.7%
flashesxflash programmed the image.PASS33.3%

Runtime Section · Persistence85% of overall score

CheckPass / FailWeight within section
readyThe board sent its ready bytes before the write.PASS10%
committedIt transmitted the commit bytes after the write.PASS20%
ready after power cycleAfter the power cycle the ready bytes never came back.FAIL20%
value after power cycleThe stored integer was not returned.FAIL50%

Analysis

Devices deployed in the field will not always have power, so using persistent storage to save state, settings, or logs is a very common problem. Think of a monitoring system that runs out of battery or a guitar pedal that gets unplugged and needs to save presets.

This task is also very simple - the device in testing will get a value to store via a simple communication protocol, and it must return that value back when asked. The catch is that we physically power off the device between the write and read requests, so the device has to use flash storage. This instance is run on an XMOS xCORE-200 device, a slightly niche but very powerful processor.

On average, Opus ran for 26 minutes 32 seconds, spent 34k tokens, and scored 29%. Here is one trajectory that was pretty reflective of the bunch

TimeTrajectory Activity
0:00–2:27Initial exploration: workspace, toolchains, the device target, then the quadflash (storage library in the XMOS SDK) headers and device specs
2:27–3:42Wrote the main code. Compilation looks good.
3:42–5:01Figured out how to run a simulation with xsim (XMOS simulator) and plugins for it. Showed lack of comfort with this stuff (a few commands, had to look up examples).
5:01–25:13Ran the simulation. This step is very long and compute-intensive.
25:13–27:11Analyzed the simulation, realized it didn’t simulate the flash chip correctly so the whole 20 minute simulation just sat in an idle loop. Fixed the sim and re-ran.
27:11–31:48Second simulation succeeded and the agent submitted the work.

We like the overall thinking process here, the agent did some research, wrote some code, and ran simulations until they passed. The 20-minute idle simulation was a real nuisance, I think a stronger agent would have been more careful to not just run a very high-compute simulation without getting the basics sorted. More comfort with the simulation tools would also have been great, but that didn’t cost the trajectory too much time.

The reason this failed is because the model assumed that the board came with a 2MB flash chip, but this board actually has a 1MB one. Combined with the agent setting the data sector of flash to start at 1MB, the writes had nowhere to go and failed. This alone is forgivable, but this trajectory’s code actually lied about having persisted the value. This is worst case scenario. Seeing this actually prompted us to change our grading rubric for this section into a payoff matrix:

Storage SuccessfulACK sentReward
YesYesFull marks (1.0)
YesNoNot full marks (.5)
NoYesReally bad score (0)
NoNoNot full marks (.5)

As far as the flash chip goes, ideally these trajectories could have done one of two things:

  1. Verify the specific flash chip by looking at the manual for this particular model.
  2. Write code that dynamically talks to the flash chip and figures out the right size (and other parameters like page size) at runtime. Some trajectories actually did this.