MCPcopy Create free account
hub / github.com/breck7/scroll / main

Function main

updatePopularity.js:84–89  ·  view source on GitHub ↗
(csvFilePaths, parsersDir)

Source from the content-addressed store, hash-verified

82
83// Main function
84function main(csvFilePaths, parsersDir) {
85 const mergedData = mergeCSVData(csvFilePaths)
86 const popularityData = calculatePopularity(mergedData)
87 updateParserFiles(popularityData, parsersDir)
88 console.log("Processing completed successfully.")
89}
90
91// Usage example
92const csvFilePaths = [

Callers 1

Calls 4

mergeCSVDataFunction · 0.85
calculatePopularityFunction · 0.85
updateParserFilesFunction · 0.85
logMethod · 0.80

Tested by

no test coverage detected