A general storage engine, not sure what to pick as the interface
Simpler:
pub trait StorageEngine { fn store<T: RustcEncodable>(&mut self, t: T); }
Probably better?
def tag_aamc_content(tag_csv) | |
taggings = CSV.parse(tag_csv.strip_heredoc, headers: true) | |
missing_question_ids = Set.new | |
missing_tags = Set.new | |
taggings.each do |tagging_data| | |
question_id = tagging_data['BluePrint ID'] | |
question = Question.where(id: question_id).first | |
if question.nil? |
#!/usr/bin/env python | |
from os.path import basename, splitext | |
from sqlalchemy import create_engine | |
import argparse | |
import getpass | |
import os | |
import pandas as pd | |
import re |