FLUX
Two hands drawn in halftone dots, one human and one robotic, reach in from opposite corners until their fingertips touch.

Insan

[FLUX — Operations systems]

Role
Industrial engineering student
Now
On exchange in Korea
Seeking
6-month internship in GermanyFrom spring 2027 · Augsburg, Munich or Stuttgart

Systems where the model extracts and code decides.

A language model reads the messy document: contracts, invoices, datasheets.

Plain, tested code makes the decision, so the verdict is reproducible.

Contract Auditor · Measured runtime
2.3 s
Test functions · Contract Auditor
23
Supply Chain SQL Analytics · Measured runtime
0.34 s

[Projects]

Operations problems, solved in code.

The demos run on Streamlit's free tier. If one shows a wake-up page, it is ready in about 30 seconds.

  1. [Compliance]

    Contract Auditor

    FLX-001

    Problem
    Vendor contracts must be checked against company policy before signing.
    Approach
    Gemini extracts contract terms into a strict Pydantic schema. A pure-Python rule engine then decides pass or fail, so the verdict is reproducible.
    Contract Auditor: Specification
    InputVendor contract PDF
    ExtractionGemini, into a strict Pydantic schema
    DecisionPython policy rules: pass or fail, with a reason for every failure
    Cross-checkLine items against the stated contract value, flagged for review
    Tests23 test functions (pytest), CI on main and pull requests
    Runtime2.3 s measured on the live demo
    TechnologiesFastAPI · Pydantic · Gemini · Streamlit
  2. [Operations]

    Supply Chain Optimizer

    FLX-002

    Problem
    Shortages are found late and fixed by hand across inventory and demand sheets.
    Approach
    Shortage and reorder math is computed deterministically with pandas. CrewAI agents turn the findings into a written procurement plan.
    Supply Chain Optimizer: Specification
    InputBill of materials, inventory and supplier quotes (CSV)
    Decisionpandas engine: build capacity, shortages, order quantities, sourcing options
    Model's roleCrewAI agents write the briefing from the fixed figures only
    Tests14 test functions (pytest), CI on main and pull requests
    Runtime19.2 s measured on the live demo
    TechnologiesCrewAI · pandas · Pydantic · Streamlit
  3. [Finance]

    Invoice Pipeline

    FLX-003

    Problem
    Accounts payable re-types invoice data and misses arithmetic errors.
    Approach
    Structured extraction from invoices, then reconciliation of line items, adjustments and totals in code, flagging any mismatch.
    Invoice Pipeline: Specification
    InputVendor invoice PDFs
    ExtractionGemini, into a strict invoice schema
    DecisionPython reconciliation: line totals, subtotal, adjustments, amount due
    OutputOne line-item CSV; invoices that do not add up are marked for review
    Tests13 test functions (pytest), CI on main and pull requests
    TechnologiesGemini · Pydantic · pytest · Streamlit
  4. [Engineering data]

    Datasheet Batch Processor

    FLX-004

    Problem
    Technical datasheets hold specifications that engineers copy by hand.
    Approach
    Batch extraction of specifications into a typed schema with quality checks that flag incomplete or implausible values.
    Datasheet Batch Processor: Specification
    InputA batch of compressor datasheet PDFs; the repo's samples are public manufacturer datasheets (Atlas Copco, ELGi, Rotrex)
    ExtractionGemini, into typed specs in standard units; unstated values stay empty
    ChecksCompleteness score and plausibility warnings per datasheet
    OutputOne comparison table, exported to CSV
    Tests12 test functions (pytest), CI on main and pull requests
    TechnologiesGemini · Pydantic · pytest · Streamlit
  5. [Operations analytics]

    Supply Chain SQL Analytics

    FLX-005

    Problem
    Operations teams need fast answers on delivery, stock and suppliers from transactional data.
    Approach
    Ten business questions answered in SQL on two years of simulated distributor data: CTEs, window functions, ABC-XYZ and a supplier root-cause check, with a read-only SQL playground.
    Supply Chain SQL Analytics: Specification
    InputTwo years of synthetic distributor data
    EngineDuckDB, one SQL query per business question
    Model's roleNone: plain SQL
    OutputCharts, result tables and a read-only SQL playground
    Tests19 test functions (pytest), CI on main and pull requests
    Runtime0.34 s measured on the live demo
    TechnologiesSQL · DuckDB · pandas · Streamlit

[Benchmarks]

Measured on real public documents.

Standalone scripts in this repo, aimed at the same problems as the projects above, run on purchasing terms published by five OEMs, the official ZUGFeRD and XRechnung test corpora, and EU public award notices. Rule-based, with no language model, so the same input gives the same output.

