Inspiration

We are students who write lab reports from data that keeps changing. Over a few weeks the data gets cleaned again, the code gets re-run and the figures get re-exported. By the night before the deadline, nobody is fully sure the report still matches the files behind it. A figure might be an old version, or the text might say 42 samples when the file now has 40.

This is not only a student problem. A spreadsheet error in a well-known 2010 economics paper went unnoticed until a graduate student found it in 2013. We wanted a tool that checks a report against its own evidence before someone else does.

What it does

Traceback checks whether a report still matches the data, code and figures it was built from. You give it a report and its source folder on the NAS. It gives every claim one result:

  • ## Inspiration

We are students who write lab reports from data that keeps changing. Over a few weeks the data gets cleaned again, the code gets re-run and the figures get re-exported. By the night before the deadline, nobody is fully sure the report still matches the files behind it. A figure might be an old version, or the text might say 42 samples when the file now has 40.

This is not only a student problem. A spreadsheet error in a well-known 2010 economics paper went unnoticed until a graduate student found it in 2013. We wanted a tool that checks a report against its own evidence before someone else does.

What it does

Traceback checks whether a report still matches the data, code and figures it was built from. You give it a report and its source folder on the NAS. It gives every claim one result:

  • Verified: the source was found and it matches.
  • Mismatch: the report says one thing and the data says another.
  • Stale: the figure is older than the data or code behind it.
  • Uncertain: a source was probably found, but it could not be confirmed.
  • Untraceable: no source could be found.

It finishes with a to-do list, headline problems first, with suggested corrected wording. It only reads your files. The one thing it can write is a results file, and only after platform approval.

How we built it

Traceback is a Markdown Skill built with the UGREEN Skill Developer Package. It delegates work to three NAS experts in seven steps:

  1. file-agent confirms the paths, lists the files and takes a checksum of each.
  2. file-agent reads the code, notebooks and data headers as text, to work out which data made which output.
  3. document-agent extracts every claim from the report, with its exact sentence and location.
  4. The Skill matches claims to sources, by exact name first and then by meaning, and shows the reason for every link.
  5. knowledge-agent saves the results if the user asks.

We checked every step against the public capability catalog and ran the official static checker, which passes with no errors or warnings. We used Claude to help choose the idea, check feasibility and draft the package, as disclosed in the Skill.

Challenges we ran into

  • Fitting the idea to real capabilities. Our first draft named the wrong NAS tool for three steps. We rewrote the workflow so each step uses a capability that exists in the catalog.
  • No scripts allowed. A Skill cannot run code, so row counts are read by the on-device model, not computed. We added a rule that a count is only used if two separate reads agree.
  • Trust. A wrong "Verified" is worse than no answer. Every fact is labelled as coming from the system or read by the model, and anything unconfirmed is marked Uncertain.
  • File dates. Copying a project can reset modification times, so Traceback can also compare checksums against an earlier run.

What we learned

We learned how to design a workflow around delegation, where the Skill plans and the NAS experts do the work. We also learned that the hard part of an AI tool is deciding what it should refuse to conclude. Most of our rules are about when to say "Uncertain".

What's next

Traceback has not run on a NAS yet. If we reach Round 2 we will test it on a small synthetic project: a clean report, a report with one stale figure and one wrong sample size, and a calculated value with no saved output.Verified: the source was found and it matches.

  • Mismatch: the report says one thing and the data says another.
  • Stale: the figure is older than the data or code behind it.
  • Uncertain: a source was probably found, but it could not be confirmed.
  • Untraceable: no source could be found.

It finishes with a to-do list, headline problems first, with suggested corrected wording. It only reads your files. The one thing it can write is a results file, and only after platform approval.

How we built it

Traceback is a Markdown Skill built with the UGREEN Skill Developer Package. It delegates work to three NAS experts in seven steps:

  1. file-agent confirms the paths, lists the files and takes a checksum of each.
  2. file-agent reads the code, notebooks and data headers as text, to work out which data made which output.
  3. document-agent extracts every claim from the report, with its exact sentence and location.
  4. The Skill matches claims to sources, by exact name first and then by meaning, and shows the reason for every link.
  5. knowledge-agent saves the results if the user asks.

We checked every step against the public capability catalog and ran the official static checker, which passes with no errors or warnings. We used Claude to help choose the idea, check feasibility and draft the package, as disclosed in the Skill.

Challenges we ran into

  • Fitting the idea to real capabilities. Our first draft named the wrong NAS tool for three steps. We rewrote the workflow so each step uses a capability that exists in the catalog.
  • No scripts allowed. A Skill cannot run code, so row counts are read by the on-device model, not computed. We added a rule that a count is only used if two separate reads agree.
  • Trust. A wrong "Verified" is worse than no answer. Every fact is labelled as coming from the system or read by the model, and anything unconfirmed is marked Uncertain.
  • File dates. Copying a project can reset modification times, so Traceback can also compare checksums against an earlier run.

What we learned

We learned how to design a workflow around delegation, where the Skill plans and the NAS experts do the work. We also learned that the hard part of an AI tool is deciding what it should refuse to conclude. Most of our rules are about when to say "Uncertain".

What's next

Traceback has not run on a NAS yet. If we reach Round 2 we will test it on a small synthetic project: a clean report, a report with one stale figure and one wrong sample size, and a calculated value with no saved output.

Built With

  • claude
Share this project:

Updates

Submission history