Primary competition visual

R.O.A.D. Barbados Historic Handwriting Challenge

Helping Barbados
$25 000 USD
~2 months left
Optical Character Recognition
Natural Language Processing
1221 joined
273 active
Starti
03 Jul 26
Closei
04 Oct 26
Reveali
04 Oct 26
STARTER CODE EVALUATION MODULE
15 Jul 2026, 16:56 · 0

If you look in the code of their Starter code, you will see a file: eval_metrics.py which have an import at the top

import os

import sys

import yaml

import pandas as pd

SCRIPT_DIR = os.path.dirname(__file__)

EVAL_DIR = os.path.abspath(os.path.join(SCRIPT_DIR, "..", "..", "evaluations"))

if EVAL_DIR not in sys.path:

sys.path.insert(0, EVAL_DIR)

from wer import compute_weighted_wer

from cer import compute_weighted_cer

....

It says go to the SCRIPT_DIR which is the current directory, go up twice and enter an evaluations folder. This evaluations folder likely contain the wer and cer modules being loaded above because an exhaustive search of the starter downloads yields nothing.

Can someone tell me where to find these evaluation files?

Discussion 0 answers