Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency tqdm to v4.66.3 [security] #215

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion explorations/setup.py
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@
'sqlalchemy==1.4.53',
'torch==1.12.1',
'transformers==4.21',
'tqdm==4.64',
'tqdm==4.66.3',
'unidecode==1.3.8'],
python_requires='>=3.9',
)

Unchanged files with check annotations Beta

input: fs.createReadStream("./suggestions.txt"),
});
let suggestionsBuffer: any[] = [];

Check warning on line 25 in src/__tests__/play.ts

GitHub Actions / build

Unexpected any. Specify a different type
stream.on("line", async function (line) {
// parse JSON representing a suggestion entity {entity: suggestion, value: weight}
const entity = JSON.parse(line);
data.asCSV().writeFileSync("./logs-sept-oct-nov.csv");
*/
const [m0, m1, m2] = getLastMonthsComplete();

Check warning on line 66 in src/__tests__/play.ts

GitHub Actions / build

'm0' is assigned a value but never used

Check warning on line 66 in src/__tests__/play.ts

GitHub Actions / build

'm2' is assigned a value but never used
const data = await readFromFile("./01-2021.csv");
const cache = await readCache("./cache-01-2021.json");
// so we use toArray for now
const uniqueSearches = DataFrame.concat(visits.select((visit) => toUniqueSearches(visit)).toArray());
const filtered = data

Check warning on line 75 in src/__tests__/play.ts

GitHub Actions / build

'filtered' is assigned a value but never used
.where((r) => m1.includes(r.logfile) && r.type == "search" && r.query == "amiante")
.distinct((r) => r.idVisit)
.head(10);
.where((r) => m1.includes(r.logfile) && r.query.toLowerCase() == "amiante")
.distinct((r) => r.idVisit);
const count = countQueries(november, some(cache), new Map<number, string>());

Check warning on line 88 in src/__tests__/play.ts

GitHub Actions / build

'count' is assigned a value but never used
console.log(am.count());
console.log(am2.count());
*/
};
const monthlyRun = async () => {

Check warning on line 111 in src/__tests__/play.ts

GitHub Actions / build

'monthlyRun' is assigned a value but never used
const [m0, m1, m2] = getLastMonthsComplete();
const data = await readFromFile("./logs-sept-oct-nov.csv");
const queryPop = analyse(data, m0, m1, m2, "1220", "QUERY", some(cache));
const suggestions = await readSuggestions();
const queryReports = analyseQueries(data, cache, new Set(suggestions), "1220");

Check warning on line 122 in src/__tests__/play.ts

GitHub Actions / build

'queryReports' is assigned a value but never used
// await resetReportIndex(MONTHLY_REPORT_INDEX, standardMappings);
await saveReport(MONTHLY_REPORT_INDEX, [report]);
};
const playQueries = async () => {

Check warning on line 143 in src/__tests__/play.ts

GitHub Actions / build

'playQueries' is assigned a value but never used
const data = await readFromFile("./logs-sept-oct-nov.csv");
const cache = await readCache("./cache-sept-oct-nov.csv");
const suggestions = await readSuggestions();
const queryReports = analyseQueries(data, cache, new Set(suggestions), "1220");

Check warning on line 148 in src/__tests__/play.ts

GitHub Actions / build

'queryReports' is assigned a value but never used
const queryReportIndex = "log_reports_queries";
await resetReportIndex(queryReportIndex, queryReportMappings);
// await saveReport(queryReportIndex, queryReports);
};
const feedback = async () => {

Check warning on line 155 in src/__tests__/play.ts

GitHub Actions / build

'feedback' is assigned a value but never used
const data = await readFromFile("./logs-sept-oct-nov.csv");
const logFiles = getDaysInPrevMonth(11, 2020);