kasnerz / quintd

Data-to-text generation with LLMs using ad-hoc datasets.
https://d2t-llm.github.io
MIT License
7 stars 2 forks source link

bugfix: lookup which catalog entry corresponds to 'life_expectancy' #3

Closed dmhowcroft closed 2 months ago

dmhowcroft commented 3 months ago

the original code relied on hardcoded indexing which meant that it actually returned life-expectancy at 60 instead of overall life expectancy

kasnerz commented 2 months ago

Apparently Owid is adding more tables about life_expectancy and even this fix still leaves 3 tables to choose from (all named life_expectancy) . I added an extra fix in a4715587d150640b7954cc64d764e69797756c76 (hopefully the oldest table will stay in the first position).