# Score Nova-3 and Flux STT on a noisy clip

> Deepgram workshops › Field inspection logger workshop › Score Nova-3 and Flux STT on a noisy clip
> Web version: https://workshops.deepgram.com/events/field-inspection-logger/compare-models

### Get ready for step 6 {#first-step}

**Goal:** Play a recording of eight inspections through the page, and get a score for how well Deepgram Nova-3 or Deepgram Flux STT (speech-to-text) heard them.

We're building a web page that listens to you talk and writes your inspection report for you.

**Step 6 of 7.** Done: steps 1 to 5. Now: step 6, Nova-3 compared with Flux STT. Still to come: step 7.

**So far:** a page where you stop talking and the record files itself.

**In this step, you'll:**

- Play a recording of eight inspections through the page.
- Get a score for how well each model heard them.

Nova-3 writes down everything you say. It doesn't decide when an inspection is over. With the clip, the page starts a new record at any long pause. Flux STT notices on its own when you finish a turn, and each finished turn becomes a row.

The sample clip is a recording that comes with the kit. You don't need your microphone for this step, so the **Microphone** menu doesn't matter here.

**Switch to this step.** Skip this if the label at the top of the page already names step 6.

- **Codespace or your own computer.** In the app terminal, press Ctrl+C. Run `npm run step 6`, then `npm start`.
- **Docker.** In your second terminal, run `docker compose run --rm app npm run step 6`. Wait about 10 seconds.

The terminal prints the new step's name. If the page looks stuck after you switch, [restart the app](/events/field-inspection-logger/setup#if-something-looks-wrong) and reload the page.

### Play the sample clip {#play-the-clip}

1. Reload the page. The label at the top names step 6. You'll see a new **Sample clip** panel.
2. In the **Mode** menu, choose the Hands-free option, as in step 5. In the **Clip** menu, choose **Noisy (steady hiss, like a plant floor)**.
3. Click **Play sample clip**. You'll see "Playing" with a percentage. The words appear under **What Deepgram hears**, and rows appear in **Completed inspections**.
4. Wait for the clip to end. It takes about a minute and a half. You'll see a score under the button.

The score names the model and the clip, then gives three results. In the kit's example, the page found 7 of 8 equipment tags, got 84% of fields right, and heard 8 of 8 records.

Tags found counts the equipment IDs the page caught, and fields right is the share of IDs, conditions, severities, and notes that came out right. The score also lists each of those four. Records heard counts the records the page made, and more than the clip holds means it split one inspection or heard noise.

Scores change from run to run, even on the same clip, so your numbers will differ from the example. Higher is better.

Try **Manual (Nova-3)** or **Clean (quiet room)** and compare. Playing a clip empties the table first. To let the Zoom room hear the clip, tick **Play out loud (so a Zoom share with sound carries it)**. Then share the browser tab in Zoom with sound turned on.

**You should see:** a score under **Play sample clip**. If you don't, use the fixes below.

### Fix what looks wrong {#if-something-looks-wrong}

- **The clip ended but no score shows yet.** Wait for "Finishing the last record..." to clear. The score appears a couple of seconds after the clip ends.
- **Every ID in the table is empty.** The **Keyterms** box is empty. Reload the page to bring back the starting list.
- **No score appears at all.** Clicking **Start talking** while the clip plays stops the clip, and no score appears. Play the clip again and leave the page alone until it ends.

For anything else, find what you see in the [Start here](https://github.com/deepgram-devs/field-inspection-logger-workshop/blob/main/docs/troubleshooting.md#start-here) table. Never paste your key.

### See why it works (optional) {#under-the-hood}

A recording makes a fair test, because every run hears the same audio. The page sends it in 80 millisecond slices at normal speed, the same way it sends your microphone. The noisy clip has a steady hiss mixed in.

A tag counts as found when any heard record has that ID. A note is right when at least 80% of its words came through. "Fields right" is the share of all 32 answers, 8 records with 4 fields each.

This step also changes `FLUX_SETTINGS` to 0.9 and 1500, because some records in the clip have a pause inside them.

To compare every combination at once, you can run `node scripts/score.js`, or `docker compose run --rm app node scripts/score.js` with Docker. You don't have to run it. It needs your key in `.env`, takes about a minute and a half, and opens eight connections to Deepgram at once. The kit's [step 6 page](https://github.com/deepgram-devs/field-inspection-logger-workshop/blob/main/docs/step-6.md) shows two real runs.
