Skip to content

mathspace/dato-tune

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dato-tune

Estimates difficulty of Lantern Questions using Maximum Likelihood Estimation.

Setup

  1. Make sure you have installed:
  1. Configure SnowSQL with your username in ~/.snowsql/config:
[connections]
username = "<your_username>"
  1. Install dependencies using uv:
uv sync
  1. Create configuration file:
cp config.ini.example config.ini

Usage

Fetch Data from Snowflake

Fetch student response data for a specific curriculum and date range:

uv run item_estimation/main.py fetch \
  --region us \
  --curriculum-id 15 \
  --outfile lantern_responses.csv \
  --begin-date 2025-10-01 \
  --end-date 2025-12-31

Note: A web browser will open automatically for Snowflake authentication. You'll need appropriate Snowflake access permissions.

Run Item Difficulty Estimation

Estimate item difficulties using the fetched data:

uv run item_estimation/main.py infer \
  --curriculum-id 15 \
  --infile lantern_responses.csv \
  --outfile difficulties.csv

Results are saved to the specified output file, and further results are saved to result_folder as defined in config.ini.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages