Hire
The platform Request a hire Locum cover
Find work
Jobs Locum shifts CV builder Career services LinkedIn profile service Cover letters
Pricing About
Sign in Create account
Updated · 8 min read

We Are Open-Sourcing Monica ATS, Our ATS Checker for CVs

monica-ats is the open-source engine behind the Monica CV checker. It reads a PDF or Word CV the way an applicant tracking system does, scores it on 26 checks and links each finding to the lines it is based on.

On this page
  1. What does an ATS actually receive?
  2. How do you turn glyphs back into lines?
  3. Where do the columns go?
  4. How do you find a section nobody labelled properly?
  5. What counts as a bullet point?
  6. What about Word files?
  7. How do you test a parser like this?
  8. Why does every check carry evidence?
  9. What is open, and what isn't?
  10. What do the scores look like?

In a hurry? Drop your CV into the CV checker. It reads PDF and Word files in your browser, nothing is uploaded, and you get a score out of 100 with every finding traced to a line of your CV. Or run the engine yourself: npx github:rmiyoyo/monica-ats cv.pdf. The rest of this post describes how it works.

The Monica CV checker. On the left, a CV with a box over every line it read, coloured bands over each section and the name outlined in orange. On the right, six completed reading steps and a score of 89 out of 100.
The checker after reading a CV: each line it reconstructed is boxed, and each section is shaded.

An applicant tracking system (ATS) starts from the file, and a PDF stores drawing instructions: glyphs, fonts and coordinates. Headings, jobs, dates and bullet points are not in the file. A parser has to reconstruct them, and several common CV designs make that reconstruction unreliable.

monica-ats, the parser and scorer behind our CV checker, is open source under the MIT licence. This post covers how it reads a CV, how it scores one, and how it is tested.

What does an ATS actually receive?

Here is the start of a section heading, EXPERIENCE set with wide letter spacing, as pdf.js hands it over:

{"str":"E","transform":[7,0,0,7,30,680.88],"width":4.67,"fontName":"g_d0_f1"}
{"str":"X","transform":[7,0,0,7,38.87,680.88],"width":4.67,"fontName":"g_d0_f1"}
{"str":"P","transform":[7,0,0,7,47.73,680.88],"width":4.67,"fontName":"g_d0_f1"}
{"str":"E","transform":[7,0,0,7,56.6,680.88],"width":4.67,"fontName":"g_d0_f1"}

One item per letter, each 4.67 points wide and 4.2 points from the next. That is the whole of it: a string, an affine transform whose last two numbers are the baseline position in points, a width, and a font handle. There is no "this is a heading", no "this belongs to the job above", no reading order beyond the order the PDF happened to draw things in. Everything else is inferred.

Most extraction errors come from this step. These are real outputs, from pypdf and from a reader that sorts text by position, for design choices that look correct on screen:

What the designer didWhat a parser reads
Spaced out the heading lettersS U M M A R Y, which matches no heading anywhere
Used small capitalsE XPERIENCE and 2022 - P RESENT: browsers fake small caps with two font sizes, and the size change reads as a word break
Put headings in a label columnEXPERIENCE Hillside Junior Academy 2022 - Present: the section heading is now part of the first job
Put skills in a sidebarDefensive driving Careful, punctual driver with eight years: the sidebar and the profile, interleaved line by line
Sent a Word filewhatever the recruiter's copy of Word, LibreOffice or the ATS's converter decides the layout is today

None of these is visible on the rendered page, but each one changes the text a parser extracts.

Pipeline diagram. A PDF or .docx becomes lines through baseline clusters and gap-aware joins, then columns found per full-width band, then sections with a heading lexicon and spacing-blind matching, then entries with roles, dates and bullets by glyph or indent, then 26 checks each pointing at the lines it judged. Under each stage, the failure it guards against: spaced or split headings, a sidebar read across the page, a heading glued to the first job, bullets drawn as shapes, weak phrasing without numbers.
The reader's stages, with a common failure at each.

How do you turn glyphs back into lines?

Group items whose baselines are within half a font size of each other, then sort each group left to right. Joining the items within a line is the harder part. pdf.js sometimes gives one item per word, sometimes one per letter, sometimes a run with its own spaces baked in, so the gap between items decides what goes between them: under 0.12 em is the same word, under 1.2 em is a space, and anything wider becomes a double space, which later stages treat as a field separator. That last rule is what lets an employer on the left and a date range pushed to the right margin, on the same baseline, split into two fields instead of one long name.

The same pass catches synthesised small caps. Two letters that touch, with no gap, but whose font sizes differ by more than 15%, are almost always a browser faking small capitals. We join them, so our reader sees EXPERIENCE, and we flag the line, because the next reader probably will not.

Where do the columns go?

A two-column CV has a vertical strip of empty space that no text crosses. Finding it naively fails on almost every real design, because a full-width name, profile or footer crosses every candidate gutter. So the search works in bands. For each candidate cut across the page, the items that cross it are full-width lines, and every band between two of them is tested on its own: does the cut split the band's text into two substantial halves, at least 20% each? Candidates are weighted by the share of the page's text they cover, so a true sidebar beats a small two-column block of education and certifications.

One more condition keeps it honest: the right-hand column must have a straight left edge. A grid of skill chips also leaves vertical gaps, but its items start at ragged positions, and treating it as two columns scrambles the skills. Inside a column, dates follow the text to their left, so a right-aligned 2017 - 2019 stays with its school.

