Skip to content

Commit

Permalink
comment out refiners analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
franktip committed Jun 28, 2024
1 parent 1598d06 commit b9944bf
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/non_trivial_coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,17 +61,17 @@ report.coverage.total.statements.nonTrivialPct = Math.floor(nonTriviallyCoveredS
fs.writeFileSync('$output', JSON.stringify(report, null, 2));
EOF

echo "Running query for computing per-refiner statistics..."
codeql query run --output $dbdir/RefinerContributions.bqrs -d $dbdir $MY_DIR/../ql/queries/RefinerContributions.ql
codeql bqrs decode --format json $dbdir/RefinerContributions.bqrs | \
jq '[
.["#select"].tuples[] |
{
"key": .[1],
"value": {
"passingTests": .[2],
"coverage": .[3],
"nonTrivialCoverage": .[4]
}
}
] | from_entries' >$1/refiners.json
# echo "Running query for computing per-refiner statistics..."
# codeql query run --output $dbdir/RefinerContributions.bqrs -d $dbdir $MY_DIR/../ql/queries/RefinerContributions.ql
# codeql bqrs decode --format json $dbdir/RefinerContributions.bqrs | \
# jq '[
# .["#select"].tuples[] |
# {
# "key": .[1],
# "value": {
# "passingTests": .[2],
# "coverage": .[3],
# "nonTrivialCoverage": .[4]
# }
# }
# ] | from_entries' >$1/refiners.json

0 comments on commit b9944bf

Please sign in to comment.