<commit_before>import { NgModule }             from "@angular/core";
import { RouterModule, Routes } from "@angular/router";

import { MonthDetailComponent }   from "../calendar/month-detail.component";
import { YearOverviewComponent }  from "../calendar/year-overview.component";
import { AboutComponent }         from "../home/about.component";
import { HomeComponent }          from "../home/home.component";
import { JournalComponent }       from "../journal/journal.component";

import { ErrorComponent }         from "../shared/error.component";

const routes: Routes = [
  { path: "about",              component: AboutComponent },
  { path: "calendar/:year/:id", component: MonthDetailComponent },
  { path: "calendar",           component: YearOverviewComponent },
  { path: "journal",            component: JournalComponent },
  { path: "",                   component: HomeComponent },
  { path: "**",                 component: ErrorComponent }
];

@NgModule({
  imports: [ RouterModule.forRoot(routes) ],
  exports: [ RouterModule ]
})
export class AppRoutingModule {}<commit_msg>Temporarily redirect art to calendar<commit_after>import { NgModule }             from "@angular/core";
import { RouterModule, Routes } from "@angular/router";

import { MonthDetailComponent }   from "../calendar/month-detail.component";
import { YearOverviewComponent }  from "../calendar/year-overview.component";
import { AboutComponent }         from "../home/about.component";
import { HomeComponent }          from "../home/home.component";
import { JournalComponent }       from "../journal/journal.component";

import { ErrorComponent }         from "../shared/error.component";

const routes: Routes = [
  { path: "about",              component: AboutComponent },
  { path: "art",                redirectTo: "/calendar" },
  { path: "calendar/:year/:id", component: MonthDetailComponent },
  { path: "calendar",           component: YearOverviewComponent },
  { path: "journal",            component: JournalComponent },
  { path: "",                   component: HomeComponent },
  { path: "**",                 component: ErrorComponent }
];

@NgModule({
  imports: [ RouterModule.forRoot(routes) ],
  exports: [ RouterModule ]
})
export class AppRoutingModule {}
{'fraction_non_alphanumeric': 0.14153439153439154, 'fraction_numerical': 0.0, 'mean_word_length': 2.918825561312608, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6627112', 'n_tokens_mistral': 576, 'n_tokens_neox': 576, 'n_words': 140}