6 purchasing terms · 115 pages · total parse
6.7 s
ZUGFeRD invoice · median, printed-text extraction
37 ms
XRechnung file · median, arithmetic checks
0.47 ms

Rule-based benchmark runs, the same figures as BENCHMARKS.md. The runtimes on the project sheets are the live demos, which call a model.

[Contract Auditor] Rule-based benchmark

6 public purchasing terms, 115 pages

5 OEMs. Each clause keeps its page and section. Checked against an example supplier policy: Net 30, 24 months warranty, EXW or FCA.

Clauses extracted from public OEM purchasing terms, with page and section citations
DocumentPaymentWarrantyDefault IncotermSpare partsParse
SiemensGeneral Conditions of Purchase, status 2025-10-01Spain · 5 pp.Net 60 · 3% in 14 d Deviationp.2 · §5.136 months Deviationp.2 · §7.7DDP Deviationp.1 · §4.1— 930 ms
BoschTerms and Conditions of Purchase (Germany, English)Germany · 5 pp.Net 30 p.1 · §736 months Deviationp.2 · §9.6FCA p.1 · §6— 661 ms
BMWInternational Terms and Conditions for the Purchase of Production Materials (IPC), version 2022-12-01Germany (international terms) · 21 pp. · saved by hand (site blocks scripts) sha256 1dca9e82ec2f…Set per supply contract Reviewp.7 · §7.5Up to 60 months Deviationp.11 · §10.2FCA p.6 · §515 years p.14 · §14.11,538 ms
Mercedes-BenzMercedes-Benz Special Terms (MBST) 2025Germany · 75 pp.Not stated Not stated Not stated 15 years p.10 · MBST 34/10 · §52,106 ms
Mercedes-BenzAllgemeine Einkaufsbedingungen, Stand 10/26Germany · 3 pp.Not stated Statutory period Reviewp.1 · §11Not stated — 525 ms
ZEISSTerms & Conditions of Purchase V2.1.1United States · 6 pp.Net 45 Deviationp.1 · §912 months p.1 · §11Not stated — 921 ms

6 deviations from Net 30 / 24 mo / EXW/FCA

  1. Siemens Net 60 vs baseline Net 30
  2. Siemens 36 months vs baseline 24
  3. Siemens DDP vs accepted EXW, FCA
  4. Bosch 36 months vs baseline 24
  5. BMW up to 60 months vs baseline 24
  6. ZEISS Net 45 vs baseline Net 30

[Invoice Pipeline] Rule-based benchmark

30 hybrid invoices, 66 XRechnung files

The printed page is read with label rules; the XML embedded in the same PDF is the ground truth.

Fields correct · 28 of 30 invoices fully right
98.7%
Per invoice · median (p95 47.2 ms)
37 ms
KoSIT arithmetic checks · 66 files (33 UBL, 33 CII)
198/198
Correct values per field, out of 30 invoices
invoice_id29 / 30
currency30 / 30
tax_basis_total30 / 30
tax_total29 / 30
grand_total30 / 30
Edge-case audit

The first rule set scored 89.3% (134 of 150 fields). The rules were then fixed while looking at the same 30 files, so 98.7% is not a held-out score. The remaining misses are kept:

  • Mustangproject__MustangGnuaccountingBeispielRE-20201121_508_withBOM.pdfinvoice_id: XML RE-20201121/508, printed page RE-20190610/507. Upstream mismatch: the corpus PDF prints a different invoice number than its own XML.
  • intarsys__zugferd_2p0_EN16931_Rechnungskorrektur.pdftax_total: XML -1.12, printed page 1.12. Layout miss: the minus sign of this credit note sits on another line.

Deterministic checks only. No language model is involved in this benchmark.

[Spend analytics] Rule-based benchmark

100 German award notices on TED

Electrical equipment (CPV 31), transport (34) and industrial machinery (42), published 2026-12-01 to 2026-12-04: a snapshot of the latest notices, out of 47,424 matching.

Awarded · 51 of 100 notices publish a value
€92.4M
Value held by the 10 largest awards
83.8%
Buyer concentration (HHI) · 82 buyers
1,467
Awarded value by CPV division
CPV 31 Electrical machinery and equipment€3,283,1275/12 priced
CPV 34 Transport equipment€78,893,57633/71 priced
CPV 42 Industrial machinery€10,235,85613/17 priced
Top buyers by share of awarded value
DB Regio AG (Bukr 12)27.1%
Hamburger Energienetze GmbH21.6%
Busservice Watzinger GmbH & Co. KG9%
Vestische Straßenbahnen GmbH8.3%
GfA A.d.ö.R8.2%

