File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -106,13 +106,13 @@ img.pylogo {
106
106
});
107
107
var patch_metadata = new Promise (function (resolve , reject ) {
108
108
const xhr = new XMLHttpRequest ();
109
- const url = ` https://raw.githubusercontent.com/oracle/graalpython/refs/heads/github/patches /${ graalvmVersion} /graalpython/lib-graalpython/patches/metadata.toml` ;
109
+ const url = ` https://raw.githubusercontent.com/oracle/graalpython/refs/heads/release/graal-vm /${ graalvmVersion} /graalpython/lib-graalpython/patches/metadata.toml` ;
110
110
xhr .open (' GET' , url);
111
111
xhr .overrideMimeType (' text/plain' );
112
112
xhr .onload = function () {
113
113
if (this .status === 200 ) {
114
114
const patches = [];
115
- const lines = txt .split (' \n ' );
115
+ const lines = this . responseText .split (' \n ' );
116
116
var currentPatch = null ;
117
117
for (let i = 0 ; i < lines .length ; i++ ) {
118
118
const line = lines[i].trim ();
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ class DBEntry {
53
53
} else if ( this . has_good_test_results ( ) ) {
54
54
return 1 ;
55
55
} else if ( ! this . is_test_percentage ( ) && this . test_status == 0 ) {
56
- return 0. 1;
56
+ return 1 ;
57
57
} else {
58
58
return 0 ;
59
59
}
@@ -92,7 +92,7 @@ class DB {
92
92
function merge_entries ( entry , previous_entry ) {
93
93
if ( previous_entry ) {
94
94
if ( ! notes_overlap ( previous_entry . notes , entry . notes ) ) {
95
- previous_entry . highlight = entry . highlight + previous_entry . highlight ;
95
+ previous_entry . highlight = Math . max ( entry . highlight , previous_entry . highlight ) ;
96
96
if ( previous_entry . is_test_percentage ( ) && previous_entry . has_no_test_results ( ) ) {
97
97
previous_entry . notes = entry . notes ;
98
98
} else {
You can’t perform that action at this time.
0 commit comments