Skip to content

foolip/chromestatus-mapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chromestatus to web-features mapper

This project uses a generative AI model to map web platform features from chromestatus.com to web-features.

The approach is to include all features from web-features as well as the chromestatus entries in the prompt, with instructions to identify the feature each entry is most likely referring to, if any. The output is JSON which is then parsed to get the results. Many entries are processed in each prompt for efficiency.

Requirements

  • Python 3.9+
  • uv
  • An environment variable GEMINI_API_KEY with a valid API key

Running

First update the chromestatus.json and web-features.json files:

uv run update.py

Then run the main classification script:

uv run main.py

To review the mappings through a web app:

uv run review.py

Finally, to export the accepted mappings to a CSV file:

uv run export.py

About

Mapping chromestatus.com entries to web-features

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published