<commit_before><div class="row" style="margin:50px">
  <span class="span12">
    <div class="text-center">
      <h1>LTI Use Case: Exposing OpenDSA Visualizations and Exercises</h1>
    </div>
    <br>
    <p>
      This example will show how the OpenDSA eTextbook system implements being
      an LTI content provider, allowing it to expose materials to an LMS that
      acts as an LTI consumer, such as Canvas or Moodle. We detail how OpenDSA
      supports a student who sees an individual exercise or visualization from
      within the LMS. See <%= link_to "here",  lti_opendsa_instructor_path
      %> for details on how OpenDSA supports an
      instructor who wants to include individual visualizations or exercises in
      the LMS. To better understand this example, you should take a look at
      image below to see what a student might see from within an LMS. The
      result is that, in the LMS, the student sees an exercise or visualization
      from within the LMS as though these materials were native to that LMS.
      <div class="text-center">
        <%= image_tag "OpenDSA/tree_exercise.png", style:'width:40%' %>
      </div><commit_msg>Modifications to LTI in OpenDSA Standalone exercises<commit_after><div class="row" style="margin:50px">
  <span class="span12">
    <div class="text-center">
      <h1>LTI Use Case: Exposing OpenDSA Visualizations and Exercises</h1>
    </div>
    <br>
    <p>
      This example will show how the OpenDSA eTextbook system implements being
      an LTI content provider, allowing it to expose materials to an LMS that
      acts as an LTI consumer, such as Canvas or Moodle. We detail how OpenDSA
      supports a student who sees an individual exercise or visualization from
      within the LMS. See <%= link_to "here",  lti_opendsa_instructor_path
      %> for details on how OpenDSA supports an
      instructor who wants to include individual visualizations or exercises in
      the LMS. To better understand this example, you should take a look at
      image below to see what a student might see from within an LMS. The
      result is that, in the LMS, the student sees an exercise or visualization
      from within the LMS as though these materials were native to that LMS.
      <div class="text-center">
        <%= image_tag "OpenDSA/tree_exercise.png", style:'width:40%' %>
      </div>
    </p>
    <p>
      <a href="http://opendsa.org" target="_blank">OpenDSA</a> is an eTextbook
      project developed at Virginia Tech. OpenDSA materials include many
      visualizations and interactive exercises that support a variety of
      courses related to Data Structures and Algorithms. The OpenDSA server is
      implemented in Ruby on Rails. See the tutorial <%= link_to "here",
      lti_tutorials_rails_path %> for a general introduction on how LTI is
      implemented in Ruby on Rails applications.
{'fraction_non_alphanumeric': 0.06520985084980922, 'fraction_numerical': 0.005549774540409296, 'mean_word_length': 3.228739002932551, 'pattern_counts': {'":': 0, '<': 32, '<?xml version=': 0, '>': 32, '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': '2363826', 'n_tokens_mistral': 806, 'n_tokens_neox': 783, 'n_words': 367}