Skip to content

Commit d59034e

Browse files
committed
demo: reproducible VHS terminal demo (tape + gif + mp4); engine default output is table-only
1 parent 2f52d76 commit d59034e

5 files changed

Lines changed: 48 additions & 5 deletions

File tree

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ curl -fsSL https://raw.githubusercontent.com/karanb192/itr-wala/main/install.sh
1717

1818
Prefer not to pipe curl into bash? Good instinct. Clone the repo, read `install.sh` (~80 lines), then run it.
1919

20+
![itr-wala demo: golden tests pass, income validates against document totals, both regimes computed — ₹42,811 found](demo/demo.gif)
21+
22+
*Even the demo is deterministic: it's a [VHS](https://github.com/charmbracelet/vhs) tape ([`demo/demo.tape`](demo/demo.tape)) replaying the bundled fictional example — re-render it yourself with `vhs demo/demo.tape`.*
23+
2024
Then open your agent and say **"file my ITR"**. Hand it your Form 16 and AIS. It does the rest — except the three things only you should ever do: **pay, submit, e-verify**.
2125

2226
## Why this exists
@@ -82,7 +86,7 @@ Income-tax computation — FY 2025-26 (AY 2026-27)
8286
RECOMMENDED: NEW regime (saves Rs. 42,811)
8387
```
8488

85-
<!-- TODO before launch tweet: replace with a 20-second terminal GIF/asciinema of a full session -->
89+
(An MP4 of the same demo is generated alongside the GIF`demo/demo.mp4` — for X/LinkedIn posts.)
8690

8791
## Privacy, honestly
8892

demo/demo.gif

330 KB
Loading

demo/demo.mp4

230 KB
Binary file not shown.

demo/demo.tape

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# itr-wala demo — the demo is code, like everything else here.
2+
# Re-render any time from the repo root: vhs demo/demo.tape
3+
# Requires: vhs (brew install vhs) and python3. Every number shown is
4+
# reproducible from the bundled fictional example — nothing is staged.
5+
6+
Output demo/demo.gif
7+
Output demo/demo.mp4
8+
9+
Set Shell "bash"
10+
Set FontSize 15
11+
Set Width 920
12+
Set Height 900
13+
Set Padding 24
14+
Set Theme "Catppuccin Mocha"
15+
Set TypingSpeed 35ms
16+
17+
Hide
18+
Type "cd skills/itr-wala && export PS1='$ ' && clear"
19+
Enter
20+
Show
21+
22+
Type "# never trust a tax tool that can't prove its math:"
23+
Enter
24+
Sleep 400ms
25+
Type "python3 scripts/test_tax_engine.py"
26+
Enter
27+
Sleep 2.5s
28+
29+
Type "# validate extracted income against Form 16 / 26AS / AIS totals:"
30+
Enter
31+
Sleep 400ms
32+
Type "python3 scripts/validate_income.py assets/example-income.json"
33+
Enter
34+
Sleep 3s
35+
36+
Type "# compute both regimes — every rupee from tested code:"
37+
Enter
38+
Sleep 400ms
39+
Type "python3 scripts/tax_engine.py assets/example-income.json"
40+
Enter
41+
Sleep 9s

skills/itr-wala/scripts/tax_engine.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
Zero dependencies (Python 3.9+ stdlib). All amounts are rupees (int/float).
1111
1212
Usage:
13-
python3 tax_engine.py input.json # full computation, both regimes
14-
python3 tax_engine.py input.json --json # machine-readable output only
13+
python3 tax_engine.py input.json # computation table, both regimes
14+
python3 tax_engine.py input.json --json # machine-readable JSON
1515
echo '{...}' | python3 tax_engine.py -
1616
1717
The LLM driving this skill must NEVER do tax arithmetic itself. It prepares
@@ -631,8 +631,6 @@ def main(argv):
631631
print(json.dumps(result, indent=2))
632632
else:
633633
print(render_table(result))
634-
print("\n--- machine-readable ---")
635-
print(json.dumps(result, indent=2))
636634
return 0
637635

638636

0 commit comments

Comments
 (0)