49 notices publish no value. They are counted, not estimated.

Benchmarked deterministically on publicly published industrial purchasing terms (6 documents from 5 OEMs, 115 pages), official ZUGFeRD / KoSIT XRechnung test corpora, and EU TED public award notices. Zero proprietary or confidential data. No logos, no client relationships implied. BENCHMARKS.md ↗ (opens in a new tab)

[Measured runtimes]

Measured runtimes.

Two execution paths: the live demos, which call a language model where noted, and the rule-based benchmark scripts on public documents.

Measured runtimes: live demos and rule-based benchmarks
Measured runtimeTask & scopeExecution path
2.3 sContract Auditor (live demo)Extract and policy-check a one-page vendor contract.LLM extraction + Python rules · measured 2026-12-02
6.7 sContract Auditor (public corpus)Parse 6 public OEM purchasing terms (115 pages) with clause citations.Deterministic rules only · no LLM
37 msmedian · p95 47.2 msInvoice Pipeline (public corpus)Printed-text extraction checked against the embedded XML across 30 ZUGFeRD PDFs.Deterministic rules only · no LLM
0.47 msmedian per fileXRechnung checks (public corpus)198 arithmetic checks across 66 KoSIT UBL/CII XML files.Deterministic rules only · no LLM
19.2 s0.2 s math + 19.0 s briefingSupply Chain Optimizer (live demo)Shortage and reorder math plus a written procurement plan.pandas + CrewAI · measured 2026-12-02
0.34 sSupply Chain SQL Analytics (live demo)Run ten operational SQL queries on two years of simulated data.DuckDB SQL · no LLM · measured 2026-12-02

Every runtime above is measured directly—no assumed manual baselines. Reviewing outputs still takes a person.

[Shortage simulator] Interactive model

What happens when demand or delivery time changes?

A simplified version of the shortage check in the Supply Chain Optimizer. The reorder point is fixed in advance. Move the sliders to see when real demand or a slower delivery outruns it.

13 units a day
9 days

With 13 units a day and a 9-day lead time, stock runs out 3 times in 60 days, for about 3 days in total, first on day 19. About 40 units of demand go unmet.

Sample model over 60 days: 260 units at the start, 240 units per order, and a reorder point of 100 units (planned for 10 units a day and a 7-day lead time, plus 30 units of safety stock). Demand that cannot be met is lost.

Illustrative sample data, not a real result
  • Stock level
  • Reorder point
  • Shortage

Use the left and right arrow keys to read the stock level day by day.

Show the numbers
Stock level every 5 days for the current settings (sample data)
DayUnits in stockStatus
0260In stock
5195In stock
10130In stock
1565In stock
200Shortage
25193In stock
30128In stock
3563In stock
400Shortage
45191In stock
50126In stock
5561In stock
600In stock

[Race bike] Interactive model

A race bike, part by part.

I like motorcycles, and a race bike is also a good picture of the work: every part is one line in a bill of materials, with a supplier, a lead time and a reorder point. Scroll to take one apart.

Bill of materialsQty

  1. MC-310Seat and tail unit1
  2. MC-320Fairing and aero wings1
  3. MC-220Fuel tank1
  4. MC-410Clip-on bars and levers2
  5. MC-420Front fork2
  6. MC-130Exhaust system1
  7. MC-510Drive chain and sprockets1
  8. MC-110Engine, V41
  9. MC-610Wheels, tyres and brake discs2
  10. MC-010Frame and swingarm1
Bill of materials for the illustrative race bike (supplier, lead time and reorder point are sample values)
CodePartQtySupplierLead timeReorder point
MC-310Seat and tail unit1Supplier A21 days4 units
MC-320Fairing and aero wings1Supplier B35 days3 units
MC-220Fuel tank1Supplier A28 days3 units
MC-410Clip-on bars and levers2Supplier C14 days10 units
MC-420Front fork2Supplier D42 days4 units
MC-130Exhaust system1Supplier E30 days3 units
MC-510Drive chain and sprockets1Supplier C10 days12 units
MC-110Engine, V41Supplier F56 days2 units
MC-610Wheels, tyres and brake discs2Supplier G24 days8 units
MC-010Frame and swingarm1Supplier H63 days2 units

[Approach]

How I build

[Visual studies]

[Contact]

Send a message to Insan.

Industrial engineering student, currently on exchange in Korea. Looking for a six-month internship in Germany from spring 2027, in Augsburg, Munich or Stuttgart.

At least 10 characters.