File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -136,6 +136,15 @@ def see_similar_aliases():
136136 run_path_param = request .args .get ("run_path" , "" )
137137 return render_template ("similar_aliases.html" , run_path = run_path_param )
138138
139+ @app .route ("/outliers/unbalanced-aliases" , methods = ["GET" ])
140+ def see_unbalanced_aliases ():
141+ """View aliases with fewer occurrences relative to the total number of alias occurrences."""
142+ run_path_param = request .args .get ("run_path" )
143+ if not run_path_param :
144+ return redirect (url_for ("visualisations_page" ))
145+
146+ return render_template ("unbalanced-aliases.html" , run_path = run_path_param )
147+
139148 @app .errorhandler (BadRequest )
140149 def handle_bad_request (e ):
141150 return jsonify ({"error" : e .description }), 400
Original file line number Diff line number Diff line change @@ -262,7 +262,7 @@ tr.selected td:first-child {
262262}
263263
264264.detail-sidebar {
265- width : 300 px ;
265+ width : 400 px ;
266266 border-right : 1px solid # e5e7eb ;
267267 display : flex;
268268 flex-direction : column;
@@ -316,6 +316,14 @@ tr.selected td:first-child {
316316 padding-left : 13px ;
317317}
318318
319+ .alias-list-item .unbalanced {
320+ background-color : # f4d7d7
321+ }
322+
323+ .alias-list-item .balanced , .alias-list-item .balanced .alias-list-count {
324+ color : # cecece
325+ }
326+
319327.alias-list-count {
320328 color : # 6b7280 ;
321329 font-size : 0.75rem ;
You can’t perform that action at this time.
0 commit comments