<commit_before>local assetHelper = asset.require("util/asset_helper")
local bookmarkHelper = asset.require("util/generate_bookmarks")

local dataProvider = "https://pastebin.com/raw/k17aC8VW" -- "http://data.openspaceproject.com/bookmarks.csv"

local bookmarksCSV = asset.syncedResource({
    Identifier = "openspace_bookmarks",
    Name = "OpenSpace Bookmarks",
    Type = "UrlSynchronization",
    UseHash = false,
    Override = true,
    Url = dataProvider
})

asset.onInitialize(function ()
	local nodes = bookmarkHelper.getBookmarks("OpenSpace Bookmarks", bookmarksCSV .. '/k17aC8VW')
	for i, n in ipairs(nodes) do
		openspace.addSceneGraphNode(n);
	end
end)

asset.onDeinitialize(function ()
	local nodes = bookmarkHelper.addBookmarks("OpenSpace Bookmarks", bookmarksCSV .. '/k17aC8VW')
	for i, n in ipairs(nodes) do
		openspace.removeSceneGraphNode(n);
	end
end)<commit_msg>fix spaces and url<commit_after>local assetHelper = asset.require("util/asset_helper")
local bookmarkHelper = asset.require("util/generate_bookmarks")

local dataProvider = "http://data.openspaceproject.com/bookmarks.csv"

local bookmarksCSV = asset.syncedResource({
    Identifier = "openspace_bookmarks",
    Name = "OpenSpace Bookmarks",
    Type = "UrlSynchronization",
    UseHash = false,
    Override = true,
    Url = dataProvider
})

asset.onInitialize(function ()
  local nodes = bookmarkHelper.getBookmarks("OpenSpace Bookmarks", bookmarksCSV .. '/k17aC8VW')
  for i, n in ipairs(nodes) do
    openspace.addSceneGraphNode(n);
  end
end)

asset.onDeinitialize(function ()
  local nodes = bookmarkHelper.addBookmarks("OpenSpace Bookmarks", bookmarksCSV .. '/k17aC8VW')
  for i, n in ipairs(nodes) do
    openspace.removeSceneGraphNode(n);
  end
end)
{'fraction_non_alphanumeric': 0.11839080459770115, 'fraction_numerical': 0.008620689655172414, 'mean_word_length': 4.982817869415808, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '3857532', 'n_tokens_mistral': 581, 'n_tokens_neox': 571, 'n_words': 117}