The reader takes the left column, then the right. Many parsers read across the page instead, so the checker deducts points for two-column layouts even when it reads them correctly itself.

How do you find a section nobody labelled properly?

With a heading lexicon. Work experience is also Employment history, Professional background, Internships, Industrial attachment and Consultancy. Education is also Academic qualifications and Educational background. A Kenyan CV adds Referees, Bio data and Personal particulars, which most English-language parsers have never seen.

Matching is done twice: once on the text, and once with every space removed, which is how E X P E R I E N C E still becomes Work experience. Two headings sitting side by side, like EDUCATION CERTIFICATIONS above two columns, are split. A capitalised label at the start of a line followed by a wide gap is split off from the content beside it. And a short, capitalised, larger-than-body line that matches nothing is recorded as an unknown heading, so MY JOURNEY starts its own section instead of swallowing the job above it, and costs a couple of points for being a heading no ATS will recognise.

The What software sees tab: the CV as numbered plain text lines, with S U M M A R Y and E X P E R I E N C E highlighted as section headings, and every bullet point on its own line.
"What software sees": the CV as the plain lines the scorer works from.

What counts as a bullet point?

If the line starts with a bullet glyph, it is a bullet. Many CV designs draw the dot as a shape, though, and then the text arrives with nothing in front of it. Those points are found by indentation: a line indented at least 2.5 points past the role heading, at least three words long and not reading like a job title or employer, starts a point, and the point continues until a line ends in ., ;, !, ? or ). Wrapped lines that start with a lowercase letter always continue.

Each point is then judged on its own. Does it open with an action verb? The verb list is 322 stems and 30 irregular past forms, matched with enough morphology that Triaged, planned and Coordinating all count. Does it contain a number that is not a date or a phone number? Does it say "responsible for", "duties included" or "I"? A point that starts with a verb and contains a number is marked as strong.

What about Word files?

A .docx is a zip of XML. The checker unzips it with the browser's own DecompressionStream, parses the XML with a parser small enough to also run in Node, and walks paragraphs, list items, table cells, headers and text boxes. Deleted tracked changes are skipped, and text boxes are read once, not twice; Word stores each one again as a fallback for old readers. Then it lays the paragraphs out on synthetic A4 pages, with real font sizes, bold and indentation, so the rest of the pipeline cannot tell it apart from a PDF.

Word files lose 15 points. Their layout depends on the software that opens them: fonts are substituted, lines reflow and pages break differently, and the file can be edited. The deduction is 20 points if tracked changes or comments remain, because those are visible to the recruiter.

How do you test a parser like this?

The repository's fixtures are made-up CVs, one for each failure above: letter-spaced headings, synthesised small caps, a label column, a sidebar, bullets drawn as shapes, weak points, a scan, a clean Word file, a messy one with tracked changes and a text box, and a Word table pretending to be two columns. Each test pins down a behaviour, not just a score: the Word text box appears exactly once, the deleted word does not appear at all, the sidebar's seven skills are all found.

We also run every design from a CV builder through the reader and through pypdf, an unrelated parser, and compare the two. One result of that comparison: what appeared to be a broken bullet character (�) in pypdf's output was the Windows console failing to print U+2022; pypdf had decoded it correctly. When debugging text extraction on Windows, print code points rather than strings.

Why does every check carry evidence?

Each of the 26 checks returns the ids of the lines it judged, and the checker lights those lines up on your CV when you click it. The checks fall into seven groups:

CategoryPointsWhat it asks
Contact details15Can a recruiter reach you, and find out where you are?
Readable by recruitment software20Real text, standard headings, clean characters, one column, sensible length, and nothing other parsers would mangle
Profile8Is there a short profile, under a heading?
Work experience35Dated roles, newest first, no unexplained gaps, bullet points that lead with verbs and carry numbers
Education10Named qualifications, institutions and years
Skills7At least five, mostly specific
Kenyan CV basics5Referees, and no ID number, date of birth or marital status
The checker with the Standard section headings check selected. On the CV, the six letter-spaced headings are outlined and highlighted. On the right, the check scores 0 out of 4 and quotes the headings, with the fix: type each heading in normal capitals.
Selecting a finding highlights the lines it refers to.

What is open, and what isn't?

monica-ats is the whole reader and scorer, a command-line tool and the test suite, under the MIT licence. It runs in the browser or in Node, it has one dependency, pdf.js, and it never sends a CV anywhere. Issues and pull requests are welcome, particularly CV layouts it reads incorrectly.

Other Monica features are not part of the open-source release. With an account, the CV checker also scores your CV against a specific job advert with AI and lists the skills and keywords the employer asked for that your CV leaves out. The CV builder has fifteen designs that read cleanly in other parsers too, saved versions for every job you apply for, and AI help with wording for Pro members. And if you would rather not do any of it yourself, a CV expert will write it from KES 200.

What do the scores look like?

In the fixtures, the same teacher's CV scores 96 in a single-column design, 89 with letter-spaced headings, and 83 as a Word file. The content is identical in all three; only the formatting differs. You can check your own CV at monicahr.com/cv-checker.

Hiring, handled

Looking for work in Kenya? Browse open jobs and build a free CV. Hiring? We find, check and shortlist the right people for you.

Browse jobs Request a hire
First published Read as Markdown

Keep reading