Skip to content

Commit

Permalink
clean up port problems script
Browse files Browse the repository at this point in the history
  • Loading branch information
xyzqm committed Dec 19, 2023
1 parent 7f4baec commit 85d97f1
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions port_problems.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,6 @@ const client = algoliasearch(
);
const index = client.initIndex('dev_problems');

const objects = [
{
objectID: 'usaco-1307',
},
];

index.search('', { filters: `objectID: usaco-1306` }).then(({ hits }) => {
console.log('here');
console.log(hits);
console.log(!hits.length);
});

const { hits } = await index.search('', { filters: `objectID: usaco-1305` });
console.log(hits);

for (const division in div_to_probs) {
for (const [id, contest, title] of div_to_probs[division]) {
const { hits } = await index.search('', {
Expand Down

0 comments on commit 85d97f1

Please sign in to comment.