Why I made it

When I get a physics question wrong, seeing the correct answer usually is not enough. I want to know what assumption led me there. A student who thinks an object needs a constant force to keep moving can learn one example and still repeat the same mistake in a new situation.

I built Faultline to find that assumption.

What it does

Faultline runs a short diagnostic about motion, forces, velocity, and gravity. It tracks four possible explanations for the answers: three common misconceptions and a sound-understanding state.

Each answer changes those probabilities. Faultline then chooses the next question from a six-question bank based on which one should reduce the most uncertainty. This means two people can get different four-question paths.

After every answer, the app shows the physics explanation and exactly how the probabilities moved. At the end, it shows the strongest signal and every answer that contributed to it. It then gives the learner a new transfer question to check whether the corrected idea works in a different situation. The result is an estimate and a starting point, not a label.

How I built it

The interface is React and TypeScript. The diagnostic model is a small Bayesian inference engine. It updates P(hypothesis | answer), calculates the entropy of the current probabilities, and ranks the remaining questions by expected information gain.

Everything runs in the browser. There is no account, backend, analytics, API key, or remote font. Refreshing the page clears the session.

I wrote eight deterministic tests for normalization, invalid answers, repeatable selection, adaptive paths, correct-answer calibration, the sound-understanding result, repeated misconception evidence, and the unseen transfer questions.

Challenges

My first model only contained misconceptions. That meant it had to accuse every learner of something, even if all their answers were correct. Adding a sound-understanding state fixed the problem.

Browser testing also caught a gravity likelihood that I had reversed. A correct answer was making the related misconception more likely. I fixed the data and added a test that checks every question: its correct answer must lower the targeted misconception and raise sound understanding.

What I am proud of

  • The question order really changes with the evidence.
  • Every probability change is visible.
  • The final transfer question checks application in a new context.
  • A fully correct learner can finish with sound understanding as the strongest result.
  • Student responses never leave the browser.
  • The app works with a keyboard and respects reduced-motion settings.

What I learned

A transparent small model can be more useful for learning than a larger black box. I also learned that choosing the possible model states matters as much as the formula. If the correct state is missing, correct maths can still produce a bad conclusion.

What comes next

The likelihoods are hand-written for this prototype. I would calibrate them with anonymous classroom response data before using Faultline for real assessment. I would also add teacher-made packs for algebra, chemistry, and other topics.

Built With

Share this project:

Updates

Submission history