<commit_before>import * as R from 'ramda';
import * as React from 'react';

import {Photo, AgbSubmission} from '../../crawler';
import {AgbMetadata} from '../../metadata';
import * as format from '../format';
import ConsolePageChip from '../components/ConsolePageChip';

export default function AgbConsole({submission}: {submission: AgbSubmission}) {
  return (
    <article className="page-agb-console">
      <h2>{`OXY: ${submission.title} [${submission.contributor}]`}</h2>
      <div className="page-agb-console__photo">
        {renderPhoto(submission, submission.photos.front)}
        {renderPhoto(submission, submission.photos.back)}
      </div>
      <dl>
        <dt>Color</dt>
        <dd>{format.optional(R.identity, submission.metadata.color)}</dd>
      </dl>
      <h3>Mainboard</h3>
      <div className="page-agb-console__photo">
        {renderPhoto(submission, submission.photos.pcbFront)}
        {renderPhoto(submission, submission.photos.pcbBack)}<commit_msg>Fix AGB console page header<commit_after>import * as R from 'ramda';
import * as React from 'react';

import {Photo, AgbSubmission} from '../../crawler';
import {AgbMetadata} from '../../metadata';
import * as format from '../format';
import ConsolePageChip from '../components/ConsolePageChip';

export default function AgbConsole({submission}: {submission: AgbSubmission}) {
  return (
    <article className="page-agb-console">
      <h2>{`AGB: ${submission.title} [${submission.contributor}]`}</h2>
      <div className="page-agb-console__photo">
        {renderPhoto(submission, submission.photos.front)}
        {renderPhoto(submission, submission.photos.back)}
      </div>
      <dl>
        <dt>Color</dt>
        <dd>{format.optional(R.identity, submission.metadata.color)}</dd>
      </dl>
      <h3>Mainboard</h3>
      <div className="page-agb-console__photo">
        {renderPhoto(submission, submission.photos.pcbFront)}
        {renderPhoto(submission, submission.photos.pcbBack)}
{'fraction_non_alphanumeric': 0.16076845298281092, 'fraction_numerical': 0.004044489383215369, 'mean_word_length': 3.7458033573141485, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, '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': '5805829', 'n_tokens_mistral': 612, 'n_tokens_neox': 601, 'n_words': 121}