Methodology

Every metric the system reports is anchored in a consolidated theoretical framework from dramaturgy and narratology, in explicit computational heuristics, or in verifiable public data. Below is the bibliographic + technical foundation that backs the analysis.

Traceability. Any metric you see in your results cites a specific source. If we can't cite it, we don't report it.

No prescription. The system describes your script in terms of theoretical frameworks. It doesn't dictate whether your script is good or bad by any single metric.

Pluralism. Different schools illuminate different aspects of narrative analysis. We expose them without ranking.

Analysis pipeline (9 stages)

Each analysis you request runs these 9 stages in order. Stages 1-2 are deterministic (no LLM). Stages 3-9 call Gemini with versioned, traceable prompts.

  1. Parser. Text extraction from PDF / Word / TXT with deep cleanup: page numbers, page-number folios glued to next line's action, hyphen-broken words across line breaks, letter-spaced text, repeated headers and footers. No LLM.
  2. Stats. Scene segmentation with heuristics calibrated against a corpus of real production-grade screenplays: INT/EXT detection, special scenes (FLASHBACK, DREAM, MONTAGE), slug-line parentheticals, character-name exclusions, ambiguous headers and continuations. Word counts, interior/exterior distribution, estimated runtime. No LLM.
  3. Per-scene analysis with Gemini 3 Flash. Summary, emotions (Plutchik), characters in scene with objective and emotional arc, dialogues with subtext, semantic field (Greimas), props and visual/sound production elements.
  4. Global analysis with Gemini 3.1 Pro. Central conflict (McKee / Egri), typed plot points (Field / Snyder), character arcs (Truby / Campbell), thematic clusters (Greimas / Bal), structural and rhythm patterns (Mamet), aggregated emotional curves.
  5. Revision proposals with Gemini 3.1 Pro. Flagging of possible issues in spelling, grammar and agreement, punctuation, accents, header format, character consistency, mismatched parentheses, near repetitions, temporal and location coherence, tense. The system suggests; the writer decides what to accept.
  6. Executive synthesis with Gemini 3.1 Pro. Premise / controlling idea (McKee), primary genre + sub-genres with confidence and rationale, cinematic comparables (3-5 titles with explicit similarity dimensions).
  7. Diversity and representation with Gemini 3.1 Pro. Automated Bechdel test (Alison Bechdel, 1985: ≥2 named female characters, who talk to each other, about something other than a man). Cast composition by gender detected in text. Representation notes.
  8. Structured extraction with LangExtract (Gemini 3 Flash). Characters, emotions, locations, stage directions, relationships, objects and themes with literal citation and character offsets back to the script (zero-hallucination).
  9. Per-scene embeddings with gemini-embedding-2 (output_dim 768 via MRL truncation, auto-normalized). The RAG chat embeds every question and retrieves the top-5 most similar scenes by cosine similarity before calling Gemini 3.1 Pro — traceable answers, scoped to the analysis, or explicit "not in the analyzed script".

Models in use

Configurable via backend env vars. Allows swapping between Gemini Flash (fast, cheap) and Gemini Pro (deep reasoning) per stage.

Derived analyses (no extra LLM)

Once the 9-stage pipeline finishes, several views compute additional metrics on the data already produced. They DO NOT consume tokens nor add per-analysis cost — they are pure computations on the resulting JSON. That makes them fast and repeatable without waiting.

Diversity and representation

Bechdel test — proposed by cartoonist Alison Bechdel in her comic Dykes to Watch Out For (1985, strip "The Rule"). Considered passed if the work meets 3 criteria: (1) at least 2 named female characters, (2) talk to each other, (3) about something other than a man. It's a minimal presence test — it doesn't certify a work as "feminist" nor that representation is rich.

Cast composition — distribution of detected genders in the script text across characters with dialogue. If gender can't be inferred from context, it's marked as "unknown".

Declared limitations: we only work on the script text. We don't detect ethnic, sexual orientation, disability, or class representation — that would require risky inferences and is usually casting/direction info, not in the text.

Festival window

Manually curated list from each festival's public information: editorial lines declared on their websites, FIAPF prestige, genre/format/duration accepted, language, production profile typically programmed. 26 festivals: 8 Spain, 6 Latin America, 12 Europe/USA.

Matching by weighted sum: duration (40 pts) + genre (30) + language (15) + budget fit (15). Only festivals with ≥40 points are shown. The score DOES NOT predict selection — it reflects editorial fit against public criteria. The actual selection is decided by the festival's jury and depends on many factors not derivable from the text (quality of the piece, network, release window, etc.).

The catalog is updated periodically. If you miss a festival relevant to your market, write to us.

What the system does NOT do (deliberately)

Some decisions belong exclusively to professional human judgment. The system doesn't replace them.

Bibliography

References in APA format with an explanation of what we take from each author. Citations in the results views link to their entry here.

Caveat: most cited theory belongs to the Western tradition (Hollywood + French structuralism + North-American psychology). The system doesn't replace non-Western narrative frameworks and doesn't substitute a human script consultant.