Ram Tewari

Engineering that shows its work

Purdue University · B.S. Industrial Engineering · Junior · Expected May 2028

I'm Ram, an Industrial Engineering junior at Purdue building intelligent systems: creative about the question, methodical about the proof.

  • PHAROS held-out nDCG@10 0.394 → 0.697 Reported; memory v1 failed its gates
  • Ultraviolette 24% fewer prompt tokens, 11 of 11 planted errors caught Owner confirmed

The journal

20 exhibits in three rooms

The Grand AtriumYou are here

The hall. Its doors lead to every wing.

  1. PHAROSThe Infinite CatalogBuilt
  2. The Mechanical FoundryA concept workshopPlans only
  3. BABELThe Theatre of StoriesPlans only
  4. The Electric GalleryA concept galleryPlans only
  5. ObservatoryThe roof courtyardBuilt
  6. CognitiveOS / ValerieThe Keeper's StudyBuilt
  7. R&BotThe Noir Recording ChamberPlans only

PHAROS: The Infinite Catalog

Ten machines, one for each thing PHAROS does.

  1. 1. Which repositories has PHAROS really indexed?Pick a repository PHAROS really indexed.RECORDED
  2. 2. What will PHAROS refuse to index?Admit the repository, or refuse it with a reason.RUNS HERE
  3. 3. What does it read from a repository?Read only what Git tracks at that commit.RECORDED
  4. 4. How does it cut code into pieces?Split each file into symbols.RECORDED
  5. 5. What does it turn into vectors, and what does indexing cost?Embed a summary of the code, not the code.RUNS HERE
  6. 6. How does it know who calls whom?Link calls, and leave the doubtful ones unlinked.RECORDED
  7. 7. Which retriever answered, and why that one?Ask, and see which retriever answered.RUNS HERE
  8. 8. What if the code changed after it was indexed?Check the source before handing it over.RUNS HERE
  9. 9. What does an assistant get back?Hand an agent cited, budgeted context.RECORDED
  10. 10. Did it work?What it achieved, and what failed.REPORTED

Valerie: The Keeper's Study

Ten exhibits of how her actions are checked.

  1. 1. What does a model actually hand over?The proposal trayRUNS HERE
  2. 2. What is she allowed to point at?The ticket rackRUNS HERE
  3. 3. Can I throw the switch myself?The paired switchesRUNS HERE
  4. 4. What does a refusal do?The refusal trayRUNS HERE
  5. 5. How do I know what really happened?The receipt printerRUNS HERE
  6. 6. What happens in one turn on the Mac?The desk bellSIMULATED
  7. 7. Would the Mac app do this?The risk ledgerSIMULATED
  8. 8. What happens to text from outside?The memory cabinetSIMULATED
  9. 9. What can she do on a Mac?The instrument consoleSIMULATED
  10. 10. What doesn’t this room show?The gap on the shelfWRITTEN

Valerie

Welcome in. Press Guide and I’ll show you around, or walk me to any door.

Walk Valerie with ← → or A D, and press E at a door to go in. Or just pick a wing.

How I work

Creative about the question.
Methodical about the proof.

I treat engineering as a creative discipline with a strict method. The creative part is finding a better question than the one I was handed. The methodical part is deciding what would prove the answer before I build it, then keeping the result, including the parts that fail.

  1. 01 Creative

    Reframe the problem

    Start from a better question than the one on the ticket.

    • PHAROS Code search for AI assistants, reframed as an evidence problem: every answer should name the commit it came from.
    • R&Bot Lyrics, reframed as structure: section tokens so the model writes a song a verse, chorus and bridge at a time.
  2. 02 Methodical

    Decide what would prove it

    Write the bar down before building, so the result can’t move it.

    • Ultraviolette Code, not the language model, decided whether a product claim was correct: a deterministic verifier with numeric tolerances.
    • Valerie A model may propose one typed move. Fixed rules decide whether it runs, and the model can’t change them.
  3. 03 Creative

    Make it something you can touch

    Build the smallest version a person can actually try.

    • Magna A teleoperation interface operators drove by keyboard and joystick, with command latency measured at 58 and 62 ms.
    • This site A building you can walk. Four of PHAROS’s machines run its real code in your browser, and Valerie’s boundary takes your attacks.
  4. 04 Methodical

    Measure, and keep what fails

    Report the result against the bar, and publish the misses beside the wins.

    • PHAROS Test sets and memory gates were locked before the final runs. Retrieval rose; memory failed its gates, and stays on the page at the same size.
    • Ultraviolette In a 40-session A/B test, retrieval cut prompt tokens 24%, and the test also checked that all 11 planted factual errors were still caught.

Pass 2 of 3 How it works Four systems, and the roles behind them 3 minutes

Selected work

Four questions, four systems.

Each project starts from a question nobody handed me. What I built answers it, and the evidence says how well.

01 / Infrastructure

PHAROS

What if code search had to prove which version of the code every answer came from?

A code observatory for AI assistants. Find the function. Follow the evidence.

AST-aware indexing, source verification at commit, repository-filtered retrieval and native MCP.

Read the case study
nDCG@10, held-out set 1
0.394 to 0.697
nDCG@10, held-out set 2
0.463 to 0.726
Memory v1 audited precision
55% Failed gate

Reported 101 held-out questions, one annotator. The failure stays beside the win.

Valerie, a pixel character with deep crimson hair, copper eyes and a cyan hair clip

02 / Intelligent agents

Valerie

What if an assistant could propose anything, but only fixed rules could decide what runs?

A native companion with memory, presence and a deterministic action boundary.

Typed moves are validated against issued state before native engines execute them. She runs the same pattern on this site: every button issues a real, validated action and leaves a receipt.

Read the case study

03 / Model research

R&Bot

Can a small model learn the shape of a song, not just its words?

A 33M-parameter R&B lyrics transformer, trained from scratch. Text generation, not audio generation.

[VERSE] Streetlight hums a minor key

Hand-written example of the format, not model output

04 / Creative software

BABEL

“You kept the light on.”
“I wanted the sky to know where to find us.”

What does a novel look like when it is staged as a scene?

From written narrative to dramatic structure. An original story, seen another way.

Hand-written example, not pipeline output

Experience

Built beyond the screen.

The same method on real teams: a chassis, a warehouse robot, a showroom speech pipeline.

  1. 2026
    Ultraviolette AutomotiveML Engineer Intern

    I built speech processing that runs on the device and analysis that links every finding to its evidence, with numerical checks left to deterministic code rather than the model.

  2. 2025
    Magna InternationalSoftware Intern

    I worked on the teleoperation backend and the operator interface for driving a robot remotely, including the hand-offs between autonomous and manual control.

  3. 2023
    Yulu BikesMechanical Engineering Intern

    I worked on chassis design, CAD and prototyping, battery reliability and drivetrain analysis.

Open the full timeline

Pass 3 of 3 Deep dive The Observatory, and how to reach Ram as long as you like

Above the stacks

The Observatory

The moon window in the hall opens here, onto the sakura courtyard on the roof. It is the quiet end of the building, and the shortest way to read the work.

Ram Tewari / Purdue IE

Bring me a problem.
I’ll bring a better question.