<commit_before>$(document).ready(function() {

  var $index = $('#index')
  if ($index){

  // init ScrollMagic Controller
  var controller = new ScrollMagic();

  // Scene Handler
  var scene = new ScrollScene({
    triggerElement: "#pinned-trigger1", // point of execution
    duration: $(window).height() - 100, // pin element for the window height - 1
    triggerHook: 0, // don't trigger until #pinned-trigger1 hits the top of the viewport
    reverse: true // allows the effect to trigger when scrolled in the reverse direction
  }).setPin("#pinned-element1"); // the element we want to pin
  // Scene2 Handler
  var scene2 = new ScrollScene({
    triggerElement: "#pinned-trigger2", // point of execution
    duration: 150 // pin the element for a total of 400px
  }).setPin("#pinned-element2"); // the element we want to pin

  // Add Scenes to ScrollMagic Controller
  controller.addScene([
    scene,
    scene2
  ]);

}

});
<commit_msg>add pin duration to main page<commit_after>$(document).ready(function() {

  var $index = $('#index')
  if ($index){

  // init ScrollMagic Controller
  var controller = new ScrollMagic();

  // Scene Handler
  var scene = new ScrollScene({
      triggerElement: "#pinned-trigger1", // point of execution
      duration: 60 // pin the element for a total of 400px
    }).setPin("#pinned-element1"); // the element we want to pin
  // Scene2 Handler
  var scene2 = new ScrollScene({
    triggerElement: "#pinned-trigger2", // point of execution
    duration: 60 // pin the element for a total of 400px
  }).setPin("#pinned-element2"); // the element we want to pin

  // Add Scenes to ScrollMagic Controller
  controller.addScene([
    scene,
    scene2
  ]);

}

});

{'fraction_non_alphanumeric': 0.12536443148688048, 'fraction_numerical': 0.02099125364431487, 'mean_word_length': 3.1349397590361447, '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': '7546402', 'n_tokens_mistral': 533, 'n_tokens_neox': 478, 'n_words': 184}