<commit_before>CREATE OR REPLACE FUNCTION ts.insertaggregatechronology(_aggregatedatasetid integer,
  _agetypeid integer,
  _isdefault boolean,
  _chronologyname character varying,
  _ageboundyounger integer,
  _ageboundolder integer,
  _notes character varying)
 RETURNS TABLE(aggregatechronid integer)
 LANGUAGE sql
AS $function$
  INSERT INTO ndb.aggregatechronologies
	(aggregatedatasetid, agetypeid, isdefault, chronologyname, ageboundyounger, ageboundolder, notes)
  VALUES (_aggregatedatasetid, _agetypeid, _isdefault, _chronologyname, _ageboundyounger, _ageboundolder, _notes)
  RETURNING aggregatechronid
$function$<commit_msg>Insert aggregate geochron now has the proper defaults.<commit_after>CREATE OR REPLACE FUNCTION ts.insertaggregatechronology(_aggregatedatasetid integer,
  _agetypeid integer,
  _isdefault boolean,
  _chronologyname character varying,
  _ageboundyounger integer,
  _ageboundolder integer,
  _notes character varying DEFAULT NULL::character varying)
 RETURNS TABLE(aggregatechronid integer)
 LANGUAGE sql
AS $function$
  INSERT INTO ndb.aggregatechronologies
	(aggregatedatasetid, agetypeid, isdefault, chronologyname, ageboundyounger, ageboundolder, notes)
  VALUES (_aggregatedatasetid, _agetypeid, _isdefault, _chronologyname, _ageboundyounger, _ageboundolder, _notes)
  RETURNING aggregatechronid
$function$
{'fraction_non_alphanumeric': 0.05427509293680297, 'fraction_numerical': 0.0, 'mean_word_length': 7.855263157894737, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6258933', 'n_tokens_mistral': 433, 'n_tokens_neox': 406, 'n_words': 105}