I'm an engineer with only two years of coding experience before the age of AI.
After being laid off from my first remote job with a US company, I started reflecting on two questions:
- Is there something wrong with my approach to system design?
- Is there something wrong with how I use AI?
Looking back, I don't think everything was necessarily my fault.
I had completed three projects, along with several iterations of the company's main product, before getting stuck on my fourth project.
At the time, my team lead gave me two options: redesign the UI of the entire platform or work on HLR.
I had only been with the company for six months. I believed that redesigning the entire platform required a deep understanding of the business and its workflows, rather than just engineering skills. An internal attorney who worked with the system every day was probably better positioned to design it than an engineer like me.
So I chose HLR. Later, the UI redesign moved forward after an internal legal lead proposed a mockup, which seemed to confirm my initial judgment.
The HLR project, however, turned out to be extremely challenging.
A typical target client had over 2,000 documents, including PDFs and around 2,000 pages of scanned documents requiring OCR, some containing checkboxes.
I was overwhelmed.
It was only then that I realized that even something as seemingly common as OCR doesn't necessarily have a fast, highly accurate solution for complex documents.the same time low-cost.
The accuracy figures I had seen for Mistral OCR were around 90–94%, and it was a paid service. AWS document-processing services also cost money. There were unavoidable trade-offs between accuracy, processing time, and cost.
But I kept working on it.
The first month
I started by directly running the AI skill provided by the attorney.
After a few days, I realized that I couldn't reliably control the error rate of the output.
So I decided to restructure the system and reduce its complexity.
The second month
I realized that the attorney's skill wasn't particularly suitable for engineering implementation.
Its first step instructed the LLM to read all the documents.
With that much context, I was concerned about context limitations and hallucinations.
I started researching with Gemini to understand how this work was actually performed in the real world.
That's when I discovered the DRO (Decision Review Officer) workflow.
The first step was to analyze the VA decision letter and structure the information:
- What medical conditions or issues were being evaluated?
- What evidence had the VA already reviewed?
- Which documents were relevant to each issue?
The AI could then review the relevant documents to identify potential errors in the original decision.
This distinction mattered because HLR generally does not allow new evidence to be introduced. The task is to review the existing evidentiary record and identify possible errors.
But there was another question.
How should the system determine whether an issue qualified for a higher disability rating?
The original skill didn't explain this.
It provided BVA decisions, but those decisions were examples of individual cases rather than the binding regulatory criteria needed to determine disability ratings.
My guess was that the attorney expected the AI to make those judgments on its own, which introduced another layer of uncertainty.
Later, Claude suggested integrating the e-CFR, which contains the regulatory criteria for different disability rating levels.
That was a useful breakthrough.
However, there was another problem with the case I was working on.
The VA decision indicated that it had reviewed a particular piece of evidence, but that document was missing from our available files.
When I raised this issue, my team lead suggested treating all the documents in the folder as evidence the VA had already reviewed.
I was also asked to find another case, but I wasn't provided with a reference answer or a complete claims file.
Despite these limitations, I eventually achieved 100% recall on one test case in the test environment, compared against a golden sample, excluding the missing document.
The workflow was roughly:
- Parse the VA decision.
- Identify and retrieve relevant evidence.
- Retrieve the corresponding regulatory criteria from the e-CFR.
- Use GraphRAG and fusion to retrieve relevant information, since medical conditions can also be related to one another.
- Generate the output in the required format.
It took a long time.
My boss felt that I was moving too slowly and iterating too much.
Eventually, another colleague and I were let go,he was senior level,and doing similar law task project.
Reflecting on my approach to system design
Am I wrong? I think I've been developing two approaches to engineering design.
Top-down
Design the foundational architecture based on what I know about the available information, data structures, update frequency, operating environment, and other constraints.
Bottom-up
Do the work manually at least once.
Understand how the task is actually performed, discover the practical shortcuts, and figure out what makes the process simpler and more efficient.
Now I'm working on the AI-Tx Challenge, which is also a long-horizon,reaserch agent, im still facing different tough nuts to crack. AI alone can't solve them, but the approaches above, combined with a bit of independent thinking, can.
Today, I watched Philosophy of Software Design – with John Ousterhout.
He mentioned that even he doesn't necessarily get a design right on the first attempt. He often needs two or three iterations. That gave me some peace of mind.
I'm still learning what good engineering looks like, how to design better systems, and how to use AI effectively without surrendering my own judgment.
I also wonder whether other engineers who grew up in the age of AI are experiencing similar challenges.
How do we develop engineering judgment when AI has accelerated our ability to build software faster than we have accumulated engineering experience?
And how do experienced engineers distinguish necessary iteration from overengineering?
For now, I've made peace with what happened.
Do the right things. Don't be afraid. Keep moving forward.