<commit_before>import React, { Component } from "react"
import Modal from "react-modal"
import { bindActionCreators } from "redux"
import { connect } from "react-redux"

import * as alertActionCreators from "../actions/alert"

export class Alert extends Component {
  render() {
    if (!this.props.config) return null

    const { actions, config } = this.props
    const { headerText, bodyText } = config

    return (
      <Modal
        className="ui tiny modal visible transition fade in active"
        contentLabel="Alert"
        isOpen
      >
        <div className="ui basic padded clearing segment"><commit_msg>Bugfix: ensure shadows for scroll don't cut through modal overlay/content<commit_after>import React, { Component } from "react"
import Modal from "react-modal"
import { bindActionCreators } from "redux"
import { connect } from "react-redux"

Modal.defaultStyles.content['zIndex'] = 2
Modal.defaultStyles.overlay['zIndex'] = 2

import * as alertActionCreators from "../actions/alert"

export class Alert extends Component {
  render() {
    if (!this.props.config) return null

    const { actions, config } = this.props
    const { headerText, bodyText } = config

    return (
      <Modal
        className="ui tiny modal visible transition fade in active"
        contentLabel="Alert"
        isOpen
      >
        <div className="ui basic padded clearing segment">
{'fraction_non_alphanumeric': 0.09691313711414214, 'fraction_numerical': 0.0014357501794687725, 'mean_word_length': 3.35625, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '651309', 'n_tokens_mistral': 382, 'n_tokens_neox': 372, 'n_words': 128}