Skip to content

2015 with Laurel Karlsson Node.js, NLP, JavaScript, MongoDB

Bechdel Script Test

Works Does your favorite movie pass the Bechdel Test?

On this page
  1. Artist statement
  2. Try it
  3. How it’s made
  4. Lineage

Artist statement

1 She stole it from a friend, Liz Wallace, whose name is on the marquee in the comic strip, reprinted below.Alison Bechdel, The Rule

Most people who hear about the Bechdel Test go looking for a movie they love that fails it, and a lot of them find one. The test comes from a 1985 strip in Alison Bechdel’s comic1 Dykes to Watch Out For. A character says she’ll only see a movie if it has two women in it, they talk to each other, and they talk about something besides a man, and the joke is that the last one she saw was Alien.

1 She stole it from a friend, Liz Wallace, whose name is on the marquee in the comic strip, reprinted below.Alison Bechdel, The Rule

Bechdel Script Test reads the screenplay2 and asks those three questions the same way for every film, including the ones you love. The whole original Star Wars trilogy fails, and so do The Godfather, Back to the Future and The Shawshank Redemption. They sit on the same shelf as the films that pass, under the same pass or fail tag.

3 Guerrilla Girls, Do Women Have To Be Naked To Get Into the Met. Museum?, 1989. Tate collection. tate.org.uk

Counting has been a feminist tool for a long time. In 1989 the Guerrilla Girls counted the art3 at the Met and put the numbers on a poster: fewer than 5% of the artists in the modern art sections were women, but 85% of the nudes were female. Anyone can sit through one movie with a notebook and check it, and one failing movie is easy to wave off. Bechdel Script Test runs the same check across a director’s career or a year of releases, where it gets a lot harder to call any one film an exception.

We made it open source as feminist activism4, so anyone can run the count on the movies they care about.

Try it

Pick a movie to see whether it passes. Open it full screen →

Bechdel Script Test: the headline “Do two women talk to each other about something other than a man?”, the shelf of movie posters marked passes or fails, filtering to films that pass, then the Gone Girl page scoring 3 of 3 and its cast sized by lines spoken

Screenshots

The Bechdel Script Test shelf: search, show and sort controls over a grid of movie posters, each tagged passes or fails with its year and how many of the three rules it meets
The shelf: 3,711 films, 2,301 of them pass
The Gone Girl page: release details, then the cast sized by lines spoken, with Nick at 496 lines in white and Amy at 287 and Boney at 196 in pink for women
Each film page sizes the cast by how many lines they speak

How it’s made

Node.js, NLP, JavaScript, MongoDB

The scripts came from Movie Script Scraper, and the cast from a film database API. The 2015 write-up goes deeper.

It has two weak spots. Words about men run all through English, and a keyword can’t tell what a sentence is about. And it takes each character’s gender from the film database, which credits everyone as an actor or an actress, so it can’t see a trans or nonbinary character.

SCREENPLAY a plain text file READ THE TITLE from the first line title MYAPIFILMS.COM cast, characters and their genders SPLIT INTO SCENES 10-12 keywords like int. and ext. COLLECT DIALOGUE by character TWO+ WOMEN? no yes CHECK THEIR DIALOGUE for he, him, father, king... ABOUT A MAN? yes SCENE FAILS no SCENE PASSES
SCREENPLAY .txt file READ THE TITLE from the first line title MYAPIFILMS.COM cast, characters and their genders SPLIT INTO SCENES 10-12 keywords like int. and ext. COLLECT DIALOGUE by character TWO+ WOMEN? no yes CHECK DIALOGUE for he, him, father, king... SCENE FAILS ABOUT A MAN? yes no SCENE PASSES

Lineage

Works on My Machine

If you liked this project, you might like what I write: homelab builds, AI tools and open source, by email when I have something to say.

It’s free, and you can unsubscribe anytime. You’ll get an email to confirm first.

If you liked this project, consider sharing it on Hacker News, Bluesky, LinkedIn, or X.

Joe Karlsson at his desk, chin on hand, with a microphone in front of him

Joe
Karlsson

Technology is better when it's weird and it's yours. Everything I write about runs in my house.

More about me →

BlueskyLinkedInGitHub