Ask a codebase anything. Every answer points to the code.
RepoLens reads a repository, explains how it works in plain English, and links every claim to the exact lines it came from. When the code doesn't have the answer, it says so.
Paste a public GitHub URL or a folder on this computer.
Where is the max_age expiry checked?
When a signed value is loaded, itsdangerous works out how old its signature is. If it is older than the allowed age, or claims to come from the future, the value is rejected as expired.
-
Work out the signature's age
The time it was signed is subtracted from the current time.
timed.py:138–140 -
Reject it if it's too old
If the age is more than the allowed maximum, a "signature expired" error is raised.
timed.py:141–144 -
Reject times from the future
A negative age means the timestamp is in the future, so that is rejected too.
timed.py:148–152
How it works
-
Index a repository
Paste a GitHub URL or a folder path. RepoLens splits the code into functions and small chunks, and builds a search index of them.
-
Ask in plain English
It searches two ways, by exact words and by meaning, then writes an answer using only the code it found.
-
Read it your way
Start with a simple explanation and a step-by-step diagram. Switch to the detailed view for the exact code behind every sentence.
Built not to guess
Every claim links to its source
Answers cite files and line ranges. Each citation is checked against the code that was actually retrieved, so a made-up reference can't pass as a real one.
It says when it doesn't know
If nothing in the repository is close to your question, RepoLens refuses before even asking the model. If the closest code doesn't answer it, the model says so instead of inventing an answer.
You can see how it searched
Every answer shows which pieces of code were found, how keyword and meaning search ranked them, and which ones were used.
Try it on a repository you know
The best test is code you already understand. Ask it something you know the answer to.
Open the app